// JavaScript Document
function blank(box,msg)
				{
					frm = document.loginfrm;
					if(box == 1)
					{
						frm.username99.value = "";
					}
					if(box == 2)
					{
						frm.password99.value = "";
					}	
				}
				
				function fill(box,msg)
				{
					frm = document.loginfrm;
					fldval1=frm.username99.value;
					fldval2=frm.password99.value;
					if(box == 1 && fldval1 == '')
					{
						frm.username99.value = msg;
					}
					if(box == 2 && fldval2 == '')
					{
						frm.password99.value = msg;
					}	
				}
				
				function smsg(msgStr) { //v1.0
  status=msgStr;
  document.prs_return = true;
}
function nosmsg(msgStr) { //v1.0
  status=msgStr;
  document.prs_return = true;
}
function deleteconfirm(str,strurl)
{
	if (confirm(str)) 
	{
		this.location=strurl;
	}
}
function deleteconfirmf(str,prm,page,divid)
{
	if (confirm(str)) 
	{
		return makePOSTRequest2(page,prm,divid);
	}
}
	 function setBnT(msg,fldnm)
		{
			
			if(document.getElementById(fldnm).value==msg)
			{
				document.getElementById(fldnm).value="";
			}
			else
			if(document.getElementById(fldnm).value=="")
			{
				document.getElementById(fldnm).value=msg;
			}
	}
	
	function checkBlank(fldnm,msg)
	{
		fldval=document.getElementById(fldnm).value;
		if(fldval=="" || fldval== msg)
		{
			alert("Field cannot be blank");
			return false;
		}
		else
		{
			return true;
		}
	}
	
function moreless()
{
	if(document.getElementById('close_look').style.display == "inline")
	{
		document.getElementById('close_look').style.display = "none";
		document.getElementById('mltext').innerHTML = "more details";
	}
	else
	{
		document.getElementById('close_look').style.display = "inline";
		document.getElementById('mltext').innerHTML = "less details";
		window.setTimeout("close_look.style.display='none';",30000,"JavaScript");
		window.setTimeout("mltext.innerHTML='more details';",30000,"JavaScript");

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