function popup(url, width, height) {
     var popup_window;
     var popup_window = window.open(url, "Popup", "scrollbars=yes," + "width=" + width + ",height=" + height);
}
  
function nothing() {
}

function Windowclose()
{window.close()
self.close()
close()
}

if (document.images) {

  image1on = new Image(150,313);
  image1on.src = "/images/today_1.gif";
  image1off = new Image(150,313);
  image1off.src = "/images/today_0.gif";

}

function changeImages() {
  if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
    }
  }
}

function ONMOUSEOVER(object) {
        if (document.images) {
        document [object].src=eval(object + "_1").src;
        }
}
                
function ONMOUSEOUT(object) {
        if (document.images) {
        document [object].src=eval(object + "_0").src;
        }
}
function detail(Linkit,winname,dimensions) {
newwindow = window.open(Linkit,winname,dimensions)
if(newwindow.opener==null) newwindow.opener=self;
}

function displaySubs(the_sub){
    var subs_array = new Array(the_sub);

if (document.getElementById(the_sub).style.display=="") {
   document.getElementById(the_sub).style.display = "none";

return
}
   
    for (i=0;i<subs_array.length;i++){
        var my_sub = document.getElementById(subs_array[i]);
        my_sub.style.display = "none";
    }
   document.getElementById(the_sub).style.display = "";
} 
window.name='menuwin'