<!--

function whichBrs() {
	var agt=navigator.userAgent.toLowerCase();
	if (agt.indexOf("opera") != -1) return 'Opera';
	if (agt.indexOf("staroffice") != -1) return 'Star Office';
	if (agt.indexOf("webtv") != -1) return 'WebTV';
	if (agt.indexOf("beonex") != -1) return 'Beonex';
	if (agt.indexOf("chimera") != -1) return 'Chimera';
	if (agt.indexOf("netpositive") != -1) return 'NetPositive';
	if (agt.indexOf("phoenix") != -1) return 'Phoenix';
	if (agt.indexOf("firefox") != -1) return 'Firefox';
	if (agt.indexOf("safari") != -1) return 'Safari';
	if (agt.indexOf("skipstone") != -1) return 'SkipStone';
	if (agt.indexOf("msie") != -1) return 'Internet Explorer';
	if (agt.indexOf("netscape") != -1) return 'Netscape';
	if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
	if (agt.indexOf('\/') != -1) {
	if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
	return navigator.userAgent.substr(0,agt.indexOf('\/'));}
	else return 'Netscape';} else if (agt.indexOf(' ') != -1)
	return navigator.userAgent.substr(0,agt.indexOf(' '));
	else return navigator.userAgent;
}


var browsertest = whichBrs();
var newwindow;


function cardecalpopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window1','width=455,height=490,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window1','width=440,height=490,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow3.focus()}
	
}

function cartagpopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window2','width=790,height=410,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window2','width=775,height=410,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function cartaginfopopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window3','width=715,height=545,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window3','width=700,height=545,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function countiespopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window4','width=700,height=585,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window4','width=685,height=585,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function jtlbrownpopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window5','width=435,height=342,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window5','width=420,height=342,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow1.focus()}
	
}

function jtlpinkpopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window6','width=435,height=342,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window6','width=420,height=342,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow1.focus()}
	
}

function locationpopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window7','width=720,height=600,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window7','width=700,height=600,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function POApopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window8','width=715,height=630,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window8','width=700,height=630,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function raceresultspopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window9','width=740,height=700,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window9','width=725,height=700,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function sponsorspopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window10','width=715,height=900,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window10','width=700,height=900,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function survivorhatpopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window11','width=435,height=342,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window11','width=420,height=342,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow1.focus()}
	
}

function survivorshirtpopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window12','width=365,height=462,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window12','width=350,height=462,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow4.focus()}
	
}

function thorlospopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window13','width=720,height=545,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window13','width=700,height=545,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function videopopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window14','width=740,height=750,left=60,top=60,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window14','width=720,height=750,left=60,top=60,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function volunteerpopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window9','width=740,height=800,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window9','width=725,height=800,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}



function photoHorizPopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window10','width=655,height=440,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window10','width=640,height=440,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function photoVertPopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window11','width=415,height=600,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window11','width=400,height=600,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}




function storeImgPopup_horiz(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window12','width=700,height=500,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window12','width=700,height=500,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}

function storeImgPopup_vert(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window13','width=500,height=700,left=100,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window13','width=500,height=700,left=100,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}


function rulesPopup(url) {
	
	if (browsertest == 'Internet Explorer')
		newwindow=window.open(url,'window14','width=715,height=750,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	else
		newwindow=window.open(url,'window14','width=700,height=750,top=100,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	
}








function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
