// yellow = #ffff00
// grey = #727272

var storedSrc;
var storedTextColor;
var storedPopLayerText="";;
mClick=false;

function mOver(trElmnt,linkText,popuptext) {
   if(navigator.appName!='Netscape') {
      if(mClick!=true || trElmnt!=storedSrc) {
         document.all[trElmnt].bgColor = "#ff9933"; // #ccff33 tr background color
         document.all[linkText].style.color = "#cc3300"; // link text
         pop_tip(popuptext);
      }
   }
}

function mOut(trElmnt,linkText,thislayer) {
   if(navigator.appName!='Netscape') {
      if(mClick!=true || trElmnt!=storedSrc) {
         document.all[trElmnt].bgColor = "#eaeaea"; // tr background color
         document.all[linkText].style.color = "#cc3300"; // link text
         unpop_tip(thislayer);
         pop_tip(storedPopLayerText);
      }
   }
}

function mClck(trElmnt,linkText,popuptext){ 
   if(navigator.appName!='Netscape') {
      if(trElmnt!=storedSrc) {
         if(mClick!=true) {
            document.all[trElmnt].bgColor = "#1d83b6"; // tr background color
            document.all[linkText].style.color = "#ffffff"; // link text
            pop_tip(popuptext);
            mClick=true;
            storedTextColor=linkText;
            storedSrc=trElmnt;
            storedPopLayerText=popuptext;
         }
         else {
            document.all[trElmnt].bgColor = "#1d83b6"; // tr background color
            document.all[linkText].style.color = "#ffffff"; // link text
            // stored changes start here.
            document.all[storedTextColor].style.color = "#cc3300"; // link text
            document.all[storedSrc].bgColor = '#eaeaea';
            //pop_tip(storedPopLayerText);
            pop_tip(popuptext);
            storedTextColor=linkText;
            storedSrc=trElmnt;
            storedPopLayerText=popuptext;
         }
      }
   }
}

function on(name){
	if (document.images) {
		obj=eval(document.images[name]);
		switcher=eval(name+"_on");
		obj.src=switcher.src;
	}
}
	
function off(name){
	if (document.images) {
		obj=eval(document.images[name]);
		switcher=eval(name+"_off");
		obj.src=switcher.src;
	}
}

function openWindow(openWhat){
window.open(openWhat,"popwindow","top=100,left=100,width=850,height=650,buttons=yes,scrollbars=auto,location=yes,menubar=yes,resizable=yes,status=yes,directories=no,toolbar=no");
}

function openWindow2(openWhat){
window.open(openWhat,"popwindow2","top=100,left=100,width=850,height=650,buttons=no,scrollbars=auto,location=no,menubar=no,resizable=yes,status=no,directories=no,toolbar=no");
}

function openMailingList(openWhat) {
window.open(openWhat,"mailwin","top=250,left=300,width=250,height=300,buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no");
}

function openMailingList2(openWhat) {
window.open(openWhat,"mailwin","top=250,left=300,width=370,height=400,buttons=no,scrollbars=yes,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no");
}

function openMangledLovePromo() {
window.open("MangledLove_Listen.html","promowin","top=150,left=150,width=750,height=405,buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no");
}