// these functions change the form fields in Mozilla and IE for Windows.

/* Search text field on top of page
行行行行行行行行行行行行行行行行行行行行行行行行*/ 
function searchfocuson(obj) {
	//obj.style.borderColor = '#AEC6A5';
	//obj.style.backgroundColor = '#9AD9A0';
	//obj.style.backgroundColor = '#93B296';
	//obj.style.backgroundColor = '#A0B59D';
	obj.style.backgroundColor = '#87cf40';
	obj.style.color = '#ffffff';
	// obj.style.borderWidth='2';
	// peach colour  #FFF9DD;
	// flouro yellow #FFF71F;
	// green desaturated (same as border of form box) #AEC6A5;
	// nice fluoro green #A2E4A8;
	obj.value = "";
}
function searchfocusoff(obj) {
	obj.style.backgroundColor = '#ffffff';
	obj.style.color = '#98bf96';
	obj.value = "Search site";
}

/* Journal add comments (URL) text field
行行行行行行行行行行行行行行行行行行行行行行行行*/ 

function httpon(obj) {
	if (obj.value == "")	{
		obj.value = "http://";
	}
	obj.style.backgroundColor = '#FFF71F';	
}
function httpoff(obj) {
	if (obj.value == "http://") {
		obj.value = "";
	}
	obj.style.backgroundColor = '#ffffff';	
}
