<!--
window.name="parentWin"; 
bName = navigator.appName;  //Detect if browser is javascript compatible
bVer = parseInt (navigator.appVersion); 
ie=document.all?1:0;
n=document.layers?1:0;
useDom = document.getElementById?1:0;
ns6 = false;

if ( (useDom) && (bVer >= 5) &&(!document.all) ) 
	ns6 = true;	

if (ie || n || ns6) {
	javaS = true;
}

var jrootUrl = '';
if (document.images) {
	
	navg_about = new Image();
	navg_about.src = jrootUrl + "/images/nav_g_about.gif";	
	navg_about_on = new Image();
	navg_about_on.src = jrootUrl + "/images/nav_g_about_on.gif";	

	navg_tour = new Image();
	navg_tour.src  = jrootUrl + "/images/nav_g_tour.gif";	
	navg_tour_on = new Image();
	navg_tour_on.src = jrootUrl + "/images/nav_g_tour_on.gif";	

	navg_join = new Image();
	navg_join.src  = jrootUrl + "/images/nav_g_join.gif";	
	navg_join_on = new Image();
	navg_join_on.src = jrootUrl + "/images/nav_g_join_on.gif";	

	navg_members = new Image();
	navg_members.src  = jrootUrl + "/images/nav_g_members.gif";	
	navg_members_on = new Image();
	navg_members_on.src = jrootUrl + "/images/nav_g_members_on.gif";
	
	navg_members_log = new Image();
	navg_members_log.src  = jrootUrl + "/images/nav_g_members_log.gif";	
	navg_members_log_on = new Image();
	navg_members_log_on.src = jrootUrl + "/images/nav_g_members_log_on.gif";		

	navg_memb = new Image();
	navg_memb.src  = jrootUrl + "/images/nav_g_memb_memb.gif";	
	navg_memb_on = new Image();
	navg_memb_on.src = jrootUrl + "/images/nav_g_memb_memb_on.gif";	

	navg_home = new Image();
	navg_home.src  = jrootUrl + "/images/nav_g_home.gif";	
	navg_home_on = new Image();
	navg_home_on.src = jrootUrl + "/images/nav_g_home_on.gif";	

	ourrules = new Image();
	ourrules.src  = jrootUrl + "/images/ln_ourrules.gif";	
	ourrules_1_on = new Image();
	ourrules_1_on.src = jrootUrl + "/images/ln_ourrules_1_on.gif";	
	ourrules_2_on = new Image();
	ourrules_2_on.src = jrootUrl + "/images/ln_ourrules_2_on.gif";	
	ourrules_3_on = new Image();
	ourrules_3_on.src = jrootUrl + "/images/ln_ourrules_3_on.gif";	
	ourrules_4_on = new Image();
	ourrules_4_on.src = jrootUrl + "/images/ln_ourrules_4_on.gif";	
	ourrules_5_on = new Image();
	ourrules_5_on.src = jrootUrl + "/images/ln_ourrules_5_on.gif";	
	
	logoff = new Image();
	logoff.src  = jrootUrl + "/images/ln_ourrules_logoff.gif";
	logoff_on = new Image();
	logoff_on.src  = jrootUrl + "/images/ln_ourrules_logoff_on.gif";		
}

function imgOn(img) {
	document[img].src = eval(img+ "_on.src")
}
function imgOff(img) {
	document[img].src = eval(img + ".src")
}
function imgMapOn(img, imgon) {
		document[img].src = eval(imgon + "_on.src")
}

/**************************************************************************************
pop up Window, pass 5 args: URL, width, height of window, window name, and resizable or not
defaults: [URL: required arg], 300px wide,300px high, "", not resizable
*************************************************************************************/
function newWin(url,w,h,winName,resize) {
   if (w == '')	w = 350;
   if (h == '') 	h = 350;
   if (winName == '') winName = '';
   if (resize == '') resize=1
   winName = window.open(url, winName, 'location=no,toolbar=no,status=no,width=' + w + ',height=' + h + ',scrollbars=yes,resizable=' + resize);
   winName.focus(); 
}

/* general form processing */
function processForm (theform, action) {
	
	if (action == 'cancel') {
		//alert ('clear form');
		theform.reset();
	
	}


}
/* hide/show layer functionalities */
/* layers' syntax*/
if (n) {
	styleRef = "document.layers.";
	styleSwitch = '';
}
if (ie) {
	styleRef = "document.all.";
	styleSwitch=".style";
}
if (ns6) {
	styleRef = "document.getElementById('";
	styleSwitch="').style";
}

function hideLayer(lname){  
  eval(styleRef + lname + styleSwitch + ".visibility='hidden'");    
}

function showLayer(lname){     
   eval(styleRef + lname + styleSwitch + ".visibility='visible'");     
}




//-->
