// JavaScript Document

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;

function popupWindow(url) {
	window.open(url, 'Madlounge', 'dependent=yes,width=300,height=300,scrollbars=no, top=100, left=100');
}

function popupVideo(url) {
	window.open(url, 'Madlounge', 'dependent=yes,width=325,height=250,scrollbars=no, top=100, left=100');
}

function popupSample(url) {
	window.open(url, 'Madlounge', 'dependent=yes,width=600,height=300,scrollbars=no, top=100, left=100');
}

function switchImage(imgName, imgSrc) 
{
  if (document.images)
  {
    if (imgSrc != "none")
    {
      document.images[imgName].src = imgSrc;
    }
  }
}