

/**
 *	Canvia el color de fons i els textos inicials dels inputs quan hi ha els events focus i blur
 *
 *	@param (object) obj Objecte select
 *	@param (string) sEvent Tipus d'event (focus o blur)
 *	@param (string) content Text inicial de l'input
 */
function focusInputBuscar(sEvent, content)	//v2.0
{
	var obj = document.getElementById("inputBuscar");
	if (!obj) return;
	if (content == undefined) content = "";
	if (sEvent == "focus"){
		obj.setAttribute("class", "buscar");
		obj.setAttribute("className", "buscar");
		if (obj.value == content) {
			obj.value = "";
		}
	}
	else if (sEvent == "blur"){
		obj.setAttribute("class", "buscar");
		obj.setAttribute("className", "buscar");
		if (obj.value == "") {
			obj.value = content;
		}
	}
}


function overImgBuscar(tthis)
{
	tthis.src=nh+'img/buscar-boto-submit-hl.gif';
}

function outImgBuscar(tthis)
{
	tthis.src=nh+'img/buscar-boto-submit.gif';
}


