// for cancertype dropdown
function jmp(form, elt)
   // The first parameter is a reference to the form.
   {
      if (form != null) { // if valid form
         with (form.elements[elt]) {
            if (0 <= selectedIndex) // if valid selection
               location = options[selectedIndex].value; // jump to that option's value
         }
      }
   } 
// for Tools box top right
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
if (document.getElementById('smenu1')) {document.getElementById('smenu1').style.display='none';}
if (d) {d.style.display='block';}
}
// for pop-up window
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'toolbar=yes,width=800,height=600,status=yes,scrollbars=yes,resizable=yes,location=yes,screenX=50,screenY=50');
return false;
}
// for larger pop-up window
function popup2(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'toolbar=yes,width=950,height=650,status=yes,scrollbars=yes,resizable=yes,location=yes,screenX=50,screenY=50');
return false;
}
// for image switch on mouseover
function roll_over(img_name, img_src)
{
document[img_name].src = img_src;
}
