// An implementation of the debug log. 
function showsubmenu(obj,sid)
{
whichEl = eval(obj+ sid);
Open_Close("Open_"+obj+""+sid);
if (whichEl.style.display == "none")
{
eval(obj+sid + ".style.display=\"\";");
}
else
{
eval(obj+sid + ".style.display=\"none\";");
}

}

function Open_Close(sid01){
Open_C =document.all(sid01);
			if (right(Open_C.src,15)=="ico_showMod.gif")
			 {
			Open_C.src="../css/images/ico_hideMod.gif";
			}else{
			Open_C.src="../css/images/ico_showMod.gif";
			}
			
		}
		
function right(mainStr,lngLen) {
// alert(mainStr.length)
 if (mainStr.length-lngLen>=0 && mainStr.length>=0 && mainStr.length-lngLen<=mainStr.length) {
 return mainStr.substring(mainStr.length-lngLen,mainStr.length)}
 else{return null}
 }
