<!--


// INPUT Felder

function focus_(obj_) {
	obj_ = this;
	obj_.style.color = "#595A5A";
	obj_.style.backgroundColor ="#FFFFE5";
	obj_.focus();
	obj_.select();
	if(obj_.value == obj_.title) {
		obj_.value ="";
	}
}

function blur_(obj_) {
	obj_ = this;
	//alert(obj_.id)
	obj_.style.backgroundColor ="#FFFFFF";
	if(obj_.value.length == 0 || obj_.value == obj_.title) {
		obj_.value = obj_.title;
		if(obj_.id == "qs_inp") {
			obj_.style.color = "#969696";
		} else
			obj_.style.color = "#595A5A";
	}
}



function getInpToFocus() {
	//if (!document.getElementById) return
	inp = document.getElementsByTagName("input");
	are = document.getElementsByTagName("textarea");
	for(i=0; i<inp.length; i++) {
		inp[i].onfocus = focus_;
		inp[i].onblur = blur_;
	}
	for(i=0; i<are.length; i++) {
		are[i].onfocus = focus_;
		are[i].onblur = blur_;
	}
}

getInpToFocus();


//-->