// 创业啦上方广告条

document.writeln("<style>");
document.writeln(".title_main {position:absolute;z-index:100;top:0;right:0;left:0}");
document.writeln(".title_center {position:absolute;visibility:hidden;}");
document.writeln(".title_menu {position:absolute;z-index:100;right:0px;top:0px;}");
document.writeln("body,td,th {font-family: 宋体;font-size: 9pt;}");
document.writeln("<\/style>")

document.writeln("<table width=\"100%\" height=\"30\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>\n");

if(typeof(disable_links) == "undefined")
{
	disable_links = false;
}

function flLayerCtl(bl) {
	var ob = document.getElementById("fl_centerLayer");
	if(bl) {
		ob.style.visibility = "visible";
	} else {
		ob.style.visibility = "hidden";
	}
}

function gGenerateCtl(disable) {
var image_baseurl = "/index_x/js/top_QQ_js_hoohuo/";
var main_framework =
"<div class=\"title_main\">"+
"<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\""+image_baseurl+"title_bg.gif\" class=\"title\"><tr><td>"+
"<table width=\"100%\" height=\"30\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" onselectstart=\"return false;\" oncontextmenu=\"return false;\" ><tr>"+
"<td><a href=\"http://www.hoohuo.com/index.html\" target=\"_blank\"><img src=\""+image_baseurl+"logo_left.gif\" border=\"0\" hspace=\"10\"></a></td>"+
"<td width=\"260\"><iframe height=\"18\" src=\""+image_baseurl+"toplist_all.htm\" frameborder=\"0\" scrolling=\"no\" allowtransparency=\"true\"></iframe></td>"+
"<td width=\"60%\"><font color=#f01eeb>创业啦·商机推荐频道 2010年度 正式启用新域名 <a href=http://www.hoohuo.com/index.htm><font color=#0080ff>www.HooHuo.com</font></a></font></td>"+
/* "<td><a href=\"http://gz.chuangyela.com/baoming/default.asp\" target=\"_blank\"><img src=\""+image_baseurl+"button_pay.gif\" width=\"78\" height=\"24\" border=\"0\" hspace=\"6\"></a></td>"+ */
/* "<td><a href=\"http://gz.chuangyela.com/baoming/default.asp\" target=\"_blank\"><img src=\""+image_baseurl+"button_service.gif\" width=\"81\" height=\"24\" border=\"0\" hspace=\"6\"></a></td>"+
 */"<td><a href=\"http://hoohuo.com\" target=\"_blank\"><img src=\""+image_baseurl+"button_bbs.gif\" width=\"81\" height=\"24\" border=\"0\" hspace=\"6\"></a></td>"+
"<td width=\"100\"><img src=\""+image_baseurl+"logo_qqgame.gif\" align=\"absmiddle\" onfocus=\"blur();\" onmouseover=\"flLayerCtl(true);\"></td>"+
"<td><img src=\""+image_baseurl+"arrowhead.gif\" align=\"absmiddle\" onmouseover=\"flLayerCtl(true);\" hspace=\"10\"></td>"+
"<td width=\"1\" align=\"right\" valign=\"top\"><div id=\"fl_centerLayer\" class=\"title_center\">"+
"<div class=\"title_menu\" onmouseover=\"flLayerCtl(true);\" onmouseout=\"flLayerCtl(false);\">"+
"<table width=\"160\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>"+
"<td><img src="+image_baseurl+"logo_table_ul.gif width=\"3\" height=\"3\"></td>"+
"<td height=\"3\" background="+image_baseurl+"logo_table_ub.gif></td>"+
"<td><img src="+image_baseurl+"logo_table_ur.gif width=\"3\" height=\"3\"></td>"+
"</tr><tr>"+
"<td width=\"3\" background="+image_baseurl+"logo_table_lb.gif></td>"+
"<td bgcolor=#FFFFFF><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"+
"<tr><td height=\"30\"><div align=\"left\"><a href=\"http://www.hoohuo.com\" target=\"_blank\"><img src="+image_baseurl+"hoohuo_online.jpg border=\"0\"></a></div></td></tr>"+
"</table></td>"+
"<td width=\"3\" background="+image_baseurl+"logo_table_rb.gif></td>"+
"</tr><tr>"+
"<td><img src="+image_baseurl+"logo_table_dl.gif width=\"3\" height=\"3\"></td>"+
"<td height=\"3\" background="+image_baseurl+"logo_table_db.gif></td>"+
"<td><img src="+image_baseurl+"logo_table_dr.gif width=\"3\" height=\"3\"></td>"+
"</tr></table>"+
"</div>"+
"</div></td>"+
"</tr></table>"+
"</td></tr></table>"+
"</div>"

if(document.all)
 {
    document.body.insertAdjacentHTML("afterBegin", main_framework);
  }
  else
  {
    document.body.innerHTML+=main_framework;
  }

}

function gGenerateOnload() {
	if(document.body != null) {
		gGenerateCtl(disable_links);
	} else {
		setTimeout("gGenerateOnload();",100);
	}
}
gGenerateOnload();

document.writeln("</td></tr></table>\n");



// 24小时弹出窗口代码
//document.writeln("<script language=\"javascript\">");
//document.writeln("");
//document.writeln("function setCookie(name, value, expire) {   ");
//document.writeln("  window.document.cookie = name + \"=\" + escape(value) + ((expire == null) ? \"\" : (\"; expires=\" + expire.toGMTString()));");
//document.writeln("}");
//document.writeln("");
//document.writeln("function getCookie(Name) {   ");
//document.writeln("   var search = Name + \"=\";");
//document.writeln("   if (window.document.cookie.length > 0) { \/\/ if there are any cookies");
//document.writeln("     offset = window.document.cookie.indexOf(search);");
//document.writeln("     if (offset != -1) { \/\/ if cookie exists");
//document.writeln("       offset += search.length;          \/\/ set index of beginning of value");
//document.writeln("       end = window.document.cookie.indexOf(\";\", offset)          \/\/ set index of end of cookie value");
//document.writeln("       if (end == -1)");
//document.writeln("         end = window.document.cookie.length;");
//document.writeln("       return unescape(window.document.cookie.substring(offset, end));");
//document.writeln("     }");
//document.writeln("   }");
//document.writeln("   return null;");
//document.writeln("}");
//document.writeln("");
//document.writeln("function register(name) {");
//document.writeln("  var today = new Date();");
//document.writeln("  var expires = new Date();");
//document.writeln("  expires.setTime(today.getTime() + 1000*60*60*24);");
//document.writeln("  setCookie(\"admin5\", name, expires);");
//document.writeln("}");
//document.writeln("");
//document.writeln("");
//document.writeln("var exitURL=\"http:\/\/www.chuangyela.com\/baoming\/default.asp\";");
//document.writeln("");
//document.writeln("function openWin() {");
//document.writeln("");
//document.writeln("  var c = getCookie(\"admin5\");");
//document.writeln("  if (c != null) {");
//document.writeln("    return;");
//document.writeln("  }");
//document.writeln("  register(\"redoo\");");
//document.writeln("  var featureStr=\"\";");
//document.writeln("  featureStr=\"scroll:1;status:1;help:1;resizable:1;dialogWidth:1024px;dialogHeight:700px;dialogLeft:0;dialogTop:0;toolbar=yes, menubar=yes,resizable=yes,location=yes,status=yes\";");
//document.writeln("  \/\/featureStr=\"height=560, width=800, top=0, left=0, toolbar=yes, menubar=yes,resizable=yes,location=yes,status=yes\"; ");
//document.writeln("  self.focus(); ");
//document.writeln("  \/\/var ExitWindow = window.open(exitURL,\"redoo\", featureStr);");
//document.writeln("  var ExitWindow = window.showModelessDialog(exitURL,\"redoo\", featureStr);");
//document.writeln("  ExitWindow.focus();  ");
//document.writeln("}");
//document.writeln("");
//document.writeln("openWin();");
//document.writeln("window.focus()");
//document.writeln("");
//document.writeln("<\/script>");

// 接单王在线客服系统
// 关闭 document.writeln("<script src=\'http:\/\/027803.web.kehu.cn\/k8\/index.html?style=1&mid=027803\'><\/script>");






// 右下角MSN广告

// document.writeln(" <style>");
// document.writeln("#msn_ad{POSITION:absolute;text-align:left; TOP:0px;Z-INDEX:9999; LEFT:0px; WIDTH:256px; HEIGHT:225px; background:url(http:\/\/www.chuangyela.com\/\/index_x\/JS\/msgbg.gif) no-repeat;}");
// document.writeln("#msn_ad ul{ margin:0; padding:0; list-style:none;}");
// document.writeln("#msn_ad li{ background:url(http:\/\/www.chuangyela.com\/\/index_x\/JS\/ico_arrtx.gif) no-repeat 7px 7px; white-space:nowrap; border-bottom:1px dashed #ccc;font: 12px\/16px \"宋体\"; padding-top:3px; padding-left:22px; margin:0 2px; }");
// document.writeln("#msn_ad li strong { font:bold 14px/16px \"宋体\"; color:#f00;}");
// document.writeln("#msn_ad li a:link,#msn_ad li a:visited,#msn_ad li a:active { color:#03c; text-decoration:none;font-size:12px; }");
// document.writeln("#msn_ad li a:hover {color:#c00; text-decoration:none;background:#ffe; }");
// document.writeln("<\/style>");
// // JavaScript Document
// lastScrollY=0;
// function heartBeat(){ 
// var diffY;
// if (document.documentElement && document.documentElement.scrollTop)
//   diffY = document.documentElement.scrollTop;
// else if (document.body)
//   diffY = document.body.scrollTop
// else
//  {/*Netscape stuff*/}
//  
// //alert(diffY);
// percent=.1*(diffY-lastScrollY); 
// if(percent>0)percent=Math.ceil(percent); 
// else percent=Math.floor(percent); 
// document.getElementById("limg").style.top=parseInt(document.getElementById("limg").style.top)+percent+"px";
// document.getElementById("rimg").style.top=parseInt(document.getElementById("rimg").style.top)+percent+"px";
//
// lastScrollY=lastScrollY+percent; 
// //alert(lastScrollY);
// }
// suspendcode1="<DIV id=\'limg\' style='left:6px;POSITION:absolute;TOP:420px;'></div>"
//
// suspendcode2="<DIV id=\'rimg\' style='right:6px;POSITION:absolute;TOP:420px;Z-INDEX:9999; WIDTH:256PX;HEIGHT:225px;font-size:12px;text-align:right;'><a href='javascript:hidden()' style='top:4px;right:7px;POSITION:absolute;Z-INDEX:999999;'><img src='http:\/\/www.chuangyela.com\/\/index_x\/JS\/msgClose.gif' border='0' /></a><BR /><div id='msn_ad'><ul style=' margin:28px 6px 0; font-size:12px;'><li><a href='http://gz.chuangyela.com/baoming/default.asp' target='_blank'>如果你渴望创业，但苦于<font color=red>没有资金</font>。</a></li><li><a href='http://gz.chuangyela.com/baoming/default.asp' target='_blank'>如果你期盼成功，却苦于<font color=red>没有门路</font>。</a></li><li><a href='http://gz.chuangyela.com/baoming/default.asp' target='_blank'>如果你<font color=red>没有背景</font>，却不甘清寒一生。</a></li><li><a href='http://gz.chuangyela.com/baoming/default.asp' target='_blank'>如果你苦觅机遇，梦想命运的改变。</a></li><li><a href='http://gz.chuangyela.com/baoming/default.asp' target='_blank'>加入中国创盟，与团队成员携手创业。</a></li><li><a href='http://gz.chuangyela.com/baoming/default.asp' target='_blank'>各地仅招收3-5名，<font color=#e69102>赶快报名</font> > > > > </a></li></ul></div></div>"
// document.write(suspendcode1); 
// document.write(suspendcode2); 
// window.setInterval("heartBeat()",1);
//
// function hidden(){
// 	document.getElementById("limg").style.display="none";
// 	document.getElementById("rimg").style.display="none";
// };