	function jumpMenu(Url)
	{
	window.location=Url;
	}
	
	// 自动最大化网页，以获得最佳浏览效果
	if ( screen.availWidth > 1000 && document.documentElement.offsetWidth < 1010 )	{
		self.moveTo(-4,-4);
		self.resizeTo(screen.availWidth+7,screen.availHeight+8);
		document.body.style.cssText="overflow-x:hidden;";
	}else if ( screen.availWidth < 1000 && document.documentElement.offsetWidth < 750 )	{
		self.moveTo(-3,-3);
		self.resizeTo(screen.availWidth+5,screen.availHeight+6);
	}	

function Winopen(P_Url,width,height)  
{
	var iTop=(window.screen.height-height)/2;
	var iLeft=(window.screen.width-width)/2;
	window.open(P_Url,"newWin","resizable=no,width="+width+",height="+height+",top="+iTop+",left="+iLeft+",scrollbars=yes");
};
	//显示酒店介绍信息
	function showContent()
	{
		document.getElementById("lblSimpleIntro").style.display="none";
		document.getElementById("lblIntro").style.display="";
	}
	
	//显示点评参照的层
	function ShowPointsDiv(oInputSrc)
	{
		if(oInputSrc) 
		{
			var GradeDiv = document.getElementById("Points");
			GradeDiv.style.pixelLeft = PointsPos(oInputSrc,"Left");
			GradeDiv.style.pixelTop = PointsPos(oInputSrc,"Top") + oInputSrc.offsetHeight;
			GradeDiv.style.display="";	
		}
	}
	
	function PointsPos(el,ePro)
	{
		var ePos=0;
		while(el!=null)
		{		
			ePos+=el["offset"+ePro];
			el=el.offsetParent;
		}
		return ePos;
	}
	function ReplaceDot(ObjFrom){
		ObjFrom.innerHTML=ObjFrom.innerHTML.replace(/(，|;|；| |　|·|、)/g,',')
		ObjFrom.innerHTML=ObjFrom.innerHTML.replace(/(,{2,})/g,',')
	}
	function Replace(ThisV){
		ThisV.value=ThisV.value.replace(/(，|;|；| |　|·|、)/g,',')
		ThisV.value=ThisV.value.replace(/(,{2,})/g,',')
	}
	function GetObj(objName){
	if(document.getElementById){
		return eval('document.getElementById("' + objName + '")');
	}else if(document.layers){
		return eval("document.layers['" + objName +"']");
	}else{
		return eval('document.all.' + objName);
	}
} 
function getAbsLeft(e){var l=e.offsetLeft;while(e=e.offsetParent) l   +=   e.offsetLeft;   return   l;}   
function getAbsTop(e)   {var   t=e.offsetTop;     while(e=e.offsetParent)   t   +=   e.offsetTop;     return   t;}