function modelesswin(url,mwidth,mheight){

        if (document.all&&window.print) //if ie5

                eval('window.showModelessDialog(url,"","help:0;resizable:0;dialogWidth:'+(mwidth)+'px;dialogHeight:'+(mheight+80)+'px;status:no;scroll:no;")')

        else 

                eval('window.open(url,"","width='+(mwidth+50)+'px,height='+(mheight+80)+'px,resizable=0,scrollbars=0")')

}

        

function win2col(url2col){

        window.open(url2col,'BP','width=433,height=500,status=no,resizable=no,top=110,left=200,toolbar=no,menubar=no,scrollbars=yes')

}



function win3col(url3col){

        window.open(url3col,'Bp_com','width=627, height=500,resizable=0,top=110,left=200,toolbar=0,titlebar=0,menubar=0,scrollbars=yes')

}

/* Begin: Added for CR 902*/

 var menuOpenSearch = false;
function turnOffPrevSearch()
{
	overNav = true;
	if(menuOpenSearch)
	{
		//buttonclick(menuOpen,'close',globalBtn);
		showSubSearch(menuOpenSearch,false)
		// Added to fix cls:27483
		hideDropDownSearch(true)
	}
}
function showSubSearch(el,status)
{
 
 linkObj = document.getElementById(el);
 list = el+"Sub";
 listObj = document.getElementById(list);
 listLI=list+"LI";
 listLIObj = document.getElementById(listLI);
 if(status)
 {
  // Added to fix cls:27483
  hideDropDownSearch(false)
  linkObj.className = "buttonHi";
  listObj.style.display = "block";
  listObj.style.visibility = "visible";
  listLIObj.style.visibility = "visible";
  listLIObj.style.display = "block";
  menuOpenSearch = el;
 }
 else
 {
  linkObj.className = "buttonHi";
  listObj.style.display = "none";
   listObj.style.visibility = "hidden";
   listLIObj.style.visibility = "hidden";
   listLIObj.style.display = "none";
 menuOpenSearch = false;
 }
} 



/*** start the counter ***/
function startNavTimerSearch(inputBoxId)
{
	document.getElementById(inputBoxId).focus();
} 

function focusOut(inputBoxId)
{
	document.getElementById(inputBoxId).style.display="none";	
}

function focusOnInputBox(inputBoxId)
{
	document.getElementById(inputBoxId).style.display="block";
}

// Added to fix cls:27483
var mouseStatus=false;
function hideDropDownSearch(mouseStatus)
{
	if(mouseStatus)
	{
		if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ 
			var ieversion=new Number(RegExp.$1) 
			if (ieversion<=6 && document.getElementById("stateId")!=null)
				document.getElementById("stateId").style.visibility = "visible";
		}
	}
	else
	{
		if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ 
		var ieversion=new Number(RegExp.$1) 
			if (ieversion<=6 && document.getElementById("stateId")!=null)
			document.getElementById("stateId").style.visibility = "hidden"; 
		}
	}
}
/* End: Added for CR 902*/


