function pars2(key)
{
	returnvalue="";
	urlinfo=window.location.href;  //获取当前页面的url
	len=urlinfo.length;//获取url的长度
	offset=urlinfo.indexOf("?");//设置参数字符串开始的位置
	newsidinfo=urlinfo.substr(offset+1,len)//取出参数字符串 这里会获得类似“id=1”这样的字符串
	newsids=newsidinfo.split("&");//对获得的参数字符串按照“=”进行分割
	for(var   p   in   newsids){ 
		  keyvalue=  newsids[p].split("=");
		  if(keyvalue[0]==key)
		  {
		  	returnvalue=keyvalue[1]
		  }      
  }	
	return returnvalue;

}


document.write('<div id="Float_22" style="width:105px;position:absolute;z-index:1;line-height:18px;" ><div><iframe scrolling="no" src="/Tools/ConnAD2.aspx?Index=66&AreaID='+pars2("AreaID")+'&TypeID='+pars2("ID")+'"  frameborder="0" style="border: 1px; width: 105px;" id="ConnAD2"></iframe></div><div style="width:75px;text-align:right;line-height:18px;"><a style="cursor:hand;" class="STYLE11" onClick="javacript:document.getElementById('+"'Float_22'"+').style.display='+"'none'"+'"><font color=#ffffff>关 闭</font></a>&nbsp;</div></div>');

document.write("<script language='javascript'>");
	
			var imgheight1= 0;
	window.screen.width>800 ? imgheight1=100:imgheight1=3;
			function mymoveFloat_22(){
				document.getElementById("Float_22").style.top=(document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) +imgheight1+"px";
				document.getElementById("Float_22").style.right=(window.screen.width-890-2*70)/4 +"px";;
				<!--setTimeout("mymoveFloat_22();",50); -->
			}
			mymoveFloat_22();
	 document.write("</script>");

