//<!-- hide
var myRemote
function launch(newURL, newName, newFeatures, orgName) {
  var remote = open(newURL, newName, newFeatures);
  if (remote.opener == null)
      remote.opener = window;  remote.opener.name = orgName;  return remote;}
	  
<!--
///////////////////////////////////////////////////////////////////////////
//     This script was designed by plx Web Studio  //
//                                                                                             //
//     For more info: http://plxwebdev.com                  //
//     Contact Email: admin@plxwebdev.com          //
/////////////////////////////////////////////////////////////////////////


		var desitnayionurl = 'http://www.limogesjewelry.com/winback_pop.asp'; //the page loaded in the popup window or in the floating layer
		var usefarewellpop = 1; // 0=no; 1=yes


		var usepopup = 1; // 0=no; 1=yes
		var popup_one_time = 1; // Load new PopUp only once per browser session? (0=no, 1=yes);
		var popup_timed = 5; // timed popup in seconds; use 0 to pop on load
		// Specify the width and height of new popup window (in pixels).
		var popup_width = '420';
		var popup_height = '255';
		// set any of these appearance settings as you wish
		var popup_props = 'scrollbars=no,resizable=no,toolbar=no,' +
		'menubar=no,status=no,location=no,left=0,top=0,height=' +
		popup_height + ',width=' + popup_width;

		function get_cookie(Name) {
   		// set expiration date to 1 month
   		var exp = new Date()
   		var oneMonthFromNow = exp.getTime() + (30 * 24 * 60 * 60 * 1000)
   		exp.setTime(oneMonthFromNow)
			var search = Name + "="
			var returnvalue = "";
			if (document.cookie.length > 0) {
				offset = document.cookie.indexOf(search)
				if (offset != -1) { // if the cookie exists
					offset += search.length
					end = document.cookie.indexOf(";", offset);
				if (end == -1)
					end = document.cookie.length;
					returnvalue=unescape(document.cookie.substring(offset, end))
				}
			}
			return returnvalue;
		}

		// making popup
		function popup_loadornot(){
			if (get_cookie('popup')==''){
				load_pop_up()
				// put cookie together
				// set expiration date to 1 month
   		   var exp = new Date()
   		   var oneMonthFromNow = exp.getTime() + (30 * 24 * 60 * 60 * 1000)
   		   exp.setTime(oneMonthFromNow)
				document.cookie="popup=yes; expires=" + exp.toGMTString()
			}
		}
		function load_pop_up(){
			if (!usepopup) return;
			window.open(desitnayionurl, "popup", popup_props);
		}
		function GoLoadPopUp() {
			if (popup_one_time==0) load_pop_up();
			else popup_loadornot();
			if (popup_timed) clearTimeout(popuptimer);
		}

		function GeneralLoader(wentunload) {
   		//alert(self.screenTop);
   		if (screenTop > 10000) {
				GoLoadPopUp();
				return;
			}
		}


 //-->
	  
	  
	  


//for Birthstone Chart Pop-Up to appear 
function launchRemote1() {
myRemote = launch("http://www.limogesjewelry.com/Birthstonechart_pop.asp","myRemote","height=390,width=550,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

// for Genuine Birthstone chart popup
function launchRemote8() {
myRemote = launch("http://www.limogesjewelry.com/gschart_pop.asp","myRemote","height=420,width=550,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

//for Personalized Item Pop-Up
function launchRemote12() {
myRemote = launch("http://www.limogesjewelry.com/personalized_pop.asp","myRemote","height=475,width=530,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

//for Zodiac Chart Pop-Up
function launchRemote13() {
myRemote = launch("http://www.limogesjewelry.com/zodiac-chart_popup.asp","myRemote","height=260,width=520,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

//for Birthstone Chart Pop-Up to appear
function launchRemote14() {
myRemote = launch("http://www.limogesjewelry.com/Birthstonechart_genuine_pop.asp","myRemote","height=390,width=550,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}
// for Item Details pop-up
function launchRemote18(iproductid) {
myRemote = launch("http://www.limogesjewelry.com/" + "ItemDetails_popup.asp?productid="+iproductid,"myRemote","height=580,width=450,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

//for Stone Placement Diagram Pop-Up to appear
function launchRemote22(iproductid) {
//myRemote = launch("http://www.limogesjewelry.com/StonePlacementDiagram_pop.asp","myRemote","height=175,width=650,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote = launch("http://www.limogesjewelry.com/" + "StonePlacementDiagram_pop.asp?productid="+iproductid,"myRemote","height=400,width=650,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

//for Stone Placement Diagram Pop-Up for Bracelets to appear added on May 5th 2008
function launchRemoteBracelet(iproductid) {
//myRemote = launch("http://www.limogesjewelry.com/StonePlacementDiagram_pop.asp","myRemote","height=175,width=650,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote = launch("http://www.limogesjewelry.com/" + "StonePlacementDiagram_pop.asp?productid="+iproductid,"myRemote","height=550,width=900,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}
//for Stone Placement Diagram Pop-Up for Bracelets to appear added on May 5th 2008

//for Dog Breed Pop-Up added on Feb 4th 2009
function launchRemoteDogBreed(iproductid) {
myRemote = launch("http://www.limogesjewelry.com/" + "DogBreed_pop.asp?productid="+iproductid,"myRemote","height=700,width=700,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}
//for Dog Breed Pop-Up added on Feb 4th 2009

//for Birthstone Chart Pop-Up to appear with product id,. this was for new genuine stone project on 17 nov 2006.
function launchRemote23(iproductid) {
myRemote = launch("http://www.limogesjewelry.com/"+"Birthstonechart_genuine_pop.asp?productid="+iproductid,"myRemote","height=390,width=550,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

//for Express Shipping Pop-Up to appear
function launchRemote16(shiprate) {
myRemote = launch("http://www.limogesjewelry.com/" + "ExpressShip_popup.asp?rate=" + shiprate,"myRemote","height=245,width=520,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

// to display birthstome image 
function launchRemote29(iproductid,url) {
var location = "Birthstonechart_Custom_pop.asp?productid="+iproductid+"&imagepath="+url;
//myRemote = launch("http://www.limogesjewelry.com/"+"Birthstonechart_Custom_pop.asp?productid="+iproductid,"myRemote","height=390,width=550,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
//myRemote = launch("./"+location,"myRemote","height=390,width=550,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote = launch("http://www.limogesjewelry.com/"+location,"myRemote","height=490,width=550,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}



// for Versign - used by footer.asp
function launchRemote2() {
myRemote = launch("https://digitalid.verisign.com/as2/5f7eb252984d61e2817ac5ff75fedb98","myRemote","height=380,width=615,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

// for BBB - used by footer.asp
function launchRemote3() {
myRemote = launch("http://www.bbbonline.org/cks.asp?id=10010191162012617","Participant","height=350,width=450,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}


// for Free Gift - OBSOLETE?
function launchRemote4() {
myRemote = launch("http://www.limogesjewelry.com/free_gift.asp","myRemote","height=410,width=310,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=no,scrollbars=no,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

// for Free Shipping - OBSOLETE?
function launchRemote5() {
myRemote = launch("http://www.limogesjewelry.com/free_shipping.asp","myRemote","height=286,width=416,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

// for Retail Pricing - OBSOLETE?
function launchRemote6() {
myRemote = launch("http://www.limogesjewelry.com/retail_price.asp","myRemote","height=380,width=350,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0","myWindow");
myRemote.focus();
}

// function to close the window if open or not
function closeMyRemote() {
if (!myRemote || myRemote.closed){
} else {myRemote.close()}
}

