/*
	页面最顶部的导航
	50018.COM Copyright(C) 1999-2009
	Last Updated By Philson at 2009.7.23
*/

/*
if(IsHome()) 
{
document.write("<table width=\"958\" height=\"25\" cellpadding=0 cellspacing=0 style=\"color:#FFFFFF;font-family:arial,宋体;\">");   
document.write("<tr height=\"25\">");   
document.write("<td width=\"2\"></td>");
document.write("<td align=left>幸运之门彩票网50018.COM 始于1999年,福彩,体彩,足彩绿色中奖通道！</td>");   
document.write("<td width=\"60\"><img src=\"http://www.50018.com/images/header-user.gif\" width=\"45\" height=\"27\" alt=\"\" onclick=\"PopupShow(1)\"></td>"); 
document.write("<td width=\"60\"><img src=\"http://www.50018.com/images/header-login.gif\" width=\"45\" height=\"27\" alt=\"\" onclick=\"PopupShow(2)\"></td>");   
document.write("<td width=\"60\"><img src=\"http://www.50018.com/images/header-fill.gif\" width=\"45\" height=\"27\" alt=\"\" onclick=\"PopupShow(3)\"></td>");   
document.write("<td width=\"60\"><a href=\"/Bank/Draw.aspx\"><img src=\"http://www.50018.com/images/header-draw.gif\" width=\"45\" height=\"27\"></a></td>");   
document.write("<td width=\"60\"><img src=\"http://www.50018.com/images/header-map.gif\" width=\"45\" height=\"27\" alt=\"\" onclick=\"PopupShow(5)\"></td>");   
document.write("<td width=\"60\"><img src=\"http://www.50018.com/images/header-help.gif\" width=\"45\" height=\"27\" alt=\"\" onclick=\"PopupShow(6)\"></td>");   
document.write("<td width=\"78\"><img src=\"http://www.50018.com/images/header-service.gif\" alt=\"\" onclick=\"PopupShow(7)\"></td>");   
document.write("<td width=\"2\"></td>");
document.write("</tr>");
document.write("</table>");
}

document.write("<div id=\"msgDiv\" style=\"position:absolute;z-index:2;display:none;width:502px;height:312px;background:#E6F3C8;margin:20px;padding:0px;text-align:left;filter:alpha(opacity=0);\">");
document.write("</div>");

document.write("<div id=\"bgDiv\" style=\"z-index:1;width:100%;height:100%;display:none;\"></div>");

var PopupIndex = 0;

function PopupShow(idx) 
{
	PopupIndex = idx;

	var pInfos = "top,用户中心:退出登录 Logout,/Member/PanelExit.aspx,";
	pInfos += "top,用户中心:免费注册会员 Regist,/Member/PanelRegist.aspx,";
	pInfos += "top,用户中心:登录幸运 Login,/Member/PanelLogin.aspx,";
	pInfos += "fill,账户中心:在线充值 Fill,/Bank/PanelFill.aspx,";
	pInfos += "draw,账户中心:提取奖金 Draw bonus,/Bank/PanelDraw.aspx,";
	pInfos += "map,网站地图:主要功能导航 Sitemap,/Service/PanelMap.aspx,";
	pInfos += "help,网站助手:常见问题 Q & A,/Service/PanelHelp.aspx,";
	pInfos += "help,客户服务部(热线电话 40060 50018),/Service/PanelService.aspx,";
	var pArry = pInfos.split(",");

	var str = "";
	str += "<font color=#486A09><table width=502 height=312 cellpadding=0 border=0 style=\"background-image:url(/Images/Member/reg_" + pArry[idx*3] + ".gif);text-align:left;font-size:14px;\">";
	str += "<tr height=32px><td width=\"40px\"></td><td align=left width=\"435px\"><div style=\"padding-top:6px;\"><b>" + pArry[idx*3+1] + "</b></div></td><td><div style=\"padding-top:6px;\"><img src=\"http://www.50018.com/images/Member/reg_close.gif\" style=\"cursor:hand;\" onclick=\"PopupClose()\"/></div></td></tr>"
	str += "<tr><td colspan=3><iframe src=\"" + pArry[idx*3+2] + "\" width=\"100%\" height=280 frameborder=\"no\" scrolling=\"no\"></iframe></td><tr></table></font>";

	var msgObj=document.getElementById("msgDiv");
	msgObj.innerHTML = str;
	msgObj.filters.alpha.opacity = 100;

	var bgObj=document.getElementById("bgDiv");
	bgObj.style.height = (document.body.offsetHeight) + "px";
	msgObj.style.left = (parseInt(document.body.offsetWidth)/2 - 250) + "px";
	msgObj.style.top = "180px";
	msgObj.style.display = bgObj.style.display = "block";
}

function PopupClose()
{
	var bgObj=document.getElementById("bgDiv");
	bgObj.style.display = "none";
	var msgObj=document.getElementById("msgDiv");
	msgObj.style.display = "none";

	if(PopupIndex<4) {
		HeaderReload();
	}
}
*/

function PopupShow(idx) { }

