﻿/*kccPix = new Array('images/photoback01.jpg','images/photoback02.jpg','images/photoback03.jpg','images/photoback04.jpg','images/photoback05.jpg')imgCt = kccPix.lengthfunction choosePic() {	if (document.images) {		randomNum = Math.floor ((Math.random() * imgCt))		document.header.src = kccPix[randomNum]	}}*/var timer = null;aTag ="";//Tag = "";	function getObj(name)	{	  if (document.getElementById)	  {	  	this.obj = document.getElementById(name);		this.style = document.getElementById(name).style;	  }	  else if (document.all)	  {		this.obj = document.all[name];		this.style = document.all[name].style;	  }	  else if (document.layers)	  {	   	this.obj = document.layers[name];	   	this.style = document.layers[name];	  }	}	function turnon(theTag,tag)	{	  var x = new getObj(theTag);	  var y = new getObj(tag);	  clearTimeout(timer);	  if(aTag != ""){	  noNav();	  }	  x.style.visibility = "visible";	  y.style.background = "#702626";	  y.style.borderTop = "1px solid #000";	  y.style.borderBottom = "1px solid #000";	  y.style.padding = "4px 6px";	  	}		function noNav()	{  	  var x = new getObj(aTag);  	  x.style.visibility = "hidden";	  /*var y = new getObj(Tag);	  y.style.background = "";	  y.style.borderTop = "";	  y.style.borderBottom = "";*/	}		function turnoff(theTag,tag)	{	  var y = new getObj(tag);	  y.style.background = "";	  y.style.borderTop = "";	  y.style.borderBottom = "";  	  clearTimeout(timer);	  aTag = theTag;	  timer = setTimeout("noNav()",200);  	 /* var x = new getObj(theTag);	  var y = new getObj(tag);  	  x.style.visibility = "hidden";	  y.style.background = "";	  y.style.borderTop = "";	  y.style.borderBottom = "";*/	}			function setBookmark(url,title){		if (title == "") title = url;		if(document.all){			window.external.AddFavorite(url,title);		}		else if (window.sidebar) window.sidebar.addPanel(title,url,"");		else if( window.opera && window.print )		{		var mbm = document.createElement('a');		mbm.setAttribute('rel','sidebar');		mbm.setAttribute('href',url);		mbm.setAttribute('title',title);		mbm.click();		}	}