Notice: Undefined index: mode in /home/pan2host/data/catalog.panasia.ru/www/gets/httprequest-get-search.php on line 7
var hotelsPgClick_query = "type=content&name=cat_list-hotel-2_1210-3_1211-30_-2_1210-3_1211&pro[2]=1210&pro[3]=1211&pro[30]=&pro[2]=1210&pro[3]=1211&ct_mode=getlist&"; var obj = document.getElementById("list_detail"); if(obj) { var hotelsBlankPref, re = new RegExp("]+showwin[^>]{1,2}(txtb|text)-[0-9]+","gi"); var ar = re.exec(obj.innerHTML); if(ar!=null && ar.length == 2) hotelsBlankPref = ar[1]; else hotelsBlankPref = "hotelsPanasia"; var replStar=0; re = new RegExp("]+star(1|2|3|4|5)[^>]*>","gi"); if(re.exec(obj.innerHTML)!= null) replStar=1; } function hotelsPgClick(pg) { var obj = document.createElement('script'); ShowWaitWindow(); obj.src = "http://catalog.panasia.ru/gets/httprequest-get-search.js?mode=httprequest&txtb="+hotelsBlankPref+"&rstar="+replStar+"&query="+escape(hotelsPgClick_query+"&ct_pg="+pg)+"&r="+Math.random(); document.body.insertBefore(obj, document.body.firstChild); timer = setTimeout("CloseWaitWindow();", 10000); return false; } function ShowWaitWindow() { CloseWaitWindow(); var div = document.body.appendChild(document.createElement("DIV")); div.id = "wait_window_div"; div.innerHTML = "Загрузка..."; div.style.cssText = "position:absolute; width:140px; padding:10px; background-color:#FCFCFC; border:1px solid #CBCBCB; text-align:center; z-index:100; font-size:90%; background-image:url(http://catalog.panasia.ru/i/wait.gif); background-position:10px center; background-repeat:no-repeat;"; div.style.left = document.body.scrollLeft + (document.body.clientWidth - div.offsetWidth) - 10 + "px"; div.style.top = document.body.scrollTop + 10 + "px"; if(true) { var frame = document.createElement("IFRAME"); frame.src = "javascript:void(0)"; frame.id = "wait_window_frame"; frame.style.cssText = "position:absolute; border:0px; z-index:99;"; frame.style.width = div.offsetWidth + "px"; frame.style.height = div.offsetHeight + "px"; frame.style.left = div.style.left; frame.style.top = div.style.top; document.body.appendChild(frame); } } function CloseWaitWindow() { var frame = document.getElementById("wait_window_frame"); if(frame) frame.parentNode.removeChild(frame); var div = document.getElementById("wait_window_div"); if(div) div.parentNode.removeChild(div); }