 /*------------------------------------*/
//update time: 2009.07.10 
// auther: ZhongYizhou
//content: add the new js files
//description: this function is for the 
//	login-in form.To show and hide the 
//	default content.
 /*-------------------------------------*/
function getE(e){return document.getElementById(e);}//根据ID获取对象
function onfocusKeyword(ID,secID,def_content){
	var element = getE(ID);
	element.style.color = "#000000";
	if(secID == "")
	{
		if(element.value == def_content) {
			element.value = "";
		}
	}
	else
	{
		var hideInput = getE(secID);
		hideInput.style.display = "none";
		element.style.display = "";
		element.focus();
	}
}
function onblurKeyword(ID,secID,def_content){
	var element = getE(ID);
	if(secID == "")
	{
		if(element.value == "") {
			element.style.color = "#d9d9d9";
			element.value = def_content;
		} 
	}
	else
	{
		if(element.value == "")
		{
			var showInput = getE(secID);
			element.style.display = "none";
			showInput.style.display = "";
			showInput.value = def_content;
		}
	}
}