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="/NOV/578.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="/NOV/578.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/578NOV?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="Du har ikke oppgitt e-postadresse"}var a=/^.+@.+..{2,3}$/;if(!(a.test(b))){d="Vennligst oppgi en gyldig e-postadresse"}else{var e=/[()<>,;:\"[]]/;if(b.match(e)){d="E-postadressen inneholder ugyldige tegn"}}return d}function required(b){if(b.FN.value==""){alert("Vennligst fyll inn ditt navn");b.FN.focus();return false}if(b.S.value==""){alert("Vennligst fyll inn din gateadresse");b.S.focus();return false}if(b.STN.value==""){alert("Indtast venligst dit husnummer");b.STN.focus();return false}if(b.Z.value==""){alert("Vennligst fyll inn ditt postnummer");b.Z.focus();return false}if(b.ZC.value==""){alert("Vennligst fyll inn ditt poststed");b.ZC.focus();return false}if(b.PH.value==""){alert("Vennligst fyll inn ditt telefonnummer");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("Vennligst fyll inn ditt navn");f.FN.focus();return false}}if(b==1){if(f.SN.value==""){alert("Vennligst fyll inn ditt navn");f.SN.focus();return false}}if(p==1){if(f.S.value==""){alert("Vennligst fyll inn din gateadresse");f.S.focus();return false}}if(n==1){if(f.STN.value==""){alert("Indtast venligst dit husnummer");f.STN.focus();return false}}if(k==1){if(f.Z.value==""){alert("Vennligst fyll inn ditt postnummer");f.Z.focus();return false}}if(d==1){if(f.ZC.value==""){alert("Vennligst fyll inn ditt poststed");f.ZC.focus();return false}}if(l==1){if(f.CO[f.CO.selectedIndex].value==""){alert("Velg land");f.CO.focus();return false}else{if(f.CO[f.CO.selectedIndex].value=="000"&&f.OC.value==""){alert("Vennligst fyll inn navn på land");f.OC.focus();return false}}if(g==1){if(f.PH.value==""){alert("Vennligst fyll inn ditt telefonnummer");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("Vennligst fyll inn hvor du har hørt om oss");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="/NOV/578.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,"578",l,d,slutDatoStr,q,"NOV","&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="/NOV/578.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+="Vennligst fyll inn en gyldig e-postadresse"}if(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.gb_form.gb_email.value)==false){a+="Vennligst fyll inn en gyldig e-postadresse"}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/578NOV?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","Forkert bureaunummer eller password","red")}},"text");return false}function agencySendPassword(){$.post("/appserver/BureauWebsite/SendPassword",{email:$("#email").val(),COM:"NOV",L:"578",account:$("#account").val()},function(a){if(a=="true"){setReply("sendEmailReply","E-mail sendt","green")}else{setReply("sendEmailReply","E-mail er ikke afsendt. Kontroller indtastningen.","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("Vennligst velg destinasjon og antall personer");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/578nov";a.submit()}else{if(a.name=="housesearch"){go2house(a.house.value,"NOV");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/578novCON";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/calendaralpine578?opendocument&dateField="+b+"&m="+myMonth+"&y="+myYear+"&formname="+d+"&country="+e)}else{subcal("/search.nsf/0/578novcalendar?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/578"+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=578&THEME=CON&COM="+b+"&H="+e;if(cookielist.A){a=a+"&A="+cookielist.A}location.href=a}else{var d="Vennligst angi et sekssifret NOVASOL husnummer (eks.N36519)";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==6){e=e+"^"+a[g].value}else{e="";break}}}if(e.length>6){e=e.substring(1,e.length)}if(!e){var f="Vennligst angi et sekssifret NOVASOL husnummer (eks.N36519)";alert(f)}else{var d="/result.nsf/0/list578nov?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/578NOV?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|6593|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|6593|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("Rejsebureau");jQuery("#mainmenu_login").attr("href","https://safe.novasol.com/login/agency.html")}else{jQuery.post("/appserver/BureauWebsite/CheckSession",{COM:"NOV",L:"578"},function(b){if(b=="false"){window.location="http://www.novasol.no"}else{jQuery("#mainmenu_login").html("Rejsebureau");jQuery("#mainmenu_login").attr("href","https://safe.novasol.com/login/agency.html")}})}}else{if(!a){window.location="http://www.novasol.no"}}}function generateAreaOptions(b){var a=document.search.R;a.options.length=1;var d=new Array();d["752"]="^MELLOM-SVERIGE|MELSV^- Stockholm/Mälardalen|S43^- Värmland/Dalsland|S45^- Dalarna|S46^NORD-SVERIGE|NORSV^- Nord-Sverige|S49^SØR-SVERIGE|SYDSV^- Skåne|S01^- Halland|S02^- Blekinge|S03^- Småland|S04^- Västergötaland/Göteborg|S07^- Bohuslän|S08^- Östergötland/Närke|S09^- Öland|S41^Gotland|S42";d["100"]="^BURGAS|BBURG^- Sunny Beach-Kysten nord for Burgas|BGS^- Svartehavskysten Burgas Syd|BGZ^VARNA|BVARN^- Svartehavskysten-Varna Syd|BGM^- Den nordlige Svartehavskysten|BGN^- Varna og omegn|BGV";d["040"]="^MELLEMØSTERRIKE|CENTR^- Salzburgerland|ASA^ØSTLIGE ØSTERRIKE|EASTH^- Burgenland|ABU^NORLIGE ØSTERRIKE|NORTH^- Niederösterreich|ANO^- Oberösterreich|AOE^SØRLIGE ØSTERRIKE|SOUTH^- Kärnten|AKA^- Steiermark|AST^VESTLIGE ØSTERRIKE|WESTH^- Tyrol|ATI^- Voralberg|AVO";d["616"]="^MELLEMPOLEN|CEPOL^- Wielkopolska|PPW^NORDLIGE POLEN|NOPOL^- Kaschuberne|PKA^- Masuren|PMA^- Østersjøkysten|PPO^- Rowy|PRO^SØRLIGE POLEN|SOPOL^- Beskidyfjellene/Høje Tatra|PPG^- Sudeterne|PPZ";d["280"]="^Hele TYSKLAND|TYSKL^- Harzen & omegn|DAN^- Bayern|DBA^- Brandenburg|DBB^- Berlin|DBE^- Bodensjøen|DBO^- Schwarzwald|DBW^- Kurhessisches Bergland|DHE^- Lüneburger Heide|DLH^- Mecklenburg Kyst|DMK^- Rügen|DMR^- Usedom|DMU^- Mecklenburg-Vorpommern|DMV^- Norra Niedersachsen|DNS^- Sauerland|DNW^- Mosel/Eifel/Hunsrück|DRP^- Vogtland/Erzgebirge/Sachsen|DSA^- Schleswig-Holstein|DSH^- Thüringen|DTH^- Unteres Saaletal|DUS^- Weserbergland|DWE^- Westerwald|DWW";d["056"]="^Hele BELGIA|BELG^- Ardennerne|BAR^- Limburg|BLI^- Vlaanderen|BVA^- Flamsk Brabant|BVB";d["208"]="^BORNHOLM|BORNH^- Balka, Dueodde, Sømarken|I50^- Sørvestbornholm|I53^- Nordbornholm/Allinge/Sandvig|I55^- Østbornholm/Neksø/Snogebæk|I57^FANØ|FANO^- Fanø|M21^FYN, LANGELAND, TÅSINGE|FYN^- Langeland & Tåsinge|G10^- Fyn|G51^LIMFJORDEN|LIMFJ^- Limfjorden|L50^LOLLAND, FALSTER, MØN|LOLL^- Falster|K05^- Lolland|K10^- Falster, Marielyst|K11^- Møn|K30^NORDJYLLAND|NORDJ^- Skagen & Tannisbukten|A01^- Nordvestkysten/Jammerbukten|A03^- Nordøstkysten, Hou, Hals|A16^NORDVESTJYLLAND|NORVJ^- Nordvestkysten, Vorupør|B01^- Jammerbukten/Han Herred|B60^ØSTJYLLAND|OSTJ^- Mols, Ebeltoft|D01^- Østhimmerland|D60^- Norddjursland/Fjellerup Strand|D70^- Østjylland, Juelsminde, Vejle/Fredericia omr.|D80^RØMØ|ROMO^- Rømø|R10^- Sørlige vadehav/Arrild Ferieby|S10^SJÆLLAND|SJELL^- Nordsjælland, Hornbæk, Gilleleje|E01^- Helsingør|E01X^- Nordvestsjælland, Sejerøbugten|E16^- Vestsjælland|E20^- Sørsjælland|K50^- Sørøstsjælland|K51^SØNDERJYLLAND|SONDJ^- Sørøstkysten, Hejlsminde|F02^- Als|F09^VESTKYSTEN|VESTK^- Holmsland Klit Nord/Søndervig|C01^- Fjand, Vrist, Vejlby Klit, Thorsminde|C71^- Ringkøbing Fjord Nord|C81^- Blåvand, Vejers, Ho, Grærup, Mosevrå|P32^- Houstrup, Jegum, Henne Strand, Lønne|P42^- Ringkøbing Fjord Syd, Bork Havn|P52^- Holmsland Klit Syd, Bjerregård|P62^- Kvie Sø|P85";d["528"]="^Hele NEDERLAND|HOLLA^- Kystområdet|HKU^MELLOM HOLLAND|MIDTH^- Gelderland|HGE^- Overijssel|HOV^- Utrecht|HUT^NORDLIGE HOLLAND|NORDH^- Drenthe|HDR^- Friesland|HFR^- Groningen|HGR^- Nord-Holland|HNH^SØRLIGE HOLLAND|SYDLH^- Limburg|HLI^- Noord-Brabant|HNB";d["203"]="^Hele TSJEKKIA|TJEK^- De Bøhmiske Skoger|TBB^- De Bøhmiske fjell|TBG^- Mellombøhmen|TBM^- Nordbøhmen|TBN^- Østbøhmen|TBO^- Praha|TBP^- Sørbøhmen|TBS^- Prahas omegn|TBU^- Vestbøhmen|TBW^- Vestbeskidyfjellene|TMB^- Høylandet|TMH^- Nordmähren|TMN^- Sør- og Mellommähren|TMS";d["352"]="^ISLAND|ISLAN^- Øst|ICE^- Nord|ICN^- Sør|ICS^- Vest|ICW";d["250"]="^AQUITAINE|FAQUI^- Dordogne|FAD^- Gironde|FAG^- Landes|FAL^- Pyrénées Atlantiques|FAP^- Lot et Garonne|FAT^ATLANTIQUE|FATLA^- Charente Maritime|FCH^- Vendée|FVE^BRETAGNE|FBR^- Côte d´Amor|FBC^- Finistére|FBF^- Ille og Vilaine|FBI^- Loire Atlantique|FBL^- Morbihan|FBM^CENTRE-LOIRE|FCELO^- Centre|FEC^CÕTE D`AZUR|FCOTE^- Alpes Maritimes|FCA^- Var|FCV^KORSIKA|FKORS^- Korsika|FKO^LANGUEDOC-ROUSSILLON|FLANG^- Aude|FLA^- Gard|FLG^- Hérault|FLH^- Lozère|FLL^- Pyrénées Orientales|FLP^NORMANDIE|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^- Sjøområder|SLA^- Nord|SNA^- Sør|SSA^- Vest|SWA";d["348"]="^BALATON|UBALA^- Balaton sydvest|UBF^- Balaton nord|UBN^- Balaton sør|UBS^- Balaton vest|UBW^Hele UNGARN|UNGAR^- Budapest|UBP^- Tata området|UBU^- Donau-øya|UDI^- Donaukneet|UDK^- Neusiedler sjøen|UFT^- Velencesjøen|UHB^- Mátra/Bükk|UMB^- Theissjøen|UTS^- Zalakaros|UWZ";d["703"]="^Hele SLOVAKIA|SLOV^- Mellomslovakia|TSM^- Østslovakia|TSO^- Tatrafjellene|TST^- Vestslovakia|TSW";d["756"]="^SCHWEIZ|SCHWE^- SCHWYZ|ZCE^- GRAUBUENDEN|ZGR";d["191"]="^MELLOM DALMATIA|DALMM^- Øyen Brac|CDB^- Ø Hvar|CDH^- Øyen Vis|CDK^- Øya Ciovo|CDM1^- Øya Drvenik Veli|CDM2^- Øya Drvenik Mali|CDM3^- Makarska|CDM4^- Omis|CDM5^- Split|CDM6^- Trogir|CDM7^- øyen Solta|CDO^NORD DALMATIA|DALMN^- Biograd|CDN1^- Nin|CDN2^- Starigrad Paklenica|CDN3^- Øen Vir|CDN4^- Zadar|CDN5^- Øya Dugi Otok|CDU1^- Øya Rivanj|CDU10^- Øya Ist|CDU2^- Øya Iz|CDU3^- Øya Molat|CDU4^- Øya Pasman|CDU5^- Øya Rava|CDU6^- Øya Ugljan|CDU8^- Drnis|CDV1^- Øen Prvic|CDV10^- Øya Kaprije|CDV2^- Øya Krapanj|CDV3^- Øya Murter|CDV4^- Primosten|CDV5^- Rogoznica|CDV6^- Sibenik|CDV7^- Vodice|CDV8^- Øya Zlarin|CDV9^SØR DALMATIA|DALMS^- Dubrovnik Rivieraen|CDD^- Halvøyen Peljesac|CDP^- Neretva Delta|CDR^- Øyen Korcula|CDS^ISTRIA|ISTRI^- Premantura|CIA^- Banjole|CIB^- Porec|CIE1^- Vrsar|CIE2^- Fazana|CIF1^- Barbariga|CIF2^- Østkysten|CIK^- Rabac|CIK1^- Labin|CIK2^- Krnica|CIK3^- Duga Uvala|CIK4^- Istria innlandet|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 BUKTEN|KVARN^- Gorski Kotar|CKB1^- Lika|CKB2^- Crikvenica|CKC^- KrK|CKK^- Øyen Cres|CKL1^- Øyen Losinj|CKL2^- Øyen Ilovik|CKL3^- Øyen Susak|CKL4^- Novi Vinodolski|CKN^- Opatija|CKO^- Pag|CKP^- Rab|CKR^- Senj og kysten nedover|CKV^- Karlobag|CKV1^- Senj|CKV2";d["724"]="^KANARIØYENE|CANAR^- Fuerteventura|EFU^- Gran Canaria|EGR^- El Hierro|EHI^- Lanzarote|ELA^- La Palma|EPA^- Tenerife|ETE^Mallorca|EML^FASTLAND|ESPAN^- Costa del Sol/Andalusia|EAN^- Costa Blanca|EBL^- Costa Brava|ECB^- Costa Calida|ECC^- Costa Dorada|EDO";d["578"]="^HORDALAND|HORDA^- Sunnhordland|N18^- Hardanger|N19^- Nordhordland|N20^TRØNDELAG|MIDTN^- Nord-Trøndelag|N38NT^- Sør-Trøndelag|N38ST^MØRE OG ROMSDAL|MORO^- Sunnmøre|N27^- Romsdal|N28^- Nordmøre|N29^FJELLOMRÅDENE|MOUNT^- Hedmark|N30^- Oppland|N31^- Buskerud nord|N33^- Telemark & Indre Agder|N35^NORD-NORGE|NORDN^- Nordland med Lofoten|N39NO^- Troms|N39TR^OSLOFJORDEN OG OMEGN|OSLOF^- Akershus|N37AK^- Buskerud Sør|N37BU^- Østfold|N37OF^- Vestfold|N37VF^ROGALAND|ROGA^- Sør-Rogaland|N15^- Ryfylke|N16^- Nord-Rogaland|N17^SOGN OG FJORDANE|SOFJ^- Ytre Sogn|N21^- Midtre Sogn|N22^- Indre Sogn|N23^- Sunnfjord|N24^- Ytre Nordfjord|N25^- Indre Nordfjord|N26^SØR-NORGE|SOUTN^- Innland|N34^- kysten|N36";d["792"]="^TYRKIA|TYRKI^- Sør-Egeiske og Lykiske kyst|TLK^- Nordlige og Mellom-Egeiske kyst|TMA^- Tyrkiske kyst|TRV";d["380"]="^BASILICATA|IBASI^- Ioniske kysten|IBJ^- Tyrrhenske kyst|IBT^EMILIA-ROMAGNA|IEMIL^- Emilia-Romagna innland|IEC^- Emilia-Romagna Adriaterkysten|IEK^FRIULI|IFRIA^- Friuli - indland|IFC^- Friuli - Adriaterhavts kyst|IFK^KALABRIEN|IKALA^- Kalabrien|IKK^CAMPANIA|IKAMP^- Amalfi kyst|IKA^- Cilento/Salerno bukten|IKC^- Gaeta bukten|IKG^- Sorrento kyst|IKS^LATIUM|ILATI^- Rom|IRO^- Latium landschaft|IRU^LIGURIEN|ILIGU^- Ligurien|ILL^MARCHE|IMARK^- Marche|IMM^NORDITALIENSKE SØER|INORD^- Gardasjøen|IVG^- Lago Maggiore|IVM^APULIEN|IPUGL^- Apulien|ISA^SARDINIA|ISARD^- Sardinia|ISD^SICILIA|ISIZI^- Sicilia|ISS^TOSCANA|ITOSC^- Arezzo/Cortona og omegn|ITA^- Firenze|ITB^- Chianti|ITC^- Firenze og omegn|ITF^- Grosseto og omegn|ITG^- Lucca og omegn|ITL^- San Gimignano og Volterra|ITN^- Pisa og omegn|ITP^- Siena og omegn|ITS^- Montecatini/Pistoia og omegn|ITT^TOSCANA KYST|ITOSK^- Elba ø|ITE^- Etruskernes Riviera|ITK^- Argentario/Maremma|ITM^- Versilia|ITV^UMBRIEN|IUMBR^- Perugia og omegn|IUP^- Spoleto og omegn|IUS^- Trasimeno Søen|IUT^VENETO|IVE^- Venezia innland|IVC^- Venezia kyst|IVK^- Venezia|IVV";d["300"]="^Korfu|GCF^Chios|GCH^Kypros|GCY^Kreta|GKR^Lesbos|GLE^FASTLAND|GMAIN^- Athen|GAT^- Halkidiki|GHA^- Peloponnes|GPE^KYKLADEN|KYKLA^- Kea|GKK^- Paros|GKP^- Syros|GKS^THESSALIEN|THESS^- Pilion|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 generateWinterAreaOptions(b){var a=document.search.Q65;a.options.length=1;var d=new Array();d["578"]="^Geilo|^Gol|^Hallingskarvet|^Nesbyen|^Ål|^Norefjell|^Hemsedal|^Trysil|^Bjorli|^Mysuseter|^Gålå|^Skeikampen|^Sjusjøen|^Kvitfjell|^Hafjell|^Lemonsjøen|^Dombås|^Beitostølen|^Filefjell|^Haukelifjell|^Vrådal|^Gaustablikk|^Gautefall|^Hallbjønnsekken|^Rauland|";d["752"]="^Idre og Grövelsjön|^Sälen|^SydAlpin Kungsbygget|^Isaberg|^Kisa|^Branäs|^Hovfjället|^Åmåls Skicenter|^Mullsjö Alpin|^Ulricehamn|";d["040"]="^Hochrindl|MALHO^Dachstein West|^Grossarl|^Kaprun-Zell am See|^Salzburger Sportswelt|^Saalbach-Hinterglemm|^See|^Nauders|^Sölden/Ötzta|^Stanzach|^Imst|^Seefeld|^Stubaital|^Innsbruck|^Achensee|^Zillertal|^Lienz - Dolomittene|^Matrei|^Pillerseetal|^Obertilliach|^Gaissau-Hintersee|";d["616"]="^Zakopane|^Karpacz|";d["280"]="^Hohegeiss|^Schöneck|^Thüringen|";d["100"]="^Rilafjellene / Borovez|^Pirinfjell_Bansko|";d["703"]="^Strbské Pleso|^Tatranská Lomnica|^Vrátna|^Velká Raca – Oscadnica|^Myto p. Dumbierom|";d["203"]="^Zadov|^Harrachov|^Kramolín – Lipno|^Benecko|^Janské Lánzně|^Tanvaldský Špicák|^Vysoké nad Jizerou|^Rokytnice|^Spindler Mühle|^Mladé Buky|^Bublava|^Klínovec|";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};