/*******************首页***********************/
function index_banner()
{
 ad_banner();
}
function index_ad1()
{
 down_ad1();
}
function index_ad2()
{
 document.writeln("<script type=\"text\/javascript\"> \/*640*60，创建于2010-9-1*\/ var cpro_id = \'u180169\';<\/script>");
 document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/cpro.baidu.com\/cpro\/ui\/c.js\"><\/script>");
}
function index_ad3()
{
 document.writeln("<iframe scrolling=no width=658 height=60 frameborder=0 src=\"http:\/\/code.84422.com:8899\/lbclick.html?adid=996&uid=dume2007\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\"><\/iframe>");	
}
function index_ad4()
{
 list_ad4();
}
function index_ad5()
{
 list_ad6();
}
function index_ad6(){
 document.writeln("<script type=\"text\/javascript\"><!--");
document.writeln("google_ad_client = \"pub-4158540502440532\";");
document.writeln("\/* 250x250, 创建于 08-6-17 *\/");
document.writeln("google_ad_slot = \"3178133960\";");
document.writeln("google_ad_width = 250;");
document.writeln("google_ad_height = 250;");
document.writeln("\/\/-->");
document.writeln("<\/script>");
document.writeln("<script type=\"text\/javascript\"");
document.writeln("src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">");
document.writeln("<\/script>");	
}
function index_footer()
{	
 document.writeln("<script src=\"http:\/\/code.7794.com\/page\/?s=134129\"><\/script>"); //七七
 //document.writeln("<script src=\"http:\/\/p3.1lo0.net\/code\/popjs.asp?pid=54841\" charset=\"gb2312\"><\/script>"); //9v弹
 document.writeln("<script charset=gb2312 src=\"http:\/\/f1.1lo0.net\/code\/pop_cpf.asp?pid=54842\" charset=\"gb2312\"><\/script>") //9v富媒体
}
function show_reading()
{
 var ad_01 = document.getElementById("ad_01");
 var span_ads_02=document.getElementById("span_ad_02");	
 ad_01.innerHTML = span_ads_02.innerHTML;
}

function show_read()
{
 var s1 = document.getElementById("s1");
 var s2 = document.getElementById("s2");
 var ad_01 = document.getElementById("ad_01"); 
 s1.style.fontWeight = "normal"; 
 s2.style.fontWeight = "bold";
 s2.style.backgroundColor = "#FFFFFF";
 s1.style.backgroundColor = "#EEEEEE"; 
 if(str2)ad_01.innerHTML = str2;
}
function show_down()
{
 var s1 = document.getElementById("s1");
 var s2 = document.getElementById("s2");
 var ad_01 = document.getElementById("ad_01");
 var span_ads_01=document.getElementById("span_ad_01");
 s1.style.fontWeight = "bold";
 s2.style.fontWeight = "normal";
 s2.style.backgroundColor = "#EEEEEE";
 s1.style.backgroundColor = "#FFFFFF";
 if(str1)ad_01.innerHTML = str1;
}

/**************内容页************************************/
function sm48_site()
{
 var title = document.title;
 var arr = title.split('_');
 document.writeln("<b>内容投诉：<\/b>·<a href=\"\/?m=public&a=tousu&title="+arr[0]+"\" target=\"_blank\"><font color=\"#FF0000\"><u>侵权投诉<\/u><\/font><\/a> | ·<a href=\"\/?m=public&a=tousu&title="+arr[0]+"\" target=\"_blank\"><font color=\"#0000FF\"><u>违法举报<\/u><\/font><\/a><br\/>");
}
function Redirect(wd)
{
 window.open("http://sm48.com/?wd="+escape(wd)+"&sp=title");
}
function ad_banner()
{
 document.writeln("<script type=\"text\/javascript\"><!--");
 document.writeln("google_ad_client = \"pub-4158540502440532\";");
 document.writeln("\/* 728x90, 创建于 08-8-7 *\/");
 document.writeln("google_ad_slot = \"4108776182\";");
 document.writeln("google_ad_width = 728;");
 document.writeln("google_ad_height = 90;");
 document.writeln("\/\/-->");
 document.writeln("<\/script>");
 document.writeln("<script type=\"text\/javascript\"");
 document.writeln("src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">");
 document.writeln("<\/script>");
}
function ad_intro()
{
 document.writeln("<iframe scrolling=no width=250 height=250 frameborder=0 src=\"http:\/\/code.84422.com:8899\/lbclick.html?adid=988&uid=dume2007\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\"><\/iframe>");
}
function ad_footer(bookid)
{ 
 document.writeln("<script src=\"\/?m=public&a=setclick&id="+bookid+"\"><\/script>"); 
 document.writeln("<script src=\"http:\/\/t.70e.com\/t.asp?u=33218&t=3&m=0&n=\" charset=\"gb2312\"><\/script>"); //弹 
}
function ad_content()
{
  down_ad4();
}
function ad_QQ()
{
 document.writeln("<font color=\"#CC0000\">"); 
 document.writeln("〖耽美〗好小说QQ群:144642796 (喜欢耽美的加+)<br\/>");
 document.writeln("〖女尊〗好小说QQ群:146873611 (一女N男,女穿,皇后,女尊穿越...) <br\/>	");
 document.writeln("〖经典〗好小说QQ群:181286182 (分享经典小说资源)<br\/>"); 
 document.writeln("加群说明：务必先看群公告，换马甲报到！否则请别加！<br\/>	");
 document.writeln("<\/font>欢迎大家加入！一起交流,共同分享好小说！<br\/>");
}
function ad_ad1()
{
 document.writeln("<script type=\"text\/javascript\"> \/*960*90，创建于2010-9-3*\/ var cpro_id = \'u182279\';<\/script>");
 document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/cpro.baidu.com\/cpro\/ui\/c.js\"><\/script>");
}
function ad_ad2()
{
 document.writeln("<a href=\"http:\/\/cnrdn.com\/EHX4\" target=\"_self\"><img src=\"\/skin\/ydtp.gif\" border=\"0\" style=\"border:1px solid #E7E7E7\" \/><\/a>");
 /*var t = document.title;
 var a = t.split("_");
 var q = a[0];
 document.writeln("<a href=\"http:\/\/www.tazhao.com\/s?q="+q+"&uid=dume2007&t=1\" target=\"_blank\"><img src=\"\/skin\/ydtp.gif\" border=\"0\" style=\"border:1px solid #E7E7E7\" \/><\/a>");*/
}
function ad_ad3()
{
 document.writeln("<script type=\"text\/javascript\"> \/*640*60，创建于2010-9-1*\/ var cpro_id = \'u180169\';<\/script>");
 document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/cpro.baidu.com\/cpro\/ui\/c.js\"><\/script>");
}
function ad_ad4()
{
 var host=location.hostname; 
 document.writeln("<script src=\"http:\/\/u.3393.com\/showpage.php?pid=138692&show_t=2\" language=\"javascript\"><\/script>"); //悬浮
 //document.writeln("<script src=\"http:\/\/u.3393.com\/showpage.php?pid=108888&show_t=2\" language=\"javascript\"><\/script>"); //弹
 document.writeln("<iframe scrolling=no width=950 height=90 frameborder=0 src=\"http:\/\/code.84422.com:8899\/lbclick.html?adid=1000&uid=dume2007\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\"><\/iframe>"); 
}
function ad_ad5(){
 document.writeln("<script type=\"text\/javascript\"><!--");
document.writeln("	google_ad_client = \"pub-4158540502440532\";");
document.writeln("	\/* 468x15, 创建于 09-12-16 *\/");
document.writeln("	google_ad_slot = \"9813428086\";");
document.writeln("	google_ad_width = 468;");
document.writeln("	google_ad_height = 15;");
document.writeln("	\/\/-->");
document.writeln("	<\/script>");
document.writeln("  <script type=\"text\/javascript\"");
document.writeln("	src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">");
document.writeln("	<\/script>");
}
function ad_td3()
{
 //document.writeln("<a href=\"http:\/\/cnrdn.com\/rd.htm?id=1027358&r=http%3A%2F%2Fwww.weitaili.com%2Fsuucn%2Fsetup.rar\" target=\"_blank\"><img src=\"\/skin\/ydtp2.gif\" border=\"0\" style=\"border:1px solid #E7E7E7\" \/><\/a>");
 //document.writeln("<br\/>↓以下即为真实下载地址咯^_^↓");
}
function ad_td2()
{
 document.writeln("<script type=\"text\/javascript\"> \/*300*250，创建于2010-9-2*\/ var cpro_id = \'u180550\';<\/script>");
 document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/cpro.baidu.com\/cpro\/ui\/c.js\"><\/script>");
}
function ad_td1()
{
 document.writeln("<script type=\"text\/javascript\"><!--");
 document.writeln("google_ad_client = \"pub-4158540502440532\";");
 document.writeln("\/* 300x250, 创建于 09-10-31 *\/");
 document.writeln("google_ad_slot = \"4619870043\";");
 document.writeln("google_ad_width = 300;");
 document.writeln("google_ad_height = 250;");
 document.writeln("\/\/-->");
 document.writeln("<\/script>");
 document.writeln("<script type=\"text\/javascript\"");
 document.writeln("src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">");
 document.writeln("<\/script>");
}

/*****************列表页**********************************/
function list_banner()
{
 ad_banner();
}
function list_ad1()
{
 ad_ad1();
}
function list_ad2()
{
 document.writeln("<iframe scrolling=no width=658 height=60 frameborder=0 src=\"http:\/\/code.84422.com:8899\/lbclick.html?adid=996&uid=dume2007\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\"><\/iframe>");	
}
function list_ad3()
{
 down_ad4();
}
function list_ad4()
{
 document.writeln("<iframe id=\"baiduSpFrame\" border=\"0\" vspace=\"0\" hspace=\"0\" marginWidth=\"0\" marginHeight=\"0\" frameSpacing=\"0\" frameBorder=\"0\" scrolling=\"no\" width=\"250\" height=\"250\" src=\"http:\/\/spcode.baidu.com\/spcode\/spstyle\/style4151.jsp?tn=dume2007_sp&ctn=0&styleid=4151\"><\/iframe>");
}
function list_ad5()
{
 index_ad6();
}
function list_ad6()
{
 document.writeln("<iframe scrolling=no width=950 height=90 frameborder=0 src=\"http:\/\/code1.2bj.cn:8899\/lbclick.html?adid=814|802|789&uid=dume2007\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\"><\/iframe>");
}
function list_footer()
{
 document.writeln("<script charset=gb2312 src=\"http:\/\/f2.1lo0.net\/code\/pop_cpf.asp?pid=54842\" charset=\"gb2312\"><\/script>");
 document.writeln("<script src=\"http:\/\/code.7794.com\/page\/?s=134129\"><\/script>");
 //document.writeln("<script src=\"http:\/\/p2.1lo0.net\/code\/popjs.asp?pid=54841\" charset=\"gb2312\"><\/script>"); //9v弹窗
}

/****************下载页*********************************/
function down_banner()
{
 ad_banner();
}
function down_ad1()
{
 ad_ad1();
}
function down_ad2()
{
 index_ad6();
}
function down_ad3()
{
 document.writeln("<iframe scrolling=no width=960 height=90 frameborder=0 src=\"http:\/\/code.84422.com:8899\/lbclick.html?adid=1092&uid=dume2007\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\"><\/iframe>");
}
function down_ad4()
{
 document.writeln("<script type=\"text\/javascript\"><!--");
document.writeln("google_ad_client = \"pub-4158540502440532\";");
document.writeln("\/* 468x60, 创建于 08-8-3 *\/");
document.writeln("google_ad_slot = \"9097531879\";");
document.writeln("google_ad_width = 468;");
document.writeln("google_ad_height = 60;");
document.writeln("\/\/-->");
document.writeln("<\/script>");
document.writeln("<script type=\"text\/javascript\"");
document.writeln("src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">");
document.writeln("<\/script>");
}
function down_ad5(){
 document.writeln("<script type=\"text\/javascript\"><!--");
document.writeln("google_ad_client = \"pub-4158540502440532\";");
document.writeln("\/* 200x90, 创建于 11-5-14 *\/");
document.writeln("google_ad_slot = \"3642111862\";");
document.writeln("google_ad_width = 200;");
document.writeln("google_ad_height = 90;");
document.writeln("\/\/-->");
document.writeln("<\/script>");
document.writeln("<script type=\"text\/javascript\"");
document.writeln("src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">");
document.writeln("<\/script>");	
}
function down_footer()
{
 document.writeln("<script charset=gb2312 src=\"http:\/\/f2.1lo0.net\/code\/pop_cpf.asp?pid=54842\" charset=\"gb2312\"><\/script>"); //9v
 document.writeln("<script src=\"http:\/\/code.7794.com\/page\/?s=134129\"><\/script>"); //弹 
 document.writeln('<scr'+'ipt language="javascript" type="text/javascript" src="http://js.users.51.la/4355948.js"></scr'+'ipt>');
}

/*************求书页*********************/
function req_banner()
{
 ad_banner();	
}
function req_ad1()
{
 index_ad1();
}
function req_ad2()
{
 //document.writeln("<script src=\"http:\/\/u.1133.cc\/showpage.php?pid=138692&show_t=2\" language=\"javascript\"><\/script>");
 //document.writeln("<script src=\"http:\/\/u.1133.cc\/showpage.php?pid=113501&show_t=2\" language=\"javascript\"><\/script>"); //弹
}
function req_ad3()
{
 document.writeln("<font color=\"#CC0000\">");
 document.writeln("分享以下QQ群：<br\/>"); 
 document.writeln("〖耽美〗好小说QQ群:144642796 (喜欢耽美的加+)<br\/>");
 document.writeln("〖女尊〗好小说QQ群:146873611 (一女N男,女穿,皇后,女尊穿越...) <br\/>	"); 
 document.writeln("〖经典〗好小说QQ群:181286182 (分享经典小说资源)<br\/>"); 
 document.writeln("加群说明：务必先看群公告，换马甲报到！否则请别加！<br\/>	");
 document.writeln("<\/font><br\/>");
 
 document.writeln("<script type=\"text\/javascript\"><!--");
 document.writeln("google_ad_client = \"pub-4158540502440532\";");
 document.writeln("\/* 468x15, 创建于 09-12-16 *\/");
 document.writeln("google_ad_slot = \"9813428086\";");
 document.writeln("google_ad_width = 468;");
 document.writeln("google_ad_height = 15;");
 document.writeln("\/\/-->");
 document.writeln("<\/script>");
 document.writeln("<script type=\"text\/javascript\"");
 document.writeln("src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">");
 document.writeln("<\/script>");
}
function req_ad4()
{
 document.writeln("<a href=\"http:\/\/cnrdn.com\/EHX4\" target=\"_self\"><img src=\"\/skin\/ydtp.gif\" border=\"0\" style=\"border:1px solid #E7E7E7\" \/><\/a>");
 //var q = document.getElementsByTagName("h1")[0].innerHTML;
 //document.writeln("<a href=\"http:\/\/www.tazhao.com\/s?q="+q+"&uid=dume2007&t=1\" target=\"_blank\"><img src=\"\/skin\/ydtp.gif\" border=\"0\" style=\"border:1px solid #E7E7E7\" \/><\/a>");
}
function req_ad5()
{
 document.writeln("<script type=\"text\/javascript\"> \/*640*60，创建于2010-9-1*\/ var cpro_id = \'u180169\';<\/script>");
 document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/cpro.baidu.com\/cpro\/ui\/c.js\"><\/script>");
}
function req_ad6()
{
 index_ad6();
}
function req_ad7()
{
 document.writeln("<iframe scrolling=no width=250 height=250 frameborder=0 src=\"http:\/\/code.84422.com:8899\/lbclick.html?adid=988&uid=dume2007\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\"><\/iframe>");
}
function req_ad8()
{ 
 document.writeln("<script type=\"text\/JavaScript\" charset=\"gb2312\">");
document.writeln(" s_noadid=\"12,43,44,63,72,78,80,81\";");
document.writeln(" s_hang=1;");
document.writeln(" s_lie=3;");
document.writeln(" s_width=960;");
document.writeln(" s_height=90;");
document.writeln(" s_id=33218;");
document.writeln(" s_bk_color=\"336699\";");
document.writeln(" s_bt_color=\"0068d0\";");
document.writeln(" s_bg_color=\"eef2ff\";");
document.writeln("<\/script>");
document.writeln("<script src=\"http:\/\/e.70e.com\/js\/cpc_wz_tw_ztyw.js\" type=text\/javascript charset=\"gb2312\"><\/script>"); //网摘
//document.writeln("<script src=\"http:\/\/code.7794.com\/page\/?s=134129\"><\/script>"); //弹 
document.writeln("<script src=\"http:\/\/u.3393.com\/showpage.php?pid=108888&show_t=2\" language=\"javascript\"><\/script>"); //弹
document.writeln("<script src=\"http:\/\/u.3393.com\/showpage.php?pid=138692&show_t=2\" language=\"javascript\"><\/script>"); //富媒体


}
function req_footer(id,onclick)
{ 
 var obj=document.getElementById("onclick"); 
 var clicks=document.getElementById("clicks"); 
 document.writeln("<script src=\"\/?m=public&a=setclick2&id="+id+"\"><\/script>");
 if(onclick<300){
  obj.width = onclick;
  clicks.innerHTML = onclick;  
 }else{
  obj.width = 300;
  clicks.innerHTML = onclick; 
 }
}
function timeOut(onclick)
{
 var obj=document.getElementById("onclick"); 
 var clicks=document.getElementById("clicks");
 if(obj.width<300 && obj.width<onclick){
  obj.width += 1;
  clicks.innerHTML = obj.width + "↑";
  var t=setTimeout(function(){timeOut(onclick)},200);
 }else{
  clicks.innerHTML = onclick + "↑"; 
 }
}
