// JavaScript Document
function fanzhuan(idstr,nowid,countid,nowclass,qtclass)
{
	var i=1;
	for (i=1; i<=countid; i++)
	{
		if (i == nowid)
		{
			document.getElementById(idstr + i).className = nowclass;
			document.getElementById(idstr + "info" + i ).style.display = "block";
		}
		else
		{
			document.getElementById(idstr + i).className = qtclass;
			document.getElementById(idstr + "info" + i ).style.display = "none";
		}
	}
}

function copyToClipBoard()
{ 
	var clipBoardContent=""; 
	clipBoardContent+=document.title; 
	clipBoardContent+=""; 
	clipBoardContent+=this.location.href; 
	window.clipboardData.setData("Text",clipBoardContent); 
	alert("复制成功，请粘贴到你的QQ/MSN上推荐给你的好友"); 
} 

function seasch()
{
	if(document.getElementById("key").value == "请输入查询条件")
		document.getElementById("key").value = "";
	document.searchform.submit();
}
