var lefter="<table border=0 width='"+web_wid+"' cellspacing=0 cellpadding=0><tr><td width=1 bgcolor='" + color_2 + "'></td><td width=* align=center bgcolor=" + bg_color + ">";

var righter="</td><td width=1 bgcolor='" + color_2 + "'></td></tr></table>";

var w3c = (document.getElementById) ? true : false; 
var agt = navigator.userAgent.toLowerCase(); 
var ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1) && (agt.indexOf("omniweb") == -1)); 
var mymovey = new Number(); 

function web_head(tit_fir,tit,var3,tim_today,tim_week,index_url,login_message)
{  document.write ("<body topmargin=0 leftmargin=0 bgcolor=" + bg_color + " background='images/" + web_bg + ".jpg'><a name='top'></a><center>");  if (var3==4) return true ;  

document.write ( "<table border=0 width='"+web_wid+"' cellspacing=0 cellpadding=0><tr><td width=* align=center bgcolor=" + bg_color + ">" ); 
//1
document.write ("<table border=0 width='100%' cellspacing=0 cellpadding=0>");  document.write ("<tr><td colspan=3 align=center>"); 
//2
document.write ("<table border=0 width='100%' background='images/bannerbg.jpg' cellspacing=0 cellpadding=0 class=tf>");  
//3
document.write ("  <tr align=center height=280>");  document.write ("  <td width=182 valign=center><br><br>");  if (top_type=="swf")  {    document.write ("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" " + top_wh + ">");    document.write ("<param name=movie value='" + top_pic + "'>");    document.write ("<param name=quality value=high>");    document.write ("<embed src='" + top_pic + "' quality=high pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" " + top_wh + "></embed></object>");  }  else  { document.write ("<a href='" + top_url + "' target=_blank><img src='" + top_pic + "' "+top_wh+" border=0></a>"); }  document.write ("<br><br><font style='font-size:10pt;color:#FFFFFF;font-weight:bold;font-family:宋体;'>快速学习快速记忆先进技术</font></td>");  document.write ("  <td width=480 border=0>"); 

if (banner_type=="swf")  {    document.write ("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width="+banner_wh+" height=280 >");   
document.write ("<param name=movie value='" + banner_pic + "'>");  
document.write ("<param name=wmode value=transparent>");   
document.write ("<param name=quality value=high>");    
document.write ("<embed src='" + banner_pic + "'  wmode=transparent  quality=high pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width="+banner_wh+" height=280></embed></object>");  }  
else  { document.write ("  <a href='" + banner_url + "' target=_blank><img src='" + banner_pic + "' "+banner_wh+" border=0></a>"); } 
document.write ("  </td>");
document.write ("  <td width=115  border=0 align=left>");  
document.write ("    <table width='100%' border=0 cellspacing=0 cellpadding=1>");  document.write ("<tr><td height=120></td></tr><tr><td width=115 height=95  align=right><a class=top href='javascript:;' onclick=\"javascript:window.external.AddFavorite('" + web_url + "','" + web_name + "')\" style='target: ' _self?><img src='images/favorite.jpg' width=45 border=0></a></td></tr>"); document.write ("    <tr><td width=115 align=left><a href='javascript:toFull()'><img src='images/fullscreen.jpg' width=30 border=0></a></td></tr>");  document.write ("    </table>");
document.write ("  </td>"); 
document.write ("  </tr></table>"); //-3 banner 
document.write ("</td></tr>");  
document.write ("<tr><td width=12 background='images/" + web_skin + "/menubgleft.jpg'></td><td width=* height=50 background='images/" + web_skin + "/menubg.jpg' valign=bottom align=center>");  document.write ("" + web_menu() + "");  document.write ("</td><td width=12 background='images/" + web_skin + "/menubgright.jpg'></td></tr>");  
document.write ("</table>");  //-2

document.write ("<table border=0 cellpadding=0 cellspacing=0 width='100%' align=center>");  document.write ("<tr><td width=1   height=35 bgcolor='" + color_2 + "'></td><td align=left width=614>");  document.write ("&nbsp;" + tim_today + "&nbsp;" + tim_week + "&nbsp;&nbsp;您现在位于：&nbsp;<a href='./'>首页</a>&nbsp;→&nbsp;");   if (tit_fir=="")  { document.write ( tit ); }  else  { document.write ("<a href='" + index_url + ".asp'>" + tit_fir + "</a>&nbsp;→&nbsp;" + tit ); }  document.write ("</td><td width=150 align=left valign=center>");  if (login_message>0)  { document.write ("<a href='user_mail.asp'><img src='images/mail/new.gif' align=absmiddle border=0>&nbsp;我的短信箱（<font class=red>" + login_message + "&nbsp;新</font>）</a>"); }  else  { document.write ("<marquee scrolldelay=100 scrollamount=3 onMouseOut='if (document.all!=null){this.start()}' onMouseOver='if (document.all!=null){this.stop()}'>" + head_scroll + "</marquee>"); }  document.write ("</td><td width=6 bgcolor=#FFFFFF></td><td width=1 bgcolor='" + color_2 + "'></td></tr></table><table border=0 cellpadding=0 cellspacing=0 width='100%' align=center><tr><td width=1 height=1 bgcolor='" + color_2 + "'></td><td width=775 background='images/bg_dian.gif'></td><td width=1 bgcolor='" + color_2 + "'></td></tr></table>");
document.write ( "</td></tr></table>" );}//-1

function web_end(web_edition,v_counter,c_stamp,v_tim,web_error)
{  document.write ( "<table border=0 width='100%' cellspacing=0 cellpadding=0 background='images/bottombg.jpg'><tr><td align=center>");
document.write ( "<table border=0 width='"+web_wid+"' height=273 background='images/bottom.jpg' cellspacing=0 cellpadding=0>");  
document.write ("<tr><td width=1 height=20 background='images/bottomleft.jpg'></td><td width=775 class=td style='font-weight: normal;' align=center>");  document.write ("<a class=menu href='help.htm'>关于作者</a>&nbsp;┋&nbsp;");  document.write ("<a class=menu href='gbook.asp'>网站留言</a>&nbsp;┋&nbsp;");  document.write ("<a href='allreview.asp' class=menu>网友热评</a>&nbsp;┋&nbsp;");  document.write ("<a class=menu href='allinone.htm'>示例页面</a>&nbsp;┋&nbsp;"); document.write ("<a class=menu href='online.asp'>与我在线</a>&nbsp;┋&nbsp;");document.write ("<a class=menu href='aboutlaw.htm' target=_blank>图忆维权书</a>&nbsp;┋&nbsp;");  document.write ("<a href='#top' class=menu>TOP</a>");  document.write ("</td><td width=1 bgcolor='" + color_2 + "'></td></tr>");  
document.write ("<tr><td height=5 colspan=3></td></tr>");
document.write ("<tr><td height=30 colspan=3 align=center>" + v_counter + "</td></tr>");  
document.write ("<tr><td colspan=3 align=center valign=top><table border=0>");  document.write ("<tr>");  document.write ("<td rowspan=2><a href='http://www.tooe.org/' target=_blank><img src='images/logo.gif' border=0></td>");  document.write ("<td>邮箱：&nbsp;lfq@tooe.org&nbsp;&nbsp;┋&nbsp;&nbsp;电话：0731-84210697</td>");  document.write ("</tr>");  document.write ("<tr><td>" + web_error + "</td></tr>");  document.write ("</table></td></tr></table>"); 
document.write ("</td></tr></table></center></body></html>");

window.setInterval("heartBeat()",1); 

document.writeln("<div style=\"height:12px;width:1000px;background:#FFFFFF;\"><\/div>");
document.writeln("<div id=\"backi\" style=\"z-index:0;width:109px;height:196px;position:absolute;right:0px;float:right;margin:0px;border:0px solid #FFFFFF;\"> ");
document.writeln("<table cellspacing=\"0\" cellpadding=\"0\" width=\"109\" border=\"0\">");
document.writeln("  <tr>");
document.writeln("   <td colspan=\"3\">");

document.writeln("   <img height=\"34\" src=\"images\/qqchat\/qq_top.gif\" width=\"109\" usemap=\"#Map\" border=\"0\"><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("   <td width=\"6\"><img height=\"100\" src=\"images\/qqchat\/qq_life.gif\" width=\"6\"><\/td>");
document.writeln("   <td bgcolor=white valign=\"top\" width=\"96\">");
document.writeln("     <table cellspacing=\"0\" cellpadding=\"0\" width=\"90\" align=\"center\" border=\"0\">");
document.writeln("		<tr>");
document.writeln("		 <td height=\"6\"><\/td>");
document.writeln("		<\/tr>");
document.writeln("		<tr>");
document.writeln("		 <td>");
document.writeln("		 <table border=\"0\" width=\"100%\">");
document.writeln("		  <tr>");
document.writeln("		   <td valign=\"bottom\"><img  style=\"CURSOR: pointer\" onclick=\"javascript:window.open(\'http:\/\/bizapp.qq.com\/webc.htm?new=0&sid=938010537&eid=&o=http:\/\/www.tooe.org&q=7\', \'_blank\', \'height=544, width=644,toolbar=no,scrollbars=no,menubar=no,status=no\');\"  border=\"0\" SRC=\'images\/qqchat\/47_online.gif' alt=\"交谈或留言\"\/><\/a><\/td>");
document.writeln("		  <\/tr>");
document.writeln("		 <\/table>");
document.writeln("		 <\/td>");
document.writeln("		<\/tr>");
document.writeln("		<tr>");
document.writeln("		 <td height=\"3\"><\/td>");
document.writeln("		<\/tr>");
document.writeln("		<tr>");
document.writeln("		 <td>");
document.writeln("		 <table border=\"0\" width=\"100%\">");
document.writeln("		  <tr>");
document.writeln("		   <td valign=\"bottom\"><a target=\"_blank\" href=\"http:\/\/settings.messenger.live.com\/Conversation\/IMMe.aspx?invitee=f2882575eea0cb7e@apps.messenger.live.com&mkt=zh-cn\"><img border=\"0\" SRC=\'images\/qqchat\/msn.gif\' alt=\"无需登录，直接聊天\"><\/a><\/td>");
document.writeln("		  <\/tr>");
document.writeln("		 <\/table>");
document.writeln("		 <\/td>");
document.writeln("		<\/tr>	");
document.writeln("		<tr>");
document.writeln("		 <td>");
document.writeln("		 <table border=\"0\" width=\"100%\" >");
document.writeln("		  <tr>");
document.writeln("		   <td>");
document.writeln("		   <img border=\"0\" src=\"images\/qqchat\/Phone_41.gif\" width=\"12\" height=\"18\"><font style=\" font-size:8pt;font-family:宋体, Verdana, Arial, Helvetica, sans-serif;\">13787115277<\/font><\/td>");
document.writeln("		  <\/tr>");
document.writeln("		 <\/table>");
document.writeln("		 <\/td>");
document.writeln("		<\/tr>    ");
document.writeln("     <\/table>");
document.writeln("   <\/td>");
document.writeln("   <td width=\"7\"><img height=\"100\" src=\"images\/qqchat\/qq_right.gif\" width=\"7\"><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("   <td colspan=\"3\">");
document.writeln("   <img height=\"30\" src=\"images\/qqchat\/qq_bottom.gif\" width=\"109\"><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("   <td colspan=\"3\"><a class=top href='javascript:;' onclick=\"javascript:window.external.AddFavorite('" + web_url + "','" + web_name + "')\" style='target: ' _self?><img height=\"33\" src=\"images\/qqchat\/qq_logo.gif\" alt=\"图忆世界\" width=\"109\" border=\"0\" \/><\/a><\/td>");
document.writeln("  <\/tr>");
document.writeln(" <\/table>");
document.writeln("<\/div> ")
} 

function toFull(){ 
if (window.name=="fullscreen") window.close(); 
var a =window.open("","fullscreen","fullscreen,scrollbars");
a.location = window.location.href;
window.opener=null;
} 

function IeTrueBody(){ 
return (document.compatMode && document.compatMode!="BackCompat") ? document.documentElement : document.body;
} 
function GetScrollTop(){ 
return ie ? IeTrueBody().scrollTop : window.pageYOffset; 
} 
function heartBeat(){ 
diffY=GetScrollTop(); 
mymovey += Math.floor((diffY-document.getElementById('backi').style.top.replace("px","")+126)*0.1); 
document.getElementById('backi').style.top = mymovey+"px"; 
} 

