function MenuDrop(obj,name)
{
   
	if( obj.style.display == "none")
	{
		obj.style.display= "";
                name.src="/images/main/tree-.gif";
              
	}
	else
	{
		obj.style.display= "none";
                name.src="/images/main/tree.gif";
                
	}
	
	
}



function openWindow(theURL,winName,features) {
		if (winName.window) winName.focus;
		popupWin = window.open(theURL,winName,features)
		popupWin.focus;
}
function update_field(sNewValue,sForm,sField)
{
	eval("document." + sForm + "[sField].value = sNewValue;");
}



    MPanelID = '';
    function ShowPanel(PI, Mpanel) {
        document.getElementById(Mpanel + MPanelID).style.display = "none";
        document.getElementById(Mpanel + PI).style.display = "block";
        document.getElementById('MTitle' + MPanelID).className = 'STitle';
        document.getElementById('MTitle' + PI).className = 'STitle2';
        MPanelID = PI;
    }


   



