function toggle( targetId ){
  if (document.getElementById){
        target = document.getElementById( targetId );
           if (target.style.display == "none"){
              target.style.display = "";
           } else {
              target.style.display = "none";
           }
     }
}

function turnoff( targetId ){
 if (document.getElementById) {
  target = document.getElementById( targetId );
  if (target.style.display != "none") {
   target.style.display = "none";
  }
 }
}

function turnon( targetId ){
 if (document.getElementById) {
  target = document.getElementById( targetId );
  if (target.style.display == "none") {
   target.style.display = "";
  }
 }
}

function rollon(img_name) {
   document[img_name].src = '/files/images/button-over.gif';
}

function rolloff(img_name) {
   document[img_name].src = '/files/images/button.gif';
}

function popup(url,w,h) {
 t=(screen.height-h)/3;   
 l=(screen.width-w)/3;
 winprops="top="+t+",left="+l+",width="+w+",height="+h+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no";
 win = window.open(url,'PopUp',winprops);
 if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
