function NoError(){return(true);} onerror=NoError; var siteurl = "http://"+window.document.location.hostname var sitename = window.document.location.hostname function parentWindow(){return (true)} function setfavorite(surl,sname) { if (surl==undefined) { surl=siteurl sname=sitename } var name = navigator.appName; var useragent = navigator.userAgent; var version = parseInt(navigator.appVersion); var needtoknow = 1; if ( useragent.indexOf("MSIE") != -1) { var index = navigator.userAgent.indexOf("MSIE "); if ( index != -1 ) { version = parseInt(navigator.userAgent.substring(index+5,index+6)); } if ( version > 4) { window.external.AddFavorite(surl,sname); needtoknow = 0; } } } function Print_Favorite() { var st = Get_Value_Cookie("v_Favorites") if (st.indexOf(This_Object_Attraction)<0) document.write(" "+txt_Put_To_Favorite+"") else document.write(Put_To_Favor_Page1()) } function Remove_From_Wish(o, id) { var st = Get_Value_Cookie("v_Favorites").replace(id, "") Put_Value_Cookie("v_Favorites", st, 10000000) o.parentNode.innerHTML=" "+txt_Del_From_Favor+"" } function Put_To_Favor_Page(o) { var st = Get_Value_Cookie("v_Favorites") if (st.indexOf(This_Object_Attraction)<0) Put_Value_Cookie("v_Favorites", st+This_Object_Attraction , 10000000) o.parentNode.innerHTML=Put_To_Favor_Page1() } function Put_To_Favor_Page1() {return(" "+txt_In_Favorite+"")} function sethome(o) { var name = navigator.appName; var useragent = navigator.userAgent; var version = parseInt(navigator.appVersion); var needtoknow = 1; if ( useragent.indexOf("MSIE") != -1) { var index = navigator.userAgent.indexOf("MSIE "); if ( index != -1 ) { version = parseInt(navigator.userAgent.substring(index+5,index+6)); } if ( version > 4) { o.style.behavior='url(#default#homepage)'; o.setHomePage(siteurl); needtoknow = 0; } } } var c_Col = 0 function Show_Visited(tO) { var rAlign=document.body.style.direction; var lAlign=''; if (rAlign==''){rAlign='right';lAlign='left'}else{rAlign='left';lAlign='right'} var st = Get_Value_Cookie("v_Objects") if (tO.length>0) { var ar = st.split(tO) st = "" for (i=0;i=108) st=st.substr(0,102) st = tO+st Put_Value_Cookie("v_Objects", st, 10000000) } if (Get_Value_Cookie("v_Favorites").length>0) document.write("
"+txt_Link_Wish+"
") if (st.length>0) { document.write("
"+txt_title_visited+"
") document.write("") var c_It = st.length/6; var i; for (i=0;i") document.write("
") } } function Show_Visited2(st1) { var c ="_5"; if (document.location.href.indexOf(st1)>=0){c="_3"}; return(c); } function Show_Visited1(st1,Ty) { c_Col += 1; if (c_Col==1){document.write("")} document.write("") if (st1!="") { var type ="" if (Ty=="A") Ty = "Attraction" else if (Ty=="H") Ty = "Hotel" else if (Ty=="G") Ty = "Guest_Rooms" else if (Ty=="R") Ty = "Restaurant" else if (Ty=="L") Ty = "Religion" else if (Ty=="K") Ty = "KKL" else if (Ty=="P") Ty = "Park" else if (Ty=="M") Ty = "Museum" document.write("") } document.write("") if (c_Col==3){c_Col=0;document.write("")} else{document.write("")} } function ShowWord() { var Str_Zav_Word = " -_/\.,:!&%?'`\"()<>[]" var word = Get_Value_Cookie("ShowWord") if (word==""){return ("")} word=decodeURIComponent(word) var st = document.getElementById("Txt_Body").innerHTML; var ar = word.split(","); var Change_Txt = "0"; for (i=0; i=0) { a = " "; b = " " if (n1 > 0){a = st.substr(n1 - 1, 1)} if ((n1 + ar[i].length)= 0 && Str_Zav_Word.indexOf(b) >= 0) { st = st.substr(0,n1)+"@#$%^&*"+st.substr(n1,ar[i].length)+"!@#$%^&*"+st.substr(n1+ar[i].length) Change_Txt="1" } n1 = st.toLowerCase().indexOf(ar[i],n1+ar[i].length) } } if (Change_Txt=="1") document.getElementById("Txt_Body").innerHTML=st.replace(/\!\@\#\$\%\^\&\*/g, "").replace(/\@\#\$\%\^\&\*/g, "") else Put_Value_Cookie("ShowWord","",-1000) } function Put_Value_Cookie(nam, val, tim) { try { var expiry = new Date(); expiry.setTime(expiry.getTime() + tim); document.cookie=nam+'='+val+'; path=/; expires=' + expiry.toGMTString(); } catch(e){} } function Get_Value_Cookie(nam) { var val = ''; try { var aCookie = document.cookie.split("; "); for (var i=0; i < aCookie.length; i++) { var aCrumb = aCookie[i].split("="); if (nam == aCrumb[0] && aCrumb.length>0) { val = aCrumb[1]; if (val=='undefined'){val=''} break } } } catch(e){alert(e.description)} return (val) } function Get_Referrer() { var ref = document.referrer var qu = "" if (ref!="") { if (ref.indexOf("?")>0) { ref = ref.substr(ref.indexOf("?")+1); var a = ref.split("&") for (i=0;i" +"
"+Mess_Error_Text+"
" +"" } document.write(tx) } function Send_Error_Back(){alert('ASD')} function Send_Error_Go() {try{var txt='';obj = window.document;var sel=null;if(obj.getSelection){sel=obj.getSelection();}else{sel=obj.selection;}; txt=sel.createRange().text;if(txt.length>200){txt=txt.substring(0,200)};txt=escape(txt);sel.empty(); if (txt!='') Open_User_Window(nRoot+nLang+"Send_Error_Text.aspx?d=58&txt="+txt,10,10,500,300,0) }catch(e){Send_Error_Back()}} function Send_Error(event){ if (!event)event=window.event; if (event.keyCode==10||(event.keyCode==13&&event.ctrlKey)){Send_Error_Go()}} o=window.document;if (o.addEventListener) o.addEventListener("keypress", Send_Error , false);else if (o.attachEvent) o.attachEvent("onkeypress", Send_Error)