function showClosedMessage(){document.getElementById("indhold").style.visibility="visible";document.getElementById("skygge").style.visibility="visible";if(document.getElementById("c")){document.getElementById("c").style.visibility="hidden"}if(document.getElementById("R")){document.getElementById("R").style.visibility="hidden"}if(document.getElementById("PE")){document.getElementById("PE").style.visibility="hidden"}if(document.getElementById("Q51")){document.getElementById("Q51").style.visibility="hidden"}}function subwin(e,b,a,d){addWindow=window.open(e,b,"width="+a+",height="+d+",resizable=1,status=1,menubar=0,scrollbars=1,fullscreen=0");addWindow.focus()}function SetIndex(d){var a;if(navigator.appName=="Netscape"){for(var b=0;b<document.search.R.options.length;b++){if(d==document.search.R.options[b].value){a=b}}document.search.R.options[a].selected=true}else{document.search.R.value=d}}function SetArea(d){var a;if(navigator.appName=="Netscape"){for(var b=0;b<document.searchalpine.R.options.length;b++){if(d==document.searchalpine.R.options[b].value){a=b}}document.searchalpine.R.options[a].selected=true}else{document.searchalpine.R.value=d}}function SetIndexRS(d){var a;if(navigator.appName=="Netscape"){for(var b=0;b<document.search.RS.options.length;b++){if(d==document.search.RS.options[b].value){a=b}}document.search.RS.options[a].selected=true}else{document.search.RS.value=d}}function getSelectedRadio(a){if(a[0]){for(var b=0;b<a.length;b++){if(a[b].checked){return b}}}else{if(a.checked){return 0}}return -1}var da=(document.all)?1:0;var pr=(window.print)?1:0;var mac=(navigator.userAgent.indexOf("Mac")!=-1);function printPage(){if(pr){window.print()}else{if(da&&!mac){vbPrintPage()}}}if(da&&!pr&&!mac){with(document){writeln('<OBJECT ID="WB" WIDTH="0" HEIGHT="0" CLASSID="clsid:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>');writeln('<SCRIPT LANGUAGE="VBScript">');writeln("Sub window_onunload");writeln("  On Error Resume Next");writeln("  Set WB = nothing");writeln("End Sub");writeln("Sub vbPrintPage");writeln("  OLECMDID_PRINT = 6");writeln("  OLECMDEXECOPT_DONTPROMPTUSER = 2");writeln("  OLECMDEXECOPT_PROMPTUSER = 1");writeln("  On Error Resume Next");writeln("  WB.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER");writeln("End Sub");writeln("</SCRIPT>")}}function redirectAgency(){pw=prompt("Zum Zugang der Reisebüroseiten, geben Sie bitte den CRS-Kode von NOVASOL ein:","");if((pw=="NOSO")||(pw=="noso")){document.location.href="http://buro.novasol.de"}}function searchhouse(k,e,l,h){var f=0;var m=1;var b=null;for(var g=f;g<k.elements.length-m;g++){if(k.elements[g].type=="hidden"){continue}if(k.elements[g].checked){b=k.elements[g].value;var d=g;break}else{b=null}}for(var g=d;g<k.elements.length-m;g++){if(k.elements[g+1].type=="checkbox"){if(!k.elements[g+1].checked){slutDatoStr=k.elements[g+1].value;break}}else{slutDatoStr=k.elements[g+1].value;break}}if(b==null){var a="/DAN/999.nsf/"+h+"/house?opendocument&H="+e+"&S="+k.season.value+"&PE="+k.people.value+"&A="+l;if(h=="x"){subwin(a,e,"750","440")}else{location.href=a}}else{house(e,"-1",b,slutDatoStr,k.people.value,k.season.value,l,h)}}function house(d,e,k,b,l,h,g,f){var a="/house.nsf/0/ESERVED=LANGUAGEESERVED=SITECODE?opendocument&H="+d+"&P="+e+"&PE="+l+"&SD="+k+"&ED="+b+"&S="+h+"&A="+g;if(f=="x"){a=a+"&_xview";subwin(a,d,"760","440")}else{location.href=a}}function housealpine(d,e,k,b,l,h,g,f){var a="/DAN/999.nsf/"+f+"/housealpine?opendocument&H="+d+"&P="+e+"&PE="+l+"&SD="+k+"&ED="+b+"&S="+h+"&A="+g;if(f=="x"){subwin(a,d,"760","540")}else{location.href=a}}function danhouse(d,e,k,b,l,h,g,f){var a="/house.nsf/0/999DAN?opendocument&H="+d+"&P="+e+"&PE="+l+"&SD="+k+"&ED="+b+"&S="+h+"&A="+g;if(f=="x"){a=a+"&_xview";subwin(a,d,"760","440")}else{location.href=a}}function checkEmail(b){var d="";if(b==""){d="You did not enter an email address"}var a=/^.+@.+..{2,3}$/;if(!(a.test(b))){d="Please enter a valid email address"}else{var e=/[()<>,;:\"[]]/;if(b.match(e)){d="The email address contains illegal characters"}}return d}function required(b){if(b.FN.value==""){alert("Please enter your name");b.FN.focus();return false}if(b.S.value==""){alert("Please enter your street name");b.S.focus();return false}if(b.STN.value==""){alert("Please enter your house number");b.STN.focus();return false}if(b.Z.value==""){alert("Please enter your post code");b.Z.focus();return false}if(b.ZC.value==""){alert("Please enter your city");b.ZC.focus();return false}if(b.PH.value==""){alert("Please enter your phone number");b.PH.focus();return false}var a=checkEmail(b.E.value);if(!(a=="")){alert(a);b.E.focus();return false}else{return true}}function reqfields(f,m,b,p,k,d,l,g,h,a,n){if(m==1){if(f.FN.value==""){alert("Please enter your name");f.FN.focus();return false}}if(b==1){if(f.SN.value==""){alert("Please enter your name");f.SN.focus();return false}}if(p==1){if(f.S.value==""){alert("Please enter your street name");f.S.focus();return false}}if(n==1){if(f.STN.value==""){alert("Please enter your house number");f.STN.focus();return false}}if(k==1){if(f.Z.value==""){alert("Please enter your post code");f.Z.focus();return false}}if(d==1){if(f.ZC.value==""){alert("Please enter your city");f.ZC.focus();return false}}if(l==1){if(f.CO[f.CO.selectedIndex].value==""){alert("Please select country");f.CO.focus();return false}else{if(f.CO[f.CO.selectedIndex].value=="000"&&f.OC.value==""){alert("Please enter country name or select country");f.OC.focus();return false}}if(g==1){if(f.PH.value==""){alert("Please enter your phone number");f.PH.focus();return false}}if(h==1){var o=checkEmail(f.E.value);if(!(o=="")){alert(o);f.E.focus();return false}else{return true}}}if(a==1){if(f.W[f.W.selectedIndex].value==""){alert("Please select where did you find us");f.W.focus();return false}}return true}function showhouse2(m,g,l,q,n,o,f){var k=0;var p=1;var d=null;for(var h=k;h<m.elements.length-p;h++){if(m.elements[h].type=="hidden"){continue}if(m.elements[h].checked){d=m.elements[h].value;var e=h;break}else{d=null}}for(var h=e;h<m.elements.length-p;h++){if(m.elements[h+1].type=="checkbox"){if(!m.elements[h+1].checked){slutDatoStr=m.elements[h+1].value;break}}else{slutDatoStr=m.elements[h+1].value;break}}if(d==null){var b="/DAN/999.nsf/x/house?opendocument&H="+g+"&O=1&S="+m.season.value+"&A="+o;anotherwin=window.open(b,g,"width=750,height=440,toolbar=no,scrollbars=yes,resizable=yes");anotherwin.focus}else{showhouse(g,"999",l,d,slutDatoStr,q,"DAN","&A="+o)}}function showhouse1(k,h,f,d,a,e,b,g){location.href="/"+b+"/"+h+".nsf/0/house?opendocument&H="+k+"&P="+f+"&SD="+d+"&ED="+a+"&PE="+e+"&&S="+g}function showhouse(d,e,f,l,b,m,g,k){var h=l.substr(l.lastIndexOf("-")+1);anotherwin=window.open("/"+g+"/"+e+".nsf/x/house?opendocument&H="+housenumer+"&P="+f+"&SD="+l+"&ED="+b+"&PE="+m+"&&S="+h+"&"+k,d,"width=760,height=440,toolbar=no,status=yes,scrollbars=yes,resizable=yes");anotherwin.focus}function showMarkers(k,f,d){var h=new Array(16);h.denmark=new Array(430000,6055000,747000,6440000);h.sweden=new Array(239444,6190000,1550556,7810000);h.norway=new Array(142380,6470000,1487619,8100000);h.holland=new Array(100000,5631904,387000,5988095);h.belgium=new Array(41000,5448571,325000,5791429);h.germany=new Array(280000,5260000,930000,6150000);h.austria=new Array(540000,4984444,1120000,5695556);h.hungary=new Array(1040000,4996667,1520000,5613333);h.poland=new Array(840000,5432414,1580000,6287586);h.czechrep=new Array(720000,5249746,1220000,5880254);h.slovakia=new Array(1070000,5211842,1480000,5738158);h.italy=new Array(300000,4080000,1340000,5320000);h.france=new Array(-550000,4517647,580000,5882353);h.croatia=new Array(850000,4706733,1300000,5253267);h.greece=new Array(1420000,3843636,2360000,5016364);h.spain=new Array(-1255859,3787594,95393,5298646);h.switzerl=new Array(265000,5305000,615000,5040000);var e=new Array(1);e[1]=new Array(k,f);var g=new Array(2);for(var b=1;b<g.length;b++){if(d!=undefined){g[b]=document.getElementById("houseMap_"+d)}else{g[b]=document.getElementById("houseMap_"+b)}}var a=new Array(2);for(var b=1;b<a.length;b++){if(d!=undefined){a[b]=document.getElementById("marker_"+d)}else{a[b]=document.getElementById("marker_"+b)}}for(var b=1;b<g.length;b++){geomap_coordinates=h[g[b].name];geomap_width=(geomap_coordinates[2]-geomap_coordinates[0]);geomap_height=(geomap_coordinates[3]-geomap_coordinates[1]);geocodes_per_pixel_width=(geomap_width/g[b].width);geocodes_per_pixel_height=(geomap_height/g[b].height);if((e[b][0]>855464&e[b][0]<897022)&(e[b][1]>6104899&e[b][1]<6152359)){leftmarker=((e[b][0]-geomap_coordinates[0])/geocodes_per_pixel_width)-47+"px";topmarker=((geomap_coordinates[3]-e[b][1])/geocodes_per_pixel_height)-64+"px"}else{if((e[b][0]<-1700000&e[b][0]>-2200000)&(e[b][1]>3100000&e[b][1]<3600000)){leftmarker=((e[b][0]-geomap_coordinates[0])/geocodes_per_pixel_width)+67+"px";topmarker=((geomap_coordinates[3]-e[b][1])/geocodes_per_pixel_height)-47+"px"}else{leftmarker=((e[b][0]-geomap_coordinates[0])/geocodes_per_pixel_width)-3+"px";topmarker=((geomap_coordinates[3]-e[b][1])/geocodes_per_pixel_height)-3+"px"}}a[b].style.left=leftmarker;a[b].style.top=topmarker;a[b].style.visibility="visible"}}function showMarker(h,e){var g=new Array(16);g.denmark=new Array(430000,6055000,747000,6440000);g.sweden=new Array(600000,6160000,1190000,7790000);g.norway=new Array(250000,6470000,1380000,8100000);g.holland=new Array(100000,5640000,387000,5980000);g.belgium=new Array(41000,5500000,325000,5740000);g.germany=new Array(280000,5260000,930000,6150000);g.austria=new Array(540000,5180000,1120000,5500000);g.hungary=new Array(1040000,5120000,1520000,5490000);g.poland=new Array(840000,5550000,1580000,6170000);g.czechrep=new Array(720000,5410000,1220000,5720000);g.slovakia=new Array(1070000,5350000,1480000,5600000);g.italy=new Array(300000,4080000,1340000,5320000);g.france=new Array(-550000,4620000,580000,5780000);g.croatia=new Array(850000,4750000,1300000,5210000);g.greece=new Array(1420000,4000000,2360000,4860000);g.spain=new Array(-1255859,3976475,95393,5109764);g.switzerl=new Array(265000,5540000,615000,5040000);var d=new Array(1);d[1]=new Array(h,e);var f=new Array(2);for(var b=1;b<f.length;b++){f[b]=document.getElementById("houseMap_"+b)}var a=new Array(2);for(var b=1;b<a.length;b++){a[b]=document.getElementById("marker_"+b)}for(var b=1;b<f.length;b++){geomap_coordinates=g[f[b].name];geomap_width=(geomap_coordinates[2]-geomap_coordinates[0]);geomap_height=(geomap_coordinates[3]-geomap_coordinates[1]);geocodes_per_pixel_width=(geomap_width/f[b].width);geocodes_per_pixel_height=(geomap_height/f[b].height);if((d[b][0]>855464&d[b][0]<897022)&(d[b][1]>6104899&d[b][1]<6152359)){leftmarker=((d[b][0]-geomap_coordinates[0])/geocodes_per_pixel_width)-47+"px";topmarker=((geomap_coordinates[3]-d[b][1])/geocodes_per_pixel_height)-64+"px"}else{if((d[b][0]<-1700000&d[b][0]>-2200000)&(d[b][1]>3100000&d[b][1]<3600000)){leftmarker=((d[b][0]-geomap_coordinates[0])/geocodes_per_pixel_width)+67+"px";topmarker=((geomap_coordinates[3]-d[b][1])/geocodes_per_pixel_height)-47+"px"}else{leftmarker=((d[b][0]-geomap_coordinates[0])/geocodes_per_pixel_width)-3+"px";topmarker=((geomap_coordinates[3]-d[b][1])/geocodes_per_pixel_height)-3+"px"}}a[b].style.left=leftmarker;a[b].style.top=topmarker;a[b].style.visibility="visible"}}function SelectCountry(a){window.location.href="/DAN/999.nsf/0/"+a+"searchalpine?OpenDocument"}function chgs(d,a){var b=location.href;oldValue="S="+d;newValue="S="+a;if(b.indexOf(oldValue)>0){b=b.replace(oldValue,newValue)}else{b=location.href+"&"+newValue}location.replace(b)}function fbs_click(a){u=a+"&WT.mc_id=FB";t=document.title;window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(u)+"&t="+encodeURIComponent(t),"sharer","toolbar=0,status=0,width=626,height=436");return false}function check_gb_form(){var a="";if(document.gb_form.gb_email.value==""){a+="Please enter valid email address"}if(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.gb_form.gb_email.value)==false){a+="Please enter valid email address"}if(a!=""){alert(a);return false}return true}function openSitemapWindow(a){sitemapWin=window.open(a,"sitemap","width=815,height=600,directories=no,status=yes,scrollbars=yes,resizable=no,menubar=no,toolbar=no")}function VisHusPopup(a){url="/house.nsf/0/999DAN?opendocument&H="+a+"&_xview";window.open(url,"","width=775,height=700,directories=no,status=yes,scrollbars=yes,resizable=yes,menubar=yes,toolbar=no")}function openWindow(a){window.open(a,"","width=580,height=460,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=yes,toolbar=no")}function goLogin(a){window.location="/appserver/Redirect?action=safe&basehref="+location.hostname+"&destination="+a}function login(){$("#loginreply").html("<img src='/site/_img/ajax-loader.gif' alt='' />");$.post("/appserver/BureauWebsite/CheckSession",$("#loginform").serialize(),function(a){if(a=="true"){var b=document.referrer;if(b!=null&&b.indexOf("BureauWebsite")!=-1){window.location=document.referrer}else{window.location="/appserver/Redirect?action=safe&basehref=&destination=https://safe.novasol.com/login/agency.html?F=A&A="+loginform.account.value}}else{setReply("loginreply","Wrong password or agency number","red")}},"text");return false}function agencySendPassword(){$.post("/appserver/BureauWebsite/SendPassword",{email:$("#email").val(),COM:"DAN",L:"999",account:$("#account").val()},function(a){if(a=="true"){setReply("sendEmailReply","The e-mail was sent","green")}else{setReply("sendEmailReply","The e-mail was not sent. Please try again with a correct e-mail address.","red")}},"text");return false}function setReply(d,b,a){$("#"+d).html(b);$("#"+d).css("color",a);$("#"+d).fadeIn("slow");setTimeout('$("#'+d+'").fadeOut("slow");',"5000")}function setOption(b,d){if(b){for(var a=0;a<b.length;a++){if(b[a].value==d){b[a].selected=true}}}}function chkSelect(a){pe=a.PE.options[document.search.PE.options.selectedIndex].value;if(a.C.type=="hidden"){c=a.C.value}else{c=a.C.options[document.search.C.options.selectedIndex].value}if(!pe||!c){alert("Please select a destination and number in party.");return false}}function doSubmit(a){if(cookielist.A){if(a.A){a.A.value=cookielist.A}}if(a.name=="search"){if(chkSelect(a)==false){return}a.action="/result.nsf/0/999dan";a.submit()}else{if(a.name=="housesearch"){go2house(a.house.value,"DAN");return false}else{a.submit()}}}function doAdvSearch(){if(cookielist.A){if(document.search.A){document.search.A.value=cookielist.A}}if(cookielist.F){if(document.search.A){document.search.A.value=cookielist.A}}document.search.action="/search.nsf/0/999danCON";document.search.submit()}function validateStartDate(theform){var s1=theform.SD.value.indexOf("-");var s2=theform.SD.value.lastIndexOf("-");var e1=theform.ED.value.indexOf("-");var e2=theform.ED.value.lastIndexOf("-");var sy=Math.abs(theform.SD.value.substr(s2+1,s2+5));var sm=Math.abs(theform.SD.value.substring(s1+1,s2));var sd=Math.abs(theform.SD.value.substr(0,s1));var ey=Math.abs(theform.ED.value.substr(e2+1,e2+5));var em=Math.abs(theform.ED.value.substring(e1+1,e2));var ed=Math.abs(theform.ED.value.substr(0,e1));var temp=new Date(sy,sm-1,sd+7);var zY=temp.getYear()<1999?temp.getYear()+1900:temp.getYear();theform.ED.value=temp.getDate()+"-"+eval(temp.getMonth()+1)+"-"+zY}function subcal(a){addWindow=window.open(a,"calendar","width=203,height=140,resizable=1,status=0,menubar=0,scrollbars=0,fullscreen=0");addWindow.focus()}function makeLink(d,b,e){findValue=document.forms[d].elements[b].value.split("-");myMonth=findValue[1];myYear=findValue[2];var a=d;if(a.search(/alpine/)>-1){subcal("/search.nsf/0/calendaralpine999?opendocument&dateField="+b+"&m="+myMonth+"&y="+myYear+"&formname="+d+"&country="+e)}else{subcal("/search.nsf/0/999dancalendar?opendocument&dateField="+b+"&m="+myMonth+"&y="+myYear+"&formname="+d+"&country="+e)}}function getCookie(k,h,n){var a=" "+document.cookie;var g=a.split(";");var m="";var b;for(var d=0;d<g.length;d++){b=k+"=";if(b==g[d].substring(1,k.length+2)){m=g[d].substring(k.length+2,g[d].length)}}if(h.length>1){if(m.length>1){m=m+"&"+h}else{m=h}}var l=m.split("&");for(var f=0;f<l.length;f++){if(l[f].indexOf("=")>0){var e=l[f].split("=");n[e[0]]=e[1]}}}function setCookie(b,k,h){var g="";var m=new Array();getCookie(b,k,m);for(key in validParametersArray){if(m[validParametersArray[key]]){g=g+validParametersArray[key]+"="+m[validParametersArray[key]]+"&"}}var a=new Date();var f="";a.setTime(a.getTime()+h*60*60*1000);var d=document.domain.split(".");if(d.length>1){f=d[d.length-2]+"."+d[d.length-1]}var l=b+"="+g+((a)?"; expires="+a.toGMTString():"")+"; path=/; domain="+f;document.cookie=l}function deleteCookie(a){var b=new Date();b.setTime(b.getTime()-1);document.cookie=a+"=;expires="+b.toGMTString()}function go2house(e,b){if((e.length==6&&b=="NOV")||(e.length>4&&e.length<7&&b=="DAN")){var a="/house.nsf/0/999"+b+"?opendocument&H="+e;if(cookielist.A){a=a+"&A="+cookielist.A}location.href=a}else{if(e.length==6&&b=="CUE"){var a="/appserver/ConsumerWebsite/ShowHouse?L=999&THEME=CON&COM="+b+"&H="+e;if(cookielist.A){a=a+"&A="+cookielist.A}location.href=a}else{var d="Please enter the 5 digit dansommer Object number (e.g. A3065)";alert(d)}}}function go2result(b){var e="";var a=document.getElementsByName("HQ");for(var g=0;g<a.length;g++){if(a[g].value){if(a[g].value.length>4&&a[g].value.length<7){e=e+"^"+a[g].value}else{e="";break}}}if(e.length>5){e=e.substring(1,e.length)}if(!e){var f="Please enter the 5 digit dansommer Object number (e.g. A3065)";alert(f)}else{var d="/result.nsf/0/list999dan?opendocument";d=d+"&SD="+b.SD.value;d=d+"&ED="+b.ED.value;d=d+"&HQ="+e;d=d+"&RTYPE=HOUSELIST";if(cookielist.A){d=d+"&A="+cookielist.A}location.href=d}}function switchform(a){if(a=="multiple"){document.getElementById("housesearch").style.display="none";document.getElementById("housesearchmultiple").style.display="inline"}else{document.getElementById("housesearch").style.display="inline";document.getElementById("housesearchmultiple").style.display="none"}}function VisHusPopup(a){url="/house.nsf/0/999DAN?opendocument&H="+a+"&_xview";window.open(url,"","width=775,height=700,directories=no,status=yes,scrollbars=yes,resizable=yes,menubar=yes,toolbar=no")}function setAdvSearchValues(){for(element in advcookielist){changevalue=true;collection=document.getElementsByName(element);if(collection.length>0){for(counter in validParametersArray){if(validParametersArray[counter]==element){changevalue=false}}if(changevalue){if(collection[0].type=="checkbox"){collection[0].checked=true}else{if(collection[0].type=="text"){collection[0].value=advcookielist[element]}else{if(collection[0].type=="select-one"){setOption(collection[0],advcookielist[element])}}}}}}}function setFieldValues(){var e=location.search;if(e.length>1){var f=new Array();var b=e.substring(1,e.length).split("&");for(var a=0;a<b.length;a++){if(b[a].indexOf("=")>0){var d=b[a].split("=");f[d[0]]=d[1]}}for(element in f){collection=document.getElementsByName(element);if(collection.length>0){if(collection[0].type=="checkbox"&&f[element]=="Y"){collection[0].checked=true}else{if(collection[0].type=="text"){collection[0].value=unescape(unescape(f[element]))}else{if(collection[0].type=="textarea"){collection[0].value=unescape(unescape(f[element]))}else{if(collection[0].type=="select-one"){setOption(collection[0],unescape(f[element]))}}}}}}}}function LatLng(b,a){this.lat=b;this.lng=a;this.toUTM=convertToUTM;this.toUTM32=convertToUTM32;this.toString=LatLngToString}function LatLngToString(){return"Lat, Long: ("+this.lat+", "+this.lng+")"}function UTMRef(e,d,a,b){this.easting=e;this.northing=d;this.southhemi=b;this.zone=a;this.toLatLng=convertFromUTM;this.toString=UTMRefToString}function UTMRefToString(){var a=this.lngZone+" "+this.easting+" "+this.northing;if(this.southhemi){a+=" southern hemisphere"}return a}var pi=3.14159265358979;var sm_a=6378137;var sm_b=6356752.314;var sm_EccSquared=0.00669437999013;var UTMScaleFactor=0.9996;function DegToRad(a){return(a/180*pi)}function RadToDeg(a){return(a/pi*180)}function ArcLengthOfMeridian(d){var f,e,b,k,h,g;var a;g=(sm_a-sm_b)/(sm_a+sm_b);f=((sm_a+sm_b)/2)*(1+(Math.pow(g,2)/4)+(Math.pow(g,4)/64));e=(-3*g/2)+(9*Math.pow(g,3)/16)+(-3*Math.pow(g,5)/32);b=(15*Math.pow(g,2)/16)+(-15*Math.pow(g,4)/32);k=(-35*Math.pow(g,3)/48)+(105*Math.pow(g,5)/256);h=(315*Math.pow(g,4)/512);a=f*(d+(e*Math.sin(2*d))+(b*Math.sin(4*d))+(k*Math.sin(6*d))+(h*Math.sin(8*d)));return a}function UTMCentralMeridian(a){var b;b=DegToRad(-183+(a*6));return b}function FootpointLatitude(g){var h,k,e,f,a,d,b;var l;b=(sm_a-sm_b)/(sm_a+sm_b);k=((sm_a+sm_b)/2)*(1+(Math.pow(b,2)/4)+(Math.pow(b,4)/64));h=g/k;e=(3*b/2)+(-27*Math.pow(b,3)/32)+(269*Math.pow(b,5)/512);f=(21*Math.pow(b,2)/16)+(-55*Math.pow(b,4)/32);a=(151*Math.pow(b,3)/96)+(-417*Math.pow(b,5)/128);d=(1097*Math.pow(b,4)/512);l=h+(e*Math.sin(2*h))+(f*Math.sin(4*h))+(a*Math.sin(6*h))+(d*Math.sin(8*h));return l}function MapLatLonToXY(q,o,d,w){var p,a,r,s,n,g;var m,h,f,e,b,v;var k;r=(Math.pow(sm_a,2)-Math.pow(sm_b,2))/Math.pow(sm_b,2);a=r*Math.pow(Math.cos(q),2);p=Math.pow(sm_a,2)/(sm_b*Math.sqrt(1+a));s=Math.tan(q);n=s*s;k=(n*n*n)-Math.pow(s,6);g=o-d;m=1-n+a;h=5-n+9*a+4*(a*a);f=5-18*n+(n*n)+14*a-58*n*a;e=61-58*n+(n*n)+270*a-330*n*a;b=61-479*n+179*(n*n)-(n*n*n);v=1385-3111*n+543*(n*n)-(n*n*n);w[0]=p*Math.cos(q)*g+(p/6*Math.pow(Math.cos(q),3)*m*Math.pow(g,3))+(p/120*Math.pow(Math.cos(q),5)*f*Math.pow(g,5))+(p/5040*Math.pow(Math.cos(q),7)*b*Math.pow(g,7));w[1]=ArcLengthOfMeridian(q)+(s/2*p*Math.pow(Math.cos(q),2)*Math.pow(g,2))+(s/24*p*Math.pow(Math.cos(q),4)*h*Math.pow(g,4))+(s/720*p*Math.pow(Math.cos(q),6)*e*Math.pow(g,6))+(s/40320*p*Math.pow(Math.cos(q),8)*v*Math.pow(g,8));return}function MapXYToLatLon(n,m,b,q){var D,k,r,A,H,g,E,C,s;var e,B,l,a,w,f,F,o;var G,p,d,z,h,I,v;D=FootpointLatitude(m);H=(Math.pow(sm_a,2)-Math.pow(sm_b,2))/Math.pow(sm_b,2);s=Math.cos(D);A=H*Math.pow(s,2);k=Math.pow(sm_a,2)/(sm_b*Math.sqrt(1+A));r=k;g=Math.tan(D);E=g*g;C=E*E;e=1/(r*s);r*=k;B=g/(2*r);r*=k;l=1/(6*r*s);r*=k;a=g/(24*r);r*=k;w=1/(120*r*s);r*=k;f=g/(720*r);r*=k;F=1/(5040*r*s);r*=k;o=g/(40320*r);G=-1-A;p=-1-2*E-A;d=5+3*E+6*A-6*E*A-3*(A*A)-9*E*(A*A);z=5+28*E+24*C+6*A+8*E*A;h=-61-90*E-45*C-107*A+162*E*A;I=-61-662*E-1320*C-720*(C*E);v=1385+3633*E+4095*C+1575*(C*E);q[0]=D+B*G*(n*n)+a*d*Math.pow(n,4)+f*h*Math.pow(n,6)+o*v*Math.pow(n,8);q[1]=b+e*n+l*p*Math.pow(n,3)+w*z*Math.pow(n,5)+F*I*Math.pow(n,7);return}function LatLonToUTMXY(d,e,a,b){MapLatLonToXY(d,e,UTMCentralMeridian(a),b);b[0]=b[0]*UTMScaleFactor+500000;b[1]=b[1]*UTMScaleFactor;if(b[1]<0){b[1]=b[1]+10000000}return a}function UTMXYToLatLon(a,g,b,f,e){var d;a-=500000;a/=UTMScaleFactor;if(f){g-=10000000}g/=UTMScaleFactor;d=UTMCentralMeridian(b);MapXYToLatLon(a,g,d,e);return}function convertToUTM(){var b=new Array(2);if(isNaN(parseFloat(this.lng))){alert("Please enter a valid longitude in the lon field.");return false}var d=parseFloat(this.lng);if((d<-180)||(180<=d)){alert("The longitude you entered is out of range.  Please enter a number in the range [-180, 180).");return false}if(isNaN(parseFloat(this.lat))){alert("Please enter a valid latitude in the lat field.");return false}var a=parseFloat(this.lat);if((a<-90)||(90<a)){alert("The latitude you entered is out of range.  Please enter a number in the range [-90, 90].");return false}zone=Math.floor((d+180)/6)+1;zone=LatLonToUTMXY(DegToRad(a),DegToRad(d),zone,b);return new UTMRef(b[0],b[1],zone,a<0)}function convertToUTM32(a,d){var b=new Array(2);if(isNaN(parseFloat(this.lng))){alert("Please enter a valid longitude in the lon field.");return false}lon=parseFloat(this.lng);if((lon<-180)||(180<=lon)){alert("The longitude you entered is out of range.  Please enter a number in the range [-180, 180).");return false}if(isNaN(parseFloat(this.lat))){alert("Please enter a valid latitude in the lat field.");return false}lat=parseFloat(this.lat);if((lat<-90)||(90<lat)){alert("The latitude you entered is out of range.  Please enter a number in the range [-90, 90].");return false}zone=32;zone=LatLonToUTMXY(DegToRad(lat),DegToRad(lon),zone,b);return new UTMRef(b[0],b[1],zone,lat<0)}function convertFromUTM(){latlon=new Array(2);if(isNaN(parseFloat(this.easting))){alert("Please enter a valid easting in the x field.");return false}if(isNaN(parseFloat(this.northing))){alert("Please enter a valid northing in the y field.");return false}if(isNaN(parseInt(this.zone))){alert("Please enter a valid UTM zone in the zone field.");return false}if((this.zone<1)||(60<this.zone)){alert("The UTM zone you entered is out of range.  Please enter a number in the range [1, 60].");return false}UTMXYToLatLon(this.easting,this.northing,this.zone,this.southhemi,latlon);return new LatLng(RadToDeg(latlon[0]),RadToDeg(latlon[1]))}function placeMapMarkers(f,l,k,a){if(f=="latlng"){var e=new LatLng(k,l);var m=e.toUTM32();l=m.easting;k=m.northing}var g=new Array(16);g.c208=new Array(430000,6055000,747000,6440000);g.c752=new Array(239444,6190000,1550556,7810000);g.c578=new Array(142380,6470000,1487619,8100000);g.c528=new Array(100000,5631904,387000,5988095);g.c056=new Array(41000,5448571,325000,5791429);g.c280=new Array(280000,5260000,930000,6150000);g.c040=new Array(540000,4984444,1120000,5695556);g.c348=new Array(1040000,4996667,1520000,5613333);g.c616=new Array(840000,5432414,1580000,6287586);g.c203=new Array(720000,5249746,1220000,5880254);g.c703=new Array(1070000,5211842,1480000,5738158);g.c380=new Array(300000,4080000,1340000,5320000);g.c250=new Array(-550000,4517647,580000,5882353);g.c191=new Array(850000,4706733,1300000,5253267);g.c300=new Array(1420000,3843636,2360000,5016364);g.c724=new Array(-1255859,3787594,95393,5298646);g.c756=new Array(265000,5540000,615000,5040000);var d=document.getElementById("houseMap_"+a);var b=document.getElementById("marker_"+a);geomap_coordinates=g[d.alt];geomap_width=(geomap_coordinates[2]-geomap_coordinates[0]);geomap_height=(geomap_coordinates[3]-geomap_coordinates[1]);geocodes_per_pixel_width=(geomap_width/d.width);geocodes_per_pixel_height=(geomap_height/d.height);if((l>855464&&l<897022)&&(k>6104899&&k<6152359)){leftmarker=((l-geomap_coordinates[0])/geocodes_per_pixel_width)-47+"px";topmarker=((geomap_coordinates[3]-k)/geocodes_per_pixel_height)-64+"px"}else{if((l<-1700000&&l>-2200000)&&(k>3100000&&k<3600000)){leftmarker=((l-geomap_coordinates[0])/geocodes_per_pixel_width)+67+"px";topmarker=((geomap_coordinates[3]-k)/geocodes_per_pixel_height)-47+"px"}else{leftmarker=((l-geomap_coordinates[0])/geocodes_per_pixel_width)-4+"px";topmarker=((geomap_coordinates[3]-k)/geocodes_per_pixel_height)-11+"px"}}b.style.left=leftmarker;b.style.top=topmarker;b.style.visibility="visible"}function isElementInArray(b,a){for(var d=0;d<b.length;d++){if(b[d]==a){return true}}return false}function convertDate_dd_mm_yyyyOryyyy_mm_dd(a,d){var b=a.split(d);if(b.length=3){return b[2]+"-"+b[1]+"-"+b[0]}else{return false}}function EOSsearchParameters(){var args=getArgs();var delimeterChar=",";var rsStr="";var parameterArrayDates=["SD","ED"];var parameterArrayValue=["C","R","SD","ED","PE","K","QE1","Q50","Q54","P","Q51","Q52","Q67","Q00"];var parameterArray=["C","R","SD","ED","PE","K","QE1","Q50","Q54","P","Q51","Q52","Q67","Q00","Q01","Q45","Q02","Q03","Q06","Q05","Q30","Q10","Q04","Q38","Q09","Q29","Q08","Q31","Q13","Q15","Q12","Q26","Q32"];for(var i=0;i<parameterArray.length;i++){var searchParameter=parameterArray[i];if(isElementInArray(parameterArrayValue,searchParameter)){if(eval("args."+parameterArray[i])){if(isElementInArray(parameterArrayDates,searchParameter)){rsStr=rsStr+convertDate_dd_mm_yyyyOryyyy_mm_dd(eval("args."+parameterArray[i]),"-")}else{rsStr=rsStr+eval("args."+parameterArray[i])}}else{rsStr=rsStr}rsStr=rsStr+delimeterChar}else{if(eval("args."+parameterArray[i])){rsStr=rsStr+"1"}else{rsStr=rsStr+"0"}rsStr=rsStr+delimeterChar}}return rsStr.substring(0,rsStr.lastIndexOf(delimeterChar))}function EOSParam(a){if(a){return a}return""}function EOSDateFormat(a){dateArray=a.split("-");if(dateArray.length<3){return a}return dateArray[2]+"-"+dateArray[1]+"-"+dateArray[0]}function EOSProfiling(r){HEIAS_T=Math.random();HEIAS_T=HEIAS_T*10000000000000000000;var b=EOSParam(r.shop_id);var o=EOSParam(r.newsletter_flag);var a=EOSParam(r.catalogorder_flag);var f=EOSParam(r.catalogorder_name);var m=EOSParam(r.product_recommendation);var e=EOSParam(r.user_searchkeywords);var l=EOSParam(r.order_article);var h=EOSParam(r.customer_zip);var w=EOSParam(r.product_onsale);var n=EOSParam(r.product_id);var p=EOSParam(r.wishlist_article);var v=EOSDateFormat(EOSParam(r.travel_start_date));var g=EOSDateFormat(EOSParam(r.travel_end_date));var q=EOSParam(r.travel_kids);var d=EOSParam(r.travel_adults);var k=EOSParam(r.travel_hotel_category);var s="https://ads.heias.com/x/heias.ret.px.fr/?PX=HT|"+HEIAS_T+"|n|5723|cus|6594|pb|1|customer_zip|"+h+"|order_article|"+l+"|shop_id|"+b+"|newsletter_flag|"+o+"|catalogorder_flag|"+a+"|catalogorder_name|"+f+"|product_recommendation|"+m+"|user_searchkeywords|"+e+"|product_onsale|"+w+"|product_id|"+n+"|wishlist_article|"+p+"|travel_start_date|"+v+"|travel_end_date|"+g+"|travel_kids|"+q+"|travel_adults|"+d+"|travel_hotel_category|"+k+"";document.write('<div id="px_div_'+HEIAS_T+'" style="position: absolute; left:0; top:0; width:0px; height:0px;"><iframe id="px_fr_'+HEIAS_T+'" name="px_fr_'+HEIAS_T+'" src="'+s+'" allowtransparency="true" framespacing="0" frameborder="no" scrolling="no" width="1" height="1"></iframe></div>')}function EOSCheckOut(h){HEIAS_T=Math.random();HEIAS_T=HEIAS_T*10000000000000000000;var g=EOSParam(h.order_article);var m=EOSParam(h.order_id);var l=EOSParam(h.order_total);var f=EOSParam(h.order_payment_method);var e=EOSParam(h.customer_status);var a=EOSParam(h.customer_zip);var k=EOSDateFormat(EOSParam(h.travel_start_date));var d=EOSDateFormat(EOSParam(h.travel_end_date));var o=EOSParam(h.travel_kids);var n=EOSParam(h.travel_adults);var b=EOSParam(h.travel_hotel_category);document.write('<script language="JavaScript" type="text/javascript" src="https://ads.heias.com/x/heias.cpa/count.px.js/?PX=HT|'+HEIAS_T+"|cus|6594|pb|1|order_article|"+g+"|order_payment_method|"+f+"|order_id|"+m+"|order_total|"+l+"|customer_status|"+e+"|customer_zip|"+a+"|travel_start_date|"+k+"|travel_end_date|"+d+"|travel_kids|"+o+"|travel_adults|"+n+"|travel_hotel_category|"+b+'"><\/script>')}function checkSession(a){if(document.cookie.indexOf("agencySession=")!=-1){if(a){jQuery("#mainmenu_login").html("Travel Agency");jQuery("#mainmenu_login").attr("href","https://safe.novasol.com/login/agency.html")}else{jQuery.post("/appserver/BureauWebsite/CheckSession",{COM:"DAN",L:"999"},function(b){if(b=="false"){window.location="http://www.dansommer.com"}else{jQuery("#mainmenu_login").html("Travel Agency");jQuery("#mainmenu_login").attr("href","https://safe.novasol.com/login/agency.html")}})}}else{if(!a){window.location="http://www.dansommer.com"}}}function generateAreaOptions(b){var a=document.search.R;a.options.length=1;var d=new Array();d["752"]="^CENTRAL SWEDEN|MELSV^- Stockholm/Mälardalen|S43^- Värmland/Dalsland|S45^- Dalarna|S46^NORTHERN SWEDEN|NORSV^- Northern Sweden|S49^SOUTHERN SWEDEN|SYDSV^- Skåne|S01^- Halland|S02^- Blekinge|S03^- Småland|S04^- Västergötland/Göteborg|S07^- Bohuslän|S08^- Östergötland/Närke|S09^- Öland|S41^Gotland|S42";d["100"]="^BOURGAS|BBURG^- Sunny Beach - Bourgas north|BGS^- Black Sea Coast - Bourgas south|BGZ^VARNA|BVARN^- Black Sea Coast - Varna south|BGM^- Northern Black Sea Coastline|BGN^- Varna and surroundings|BGV";d["040"]="^CENTRAL AUSTRIA|CENTR^- Province of Salzburg|ASA^EASTER AUSTRIA|EASTH^- Burgenland|ABU^NORTHERN AUSTRIA|NORTH^- Lower Austria|ANO^- Upper Austria|AOE^SOUTHERN AUSTRIA|SOUTH^- Carinthia|AKA^- Styria|AST^WESTERN AUSTRIA|WESTH^- Tirol|ATI^- Voralberg|AVO";d["616"]="^CENTRAL POLAND|CEPOL^- Wielkopolska|PPW^NORTHERN POLAND|NOPOL^- Pomorze/Kaszubes|PKA^- Mazury|PMA^- Baltic Sea Region|PPO^- Rowy/Baltic sea Region|PRO^SOUTHERN POLAND|SOPOL^- Beskidy Mountains/Hohe Tatra|PPG^- The Sudeten Mountains|PPZ";d["280"]="^Whole of GERMANY|TYSKL^- The Harz & region|DAN^- Bavaria|DBA^- Brandenburg|DBB^- Berlin|DBE^- Lake Constance|DBO^- Black Forest|DBW^- Kurhessisches Bergland|DHE^- Lüneburg Heath|DLH^- Mecklenburg coast|DMK^- Rügen|DMR^- Usedom|DMU^- Mecklenburg-Western Pomerania|DMV^- Niedersachsen-north|DNS^- Sauerland|DNW^- Mosel/Eifel/Hunsrück|DRP^- Vogtland/Ore Mountains/Saxon Switzerland|DSA^- Schleswig Holstein|DSH^- Thuringia|DTH^- Unteres Saaletal|DUS^- Weserbergland|DWE^- Westerwald|DWW";d["056"]="^Whole of BELGIUM|BELG^- The Ardennes|BAR^- Limburg|BLI^- Flanders|BVA^- Flemish Brabant|BVB";d["528"]="^Whole of NEDERLAND|HOLLA^- The Coast region|HKU^CENTRAL HOLLAND|MIDTH^- Gelderland|HGE^- Overijssel|HOV^- Utrecht|HUT^NORTHERN HOLLAND|NORDH^- Drenthe|HDR^- Friesland|HFR^- Groningen|HGR^- Northern Holland|HNH^SOUTHERN HOLLAND|SYDLH^- Limburg|HLI^- Noord-Brabant|HNB";d["203"]="^Whole of CZECH REPUBLIC|TJEK^- The Bohemian Forests|TBB^- The Bohemian Mountains|TBG^- Central Bohemia|TBM^- Northern Bohemia|TBN^- Eastern Bohemia|TBO^- Prague|TBP^- Southern Bohemia|TBS^- Environs of Prague|TBU^- Western Bohemia|TBW^- The Western Beskidy Mountains|TMB^- The Highlands|TMH^- Northern Mähren|TMN^- Southern & central Mähren|TMS";d["352"]="^ICELAND|ISLAN^- East|ICE^- North|ICN^- South|ICS^- West|ICW";d["250"]="^AQUITAINE|FAQUI^- Dordogne|FAD^- Gironde|FAG^- Landes|FAL^- Pyrénées Atlantiques|FAP^- Lot et Garonne|FAT^THE ATLANTIC OCEAN|FATLA^- Charente Maritime|FCH^- Vendée|FVE^BRITTANY|FBR^- Côte d´Amor|FBC^- Finistére|FBF^- Ille and Vilaine|FBI^- Loire Atlantique|FBL^- Morbihan|FBM^CENTRE-LOIRE|FCELO^- Centre|FEC^CÕTE D`AZUR|FCOTE^- Alpes Maritimes|FCA^- Var|FCV^CORSICA|FKORS^- Corsica|FKO^LANGUEDOC-ROUSSILLON|FLANG^- Aude|FLA^- Gard|FLG^- Hérault|FLH^- Lozère|FLL^- Pyrénées Orientales|FLP^NORMANDY|FNORM^- Calvados|FNC^- Manche|FNM^- Orne|FNO^- Seine Maritimes|FNS^PROVENCE-DRÔME-ARDÈCHE|FPROV^- Alpes de haute Provence|FPA^- Bouches du Rhône|FPB^- Drôme|FPD^- Vaucluse|FPV^- Ardèche|FRA^MIDI-PYRÉNÉES|FPYRE^- Lot|FML";d["246"]="^FINLAND|FINLA^- Lake district|SLA^- North|SNA^- South|SSA^- West|SWA";d["348"]="^BALATON|UBALA^- Balaton sydvest|UBF^- Balaton north|UBN^- Balaton South|UBS^- Balaton west|UBW^Whole of HUNGARY|UNGAR^- Budapest|UBP^- Tata|UBU^- The Danube-island|UDI^- The Danube Knee|UDK^- Fertö-Neusiedler See|UFT^- The Lake Velence|UHB^- Mátra/Bükk|UMB^- The Lake Theis|UTS^- Zalakaros|UWZ";d["208"]="^Bornholm|BH^- |H0^Funen|FY^- D2 Western Funen|D2^- E1 Southern Funen, Langeland|E1^- E2 Eastern Funen|E2^Limfjord|LF^- B5 Limfjord|B5^- B6 Limfjord|B6^- C5 Limfjord|C5^- C6 Limfjord|C6^North Sea coast north|NN^- C7 Jammerbugten south, Hanstholm, Torup|C7^- D7 Jammerbugten|D7^- D8 Jammerbugten|D8^- E8 Skagen, Bratten, Ålbæk|E8^North Sea coast south|NS^- A1 Rømø|A1^- A2 Fanø|A2^- A3 Blåvand, Henne, Bjerregård|A3^- A4 Holmsland Klit, Årgab|A4^- A5 Vejlby Klit, Vrist, Fjand|A5^- A6 Klitmøller, Vorupør, Agger|A6^- B1 Arrild Ferieby, Skærbæk|B1^- B2 Ribe|B2^- B3 Ringkøbing Fjord|B3^- B4 Stauning Vesterstrand|B4^Baltic Sea coast north|ON^- D5 Central Jutland|D5^- D6 Helberskov, Øster Hurup|D6^- E4 Ebeltoft/Mols|E4^- E5 North of Djursland|E5^- E6 Hals|E6^- E7 Sæby, Lyngså|E7^Baltic Sea coast south|OS^- C1 Southern Jutland|C1^- C2 Hejlsminde|C2^- C3 Central Jutland|C3^- C4 Central Jutland|C4^- D1 Als|D1^- D3 Juelsminde, Pøt Strand, Vejle/Fredericia area|D3^- D4 Environs of Århus|D4^- E3 Samsø|E3^Zealand|SJ^- F0 Lolland, Falster, Møn|F0^- F1 Lolland, Falster, Møn|F1^- F2 Southern Zealand|F2^- F3 Western Zealand|F3^- G0 Lolland, Falster, Møn|G0^- G1 Lolland, Falster, Møn|G1^- G2 Southern Zealand|G2^- G3 Roskilde Fjord, Copenhagen|G3^- G4 Northern Zealand|G4";d["703"]="^Whole of SLOVAKIA|SLOV^- Central Slowakia|TSM^- Eastern Slovakia|TSO^- Tatra Mountains|TST^- Western Slovakia|TSW";d["756"]="^SCHWEIZ|SCHWE^- |ZCE^- GRAUBUENDEN|ZGR";d["191"]="^CENTRAL DALMATIA|DALMM^- Brac island|CDB^- Island Hvar|CDH^- Vis island|CDK^- Ciovo Island|CDM1^- Drvenik Veli Island|CDM2^- Drvenik Mali Island|CDM3^- Makarska|CDM4^- Omis|CDM5^- Split|CDM6^- Trogir|CDM7^- Solta island|CDO^NORTHERN DALMATIA|DALMN^- Biograd|CDN1^- Nin|CDN2^- Starigrad Paklenica|CDN3^- Vir Island|CDN4^- Zadar|CDN5^- Dugi Otok Island|CDU1^- Rivanj Island|CDU10^- Ist Island|CDU2^- Iz Island|CDU3^- Molat Island|CDU4^- Pasman Island|CDU5^- Rava Island|CDU6^- Ugljan Island|CDU8^- Drnis|CDV1^- prvic Island|CDV10^- kaprije Island|CDV2^- Krapanj Island|CDV3^- Murter Island|CDV4^- Primosten|CDV5^- Rogoznica|CDV6^- Sibenik|CDV7^- Vodice|CDV8^- Zlarin Island|CDV9^SOUTHERN DALMATIA|DALMS^- Dubrovnik Riviera|CDD^- Peljesac peninsula|CDP^- Neretva Delta|CDR^- Korcula island|CDS^ISTRIA|ISTRI^- Premantura|CIA^- Banjole|CIB^- Porec|CIE1^- Vrsar|CIE2^- Fazana|CIF1^- Barbariga|CIF2^- East coast|CIK^- Rabac|CIK1^- Labin|CIK2^- Krnica|CIK3^- Duga Uvala|CIK4^- Istria hinterland|CIL^- Barban|CIL1^- Ucka|CIL10^- Visnjan|CIL11^- Vodnjan|CIL12^- Zminj|CIL13^- Bale|CIL14^- Buje|CIL2^- Buzet|CIL3^- Kanfanar|CIL4^- Motovun|CIL5^- Pazin|CIL6^- Sv. Lovrec|CIL7^- Svetvincenat|CIL8^- Tinjan|CIL9^- Medulin|CIM^- Pula|CIP^- Umag & Novigrad|CIU^- Umag|CIU1^- Novigrad|CIU2^- Rovinj|CIV^- Liznjan|CIZ^KVARNER BAY|KVARN^- Gorski Kotar|CKB1^- Lika|CKB2^- Crikvenica|CKC^- KrK|CKK^- Cres island|CKL1^- Losinj island|CKL2^- Ilovik island|CKL3^- Susak Island|CKL4^- Novi Vinodolski|CKN^- Opatija|CKO^- Pag|CKP^- Rab|CKR^- Senj and the coast down|CKV^- Karlobag|CKV1^- Senj|CKV2";d["724"]="^THE CANARY ISLANDS|CANAR^- Fuerteventura|EFU^- Gran Canary|EGR^- El Hierro|EHI^- Lanzarote|ELA^- La Palma|EPA^- Tenerife|ETE^Majorca|EML^MAINLAND|ESPAN^- Costa del Sol/Andalusia|EAN^- Costa Blanca|EBL^- Costa Brava|ECB^- Costa Calida|ECC^- Costa Dorada|EDO";d["578"]="^HORDALAND|HORDA^- Southern Hordaland|N18^- Hardanger|N19^- Northern Hordaland|N20^TRØNDELAG|MIDTN^- Northern Trøndelag|N38NT^- Southern Trøndelag|N38ST^MØRE & ROMSDAL|MORO^- Sunnmøre|N27^- Romsdal|N28^- Nordmøre|N29^MOUNTAIN AREA|MOUNT^- Hedmark|N30^- Oppland|N31^- Buskerud north|N33^- Telemark & Indre Agder|N35^NORTH NORWAY|NORDN^- Nordland & Lofoten|N39NO^- Troms|N39TR^OSLOFJORDEN|OSLOF^- Akershus|N37AK^- Buskerud Sør|N37BU^- Østfold|N37OF^- Vestfold|N37VF^ROGALAND|ROGA^- Southern Rogaland|N15^- Ryfylke|N16^- Northern Rogaland|N17^SOGN & FJORDANE|SOFJ^- Ydre Sogn|N21^- Midt Sogn|N22^- Indre Sogn|N23^- Sunnfjord|N24^- Ydre Nordfjord|N25^- Indre Nordfjord|N26^SOUTHERN NORWAY|SOUTN^- Innland|N34^- Coast|N36";d["792"]="^TURKEY|TYRKI^- Southern Aegean and Lycian Coast|TLK^- Northern and Middle Aegean Coast|TMA^- Turkish Riviera|TRV";d["380"]="^BASILICATA|IBASI^- Ionian Coast|IBJ^- Tyrrhenian coast|IBT^EMILIA-ROMAGNA COAST|IEMIL^- Emilia-Romagna countryside|IEC^- Emilia-Romagna Adriatic coast|IEK^FRIULI|IFRIA^- Friuli countryside|IFC^- Friuli - coast of Adriatic Sea|IFK^CALABRIA|IKALA^- Calabria|IKK^CAMPANIA|IKAMP^- Amalfi coast|IKA^- Cilento/Salerno bay|IKC^- Gaeta and Baia Domizia|IKG^- Sorrento coast|IKS^LATIUM|ILATI^- Rome|IRO^- Environs of Latium|IRU^LIGURIA|ILIGU^- Liguria|ILL^MARCHES|IMARK^- Marches|IMM^NORTHERN LAKES|INORD^- Garda Lake|IVG^- Lake Maggiore|IVM^APULIA|IPUGL^- Apulia|ISA^SARDINIA|ISARD^- Sardinia|ISD^SICILY|ISIZI^- Sicily|ISS^TUSCANY|ITOSC^- Arezzo/Cortona and surroundings|ITA^- Florentine|ITB^- Chianti|ITC^- Environs of Florence|ITF^- Grosseto and surroundings|ITG^- Lucca and surroundings|ITL^- San Gimignano and Volterra|ITN^- Pisa and surroundings|ITP^- Siena and surroundings|ITS^- Montecatini/Pistoia and surroundings|ITT^TUSCANY COAST|ITOSK^- Elba Island|ITE^- Etruscan Coast|ITK^- Argentario/Maremma|ITM^- Versilia|ITV^UMBRIA|IUMBR^- Perugia and surroundings|IUP^- Spoleto and surroundings|IUS^- Trasimeno Lake|IUT^VENICE|IVE^- Veneto countryside|IVC^- Veneto coast|IVK^- Venice|IVV";d["300"]="^Corfu|GCF^Chios|GCH^Cyprus|GCY^Crete|GKR^Lesbos|GLE^MAINLAND|GMAIN^- Athens|GAT^- Chalkidiki|GHA^- Peloponese|GPE^CYCLADES|KYKLA^- Kea|GKK^- Paros|GKP^- Syros|GKS^THESSALIEN|THESS^- Pelion|GPI^- Thessalien|GTH";optionlist=d[b].substring(1).split("^");for(i=0;i<optionlist.length;i++){valueset=optionlist[i].split("|");a.options[i+1]=new Option(valueset[0],valueset[1],true,false)}}function nmtrack(){function x(M,K,e){var J=new Array();if(K==null){K=document}if(e==null){e="*"}var I=K.getElementsByTagName(e);var H=I.length;var L=new RegExp("(^|\\s)"+M+"(\\s|$)");for(y=0,j=0;y<H;y++){if(L.test(I[y].className)){J[j]=I[y];j++}}return J}function r(I){if(!I){return""}var e="";for(var H=0;H<I.childNodes.length;H++){switch(I.childNodes.item(H).nodeType){case 1:e+=r(I.childNodes.item(H));break;case 3:e+=I.childNodes.item(H).nodeValue;break}}return e}function z(e){return e.replace(/^[\s\xA0]+|[\s\xA0]+$/g,"")}try{var n="novasol";var q="";if(q==""){var g=[];var d=document.getElementById("navPathArea");var o=x("currentLocation");if(d!=null){var a=d.getElementsByTagName("a");for(var y=0;y<a.length;y++){g[g.length]=a[y].innerHTML}var v=d.getElementsByTagName("span");g[g.length]=v[v.length-1].innerHTML}else{if(o.length>0){g=r(g[0]).split(" > ")}else{if(new String(document.location).indexOf("/booking")!=-1){g[g.length]="Home";g[g.length]="Booking";var l=x("BOKSTPsteptable");var k=l[0].getElementsByTagName("b")[0].parentNode.parentNode.getElementsByTagName("img")[0].alt;g[g.length]="Step "+k}}}var B=[];for(var y=1;y<g.length;y++){B[B.length]=z(g[y])}q=B.join(" > ")}var p=new String(window.document.location);var b=p;try{var C=new String(top.document.location);b=C.indexOf("nm_extag")!=-1?C:b}catch(A){}if(q==""){q=document.title}var h="";var F=document.cookie;if(F.indexOf("nm_exref")!=-1){var w=F.split(";");for(y=0;y<F.length;y++){var E=new String(w[y]);var s=E.indexOf("nm_exref");if(s!=-1){h=new String(E.substr(s+9))}}document.cookie="nm_exref="}if(h==""){h=document.referrer;try{h=top.document.referrer}catch(A){}}var D=b.indexOf("nm_extag=");var f="";if(D!=-1){D+=9;var m=b.indexOf("&",D);f=m==-1?b.substr(D):b.substr(D,m-D);f=encodeURIComponent(f)}q=encodeURIComponent(q);p=encodeURIComponent(p);h=encodeURIComponent(h);f=encodeURIComponent(f);if(q.length>250){q=q.slice(0,246)+"..."}if(p.length>800){p=p.slice(0,796)+"..."}if(h.length>800){h=h.slice(0,796)+"..."}var G=document.createElement("SCRIPT");G.language="javascript";G.src="http"+(document.location.protocol=="https:"?"s":"")+"://"+n+".netminers.dk/tracker/dispatch.aspx?action=log&n="+Math.random()+"&nav="+p+"&cid="+n+(h.length>0?("&ref="+h):"")+"&ti1="+q+"&ext="+f;document.getElementsByTagName("body")[0].appendChild(G)}catch(A){}}function googleAreaMapInitialize(b){var d=new Array();d["191"]=new Array(45.1667,15.5,5);d["250"]=new Array(46,2,5);d["300"]=new Array(39,22,5);d["380"]=new Array(42.8333,12.8333,5);d["724"]=new Array(40,-4,5);var a=d[b];if(a){var e=new GMap2(document.getElementById("map_canvas"));e.setCenter(new GLatLng(a[0],a[1]),a[2]);e.disableDragging()}}jQuery(document).ready(function(){jQuery(".inputtext").focusin(function(){if(jQuery(this).val()==jQuery(this).attr("title")){jQuery(this).val("")}});jQuery(".inputtext").focusout(function(){if(jQuery(this).val()==""||jQuery(this).val()==jQuery(this).attr("title")){jQuery(this).val(jQuery(this).attr("title"));jQuery(this).css("color","#999")}});jQuery(".inputtext").each(function(){jQuery(this).val(jQuery(this).attr("title"));jQuery(this).css("color","#999")});jQuery(".inputtext").keydown(function(){jQuery(this).attr("style","")})});function encodeStr(b){var a;if(encodeURIComponent){a=encodeURIComponent(b)}else{a=escape(b)}return a};