document.writeln("<style type=\"text/css\">");
document.writeln("<!--");
document.writeln(".mydiv {");
document.writeln("background-color: #fff;");
document.writeln("border: 1px solid #f60;");
document.writeln("text-align: center;");
document.writeln("z-index:999;");
document.writeln("width: 400px;");
document.writeln("height: 180px;");
document.writeln("left:50%;/*FF IE7*/");
document.writeln("top:50%;/*FF IE7*/");
document.writeln("margin-left:-200px!important;/*FF IE7 该值为本身宽的一半 */");
document.writeln("margin-top:-90px!important;/*FF IE7 该值为本身高的一半*/");
document.writeln("margin-top:0px;");
document.writeln("position:fixed!important;/*FF IE7*/");
document.writeln("position:absolute;/*IE6*/");
document.writeln("_top:expression(eval(document.compatMode&&document.compatMode=='CSS1Compat')?documentElement.scrollTop+(document.documentElement.clientHeight-this.offsetHeight)/2:/*IE6*/document.body.scrollTop+(document.body.clientHeight-this.clientHeight)/2);/*IE5 IE5.5*/");
document.writeln("}");
document.writeln(".mydiv h3{");
document.writeln("font-size:14px;");
document.writeln("text-align:left;");
document.writeln("color:#e46c04;");
document.writeln("height:28px;");
document.writeln("line-height:28px;");
document.writeln("text-indent:8px;");
document.writeln("background:#fceddf;");
document.writeln("border-bottom:solid 1px #fed5b3;");
document.writeln("}");
document.writeln(".mydiv p{");
document.writeln("padding:20px;");
document.writeln("height:80px;");
document.writeln("text-align:center;");
document.writeln("font-size:14px;");
document.writeln("color:#666;");
document.writeln("line-height:26px;");
document.writeln("}");
document.writeln(".bg,.popIframe {");
document.writeln("background-color: #666; display:none;");
document.writeln("width: 100%;");
document.writeln("height: 100%;");
document.writeln("left:0;");
document.writeln("top:0;/*FF IE7*/");
document.writeln("filter:alpha(opacity=50);/*IE*/");
document.writeln("opacity:0.5;/*FF*/");
document.writeln("z-index:1;");
document.writeln("position:fixed!important;/*FF IE7*/");
document.writeln("position:absolute;/*IE6*/");
document.writeln("_top:expression(eval(document.compatMode&&document.compatMode=='CSS1Compat')?documentElement.scrollTop+(document.documentElement.clientHeight-this.offsetHeight)/2:/*IE6*/document.body.scrollTop+(document.body.clientHeight-this.clientHeight)/2);/*IE5 IE5.5*/");
document.writeln("}");
document.writeln(".popIframe {");
document.writeln("filter:alpha(opacity=0);/*IE*/");
document.writeln("opacity:0;/*FF*/");
document.writeln("}");
document.writeln("-->");
document.writeln("</style>");
document.writeln("<!--弹出层-->");
document.writeln("<div id=\"popDiv\" class=\"mydiv\" style=\"display:none;\">");
document.writeln("<h3>有礼由你提示信息</h3>");
document.writeln("<p id=\"popMsg\">提示信息</p>");
document.writeln("<div><a href=\"javascript:closeDiv()\">关闭窗口</a></div>");
document.writeln("</div>");
document.writeln("<div id=\"bg\" class=\"bg\" style=\"display:none;\"></div>");
document.writeln("<!--弹出层END-->");
document.writeln("<iframe id='popIframe' class='popIframe' frameborder='0' ></iframe>");
function showDiv(msg){
	document.getElementById('popDiv').style.display='block';
	document.getElementById('popIframe').style.display='block';
	document.getElementById('bg').style.display='block';
	document.getElementById('popMsg').innerHTML=msg;
}
function closeDiv(){
	document.getElementById('popDiv').style.display='none';
	document.getElementById('bg').style.display='none';
	document.getElementById('popIframe').style.display='none';
}
function popMsg(msg){
	showDiv(msg);
}