<!--


function preload() { //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=preload.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 restore() { //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.0
	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 && document.getElementById) x=document.getElementById(n); return x;
}

function swap() { //v3.0
	var i,j=0,x,a=swap.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];}
}

function popUp(url,t,h,w,Loc,Re,Tb,Mb,Sb) {
var iMyWidth;
var iMyHeight;

// divide the current screen hright and width in half
var hN = Number(h)/2;
var wN = Number(w)/2;

// gets top and left positions based on user's resolution so hint window is centered.
iMyWidth = (window.screen.width/2) - (wN + 10); //half the screen width minus half the new window width (plus 5 pixel borders).

// check to see if the user wants the status bar to show up and size accordingly
   if (Loc == 'yes') {
		iMyHeight = (window.screen.height/2) - (hN + 25); //half the screen height minus half the new window height (plus title and status bars if necessary).
		} else {
		iMyHeight = (window.screen.height/2) - (hN + 50); //half the screen height minus half the new window height (plus title and status bars if necessary).
	}

// make the new window and give it focus
var win2 = window.open(url,t,"height="+ h +",width="+ w +",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=" 
+ Sb + ",resizable=" + Re + ",menubar=" + Mb + ",dependent,location=" + Loc + ",toolbar=" + Tb + "");
win2.focus();
}

//-->