<!--


// Navigation Menu Color Change ----------------------------------------------------
function n_I(src, nid, act) {

	if (act == '1') {
		document.images['n'+nid].src = '/reg/do/img/nav/a_1.jpg';
		src.style.cursor='hand';
	} else if (act == '0') {
		document.images['n'+nid].src = '/reg/do/img/nav/a_0.jpg';
	} else if (act != '') {
		location.href = act;
	}
		
}



// Window open script ----------------------------------------------------
// Example: openWin('whatever.asp','name','width=600,height=300')
function openWin(theURL,winName,features) {
  window.open(theURL,winName,features);
}




// CAR LIST Color Change ----------------------------------------------------
function listI(src, evnt, ln_var) {
	// NAV Links
	
	if (evnt == '1') {
		src.style.backgroundColor='#C5E2FF'; 
		src.style.cursor='hand';
	} else if (evnt == '0') {
		src.style.backgroundColor='#DCEEFF';
	} else if (evnt == '2') {
		location.href = ln_var;
	}
		
}


// CAR LIST Color Change FOR THE BASIC REFERENCES ----------------------------------------------------
function listB(src, evnt, interval, ln_var) {
	// NAV Links
	
	if (evnt == '1') {
		src.style.backgroundColor='#e1e1e1'; 
		src.style.cursor='hand';
	} else if (evnt == '0') {
		if (interval == 1) {
			src.style.backgroundColor='#efefef';
		} else {
			src.style.backgroundColor='#f7f7f7';
		}
	} else if (evnt == '2') {
		location.href = ln_var;
	}
		
}


// ANTI SPAN DOCUMENT WRITE EMAIL
function emailDo(first, second, csst, txt) {
	var x1 = first;
	var x2 = second;
	var x3 = '.com';
	var x4 = '@';
	var x5 = 'mailto:';
	var x6 = txt;
	
	x2 = second + x3
	x1 = x1 + x4
	if (txt) {
		document.write('<a class="' + csst + '" href="' + x5 + x1 + x2 + '">' + txt + '</a>');
	} else {
		document.write('<a class="' + csst + '" href="' + x5 + x1 + x2 + '">' + x1 + x2 + '</a>');
	}
}




//-->