



function openWin(URL2) {

    	  var tb = "no"  //toolbars
	  var mb = "no"  //menubars
	  var sb = "no"  //scrollbars
	  var st = "no"  //status
	  var re = "no" //resizeable
  	  var h = 535;
	  var w = 435;
	  var URL;
         home = window.location;
 	URL = "../../jewelry/shopping/" + URL2 + "?home=" + home + "&cart=1";

		if (navigator.appName.indexOf("Netscape") != -1) { 
		  URL += "&BB=1";
		  h = 565;
      	  w = 435;
		}

    

	  var winl = (screen.width - w) / 2;
	  var wint = (screen.height - h)/ 2;
	  strWindow = "width="+w+",height="+h+",top="+wint+",left="+winl;
         strWindow += ",toolbar="+tb+",menubar="+mb+",scrollbars="+sb;

	  strWindow += ",status="+st+",resizable="+re;

	  	

		aWindow = window.open(URL,"newwindow",strWindow);

		aWindow.location = URL;  //required for early netscape versions

		if (aWindow.opener == null) aWindow.opener = window; // make sure the new window can use 'opener' to access this parent

		aWindow.opener.name = "opener"; // this is so action commands can use opener as a target object

		if (parseInt(navigator.appVersion) >= 4) { aWindow.window.focus(); }

	}

	

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



function openWin2(URL2,SKU) {

    	  var tb = "no"  //toolbars
	  var mb = "no"  //menubars
	  var sb = "no"  //scrollbars
	  var st = "no"  //status
	  var re = "no" //resizeable
  	  var h = 545;
	  var w = 550;
	  h = 560;
      w = 442;
	  var URL;
         home = window.location;
 	URL = "../../jewelry/shopping/" + URL2 + "?home=" + home + "&SKU=" + SKU + "&cart=1" ;

		if (navigator.appName.indexOf("Netscape") != -1) { 
		  URL += "&BB=1";
		  h = 560;
      	  w = 442;
		 }

    

	  var winl = (screen.width - w) / 2;
	  var wint = (screen.height - h)/ 2;
	  strWindow = "width="+w+",height="+h+",top="+wint+",left="+winl;
         strWindow += ",toolbar="+tb+",menubar="+mb+",scrollbars="+sb;

	  strWindow += ",status="+st+",resizable="+re;

	  	

		aWindow = window.open(URL,"newwindow",strWindow);

		aWindow.location = URL;  //required for early netscape versions

		if (aWindow.opener == null) aWindow.opener = window; // make sure the new window can use 'opener' to access this parent

		aWindow.opener.name = "opener"; // this is so action commands can use opener as a target object

		if (parseInt(navigator.appVersion) >= 4) { aWindow.window.focus(); }

	}

	

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openWin4(URL2,mypath,Picture) {

    	  var tb = "no"  //toolbars
	  var mb = "no"  //menubars
	  var sb = "yes"  //scrollbars
	  var st = "no"  //status
	  var re = "yes" //resizeable
  	  var h = 330;
	  var w = 285;
	  var URL;
         home = window.location;
 	URL = "../../jewelry/shopping/" + URL2 + "?Picture=" + Picture + "&location=" + mypath;

		if (navigator.appName.indexOf("Netscape") != -1) { 
		  URL += "&BB=1";
		  h = 330;
      	  	  w = 285;
		}

    

	  var winl = (screen.width - w) / 2;
	  var wint = (screen.height - h)/ 2;
	  strWindow = "width="+w+",height="+h+",top="+wint+",left="+winl;
 

	  	

		aWindow = window.open(URL,"newwindow",strWindow);

		aWindow.location = URL;  //required for early netscape versions

		if (aWindow.opener == null) aWindow.opener = window; // make sure the new window can use 'opener' to access this parent

		aWindow.opener.name = "opener"; // this is so action commands can use opener as a target object

		if (parseInt(navigator.appVersion) >= 4) { aWindow.window.focus(); }

	}

	

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



function openWin5(URL2,Picture,Size) {

    	  var tb = "no"  //toolbars
	  var mb = "no"  //menubars
	  var sb = "yes"  //scrollbars
	  var st = "no"  //status
	  var re = "yes" //resizeable
  	  var h = 440;
	  var w = 410;
	  var URL;
         home = window.location;
 	URL = "./" + URL2 + "?Picture=" + Picture;

		if (navigator.appName.indexOf("Netscape") != -1) { 
		  URL += "&BB=1";
  	  var h = 440;
	  var w = 410;
		}

    

	  var winl = (screen.width - w) / 2;
	  var wint = (screen.height - h)/ 2;
	  strWindow = "width="+w+",height="+h+",top="+wint+",left="+winl;
 

	  	

		aWindow = window.open(URL,"newwindow",strWindow);

		aWindow.location = URL;  //required for early netscape versions

		if (aWindow.opener == null) aWindow.opener = window; // make sure the new window can use 'opener' to access this parent

		aWindow.opener.name = "opener"; // this is so action commands can use opener as a target object

		if (parseInt(navigator.appVersion) >= 4) { aWindow.window.focus(); }

	}

	

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
