function toggleLayer( whichLayer){
	var elem, vis, lf, lt;
	if (whichLayer=='ref6') {
		lf = 0;
		lt = 5;
	} else {
		lf = whichLayer.substr(3,1);
		lt = lf;
	};
	for (wLL = lf; wLL<=lt; wLL++ )
	{
		if( document.getElementById ) 	// this is the way the standards work
			elem = document.getElementById( 'ref' + wLL );
		else if( document.all ) 	// this is the way old msie versions work
			elem = document.all['ref' + wLL];
		else if( document.layers ) 	// this is the way nn4 works
			elem = document.layers['ref' + wLL];
		vis = elem.style;
		// if the style.display value is blank we try to figure it out here
		if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
			vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
		if (vis.display==''||vis.display=='block') {
			vis.display = 'none';
		} else {
			vis.display = 'block';
		}
	};
}

function Holler(Login, Server)
{
window.navigate("mailto:" + Login + "@" + Server);
}

function pop_up(url,lbl) {
  window.open(url,lbl, 'menubar=1,toolbar=0,statusbar=1,personalbar=0,scrollbars=1,width=800,height=600,top=50,left=100');
}

function rowOverEffect(object) {
  if (object.className == 'dataTableRow') object.className = 'dataTableRowOver';
}

function rowOutEffect(object) {
  if (object.className == 'dataTableRowOver') object.className = 'dataTableRow';
}

function popupWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=100,left=100')
}

