function popup(url,name,width,height)
{
	var extra='';

	if(width && height)
	{
		extra+='scrollbars=yes,resizable,width='+width+',height='+height;
	}

	var win=window.open('',name,extra);

	win.focus();

	win.location.replace(url);
}


function openImageWindow(zUrl, w, h)
{
	if (w==null)
	{
		w = '320';
		h = '240';
		props = 'scrollbars=yes,toolbar=no,location=no,status=no,menubar=yes,resizable=yes,width='+w+',height='+h+'';
	}
	else
	{
		w += 32;	h += 32;
		wx = (screen.width - w) / 2;
		wy = (screen.height - h) / 2;
		props = 'scrollbars=yes,toolbar=no,location=no,status=no,menubar=yes,resizable=yes,top='+wy+',left='+wx+',width='+w+',height='+h+'';
	}
	win = window.open( zUrl, '', props );
	if (parseInt(navigator.appVersion) >= 4) 
	{
		win.window.focus();
	}
}


function subValues(jcode) {
   // output the subscription values
   var sz="";
   var st;
   var sv;
   var price;
   var key;
   var keyIndex;

   if (document.subform.subscription_price.value == ""){
       price=0;
   }
   else {
       price=eval(document.subform.subscription_price.value);
   }
   //get value of radio buttons
   for (var i=0 ; i<document.subform.subscription_type.length;i++) {
      if (document.subform.subscription_type[i].checked) {
         	st=document.subform.subscription_type[i].value ; 
      }
   }

   if (jcode!="LNNW") {
       sz = document.subform.subscription_shipping_zone.options[document.subform.subscription_shipping_zone.selectedIndex].value;
   }

   // find the value corresponding to our key
   key = jcode + st + sz ;

   for (var i=0; i<keyArray.length; i++){
       if (keyArray[i]==key) {
           keyIndex=i;
	   break;
       }
   }
   document.subform.subscription_price.value = priceArray[keyIndex];
}  

var sys = navigator.appName;
var vers = parseInt(navigator.appVersion);
var n4 = document.layers
var ie4Mac = (vers>=4) && (navigator.appVersion.indexOf("Mac")>-1) && (!n4)

function setup() {  
	if (4>vers) return;  // Can't help old browsers
	if (ie4Mac)
		setInterval("MacScroll()",50)
	if ("Netscape"==sys) {
		document.all = null;
		document.all = new Array;
		document.body = new Object;
		document.body.clientWidth = window.innerWidth-20; document.body.clientHeight = window.innerHeight-20
		document.body.scrollTop = window.pageXOffset; document.body.scrollLeft = window.pageYOffset
		document.body.watch("scrollTop",CheckScrollTop)
		document.body.watch("scrollLeft",CheckScrollLeft)
		document.body.offsetParent = null
		document.body.offsetLeft = document.body.offsetTop = 0
		document.body.all = new Object
		document.parentWindow = window
		_extractRoot(document,document.body)

		for (var intLayer = 0; intLayer< document.layers.length; intLayer++) {
			_extract(document.layers[intLayer])  // Nested layers, go get them.
		}
		
		_setupBubbling();
		testScroll()
		setInterval("testScroll()",50)
		
	}               
	return 
}


function setps() {
	ns4 = (document.layers)? true:false
	ie4 = (document.all)? true:false
	if (ns4) block = document.moveDiv
	if (ie4) block = moveDiv.style
	}
	
	var topOffset = 550
	function keepAlive() {	
	topOffset=550-document.body.scrollTop;
	if (topOffset<0) {topOffset=0}
	
	document.all.moveDiv.style.pixelTop = document.body.scrollTop + topOffset
}
function doLoad() {	
		
	setup()
	window.onscroll = keepAlive;
	keepAlive()
}

         

	var keyArray=new Array();
	keyArray[0]="LLAN24hrEurope";
	keyArray[1]="LLAN24hrRest of World";
	keyArray[2]="LLAN24hrUnited States";
	keyArray[3]="LLAN24hrCanada";
	keyArray[4]="LLANstandardEurope";
	keyArray[5]="LLANstandardRest of World";
	keyArray[6]="LLANstandardUnited States";
	keyArray[7]="LLANstandardCanada";
	keyArray[8]="LLANstandardlimitedEurope";
	keyArray[9]="LLANstandardlimitedRest of World";
	keyArray[10]="LLANstandardlimitedUnited States";
	keyArray[11]="LLANstandardlimitedCanada";
	keyArray[12]="LLANstandardunlimitedEurope";
	keyArray[13]="LLANstandardunlimitedRest of World";
	keyArray[14]="LLANstandardunlimitedUnited States";
	keyArray[15]="LLANstandardunlimitedCanada";
	keyArray[16]="LLANpersonalEurope";
	keyArray[17]="LLANpersonalRest of World";
	keyArray[18]="LLANpersonalUnited States";
	keyArray[19]="LLANpersonalCanada";
	keyArray[20]="LLANpersonalonlineEurope";
	keyArray[21]="LLANpersonalonlineRest of World";
	keyArray[22]="LLANpersonalonlineUnited States";
	keyArray[23]="LLANpersonalonlineCanada";
	keyArray[24]="LLANreducedEurope";
	keyArray[25]="LLANreducedRest of World";
	keyArray[26]="LLANreducedUnited States";
	keyArray[27]="LLANreducedCanada";
	keyArray[28]="LLANstudentEurope";
	keyArray[29]="LLANstudentRest of World";
	keyArray[30]="LLANstudentUnited States";
	keyArray[31]="LLANstudentCanada";
	keyArray[32]="LONC24hrEurope";
	keyArray[33]="LONC24hrRest of World";
	keyArray[34]="LONC24hrUnited States";
	keyArray[35]="LONC24hrCanada";
	keyArray[36]="LONCstandardEurope";
	keyArray[37]="LONCstandardRest of World";
	keyArray[38]="LONCstandardUnited States";
	keyArray[39]="LONCstandardCanada";
	keyArray[40]="LONCstandardlimitedEurope";
	keyArray[41]="LONCstandardlimitedRest of World";
	keyArray[42]="LONCstandardlimitedUnited States";
	keyArray[43]="LONCstandardlimitedCanada";
	keyArray[44]="LONCstandardunlimitedEurope";
	keyArray[45]="LONCstandardunlimitedRest of World";
	keyArray[46]="LONCstandardunlimitedUnited States";
	keyArray[47]="LONCstandardunlimitedCanada";
	keyArray[48]="LONCpersonalEurope";
	keyArray[49]="LONCpersonalRest of World";
	keyArray[50]="LONCpersonalUnited States";
	keyArray[51]="LONCpersonalCanada";
	keyArray[52]="LONCpersonalonlineEurope";
	keyArray[53]="LONCpersonalonlineRest of World";
	keyArray[54]="LONCpersonalonlineUnited States";
	keyArray[55]="LONCpersonalonlineCanada";
	keyArray[56]="LONCreducedEurope";
	keyArray[57]="LONCreducedRest of World";
	keyArray[58]="LONCreducedUnited States";
	keyArray[59]="LONCreducedCanada";
	keyArray[60]="LONCstudentEurope";
	keyArray[61]="LONCstudentRest of World";
	keyArray[62]="LONCstudentUnited States";
	keyArray[63]="LONCstudentCanada";
	keyArray[64]="LNNW24hr";
	keyArray[65]="LNNWstandardonline";
	keyArray[66]="LNNWpersonalonline";
	keyArray[67]="LNNWstandardollimited";
	keyArray[68]="LNNWstandardolunlimited";
	keyArray[69]="LAID24hrEurope";
	keyArray[70]="LAID24hrRest of World";
	keyArray[71]="LAID24hrUnited States";
	keyArray[72]="LAID24hrCanada";
	keyArray[73]="LAIDstandardEurope";
	keyArray[74]="LAIDstandardRest of World";
	keyArray[75]="LAIDstandardUnited States";
	keyArray[76]="LAIDstandardCanada";
	keyArray[77]="LAIDstandardlimitedEurope";
	keyArray[78]="LAIDstandardlimitedRest of World";
	keyArray[79]="LAIDstandardlimitedUnited States";
	keyArray[80]="LAIDstandardlimitedCanada";
	keyArray[81]="LAIDstandardunlimitedEurope";
	keyArray[82]="LAIDstandardunlimitedRest of World";
	keyArray[83]="LAIDstandardunlimitedUnited States";
	keyArray[84]="LAIDstandardunlimitedCanada";
	keyArray[85]="LAIDpersonalEurope";
	keyArray[86]="LAIDpersonalRest of World";
	keyArray[87]="LAIDpersonalUnited States";
	keyArray[88]="LAIDpersonalCanada";
	keyArray[89]="LAIDpersonalonlineEurope";
	keyArray[90]="LAIDpersonalonlineRest of World";
	keyArray[91]="LAIDpersonalonlineUnited States";
	keyArray[92]="LAIDpersonalonlineCanada";
	keyArray[93]="LAIDreducedEurope";
	keyArray[94]="LAIDreducedRest of World";
	keyArray[95]="LAIDreducedUnited States";
	keyArray[96]="LAIDreducedCanada";
	keyArray[97]="LAIDstudentEurope";
	keyArray[98]="LAIDstudentRest of World";
	keyArray[99]="LAIDstudentUnited States";
	keyArray[100]="LAIDstudentCanada";
	keyArray[101]="LNEU24hrEurope";
	keyArray[102]="LNEU24hrRest of World";
	keyArray[103]="LNEU24hrUnited States";
	keyArray[104]="LNEU24hrCanada";
	keyArray[105]="LNEUstandardEurope";
	keyArray[106]="LNEUstandardRest of World";
	keyArray[107]="LNEUstandardUnited States";
	keyArray[108]="LNEUstandardCanada";
	keyArray[109]="LNEUstandardlimitedEurope";
	keyArray[110]="LNEUstandardlimitedRest of World";
	keyArray[111]="LNEUstandardlimitedUnited States";
	keyArray[112]="LNEUstandardlimitedCanada";
	keyArray[113]="LNEUstandardunlimitedEurope";
	keyArray[114]="LNEUstandardunlimitedRest of World";
	keyArray[115]="LNEUstandardunlimitedUnited States";
	keyArray[116]="LNEUstandardunlimitedCanada";
	keyArray[117]="LNEUpersonalEurope";
	keyArray[118]="LNEUpersonalRest of World";
	keyArray[119]="LNEUpersonalUnited States";
	keyArray[120]="LNEUpersonalCanada";
	keyArray[121]="LNEUpersonalonlineEurope";
	keyArray[122]="LNEUpersonalonlineRest of World";
	keyArray[123]="LNEUpersonalonlineUnited States";
	keyArray[124]="LNEUpersonalonlineCanada";
	keyArray[125]="LNEUreducedEurope";
	keyArray[126]="LNEUreducedRest of World";
	keyArray[127]="LNEUreducedUnited States";
	keyArray[128]="LNEUreducedCanada";
	keyArray[129]="LNEUstudentEurope";
	keyArray[130]="LNEUstudentRest of World";
	keyArray[131]="LNEUstudentUnited States";
	keyArray[132]="LNEUstudentCanada";

	var priceArray=new Array();
	priceArray[0]="30.00";
	priceArray[1]="30.00";
	priceArray[2]="30.00";
	priceArray[3]="30.00";
	priceArray[4]="706.00";
	priceArray[5]="755.00";
	priceArray[6]="635.00";
	priceArray[7]="635.00";
	priceArray[8]="604.00";
	priceArray[9]="653.00";
	priceArray[10]="528.00";
	priceArray[11]="528.00";
	priceArray[12]="706.00";
	priceArray[13]="755.00";
	priceArray[14]="635.00";
	priceArray[15]="635.00";
	priceArray[16]="162.00";
	priceArray[17]="195.00";
	priceArray[18]="146.00";
	priceArray[19]="146.00";
	priceArray[20]="115.00";
	priceArray[21]="115.00";
	priceArray[22]="115.00";
	priceArray[23]="115.00";
	priceArray[24]="95.00";
	priceArray[25]="102.00";
	priceArray[26]="79.00";
	priceArray[27]="79.00";
	priceArray[28]="70.00";
	priceArray[29]="80.00";
	priceArray[30]="63.00";
	priceArray[31]="63.00";
	priceArray[32]="30.00";
	priceArray[33]="30.00";
	priceArray[34]="30.00";
	priceArray[35]="30.00";
	priceArray[36]="331.00";
	priceArray[37]="331.00";
	priceArray[38]="355.00";
	priceArray[39]="355.00";
	priceArray[40]="265.00";
	priceArray[41]="265.00";
	priceArray[42]="265.00";
	priceArray[43]="265.00";
	priceArray[44]="331.00";
	priceArray[45]="331.00";
	priceArray[46]="355.00";
	priceArray[47]="355.00";
	priceArray[48]="130.00";
	priceArray[49]="130.00";
	priceArray[50]="138.00";
	priceArray[51]="138.00";
	priceArray[52]="90.00";
	priceArray[53]="90.00";
	priceArray[54]="90.00";
	priceArray[55]="90.00";
	priceArray[56]="75.00";
	priceArray[57]="75.00";
	priceArray[58]="77.00";
	priceArray[59]="77.00";
	priceArray[60]="72.00";
	priceArray[61]="80.00";
	priceArray[62]="60.00";
	priceArray[63]="80.00";
	priceArray[64]="30.00";
	priceArray[65]="220.00";
	priceArray[66]="75.00";
	priceArray[67]="175.00";
	priceArray[68]="220.00";

	priceArray[69]="30.00";
	priceArray[70]="30.00";
	priceArray[71]="30.00";
	priceArray[72]="30.00";
	priceArray[73]="280.00";
	priceArray[74]="280.00";
	priceArray[75]="280.00";
	priceArray[76]="280.00";
	priceArray[77]="265.00";
	priceArray[78]="265.00";
	priceArray[79]="265.00";
	priceArray[80]="265.00";
	priceArray[81]="402.00";
	priceArray[82]="402.00";
	priceArray[83]="419.00";
	priceArray[84]="419.00";
	priceArray[85]="135.00";
	priceArray[86]="135.00";
	priceArray[87]="142.00";
	priceArray[88]="142.00";
	priceArray[89]="90.00";
	priceArray[90]="90.00";
	priceArray[91]="90.00";
	priceArray[92]="90.00";
	priceArray[93]="83.00";
	priceArray[94]="83.00";
	priceArray[95]="85.00";
	priceArray[96]="85.00";
	priceArray[97]="72.00";
	priceArray[98]="80.00";
	priceArray[99]="60.00";
	priceArray[100]="80.00";
	priceArray[101]="30.00";
	priceArray[102]="30.00";
	priceArray[103]="30.00";
	priceArray[104]="30.00";
	priceArray[105]="360.00";
	priceArray[106]="360.00";
	priceArray[107]="360.00";
	priceArray[108]="360.00";
	priceArray[109]="360.00";
	priceArray[110]="360.00";
	priceArray[111]="360.00";
	priceArray[112]="360.00";
	priceArray[113]="364.00";
	priceArray[114]="364.00";
	priceArray[115]="387.00";
	priceArray[116]="387.00";
	priceArray[117]="120.00";
	priceArray[118]="120.00";
	priceArray[119]="125.00";
	priceArray[120]="125.00";
	priceArray[121]="74.00";
	priceArray[122]="74.00";
	priceArray[123]="74.00";
	priceArray[124]="74.00";
	priceArray[125]="75.00";
	priceArray[126]="75.00";
	priceArray[127]="77.00";
	priceArray[128]="77.00";
	priceArray[129]="74.00";
	priceArray[130]="74.00";
	priceArray[131]="74.00";
	priceArray[132]="74.00";