吴哥索菲特酒店 var process_request = "正在处理您的请求..."; //初始空函数,防止页面报错,勿删,函数真身在页脚。 function _show_() {}; function _hide_() {}; var City = { init: function() {} } window.$ = window.$ || {}; window.M = window.M || {}; $.__IMG = M.__IMG = '' || ''; var M = M || {}; M.getCookie = function(a) { var e; if (document.cookie && document.cookie !== "") { var d = document.cookie.split(";"); var f = d.length; for (var c = 0; c < f; c++) { var b = d[c].replace(/(^\s*)|(\s*$)/g, ""); if (b.substring(0, a.length + 1) == (a + "=")) { e = decodeURIComponent(b.substring(a.length + 1)); break; } } } return e; }; var ads_time = 500; var ads_h = 0; function addCount() { if(ads_time>0) { ads_time--; ads_h = ads_h+50; } else { return; } if(ads_h>=450) //高度 { return; } document.getElementById("ads").style.display = ""; document.getElementById("ads").style.height = ads_h+"px"; setTimeout("addCount()",30); } window.onload = function showAds() { addCount(); setTimeout("noneAds()",9000); //停留时间自己适当调整 } var ads_T = 500; var ads_N = 450; //高度。如果高度调整不正确,可能会导致图片无法自动收缩 function noneAds() { if(ads_T>0) { ads_T--; ads_N = ads_N-25; } else { return; } if(ads_N<=0) { document.getElementById("ads").style.display = "none"; return; } document.getElementById("ads").style.height = ads_N+"px"; setTimeout("noneAds()",30); }