
// Dynamic Button - <div> button color must be initialized at page load for NS4
var BcolOff = "#336699";	var BcolOver = "#6699CC";	// button colors 
var TcolOff = "White";	var TcolOver = "#66CCCC";	// text colors 
function Init() { 
	DynButton ( 'Button1',BcolOff,TcolOff );
	DynButton ( 'Button2',BcolOff,TcolOff );
	DynButton ( 'Button3',BcolOff,TcolOff );
	DynButton ( 'Button4',BcolOff,TcolOff );
	DynButton ( 'Button5',BcolOff,TcolOff );
	window.status=Text;
}
function DynButton ( Identity , Bcol, Tcol ) {	// browser independent <div> access - ARC Graphics 6.2004
	if ( document.getElementById ) {	// new browsers !document.all && !document.layers : document.getElementById("Button1").style.background = State;
		document.getElementById(Identity).style.background = Bcol;
		document.getElementById(Identity).style.color = Tcol;
	} else if ( document.all ) {	// IE4	document.all.Button1.style.background = State;
		eval("document.all."+Identity).style.background = Bcol;
		eval("document.all."+Identity).style.color = Tcol;
	} else if ( document.layers ) {	// NS4	document.Button1.bgColor = State;
		//alert ("eval(\"document.\"+"+Identity+").document.fgColor : '"+eval("document."+Identity).document.fgColor+"'\n");
		eval("document."+Identity).bgColor = Bcol;
		eval("document."+Identity).document.fgColor = Tcol;
		//eval("document."+Identity).document.open();
		//eval("document."+Identity).document.write("fgfghjfgfgffgjfgfgfghjhjkknTcol");
		//eval("document."+Identity).document.close();
		window.status="document."+Identity+".document.fgColor : '"+eval("document."+Identity).document.fgColor+"'";
		return true;
	} else {	// unknown
		alert ( "document.getElementById : '" + document.getElementById + "'\n" + "eval(\"document.all.\"+Identity) : '" + eval("document.all."+Identity) + "'\n" + "eval(\"document.\"+Identity) : '" + eval("document."+Identity) + "'\n" + "document.layers.lenght : '" + document.layers.lenght + "'\n" );
	}
}
