function PopUp(url,x,y) {var tools;tools = "resizable=no,titlebar=no,status=no,height="+y+",width="+x+",location=no,toolbar=no,directories=no,menubar=no,scrollbars=no";wid=window.open(url,"",tools);wid.moveTo(250,100);wid.focus();}function PopUpPrint(url,x,y) {var tools;tools = "resizable=yes,titlebar=no,status=no,height="+y+",width="+x+",location=no,toolbar=no,directories=no,menubar=no,scrollbars=yes";wid=window.open(url,"",tools);wid.moveTo(250,100);wid.focus();}function getObj(obj){error = '';out = ''; if(typeof obj == 'object'){  if(obj==null)error = 'System error! Object passed as an object not found on the page';  else out = obj; } else {  if(document.getElementById(obj))out = document.getElementById(obj);  else error = 'System error! Object passed as a string: "'+obj+'" not found'; } if(error!=''){alert(error);return false;} else return out;}function Show(element){objNew = getObj(element);objNew.style.display='';//eval(element+".style.display=''");}            function Hide(element){objNew = getObj(element);objNew.style.display='none';//eval(element+".style.display='none'");}function Expand(Item,Nr){//alert(Item+Nr); Nr = Nr*2; for(i=1;i<=Nr;i++){ obj = getObj(Item+i);  if(obj.style.display=='none')Show(Item+i);  else Hide(Item+i); } //alert(Item);}
