var hp;
function hm(obj, state) {
obj.style.backgroundColor = (1 == state) ? '#EEEEEE' : '#FFFFFF';return;}
function home(obj, state) {
obj.style.borderColor = (1 == state) ? '#546E8A' : '#E1E1E1';}
function OpenGuide(tipo){
var url="http://www.shinystat.com/cgi-bin/searchguide.cgi?LANG=1&LOAD="+tipo;
if (typeof hp=="undefined" || hp.closed) hp = window.open(url ,'_blank','location=no,status=no,scrollbars=no,menubar=no,toolbar=yes,directories=no,resizable=no,width=700,height=450')
else hp.focus();}
function lg(ln){
var wh=""+escape(window.location.href);
var wha=wh.split("/");var _a=4;lc="";
while(_a < wha.length){lc+="/"+wha[_a];_a++;}
location.href="/"+ln+lc;
}
function getobj(id){
 if(document.getElementById && document.getElementById(id))  
  return document.getElementById(id);
 else if (document.all && document.all(id))
  return document.all(id);  
 else       
  return false;
}
function cm(id) {
 obj=getobj(id); 
 document.location = obj.href;
}

function FormHelp(id, state){
  obj=getobj(id);
  obj.style.backgroundColor = ( state == 1) ? '#ffe8ab' : '';
}

