<!--// 
/* Written by: Dennis Howe (C) Dennis Howe - Borgatomic */
/* Last Update: 04/15/2008 */

var IE4 = (document.all && document.getElementById) ? true : false;  
var NS6 = (!document.all && document.getElementById) ? true : false; 
var divLayer=""; 
var divRef=""; 
var outMsg=""; 
var nothing = "<a href='mailto:lon@lonandtj.com'>Lon</a>";

function checkbrowser() 
{ 
	if(IE4 || NS6) 
	{  
		showemail(); 
	} 
	else 
	{ 	alert("Sorry, my website is not quite ready for your browser."); return; } 
}

function showemail()
{ 
	outMsg="<br><div id='px800box'><div class='center'>"; 
	outMsg+="Email: ";  
	outMsg+= nothing ; 
	outMsg+= "</div></div>" ; 	
	displaycontent(outMsg,'emaildiv'); 
}


function toggledivoff(divRef)
{ 
	divLayer=document.getElementById(divRef); 
	divLayer.style.visibility="hidden"; 
} 

function toggledivon(divRef)
{ 
	divLayer=document.getElementById(divRef); 
	divLayer.style.visibility="visible"; 
}

function displaycontent(outMessage, divRef)
{ 
	divLayer = document.getElementById(divRef); 
	divLayer.style.visibility="visible"; 
	divLayer.innerHTML = ""; 
	divLayer.innerHTML = outMessage; 
}

function chgimg(imgField, newImg)
{ 
	if(document.images) 
	{ 
		document[imgField].src=eval(newImg+".src"); 
	} 
}





//-->