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 mOvr(src,clrOver) {
  if (!src.contains(event.fromElement)) {
    src.style.cursor = 'hand'; src.bgColor = clrOver;
  }
}

function mOut(src,clrIn) {
  if (!src.contains(event.toElement)) {
    src.style.cursor = 'default';
    src.bgColor = clrIn;
  }
}

var win=null;

function openWin(strURL, dWidth, dHeight){
	var popLeft = 0, popTop = 0;
	if(screen.width) popLeft = (screen.width - dWidth) / 2;
	if(screen.height) popTop = (screen.height - dHeight) / 2;

	newapp = open(strURL,"What_it_is","resizable=1,status=350,location=0,scrollbars=1,width=" + dWidth + ",height=" + dHeight + ",left=" + popLeft + ",top=" + popTop);
	if(navigator.appName == "Netscape")
		newapp.focus();
}

function textCounter(field, countfield, maxlimit) {
	if (field.value.length > maxlimit) // if too long...this trims it!
	field.value = field.value.substring(0, maxlimit);
	// otherwise, update 'characters left' counter
	else
	countfield.value = maxlimit - field.value.length;
}

function Login_focus(e,o){
if(o.firstTime){return}
o.firstTime=true
o.value=""
}

var newWin = null;
function popUp(strURL, strType, strHeight, strWidth) {
 if (newWin != null && !newWin.closed)
   newWin.close();
 var strOptions="";
 if (strType=="console")
   strOptions="resizable,height="+
     strHeight+",width="+strWidth;
 if (strType=="fixed")
   strOptions="status,height="+
     strHeight+",width="+strWidth;
 if (strType=="elastic")
   strOptions="toolbar,menubar,scrollbars,"+
     "resizable,location,height="+
     strHeight+",width="+strWidth;
 newWin = window.open(strURL, 'newWin', strOptions);
 newWin.focus();
}

function showFile(strURL, dWidth, dHeight){
	var popLeft = 0, popTop = 0;
	if(screen.width) popLeft = (screen.width - dWidth) / 2;
	if(screen.height) popTop = (screen.height - dHeight) / 2;

	newapp = open(strURL,"What_it_is","resizable=1,status=350,location=0,scrollbars=1,width=" + dWidth + ",height=" + dHeight + ",left=" + popLeft + ",top=" + popTop);
	if(navigator.appName == "Netscape")
		newapp.focus();
}

function gotosite()
{
var URL = document.gotoform.New_URL.options[document.gotoform.New_URL.selectedIndex].value; window.location.href = URL;
}