			//<![CDATA[
			
			function IsDisplay()
				{
					var UrlArray = ["flights/search.aspx",
							"hotels/search.aspx",
							"hotels/details.aspx",
							"hotels/confirm.aspx",
							"hotels/order.aspx",
							"hotels/ensure.aspx",
							]
					var selfUrl=location.href.toLowerCase();
					
					for(var i=0; i< UrlArray.length; i++)
					{
						if(selfUrl.indexOf(UrlArray[i]) > 0 )
						{
							return true;
						}	
						
					}															
					return false;
				}
			if(IsDisplay())
			{	
				var adLeftSrc = ""
				var adLeftFlash = ""
				var adLeftHref = ""
				var adLeftWidth = 110
				var adLeftHeight = 198
				var adRightSrc = "http://resource.elong.com/images/index_0601/cn/callphone_Ekom.jpg"
				var adRightFlash = "image"
				var adRightHref = "http://webel.cttalk.com.cn/BlankList/dail.kome?pid="+ apSales +"&komeid=" + KomeID
				var adRightWidth = 110
				var adRightHeight = 198
				var marginTop = 30
				var marginLeft = 5
				var navUserAgent = navigator.userAgent
				function loadEkcom(){
					judge();
					move();
				}
				function move() {
					judge();
					setTimeout("move();",80)
				}
				
				function close_float_right(){
					if (adRightSrc != "") {
						document.getElementById("adRightFloat").style.visibility='hidden';
					}
				}

				function judge(){
					if (navUserAgent.indexOf("Firefox") >= 0 || navUserAgent.indexOf("Opera") >= 0) {
						if (adLeftSrc != "") {document.getElementById("adLeftFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + ((document.body.clientHeight > document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.clientHeight) - adLeftHeight - marginTop + 'px';}
						if (adRightSrc != "") {
							document.getElementById("adRightFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + ((document.body.clientHeight > document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.clientHeight) - adRightHeight - marginTop + 'px';
							document.getElementById("adRightFloat").style.left = ((document.body.clientWidth > document.documentElement.clientWidth)?document.body.clientWidth:document.documentElement.clientWidth) - adRightWidth - marginLeft + 'px';
						} 
					}
					else{
						if (adLeftSrc != "") {document.getElementById("adLeftFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + ((document.documentElement.clientHeight == 0)?document.body.clientHeight:document.documentElement.clientHeight) - adLeftHeight - marginTop + 'px';}
						if (adRightSrc != "") {
							document.getElementById("adRightFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + ((document.documentElement.clientHeight == 0)?document.body.clientHeight:document.documentElement.clientHeight) - adRightHeight - marginTop + 'px';
							document.getElementById("adRightFloat").style.left = ((document.documentElement.clientWidth == 0)?document.body.clientWidth:document.documentElement.clientWidth) - adRightWidth - marginLeft + 'px';
						}
					}
					if (adLeftSrc != "") {document.getElementById("adLeftFloat").style.left = marginLeft + 'px';}
				}
				if (adLeftSrc != "") {
					if (adLeftFlash == "flash") {
						document.write("<div id=\"adLeftFloat\" style=\"position: absolute;width:" + adLeftWidth + ";\"><a href=\"" + adLeftHref +"\"><embed src=\"" + adLeftSrc + "\" quality=\"high\"  width=\"" + adLeftWidth + "\" height=\"" + adLeftHeight + "\" type=\"application/x-shockwave-flash\"></embed></a></div>");
					}
					else{
						document.write("<div id=\"adLeftFloat\" style=\"position: absolute;width:" + adLeftWidth + ";\"><a href=\"" + adLeftHref +"\"><img src=\"" + adLeftSrc + "\"  width=\"" + adLeftWidth + "\" height=\"" + adLeftHeight + "\"  border=\"0\" \></a></div>");
					}
				}
				if (adRightSrc != "") {
					if (adRightFlash == "flash") {
						document.write("<div id=\"adRightFloat\" style=\"position: absolute;width:" + adRightWidth + ";\"><a href=\"" + adRightHref +"\"><embed src=\"" + adRightSrc + "\" quality=\"high\"  width=\"" + adLeftWidth + "\" height=\"" + adRightHeight + "\" type=\"application/x-shockwave-flash\"></a></embed></div>");
					}
					else{
						document.write("<div id=\"adRightFloat\" style=\"position: absolute;width:" + adRightWidth + ";\">");
						document.write("<table border='0' cellpadding='0' cellspacing='0'><tr><td>");
						
						document.write("<a target=\"_blank\" href=\"" + adRightHref +"\"><img src=\"" + adRightSrc + "\"   width=\"" + adLeftWidth + "\" height=\"" + adRightHeight + "\"  border=\"0\"  \></a>");
						document.write("</td></tr><tr><td width='110' bgcolor='#cccccc' style='text-align:right;padding-top:2px;padding-right:3px;'><a href='javascript:close_float_right();void(0);' style='font-size:12px;color:#000000;text-decoration:none;'>¹Ø ±Õ</a></td></tr>\</table>\</div>");
						document.write("</div>");
					}
				}							
					loadEkcom();
			}
			//]]>
