<!--// 
/* 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 theColor="default";
var nothing = "<a href='mailto:mare@justmare.com'>Mare</a>";
var theColor="default";
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") ; } }
function shownewurl(newURL){ window.location = newURL; }
function clearmain(){ outMsg=""; displaycontent(outMsg,'main'); }
function clearphotodiv(){ outMsg=""; displaycontent(outMsg,'photodiv'); }
function checkbrowser() { if(IE4 || NS6) {  showemail(); } else { 	alert("Sorry, my website is not quite ready for your browser."); return; } }


if(document.images)
{
	var button1        = new Image; button1.src="shell/button1.jpg";
	var button1over    = new Image; button1over.src="shell/button1over.jpg";
	var button2        = new Image; button2.src="shell/button2.jpg";
	var button2over    = new Image; button2over.src="shell/button2over.jpg";
	var button3        = new Image; button3.src="shell/button3.jpg";
	var button3over    = new Image; button3over.src="shell/button3over.jpg";
	var button4        = new Image; button4.src="shell/button4.jpg";
	var button4over    = new Image; button4over.src="shell/button4over.jpg";
	var button5        = new Image; button5.src="shell/button5.jpg";
	var button5over    = new Image; button5over.src="shell/button5over.jpg";
}


function showemail()
{ 
	outMsg="Email: ";  
	outMsg+= nothing ; 
	displaycontent(outMsg,'emaildiv'); 
}

//-->