<!--
 
 
//sniffer
function Is() {
  var agent = navigator.userAgent.toLowerCase();
  var is_major = parseInt(navigator.appVersion);
  var is_minor = parseFloat(navigator.appVersion);
  this.ns = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)) && (is_major < 5));
  this.ie = (agent.indexOf("msie") != -1);
  this.dom = ((agent.indexOf('mozilla')!=-1) && (agent.indexOf('gecko') != -1) && (is_major >= 5));
}
 
var is = new Is();
 
function changeColor(thisID, colorNum){
	if(is.ie) {
		document.all[thisID].style.backgroundColor=colorNum;
		//document.all[whichText].style.color=textColor;
	} else if(is.ns) { //stupid old netscape
		document[thisID].bgColor=colorNum;
		//document[whichText].color=textColor;
	} else if(is.dom) {
		document.getElementById(thisID).style.backgroundColor=colorNum;
		//document.getElementById(whichText).style.color=textColor;
	}
}
 
 
function changeImgBorderOn(thisID) {
	if(is.ie) {
		thisID.style.borderColor='#CC0000';
	} else if(is.ns) { //stupid old netscape
		thisID.borderColor='#CC0000';
	} else if(is.dom) {
		thisID.style.borderColor='#CC0000';
	}
}
function changeImgBorderOff(thisID) {
	if(is.ie) {
		thisID.style.borderColor='#083194';
	} else if(is.ns) { //stupid old netscape
		thisID.borderColor='#083194';
	} else if(is.dom) {
		thisID.style.borderColor='#083194';
	}
}
 
 
function popWindow(image,winW,winH){
	var newWin=window.open(image,'image','width=' + winW + ',height=' + winH + ',scrollbars=yes,left=0,top=0,menubar=no,toolbars=no,resizable=no,statusbar=no,locationbar=no');
} 
 
 
// -->

