<!-- 
// Example:
// var b = new BrowserInfo();
// alert(b.version); 
function BrowserInfo()
{
  this.name = navigator.appName;
  this.codename = navigator.appCodeName;
  this.version = navigator.appVersion.substring(0,4);
  this.platform = navigator.platform;
  this.javaEnabled = navigator.javaEnabled();
  this.screenWidth = screen.width;
  this.screenHeight = screen.height;
}


function cdigvoid () {
	return false;
	
}

function printPage() {
	window.print();
	
}

var isIE = (document.getElementById && document.all)?true:false;
var isNS4 = (document.layers)?true:false;
var isNS6 = (document.getElementById && !document.all)?true:false;


if (isNS6 ) {
	
	
	
}




function trimString(str) {
   return str.replace(/^\s*|\s*$/g,"");
}



function siteSearch() {	

	var strSearchScript = "/content/search.aspx?";

	if (trimString(document.forms[0].frmTextSearch.value) != "") {


		document.location.href =  strSearchScript + "q=" + trimString(document.forms[0].frmTextSearch.value)  ;

        return false;
        		
	} else {
	
		document.forms[0].action = "";
	}
		
}


function siteSearchKey( evt, frm ) {

	var keyCode = null;

	if( evt.which ) {
		keyCode = evt.which;
	} else if( evt.keyCode ) {
		keyCode = evt.keyCode;
	}
	if( 13 == keyCode ) {
		siteSearch();
		return false;
	}
	return true;
}


function initOnLoad() {

	//document.forms[0].onsubmit = siteSearch;
}


// -->