// JavaScript Document

function jObj( ObjID ){
	if (document.getElementById) { return(document.getElementById( ObjID )); }	// IE5, IE6, IE7, NetScape6, Opera, Firefox
	else { if (document.all) {return(document.all[ ObjID ]); }                  // IE4, and someIE5
		   else { BrVersion = parseInt(navigator.appVersion);							
	       		if ((navigator.appName.indexOf('Netscape')!=-1)&&(BrVersion==4)) { return (document.layers[ ObjID ]); }
		 	}  // for nautghy NetScape4
	} 
}


function jPty( ObjID, Parametro, Valor  ){
		Obj= jObj( ObjID );
		eval( "Obj."+ Parametro +"='"+ Valor +"'" );
}


function jCss( ObjID, Parametro, Valor  ){
		Obj= jObj( ObjID );
		eval( "Obj.style."+ Parametro +"='"+ Valor +"'" );
}


function jDivOn(ObjID){
	Obj = jObj(ObjID);
	Obj.style.display ="block";
}


function jDivOff(ObjID){
	Obj = jObj(ObjID);
	Obj.style.display ="none";
}

// -------------------- local functions ----------------

function SetLogoPic(NewImage){
	jPty('HeaderLogo','src',NewImage);
}

