document.writeln("<SCRIPT src=\"\/js\/showzjdiv.js\"><\/SCRIPT>");
document.write('<link rel="stylesheet" href="/ymPrompt.css" type="text/css">');
document.write('<SCRIPT language=\"javaScript\" src=\"\/js\/soucang.js\"><\/SCRIPT>');
document.write('<SCRIPT language=\"javaScript\" src=\"\/js/Prompt.js\"><\/SCRIPT>');
document.writeln("<script language=\"javascript\">");
document.writeln("	function $(sid){return document.getElementById(sid);}");
document.writeln("<\/script>")

document.writeln("<center>");
document.writeln("<table width=\"980px\" style=\"margin-bottom:0px;\" >");
document.writeln("  <tr>");
document.writeln("	<td colspan=\"3\" style=\"border-top:1px #76B429 dashed;border-bottom:1px #76B429 dashed;background-color:#eefaee;height:25px;font-size:14px;padding-top:3px\">");
document.writeln("		<span id=span1 style=\" width:108px; margin-left:5px; padding-left:0px; padding-top:8px; text-align:right;font-size:12px;\"><b>作家目录索引：<\/b><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'a\');\"><b>A<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'b\');\"><b>B<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'c\');\"><b>C<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'d\');\"><b>D<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'e\');\"><b>E<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'f\');\"><b>F<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'g\');\"><b>G<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'h\');\"><b>H<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'i\');\"><b>I<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'j\');\"><b>J<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'k\');\"><b>K<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'l\');\"><b>L<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'m\');\"><b>M<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'n\');\"><b>N<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'o\');\"><b>O<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'p\');\"><b>P<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'q\');\"><b>Q<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'r\');\"><b>R<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'s\');\"><b>S<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'t\');\"><b>T<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'u\');\"><b>U<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'v\');\"><b>V<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'w\');\"><b>W<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'x\');\"><b>X<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'y\');\"><b>Y<\/b><\/a><\/span>");
document.writeln("		<span id=span1><a href=\"javascript:void(0);\" onClick=\"showAuthorList(2,\'z\');\"><b>Z<\/b><\/a><\/span>		");
document.writeln("	<\/td>");
document.writeln("  <\/tr>");
document.writeln("<\/table>");
document.writeln("");
document.writeln("<div id=\"showlist\" style=\"position:absolute;display:none;width:960px;overflow:auto;height:300px;z-index:9999; border:1px solid #999999; background-color:#FFFFFF; padding:10px 10px 10px 10px;margin-bottom:10px;left:10px;\"><\/div>");
document.writeln("<table width=\"980px\" style=\"margin-bottom:0px;\" >");
document.writeln("  <tr>");
document.writeln("    <td width=180px height=65px ><a href=\"http:\/\/www.69992.com\" title=\"返回首页\"><img style=\"border:0px;\" src=\"\/pic\/logo.gif\" width=170 height=60><\/a><\/td>");
document.writeln("    <td width=800px ><iframe style=\"background-color:#E1F7E1;\"  scrolling=\"no\" marginheight=0 marginwidth=0  frameborder=\"0\" width=\"790px\" height=\"60px\" src=\"\/ymtg\/index_top.html\"><\/iframe><\/td>");
document.writeln("  <\/tr>");
document.writeln("<\/table>");
document.writeln("");
document.writeln("<table width=\"980\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" style=\"border:1px #76B429 dashed;background-color:#FAFFF4;\">");

document.writeln("  <form id=\"form1\" name=\"form1\" method=\"post\"  action=\"\/searchbook.asp\" ><tr> ");
document.writeln("      <td width=\"100%\" align=\"center\"  height=\"35\" bgcolor=\"#F0FFF0\" bordercolor=\"#F0FFF0\" ><span>搜索内容(限中文)<\/span>");
document.writeln("        <input type=\"text\" id=\"search_keyword\" name=\"search_keyword\" value=\"\" onchange=\"value=value.replace(\/[^\\u4E00-\\u9FA5]\/g,\'\');\" onbeforepaste=\"clipboardData.setData(\'text\',clipboardData.getData(\'text\').replace(\/[^\\u4E00-\\u9FA5]\/g,\'\'));\" maxlength=\"16\" size=\"30\">");
document.writeln("<select name=\"search_type\" id=\"search_type\" >");
document.writeln("<option value=\"1\" selected>按书名</option>");
document.writeln("<option value=\"2\">按作者</option>");
document.writeln("<option value=\"3\">男主角</option>");
document.writeln("<option value=\"4\">女主角</option>");
document.writeln("<option value=\"5\">按系列</option>");
document.writeln("<option value=\"6\">作品简介</option>");
document.writeln("<option value=\"7\">情节分类</option>");
document.writeln("<option value=\"8\">章节内容</option>");
document.writeln("<\/select>");
document.writeln("		&nbsp;<input type=\"submit\" value=\"开始搜索\" name=\"btn1\" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

document.writeln("		<span style=\"margin-left:15px;\"><a href=\"\/user.asp\" target=_blank><img src=\"\/pic\/user_center.gif\" width=16 height=16 border=0> 用户登陆<\/a><\/span>&nbsp;");
document.writeln("		<span><a href=\"\/user.asp?url=bookcase\" target=_blank><img src=\"\/pic\/book_case.gif\" width=16 height=16 border=0> 我的书架<\/a><\/span>&nbsp;");
document.writeln("		<span><a href=\"#\" onClick=\"window.external.addFavorite(\'http:\/\/www.69992.com\/\',\'言情小说网\')\"><img src=\"\/pic\/url_soucang.gif\" width=18 height=18 border=0> 收藏本站<\/a><\/span>&nbsp;");
document.writeln("		<span><a href=\"\/guestbook\" target=\"_blank\"><img src=\"\/pic\/yijian.gif\" width=16 height=16 border=0> 提提意见<\/a><\/span>&nbsp;");
document.writeln("		<span><a href=\"#\" onClick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('http:\/\/www.99972.com');return(false);\" ><img src=\"\/pic\/home.gif\" width=16 height=16 border=0> 设为首页<\/a><\/span>");
document.writeln("		<\/td>");
document.writeln("  <\/tr>");
document.writeln("  <\/form>");
document.writeln("<\/table><br>")
document.writeln("<\/center>")

var url_page=document.location.href;
if (url_page.indexOf("/books/")>0 && url_page.indexOf("/index.html")>0) {
	//var tmp_url=url_page.replace("http://www.69992.com/books/","");
	//var tmp_split=tmp_url.split("/");
	var url_author="http://www.69992.com/author/" + zzid +".html"
	
	document.writeln("<table width=\"980px\" style=\"margin-bottom:0px;\" >");
	document.writeln("  <tr>");
	document.writeln("    <td style=\"padding-top:0px;padding-left:10px;\" width=\"980px\" ><a href=\"http:\/\/www.69992.com\"><b><< 返回首页<\/b><\/a>&nbsp;--&nbsp;<a href=\"" + url_author +"\"><b><< 返回"+zzming+"作品目录<\/b><\/a>&nbsp;--&nbsp;当前页面：作品章节列表<\/td>");
	document.writeln("  <\/tr>");
	document.writeln("<\/table>");
} else if (url_page.indexOf("/author/")>0 ){
	document.writeln("<table width=\"980px\" style=\"margin-bottom:0px;\" >");
	document.writeln("  <tr>");
	document.writeln("    <td style=\"padding-top:0px;padding-left:10px;\" width=\"980px\" ><a href=\"http:\/\/www.69992.com\"><b><< 返回首页<\/b><\/a>&nbsp;--&nbsp;当前页面：作者作品目录页<\/td>");
	document.writeln("  <\/tr>");
	document.writeln("<\/table>");
}

	// ***********  随机数，歌曲地址 *************
	function readbookurl(aaa,bbb){
		var bookid=aaa.toString();
		var nclassid=bbb.toString();
		var new_url="";
//		alert(bookid);
//		alert(nclassid);
//		alert(bookid.substring(bookid.length-1,bookid.length));
		switch(true){ 
			case bookid.substring(bookid.length-1,bookid.length)==0: new_url='http://book.99972.com/books/'+nclassid+'/'+bookid+'/index.html';break; 
			case bookid.substring(bookid.length-1,bookid.length)==1: new_url='/books/'+nclassid+'/'+bookid+'/index.html';break; 
			case bookid.substring(bookid.length-1,bookid.length)==2: new_url='http://book.99972.com/books/'+nclassid+'/'+bookid+'/index.html';break; 
			case bookid.substring(bookid.length-1,bookid.length)==3: new_url='http://book.99972.com/books/'+nclassid+'/'+bookid+'/index.html';break; 
			case bookid.substring(bookid.length-1,bookid.length)==4: new_url='http://book.99972.com/books/'+nclassid+'/'+bookid+'/index.html';break; 
			case bookid.substring(bookid.length-1,bookid.length)==5: new_url='http://book.99972.com/books/'+nclassid+'/'+bookid+'/index.html';break; 
			case bookid.substring(bookid.length-1,bookid.length)==6: new_url='http://book.99972.com/books/'+nclassid+'/'+bookid+'/index.html';break; 
			case bookid.substring(bookid.length-1,bookid.length)==7: new_url='http://book.99972.com/books/'+nclassid+'/'+bookid+'/index.html';break; 
			case bookid.substring(bookid.length-1,bookid.length)==8: new_url='/books/'+nclassid+'/'+bookid+'/index.html';break; 
			case bookid.substring(bookid.length-1,bookid.length)==9: new_url='/books/'+nclassid+'/'+bookid+'/index.html';break; 
		}
		
//		alert(readbookurl);
//		return readbookurl;
		window.open (new_url) ;

		
	}