
//The script below is the default feed for the scroller if there 
//is no 'msg' defined from the "http://rope.icgo.fimc.net/CUBE-NRE_NowPlaying.js" feed.  08/22/03 jr.
var msg = "&nbsp;"
var bodyLoaded = false;
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//Global variables

var isNav, isIEBrowser, isNS6, isLoaded
isLoaded = false
if (document.all) {
  isIEBrowser = true;
  isNav = false;
  isNS6 = false;
}
else if (document.layers) {
  isNav = true;
  isIEBrowser = false;
  isNS6 = false;
}
else if (document.getElementById) {
  isNS6 = true;
  isIEBrowser = false;
  isNav = false;
}

function showLayers(sLayer,imgX)
{
	if (isNav) {
		theObject = eval("document.all." + sLayer)
		if (theObject) {
			theObject.left = imgX ;
			theObject.visibility = "visible";
		}
	}
	if (isIEBrowser) {
		theObject = eval("document.all." + sLayer)
		if (theObject) {
			theObject.style.left = imgX ;
			theObject.style.visibility = "visible";
		}
	}
	if (isNS6) {
		theObject = eval("document.getElementById('" + sLayer + "')"); 
		if (theObject) {
		theObject.style.left = imgX ;
		theObject.style.visibility = "visible";
		}
	}	
}
//********************* Search form Validation ****************************//

function ValidateSearch() {

	isOK = true;
	if (isOK && (document.search.searchString.value.length < 2)) {
		alert("Please enter a valid search word");
		document.search.searchString.focus();
		isOK = false;
	}
		return isOK;
}

//AX-S menu
g_button_detailon = new Image();
g_button_detailoff = new Image();
g_button_detailoff.src = "/images/nav_axs_details_off.gif";
g_button_detailon.src = "/images/nav_axs_details_on.gif";

g_button_eventon = new Image();
g_button_eventoff = new Image();
g_button_eventoff.src = "/images/nav_axs_events_off.gif";
g_button_eventon.src = "/images/nav_axs_events_on.gif";

g_button_homeclubon = new Image();
g_button_homecluboff = new Image();
g_button_homecluboff.src = "/images/nav_axs_home_off.gif";
g_button_homeclubon.src = "/images/nav_axs_home_on.gif";

g_button_insidechoiceon = new Image();
g_button_insidechoiceoff = new Image();
g_button_insidechoiceoff.src = "/images/nav_axs_insidechoice_off.gif";
g_button_insidechoiceon.src = "/images/nav_axs_insidechoice_on.gif";

g_button_musicon = new Image();
g_button_musicoff = new Image();
g_button_musicoff.src = "/images/nav_axs_music_off.gif";
g_button_musicon.src = "/images/nav_axs_music_on.gif";

g_button_offeron = new Image();
g_button_offeroff = new Image();
g_button_offeroff.src = "/images/nav_axs_offers_off.gif";
g_button_offeron.src = "/images/nav_axs_offers_on.gif";



function imageOff(IMGName) {
		  document[IMGName].src = eval(IMGName + "off.src"); 
}
function imageOn(IMGName) {
/*		  if (browser) { document[IMGName].src = eval(IMGName + "on.src"); }*/
		  document[IMGName].src = eval(IMGName + "on.src"); 
}
function changeMenuOn(sMenuItem) {}


<!-- start of login validation //-->

function valNavLogin()
{
	isOK = true;
	if (isOK && ! (document.elsNavLogin.fldUserName.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1)) {
		alert("Please enter a valid Email Address.\n\r A valid email address should look like yourname@yourdomain.com");
		document.elsNavLogin.fldUserName.focus();
		isOK = false;
	}
	if (isOK && (document.elsNavLogin.fldPassword.value.length < 1)) {
		alert("Please enter a valid Password.");
		document.elsNavLogin.fldPassword.focus();
		isOK = false;
	}
	return isOK
}
function navPass()
{
	if (document.elsNavLogin.fldUserName.value.length < 1) {
		alert("Please enter a valid Email Address to send your password to.");
		document.elsNavLogin.fldUserName.focus();
	}
	else {
		document.elsNavLogin.Action.value='mailpass';
		document.elsNavLogin.submit();
	}
}

<!-- End of login validation //-->