
function showtip2(current,e,text){
  if (document.all&&document.readyState=="complete"){
    document.all.popupdiv.innerHTML=''+text+''
    document.all.popupdiv.style.pixelLeft=event.clientX+document.body.scrollLeft+10
    document.all.popupdiv.style.pixelTop=event.clientY+document.body.scrollTop+10
    document.all.popupdiv.style.visibility="visible"
}
  else if (document.layers){
    document.popupdiv.document.nstip.document.write('<b>'+text+'</b>')
    document.popupdiv.document.nstip.document.close()
    document.popupdiv.document.nstip.left=0
    currentscroll=setInterval("scrolltip()",100)
    document.popupdiv.left=e.pageX+10
    document.popupdiv.top=e.pageY+10
    document.popupdiv.visibility="show"
}
}
function hidetip2(){
  if (document.all)
    document.all.popupdiv.style.visibility="hidden"
    else if (document.layers){
    clearInterval(currentscroll)
    document.popupdiv.visibility="hidden"
}
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
	eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	if (restore) selObj.selectedIndex=0;
}

function Expand(layer){
	if(document.all[layer].style.height == "150px") document.all[layer].style.height = 1;
	else document.all[layer].style.height = 150;
}

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

function DetachHelp(){
	window.open("index.html","dinfohelp");
	if (navigator.appName == "Netscape"){
		parent.document.location = parent.frames['mainFrame'].location;
	}else{
		parent.document.location = parent.document.frames['mainFrame'].location;
	}
	
}
function CloseHelp(){
	if (navigator.appName == "Netscape"){
		parent.document.location = parent.frames['mainFrame'].location;
	}else{
		parent.document.location = parent.document.frames['mainFrame'].location;
	}
}

function textCounter(theField,theCharCounter,maxChars){
	var strTemp;
	strTemp = theField.value;
	theCharCounter.value = (maxChars - strTemp.length);
}