/* All Javascript (c) 2003 Blue Technologies. */
function BLU_loader () {
	var d = document, n = navigator;
	// shunt nn4 users to the apology page
	// if ((n.appName=="Netscape")&&(parseInt(n.appVersion)==4)) { window.location.href="nn4.html"; }
	// preload navigation images
	d.BLU_noButtons 	= 6; 
	d.BLU_swapped 		= new Array();
	if ( d.images ) {
		var i, j 	= 0; 
		d.BLU_pre 	= new Array(); 
		for ( i = 1;  i <= d.BLU_noButtons; i++ ) {
			d.BLU_pre[ j ] 			= new Image(); 
			d.BLU_pre[ j++ ].src 	= "/nav/" + i + "h.gif"; 
		}
	}
	// show upgrade message for older browsers
	if ( !d.getElementById ) {
		p ( "<div id='excuseMe'>Sorry - this site may look strange in a browser that does not support <a href='http://www.webstandards.org/upgrade/'>web standards</a>.</div>" );
	}
}
document.onLoad=BLU_loader();

function BLU_swap(n,s) { var l=document.BLU_swapped,x=BLU_get(n); if (x!=null) { x.BLU_src=(x.BLU_src==null)?x.src:x.BLU_src; l[l.length]=x; x.src=s; } }
function BLU_unswap() { var l=document.BLU_swapped,i; if (l!=null) { for (i in l) l[i].src=l[i].BLU_src; } document.BLU_swapped=new Array(); }
function BLU_get(n) { var x,d=document; if(d.all) x=d.all[n]; if(!x && d.getElementById) x=d.getElementById(n); return x; }

var blueWin;
function BLU_popup(u) {
	blueWin 	= window.open( u, "ksPopup","width=600,height=560,location=no,menubar=no,directories=no,status=no,scrollbars,toolbar=no,resizable");
	setTimeout ( "blueWin.focus();", 150 );
}

// popup function
function popUp(url,name,w,h){
        str="height="+h+",width="+w+",scrollbars=0";
        if(parseInt(navigator.appVersion)>3)
                str+=",left="+(screen.width -w)/2+",top="+parseInt((screen.height -h)/3);
        win=window.open(url,name,str);
}
function popUp2(url,name,w,h,scrollbar,resize){
        str="height="+h+",width="+w+",scrollbars=1";
        if(parseInt(navigator.appVersion)>3)
                str+=",left="+(screen.width -w)/2+",top="+parseInt((screen.height -h)/3);
        win=window.open(url,name,str);
}

//window.moveTo(0,0);
//window.resizeTo(window.screen.availWidth, window.screen.availHeight);

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

