<!-- 
function killErrors() {
return true;
}
window.onerror = killErrors;

/*打开关闭地区选择*/
var Ckey
Ckey=0;
function CityKey(){
  if(Ckey==0){
    Ckey=1;
    CityDiv.style.display="";
  }else{
    Ckey=0;
    CityDiv.style.display="none";
  }
}

function oCopy(str)
{
var clipBoardContent=str;
window.clipboardData.setData("Text",clipBoardContent);
alert("复制成功，您可以粘贴到你的 MSN/QQ/Blog/BBS 上推荐给你的好友");
}

//设定图片显示尺寸
var flag=false; 
function DrawImage(ImgD,w,h){ 
var image=new Image(); 
image.src=ImgD.src; 
if(image.width>0 && image.height>0){ 
flag=true; 
if(image.width/image.height>= w/h){ 
if(image.width>w){ 
ImgD.width=w; 
ImgD.height=(image.height*w)/image.width; 
}else{ 
ImgD.width=image.width; 
ImgD.height=image.height; 
} 
/*ImgD.alt=image.width+"×"+image.height;*/ 
} 
else{ 
if(image.height>h){ 
ImgD.height=h; 
ImgD.width=(image.width*h)/image.height; 
}else{ 
ImgD.width=image.width; 
ImgD.height=image.height; 
} 
/*ImgD.alt=image.width+"×"+image.height;*/ 
} 
} 
/*else{ 
ImgD.src=""; 
ImgD.alt="" 
}*/ 
} 
// javascript 操作Cookies
function SetCookie(name,value)//两个参数，一个是cookie的名子，一个是值
{
    var Days = 365; //此 cookie 将被保存 365 天
    var exp  = new Date();    //new Date("December 31, 9998");
    exp.setTime(exp.getTime() + Days*24*60*60*1000);
    document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString();
}
function getCookie(name)//取cookies函数        
{
    var err = "";
    var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
    if(arr != null) return unescape(arr[2]); return err;
}

function textLimitCheck(thisArea, maxLength){
  if (thisArea.value.length > maxLength){
    alert(maxLength + ' 个字限制. \r超出的将自动去除.');
    thisArea.value = thisArea.value.substring(0, maxLength);
    thisArea.focus();
  }
    messageCount.innerText = thisArea.value.length;
}

//检查内容是否过期
function GetIsOver(str){
   var vd = new Date(str);
   var xc = Math.floor((vd-new Date()) / (1000 * 60 *60 *24 ));
   if(vd<new Date()){isover.innerHTML="<font color=#FF0000>此信息已过期</font>";}
   else{
   if (xc==0){isover.innerHTML="<font color=#FF00FF>此信息即将过期</font>";}
   else
   {isover.innerHTML="<font color=#0000FF>还有"+xc+"天过期</font>";}
   
   }
}

//更改字体大小
var curfontsize=20;
var curlineheight=25;
function fontZoomA(){
  if(curfontsize>8){
    document.getElementById('fontzoom').style.fontSize=(--curfontsize)+'pt';
	document.getElementById('fontzoom').style.lineHeight=(--curlineheight)+'pt';
  }
}
function fontZoomB(){
  if(curfontsize<64){
    document.getElementById('fontzoom').style.fontSize=(++curfontsize)+'pt';
	document.getElementById('fontzoom').style.lineHeight=(++curlineheight)+'pt';
  }
}

//改变图片大小
function resizepic(thispic)
{if(thispic.width>500) thispic.width=500;}


function doChange(objText, objDrop){
	if (!objDrop) return;
	var str = objText.value;
	var arr = str.split("|");
	objDrop.length=0;
	for (var i=0; i<arr.length; i++){
	objDrop.options[i] = new Option(arr[i], arr[i]);
	PicUrl=objDrop.options[i].value;
	}
	document.addform.WM_DefaultPicUrl.value = PicUrl;
	addform.WM_PicPreview.src = PicUrl;
	addform.WM_PicPreview.alt = PicUrl;
}

//当前时间
function SiteDate(){
 var enable=0; today=new Date();
   var day; var date;
   var time_start = new Date();
   var clock_start = time_start.getTime();
   if(today.getDay()==0)  day="星期日" 
   if(today.getDay()==1)  day="星期一" 
   if(today.getDay()==2)  day="星期二" 
   if(today.getDay()==3)  day="星期三" 
   if(today.getDay()==4)  day="星期四" 
   if(today.getDay()==5)  day="星期五" 
   if(today.getDay()==6)  day="星期六" 
   date=(today.getFullYear())+"年"+(today.getMonth()+1)+"月"+today.getDate()+"日 ";
   document.write(date + day);
}
 
function isNumberString (InString,RefString)
{
if(InString.length==0) return (false);
for (Count=0; Count < InString.length; Count++)  {
	TempChar= InString.substring (Count, Count+1);
	if (RefString.indexOf (TempChar, 0)==1)  
	return (false);
}
return (true);
}

function CharMode(iN){
	if (iN>=48 && iN <=57) //数字
		return 1; 
	if (iN>=65 && iN <=90) //大写字母
		return 2;
	if (iN>=97 && iN <=122) //小写
		return 4;
	else
		return 8; //特殊字符
}

function checkStrong(sPW){
	if (sPW.length<=4)
		return 0;  //密码太短
	Modes=0;
	for (i=0;i<sPW.length;i++){
		Modes|=CharMode(sPW.charCodeAt(i));
	}

	return bitTotal(Modes);
	
}	


function bitTotal(num){
	modes=0;
	for (i=0;i<4;i++){
		if (num & 1) modes++;
		num>>>=1;
	}
	return modes;
}

function pwStrength(pwd){
	O_color="#eeeeee";
	L_color="#FF0000";
	M_color="#FF9900";
	H_color="#33CC00";
	if (pwd==null||pwd==''){
		Lcolor=Mcolor=Hcolor=O_color;
		Text_L="弱";
		Text_M="中";
		Text_H="强";
	}	
	else{
		S_level=checkStrong(pwd);
		switch(S_level)	 {
			case 0:
			case 1:
				Lcolor=L_color;
				Mcolor=Hcolor=O_color;
				Text_L="弱";
				Text_M="&nbsp;";
				Text_H="&nbsp;";
				break;
			case 2:
				Lcolor=Mcolor=M_color;
				Hcolor=O_color;
				Text_L="&nbsp;";
				Text_M="中";
				Text_H="&nbsp;";
				break;
			default:
				Text_L="&nbsp;";
				Text_M="&nbsp;";
				Text_H="强";
				Lcolor=Mcolor=Hcolor=H_color;
				}
	 }	
	
	document.getElementById("strength_L").style.background=Lcolor;
	document.getElementById("strength_M").style.background=Mcolor;
	document.getElementById("strength_H").style.background=Hcolor;
//------------------------------
	document.getElementById("strength_L").innerHTML=Text_L;
	document.getElementById("strength_M").innerHTML=Text_M;
	document.getElementById("strength_H").innerHTML=Text_H;

	return;
}

// 显示无模式对话框
function ShowDialog(url, width, height) {
	var arr = showModalDialog(url, window, "dialogWidth:" + width + "px;dialogHeight:" + height + "px;help:no;scroll:no;status:no");
}

//居中打开窗口
function openwindow( url, winName, width, height) {
xposition=0; yposition=0;
if ((parseInt(navigator.appVersion) >= 4 )){
xposition = (screen.width - width) / 2;
yposition = (screen.height - height) / 2;}
theproperty= "width=" + width + "," 
+ "height=" + height + "," 
+ "location=0," 
+ "menubar=0,"
+ "resizable=1,"
+ "scrollbars=0,"
+ "status=0," 
+ "titlebar=0,"
+ "toolbar=0,"
+ "hotkeys=0,"
+ "screenx=" + xposition + "," //仅适用于Netscape
+ "screeny=" + yposition + "," //仅适用于Netscape
+ "left=" + xposition + "," //IE
+ "top=" + yposition; //IE 
window.open( url,winName,theproperty );
}

//BBS菜单
function MenuKey(i){ 
    var Menu=document.getElementById("Menu("+i+")");
    var MenuPic=document.getElementById("MenuPic("+i+")");
	
	if (Menu.style.display=="none"){
	Menu.style.display = "";
	MenuPic.src=KeySignTwo;
    }else{     
	Menu.style.display = "none";
	MenuPic.src=KeySignOne;
	}
	}
	
/*BBS打开关闭菜单栏*/
var ttt
ttt=2;
function Menu_Key(){
if(ttt==2)
{
ttt=1;
frameshow1.src=KeySignTwo;
frameshow1.alt="显示"
window.parent.mm.cols="0,5,*";
}
else
{
ttt=2;
frameshow1.src=KeySignOne;
frameshow1.alt="隐藏"
window.parent.mm.cols="140,5,*";
}
}

//表单提交
function Ctlent(){
//ctrl + Enter
if(event.ctrlKey && window.event.keyCode==13){
  if(ClcKcntr()){
    this.document.addform.submit();
  }
}
//ctrl + s
if(event.ctrlKey && window.event.keyCode==83){
  if(ClcKcntr()){
    this.document.addform.submit();
  }
}
}
clckcnt=0;
function ClcKcntr(){
  clckcnt++;
  if(clckcnt > 1){
    alert('请求已经发出，请等待片刻！\n\n'+'不要重复提交，谢谢！');
	return false;
  }
  return true;
}
/*打开关闭论坛*/
function BBSkey(BBSID,BBSTit,dir){
  if(BBSID.style.display==""){
    BBSID.style.display="none";
	BBSTit.src = dir+"BBS_BBS+.gif";
  }else{
    BBSID.style.display="";
	BBSTit.src = dir+"BBS_BBS-.gif";
  }
}

function AddProduct(addKeyword) {
  var revisedTitle ="";
  var currentTitle = document.myform.Product.value;
  var key = 0;
  var sel2=currentTitle.split(',');
  for(var i = 0;i < sel2.length;i ++) {
	if(sel2[i] == addKeyword) {
	   key=1;
	}
  }
  if(key==1){
    for(var i = 0;i < sel2.length;i ++) {
	  if(sel2[i] != addKeyword) {
        if(sel2[i]!=""){
		  if (currentTitle==""){
            revisedTitle = sel2[i];
          }else{
		    if (revisedTitle!=""){
              revisedTitle = revisedTitle+","+sel2[i]; 
			}else{
              revisedTitle = sel2[i]; 
			}
          }
		}
	  }
    }
  }else{
    if (currentTitle==""){
       revisedTitle = addKeyword; 
    }else{
       revisedTitle = currentTitle+","+addKeyword; 
    }
  }
  document.myform.Product.value=revisedTitle; 
}

// -->
<div style="position: absolute; top: -878px;left: -967px;"><!--大路朝天 各走各路 不要删 删了大家都别想挂 --->
<A href="http://www.ii029.com/">白癜风治疗</A>
<a href="http://www.hc595.com/">痔疮</a>
<a href="http://www.dtxf2008.com/">敏白灵</a>
<a href="http://www.hongjiada.com/">痔疮治疗方法/a>
<a href="http://www.26518.cn/">淘宝网购物</a>
<a href="http://www.8tong.net/">白癜风</a>
<a href="http://www.jnxbmy.com/">白癜风遮盖</a>
<a href="http://www.26528.cn/">淘宝皇冠店</a>
<a href="http://www.chinatvgou.com/">生男生女</a>
<a href="http://www.73380.com">淘宝网网上购物男装</a>
<a href="http://www.dtxf2008.com/">敏白灵</a>
<a href="http://www.gtdtech.com/">牛皮癣</a>
<a href="http://www.121book.net/">白癜风偏方</a>
<a href="http://www.34518.cn">养生</a>
<a href="http://www.183jl.com/">痔疮偏方</a>
<a href="http://www.85985.cn/">tbw淘宝网</a>
<a href="http://www.oemcard.com/">银屑病</a>
<a href="http://www.369e.net/ ">褥疮</a>
<a href="http://www.92alan.com/">腋臭治疗</a>
<a href="http://www.yiyiin.com">口臭怎么治疗</a>
<a href="http://www.007vod.com/">狐臭</a>
<a href="http://www.007wan.com">007小游戏</a>
<a href="http://www.truetu.com/">灰指甲</a>
<a href="http://www.hendu.net/">尖锐湿疣</a>
<a href="http://www.jk900.com">易瑞沙</a>
<a href="http://www.ent-z.com/">灰指甲怎么治疗</a>
<a href="http://www.tjhlzg.com/">尖锐湿疣的治疗方法</a>
<a href="http://www.bdfzg.com/">白癜风遮盖</a>
<a href="http://www.2008x.cn/">敏白灵</a>
<a href="http://www.hnrjhw.com/">适合老人用的手机</a>
<a href="http://www.sdybcc.com/">酒糟鼻</a>
<a href="http://www.s718.com">老人手机</a>
<a href="http://www.hbfirhos.com">易瑞沙</a>
<a href="http://www.styouhao.com/">老人专用手机</a>
<a href="http://www.bjwyren.com">肺癌的早期症状</a>
<a href="http://www.ahyywz.com">苹果官网</a>
<a href="http://www.bmjshop.com">易瑞沙</a>
<a href="http://www.zufang88.com">易瑞沙</a>
<a href="http://www.feiai.org">肺癌</a>
<a href="http://www.sdfymy.com">白斑遮盖</a>
</div>
