function checkBrowser(){
	this.win=(navigator.platform=="Win32")?1:0;
	this.mac=(navigator.platform=="MacPPC")?1:0;
	this.ver=navigator.appVersion;
	this.dom=document.getElementById?1:0;						/* The getElementById method is applicable to 5th generation browsers only. */
	this.ie6=(this.ver.indexOf("MSIE 6")!=-1 && this.dom)?1:0   /* PJM added to handle ie6 */
	this.ie5=(this.ver.indexOf("MSIE 5")!=-1 && this.dom)?1:0; 	/* Will handle both ie5 and ie5.5 */
	this.ie4=(document.all && !this.dom)?1:0;					/* Specifically ie4 */
	this.ns5up=(this.dom && parseInt(this.ver)>=5)?1:0;			/* Netscape 6 (Mozilla) */
	this.ns4=(document.layers && !this.dom)?1:0;				
	this.netahead=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6)?1:0;		/* Only IE or Navigator */
	this.ie=(this.ie4 || this.ie5 || this.ie6 || this.ns6)?1:0;					/* Allows single test on netahead.ie */
	this.nav=(this.ns4)?1:0;										/* Allows single test on netahead.nav */
	return this
}
var netahead = new checkBrowser();

// Sets the default page status
defaultStatus="Peek Associates"

// Standard print code
function printIt(){  
	if (window.print) {
		window.print() ;  
	}else{
		var browsername = '<OBJECT ID="browsername1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
		document.body.insertAdjacentHTML('beforeEnd', browsername);
		browsername1.ExecWB(6, 2);
	}
}

// Open Popup
function popupURL(URL,name,width,height, scrollWin){
	var winLeft = (screen.width - width) / 2;
	var winUp = (screen.height - height) / 2;
	win = window.open(URL,name, 'toolbar=no, resizable=yes, scrollbars='+scrollWin+', width='+width+', height='+height+',left='+winLeft+',top='+winUp);
}

// fixes Netscape 6 padding issues
if(netahead.ns5up){
document.write('<link rel="stylesheet" type="text/css" href="css/ns6fix.css" />');
}

// Blur anchors
function blurAnchors(){
  if(document.getElementsByTagName){
    var a = document.getElementsByTagName("a");
    for(var i = 0; i < a.length; i++){
      a[i].onfocus = function(){this.blur()};
    }
  }
}
//onload = blurAnchors;

function init(){
blurAnchors();
}
onload=init;
