    // JS容错
function killErrors() {
           return true;
           }
          window.onerror = killErrors;
		  
    // 漫画搜索
function checkss()
  {
      if (document.searchs.skey.value=="请输入关键字"){
	      alert("搜索关键字不能为空")
		  document.searchs.skey.focus();
		  return false
		    }
			      if (document.searchs.skey.value==""){
	      alert("搜索关键字不能为空")
		  document.searchs.skey.focus();
		  return false
		    }
		  return true
  }
  
    // 漫画推介

function initClipBox(){
document.writeln("<input name=\"share\" value=\"" + location.href + "\" class=\"inputs\"  onclick=\"copyToClipBoard(this)\">");
document.writeln("<a href=\"javascript:share();\"><img src=\"\/images\/index\/inpfz.gif\"\/><\/a>");
}
	
function copyToClipBoard(el){
	el.select();
	var clipBoardContent = document.title +'\r\n'+ location.href +'';
	alert('复制成功,发给你的好友一起分享吧!');
	window.clipboardData.setData("Text",clipBoardContent);
}
	function share(){
		board=window.document.location.href;
 		window.clipboardData.setData("Text",board);
 		alert("复制成功,发给你的好友一起分享吧");
	}
    // 更新验证码
  function changecode(){
  document.getElementById('pic').src="/inc/code.asp";
	}
	
    // 热门搜索
   function mhssym()
 {
document.writeln('<dd><a href="/comic/mh/comic_68/" title=火影忍者 >火影忍者 </a></dd>');
document.writeln('<dd><a href="/comic/mh/comic_5530/" title=火影忍者 >海贼王 </a></dd>');
document.writeln('<dd><a href="/comic/mh/comic_5350/" title=火影忍者 >死神  </a></dd>');
document.writeln('<dd><a href="/comic/mh/comic_5973/" title=火影忍者 >网球王子 </a></dd>');
document.writeln('<dd><a href="/comic/mh/comic_5660/" title=火影忍者 >柯南 </a></dd>');
document.writeln('<dd><a href="/comic/mh/comic_77/" title=火影忍者 >龙狼传</a></dd>');

}
    // 正在观看

   function nowmh()
 {
	 document.writeln("<script src='/js/now.asp' language='JavaScript' charset='gb2312'></script>")
;}
    // 统计代码

   function newmh()
 {
document.writeln("<script src='/js/new.js' language='JavaScript' charset='gb2312'></script>")
;}
    // 统计代码

   function tj()
 {document.writeln("<script type=\"text/javascript\">");
document.writeln("var _bdhmProtocol = ((\"https:\" == document.location.protocol) ? \" https://\" : \" http://\");");
document.writeln("document.write(unescape(\"%3Cscript src=\'\" + _bdhmProtocol + \"hm.baidu.com/h.js%3F4192ae6cd25a066cf7e97e2d732f4c3e\' type=\'text/javascript\'%3E%3C/script%3E\"));");
document.writeln("</script>");
document.writeln("<script src=\'http:\/\/s46.cnzz.com\/stat.php?id=1207911&web_id=1207911\' language=\'JavaScript\' charset=\'gb2312\'><\/script>");
}