function show(){
	doc="<table border=0 width=100%><tr><td>Post Date <input type=text name=postdate size=10>&nbsp;&nbspPost By <input type=text name=postby></td></tr></table>";
	document.all.sc.innerHTML=doc;
	document.all.so.innerHTML="<a href=\"#\" onClick=\"hide();\">Hide Advanced Search</a>";
}
function hide(){
	document.all.sc.innerHTML='';
	document.all.so.innerHTML="<a href=\"#\" onClick=\"show();\">Advanced Search</a>";
}
function check(the){
	if(the.username.value==""){
		alert("Please enter username!");
		the.username.focus();
		return false;
	}
	if(the.password.value==""){
		alert("Please enter password!");
		the.password.focus();
		return false;
	}
return true;
}
function check1(the){
	if(the.email.value==""){
		alert("Please enter email!");
		the.email.focus();
		return false;
	}
return true;
}
function check2(the){
	if(the.search.value==""){
		alert("Please enter search word!");
		the.search.focus();
		return false;
	}
	if(the.category.value==""){
		alert("Please select category!");
		the.category.focus();
		return false;
	}
return true;
}
