<!--
//    -=pH2=-  April 1, 2004
// --------------------  **tnjfannin.com JavaScript **  ----------------->
//    ph2 Enterprises 


defaultStatus = "Tracy Fannin Ð web design | art direction";


// --------------------  ** Browser Detection **  ----------------->

   bName = navigator.appName;
   bVersion = parseFloat(navigator.appVersion);
   r = 'false';

if (bName == "Netscape" && bVersion >= 3.0){
        //alert(bName+bVersion);
	document.write('<link rel=stylesheet type="text/css" href="css/netscape.css">');
        r = 'true';
	}
else if (bName == "Microsoft Internet Explorer" && bVersion >= 3.0)
	{
	document.write('<link rel=stylesheet type="text/css" href="css/default.css">');
	r = 'true';
	}
else
	{
	//alert("Niether");
	r = 'false';
	document.write('<link rel=stylesheet type="text/css" href="css/default.css">');
}


// --------------------  ** Image Rollover Function **  ----------------->

function msover(img,ref){
	if (r == 'true'){
		document.images[img].src = ref;
	}
}

function msout(img,ref){
	if (r == 'true'){
		document.images[img].src = ref;
	}
}
   
// --------------------  ** New Window Function **  ----------------->  
   
function openWin(thepage,winname,iwidth,iheight,scroll) {
   
	if (parseInt(navigator.appVersion) >= 4) {
		var winl = (screen.width - iwidth) / 2;
		var wint = (screen.height - iheight) / 2;
		winargs = 'height='+iheight+',width='+iwidth+',top='+wint+',left='+winl+',scrollbars='+scroll
		win = window.open(thepage,winname,winargs)
		if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } 
		} 
      
		else
      
		{
		winargs = 'height='+iheight+',width='+iwidth+ ', scrollbars='+scroll
		window.open(thepage,winname,winargs)
		}
}
         


// --------------------  ** subpage links rollovers **  ----------------->

var content=new Array()
//change the array below to the text associated with your links Expand or contract the array, depending on how many links you have

content[0]='<font style="font-size: 10px" face="Verdana">'
content[1]='<font style="font-size: 10px" face="Verdana">'
content[2]='<font style="font-size: 10px" face="Verdana"><img src="images/spacer.gif" width="5" height="60"><br><img src="images/spacer.gif" width="10" height="5"><a href="about_bio.html" class="aboutmenu">me</a><br><img src="images/spacer.gif" width="10" height="5"><a href="about_gameplan.html" class="aboutmenu">game plan</a><br><img src="images/spacer.gif" width="10" height="5"><a href="about_clients.html" class="aboutmenu">happy clients</a><br><img src="images/spacer.gif" width="10" height="5"><a href="about_support.html" class="aboutmenu">support staff</a>'
content[3]='<font style="font-size: 10px" face="Verdana"><img src="images/spacer.gif" width="5" height="105"><br><img src="images/spacer.gif" width="10" height="5"><a href="portfolio_web.html" class="portfoliomenu">web</a><br><img src="images/spacer.gif" width="10" height="5"><a href="portfolio_print.html" class="portfoliomenu">print</a>'
content[4]='<font style="font-size: 10px" face="Verdana">'

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",450)
}

function changetext(whichcontent){
if (document.all)
descriptions.innerHTML='<font face="Verdana"><small>'+whichcontent+'</small><font>'
else if (document.layers){
document.d1.document.d2.document.write('<font face="Verdana"><small>'+whichcontent+'<small></font>')
document.d1.document.d2.document.close()
}

}


// -->