var currentlySelectedMenu = '';

function openUrl(url){
parent.mainIFrame.location=url;

}

function glowMenu(elementName){
  var theElement = document.getElementById(elementName);
  if (currentlySelectedMenu!=null&&currentlySelectedMenu!=''){
    var tmpElement = document.getElementById(currentlySelectedMenu);
   	tmpElement.setAttribute('class','menuBackground');
  	tmpElement.setAttribute('className','menuBackground');
  }
 	theElement.setAttribute('class','menuBackgroundGlow');
	theElement.setAttribute('className','menuBackgroundGlow');
  currentlySelectedMenu = elementName;
}

function unGlowMenu(elementName){
  var theElement = document.getElementById(elementName);
 	theElement.setAttribute('class','menuBackground');
	theElement.setAttribute('className','menuBackground');
}
