// This does general preparation of the page including:
// 	- Adding ClearField to search field and the two Request Callback fields
// 	- Adding the mouseover to the Request Callback submit button
addEvent(window,"load", General_Initialise, false);

function General_Initialise(){

	// Add ClearField to right menu items
	addEvent($('SearchField'),"click",ClearField,false);
	addEvent($('callback_name'),"click",ClearField,false);
	addEvent($('callback_phone'),"click",ClearField,false);

	// Add mouseover to the Request Callback submit button
	addEvent($('RightCallbackSubmit'),"mouseover", function(){$('RightCallbackSubmit').src='/images/common/callback_send_over.gif'},false);
	addEvent($('RightCallbackSubmit'),"mouseout", function(){$('RightCallbackSubmit').src='/images/common/callback_send.gif'},false);
	
} // end General_Initialise

/// /// // Form setter
function ClearField(e){

	if(!e) var e = window.event;
	if(e.target) targ = e.target;
	else if (e.srcElement) targ = e.srcElement;

	if(targ.beenSet != 1){
	targ.beenSet = 1;
	targ.value = "";
	}
} // end ClearField
