pic1= new Image(86,19); 
pic1.src="http://www.basimmousilli.com/wp-content/themes/new/images/readmore_blue.gif"; 

pic2= new Image(63,19); 
pic2.src="http://www.basimmousilli.com/wp-content/themes/new/images/search_blue.gif"; 

pic3= new Image(82,19); 
pic3.src="http://www.basimmousilli.com/wp-content/themes/new/images/subscribe_blue.gif"; 

pic4= new Image(67,19); 
pic4.src="http://www.basimmousilli.com/wp-content/themes/new/images/submit_blue.gif"; 




function clearfield(thefieldtochange) {

var fieldtoclear = thefieldtochange;

if (fieldtoclear=="wallbody") {
	if (document.wallform2.wpwall_comment.value == "Leave me a message...") {
		document.wallform2.wpwall_comment.value = "";
	}
	else {
	}
}

if (fieldtoclear=="wallbody-exit") {
	if (document.wallform2.wpwall_comment.value == "") {
		document.wallform2.wpwall_comment.value = "Leave me a message...";
	}
	else {
	}
}

if (fieldtoclear=="wallemail") {
	if (document.wallform2.wpwall_email.value == "Your e-mail") {
		document.wallform2.wpwall_email.value = "";
	}
	else {
	}
}

if (fieldtoclear=="wallemail-exit") {
	if (document.wallform2.wpwall_email.value == "") {
		document.wallform2.wpwall_email.value = "Your e-mail";
	}
	else {
	}
}

if (fieldtoclear=="wallname") {
	if (document.wallform2.wpwall_author.value == "Your name") {
		document.wallform2.wpwall_author.value = "";
	}
	else {
	}
}

if (fieldtoclear=="wallname-exit") {
	if (document.wallform2.wpwall_author.value == "") {
		document.wallform2.wpwall_author.value = "Your name";
	}
	else {
	}
}


if (fieldtoclear=="search") {
	if (document.searchform.s.value == "Enter search keywords") {
		document.searchform.s.value = "";
	}
	else {
	}
}

if (fieldtoclear=="search-exit") {
	if (document.searchform.s.value == "") {
		document.searchform.s.value = "Enter search keywords";
	}
	else {
	}
}


if (fieldtoclear=="subscribe") {

/*
	if (document.feebsub.email.value == "Enter e-mail address") {
		document.feebsub.email.value = "";
	}
	else {
	}
*/

	if (document.feebsub2.email.value == "Your e-mail") {
		document.feebsub2.email.value = "";
	}
	else {
	}
}

if (fieldtoclear=="subscribe-email") {
/*
	if (document.feebsub.email.value == "") {
		document.feebsub.email.value = "Enter e-mail address";
	}
	else {
	}

*/
	if (document.feebsub2.email.value == "") {
		document.feebsub2.email.value = "Your e-mail";
	}
	else {
	}
}



}