	function OpenRing(id){
		window.open("OpenRing.asp?id=" + id, "ring", "height=350,width=480");
	}
	
	function OpenPicture(id){
		window.open("OpenPicture.asp?id=" + id, "picture", "height=350,width=480");
	}
	
	function doSearch(){
	    if(selTitle.selectedIndex == 0){
	        window.location = "RingList.asp?searchType=2&title=" + escape(document.all.txtSearch.value);
	    }
	    else{
	        window.location = "RingList.asp?searchType=3&singer=" + escape(document.all.txtSearch.value);
	    }
	}

function onSend(){
 var hm=document.frmMain.txtCellPhone.value;

if((hm.length!=11)|| isNaN(hm) || (hm.indexOf("13")!=0&&hm.indexOf("159")!=0&&hm.indexOf("153")!=0&&hm.indexOf("158")!=0)||hm.indexOf(" ")>0)
	{
	alert("请输入一个正确的手机号码。");
	}
	else
	{
        document.frmMain.submit();
	}
	
}