// JavaScript Document
var urlarr=window.location.toString().split("/");
var gotoUrl="";
function getPageScroll2(){ //获取网页定位
		var xScroll=1, yScroll=1;
		var xtopoff, ytopoff;
	if (document.documentElement && document.documentElement.scrollTop){  // Explorer 6 Strict
			yScroll = document.documentElement.scrollTop+1;
			xScroll = document.documentElement.scrollLeft+1;
			yoff=(document.documentElement.clientHeight) / 2 - (document.getElementById('msg_box2').offsetHeight / 2) + yScroll ;
			xoff=(document.documentElement.clientWidth) / 2 - (document.getElementById('msg_box2').offsetWidth / 2) + xScroll ;
		} else if (document.body) {// all other Explorers
			yScroll = document.body.scrollTop+1;
			xScroll = document.body.scrollLeft+1;
			yoff=150;
		xoff=(document.body.clientWidth) / 2 - (document.getElementById('msg_box2').offsetWidth / 2) + xScroll ;
		}

		var arrayPageScroll = new Array(xScroll,yScroll,xoff,yoff);
		return arrayPageScroll;
	}

function hide_block2(){
	document.getElementById("msg_box2").style.display="none";	
	document.getElementById("out_layer").style.display="none";
	}
function show_block2()
{
		document.getElementById("out_layer").style.display="block";
		document.getElementById("msg_box2").style.display="block";	
		document.getElementById("out_layer").style.height=document.body.scrollHeight;
		document.getElementById('out_layer').style.width=document.body.scrollWidth;
		var PageScroll=getPageScroll2();
		document.getElementById('msg_box2').style.top=PageScroll[3] + "px";
		document.getElementById('msg_box2').style.left= PageScroll[2] + "px";
this.close_btn=document.getElementById('close_btn');
//show_content();
	this.close_btn.onclick=function()
	{
		hide_block2();
	};

}	
function show_content2()
{
	show_micon_content();
}