
document.write("<table align=center width=760><tr><td><a href=http:\/\/www.bhyl120.cn><img src=logo.gif alt=本惠医疗 width=190 height=67 border=0><\/a><\/td><td><div id=tool1 class=topmenu><ul><li><a href=fuke003.htm>无痛人流<\/a><\/li><li><a href=007.htm>癌症专科<\/a><\/li><li><a href=fuke006.htm>不孕不育<\/a><\/li><li><a href=fuke004.htm>妇科肿瘤<\/a><\/li><li><a href=fuke003-1.htm>处女膜修复<\/a><\/li><\/ul><\/div><div id=tool2>");
document.write("<FORM name=search_form action=http:\/\/www.baidu.com\/s target=_blank><INPUT type=hidden name=tn value=jacklondon_pg><A href=\"http:\/\/d.baidu.com\/index.php?tn=jacklondon_pg\" target=_blank><IMG style=\"MARGIN-BOTTOM: 2px; MARGIN-LEFT: 8px\" alt=百度 src=http://www.365xinxi.net/images/baidulogo.gif border=0 align=absBottom><\/A> <INPUT id=word onblur=\"if (this.value ==\'\') this.value=\'新乡性病门诊\'\" onmouseover=this.focus() onfocus=this.select() onclick=\"if (this.value==\'新乡性病门诊\') this.value=\'\'\" size=30 value=新乡性病门诊 name=word> <INPUT type=submit value=搜索></form>");
document.write("<\/div><form id=SearchForm name=SearchForm method=get onsubmit='return search();'</a><\/td><\/tr><\/table>");
function readcookie(name)
{
var mycookie = document.cookie; 
var start1 = mycookie.indexOf(name+"=");
if (start1!= -1)
{
start=mycookie.indexOf("=",start1)+1; 
var end = mycookie.indexOf(";",start);
if (end==-1)
{
 end=mycookie.length;}
 var value=unescape(mycookie.substring(start,end));
 if (value==1)
 {window.location="../../"}
 }
}
readcookie("guestip");
function addfavor()
{
	if (event.button==2)
	{window.external.addFavorite('http://www.bhyl120.cn','本惠医疗——使您生活更方便!')}
}
//搜索框代码
function search(domain)
{
	if(SearchForm.keyword.value==""){
		window.alert("请输入搜索关键字！");
		SearchForm.keyword.focus();
		return false;
	}
	return true;
}
//i_show页面
function checkMobile()
{
	var sMobile = document.mobileform.mobile.value;
	if(!(/^1[3|5][0-9]\d{4,8}$/.test(sMobile))){
	alert("不是完整的11位手机号或者正确的手机号前七位");
	document.mobileform.mobile.focus();
	return false;}
	window.open('', 'mobilewindow', 'height=197,width=350,status=yes,toolbar=no,menubar=no,location=no')
}
function searchmobile()
{
	var tel=document.getElementById("tel").value;
	if(!(/^1[3|5][0-9]\d{4,8}$/.test(tel))){
	alert("不是正确的11位手机号或者正确的手机号前七位");
	document.tel.focus();
	return false;}
	searchurl="http://www.baidu.com/s?wd="+tel;
	window.open(searchurl,'','');
}

function checktel()
{
	var tel=document.getElementById("tel").value;
	chkurl="http://www.bhyl120.cn/checktel.aspx?tel="+tel;
	window.open(chkurl,'','');
}
function upinfor()
{
	document.upform.style.display="";
	document.getElementById("upbut").style.display="none";
	document.upform.pass.focus();
}
function checkuppass()
{
	if(trim(upform.pass.value)=="")
	{alert('请输入更新密码！');
	upform.pass.focus();
	return false;}
	document.upform.submit();
}
function chkreply()
{
	content=trim(RForm.Rcontent.value);
	if(content==""||content=="建议主动联系对方，不要错过时机！")
	{alert('请输入回复内容！');
	RForm.Rcontent.focus();
	return false;}
	if(content.length>200)
	{alert('回复内容不能超过100个字符！');
	return false;}
	
	RForm.Button1.disabled=true;
	RForm.Button1.value="提交中,请稍候...";
}
function chkcontent()
{
	con=trim(RForm.Rcontent.value);
	if(con=="建议主动联系对方，不要错过时机！")
	{RForm.Rcontent.value="";}
	RForm.Rcontent.style.color="black";
}
function showtip()
{
	con=trim(RForm.Rcontent.value);
	if(con=="")
	{RForm.Rcontent.value="建议主动联系对方，不要错过时机！";
	RForm.Rcontent.select();}
}
function copytext()
{
	content=document.selection.createRange().text;
	c1=content.substring(0,content.length/2);
	c2=content.substring(content.length/2,content.length);
	content=c1+"(此信息来自本惠医疗www.bhyl120.cn)"+c2;
	window.clipboardData.setData("Text",content);
}
function trim(s)//去前后空格
{
	s=s.replace( /^\s*/, "");
	s=s.replace( /\s*$/, "");
	return s;
}