//Define variables
var isNav, isIE
var imgoff='/images/spacer.gif';
var imgon="/images/ts_mar.gif";
var imgon_ns="/images/cy_mar.gif";
var txtoff='000000';
var txton='FFFFFF';
var bgcoloff='E8E7E7';
var bgcolon='BAB9CA';
var cursoroff='';
var cursoron='hand';
var mocolor='F6F6F6'; // mouse over td color
var mooddcolor='F6F6F6'; // mouse over odd td color
var moevencolor='E8E7E7'; // mouse over even td color

if (parseInt(navigator.appVersion) >=4 ) {
	if (navigator.appName == "Netscape") {
		isNav = true
	} else {
		isIE = true
		col1 = "all."
		styleObj = ".Style"
	}
}

function seton(i) {

	if (isNav == true) {
		
	} else {
		var im=eval("document.all."+"im"+i);
		im.src=imgon;
		var tx=eval("document.all."+"tx"+i);
		tx.color=txton;
		var td=eval("document.all."+"td"+i);

		
		 td.style.backgroundColor=bgcolon;
		 td.style.cursor=cursoron;	
		
	}

}

function apse(what) {
		what.style.backgroundColor=bgcolon;
		what.style.cursor=cursoron;	
}

function setoff(i) {
	if (isNav == true) {
		
	} else {
		var tx=eval("document.all."+"im"+i);
		tx.src=imgoff;
		var tx=eval("document.all."+"tx"+i);
		tx.color=txtoff;
		var td=eval("document.all."+"td"+i);
		td.style.backgroundColor="";
		td.style.cursor=cursoron;		
		
	}
}

function mo(what) {
	what.style.backgroundColor=mocolor;
	what.style.cursor='default';	
}

function muo(what) {
	what.style.backgroundColor=mooddcolor;
}

function mue(what) {
	what.style.backgroundColor=moevencolor;
}

function MM_openBrWindow(theURL,winName,features) { 
  wn=window.open(theURL,winName,features);
  wn.focus();
}

function MM_openSymbolWindow(frmname,fldname) { 
  wn=window.open('findsymbol.cfm?frmname='+frmname+'&fldname='+fldname,'help','width=450,height=350,resizable,scrollbars,toolbar,location');
  wn.focus();
}

function doNothing() {
}

function SendSymbol(what,toform,tofield){
	a=eval('opener.document.'+toform+'.'+tofield)
	a.value=what;
	this.window.close()
}
