/* */ var NS;try{if(!(NS=window.top && window.top.__editorNS)&&window.location.host == window.top.location.host)NS=window.top.__editorNS=new Object(); } catch(ex) {} if (!NS) NS=window.__editorNS=new Object(); var BrowserInfo; if (!(BrowserInfo=NS.BrowserInfo)){BrowserInfo=NS.BrowserInfo=new Object();var sAgent=navigator.userAgent.toLowerCase();BrowserInfo.IsIE=(sAgent.indexOf("msie")!=-1);BrowserInfo.IsGecko=!BrowserInfo.IsIE;BrowserInfo.IsSafari=(sAgent.indexOf("safari")!=-1);BrowserInfo.IsNetscape=(sAgent.indexOf("netscape")!=-1);}; var ScriptLoader=new Object();ScriptLoader.IsLoading=false;ScriptLoader.Queue=new Array();ScriptLoader.AddScript=function(A){ScriptLoader.Queue[ScriptLoader.Queue.length]=A;if (!this.IsLoading) this.CheckQueue();}; ScriptLoader.CheckQueue=function(){if (this.Queue.length>0){this.IsLoading=true;var A=this.Queue[0];var B=new Array();for (i=1;i0){e=document.createElement('LINK');e.rel='stylesheet';e.type='text/css';}else{e=document.createElement("script");e.type="text/javascript";}; document.getElementsByTagName("head")[0].appendChild(e);if (e.tagName=='LINK'){if (BrowserInfo.IsIE) e.onload=ScriptLoader_OnLoad;elseScriptLoader.CheckQueue();e.href=A;}else{e.onload=e.onreadystatechange=ScriptLoader_OnLoad;e.src=A;};}; function ScriptLoader_OnLoad(){if (this.tagName=='LINK'||!this.readyState||this.readyState=='loaded') ScriptLoader.CheckQueue();} if (!window.initValidator) ScriptLoader.LoadFile(window.location.protocol + '//www.bookeasy.com.au/scripts/aspValidation.js'); document.write('
'); function appendEvent(el, event, func) { if (el.addEventListener) el.addEventListener(event, func, true); else if (el.attachEvent) el.attachEvent('on' + event, func); else eval('el.on' + event + ' = ' + func); } function getJQ142(loadJQ142) { if (loadJQ142) { ScriptLoader.LoadFile(window.location.protocol + '//www.bookeasy.com.au/scripts/jquery-1.4.2.min.js'); ScriptLoader.LoadFile(window.location.protocol + '//www.bookeasy.com.au/scripts/jquery-ui-1.8.2.custom.min.js'); } if ((typeof (jQuery) != 'undefined') && jQuery().jquery == '1.4.2') { window.clearTimeout(window.B3C834C0); window.B3C834C0 = window.setTimeout( function() { window.clearTimeout(window.B3C834C0); window.jq142 = jQuery.noConflict(true); if (window.D14D8B38) { $ = window.D14D8B38.noConflict(true); jQuery = $; } }, 500); } else window.setTimeout(function() { getJQ142(false); }, 10); } appendEvent(window, 'load', function() { if (typeof(window.B3C834C0) == 'undefined') { window.D14D8B38 = (typeof(jQuery) == 'undefined') ? null : jQuery.noConflict(true); window.B3C834C0 = window.setTimeout(function() { getJQ142(true); }, 10); }; }); var el = document.getElementById('accommodation-search-minimal'); while (el && el.tagName != 'BODY') { el = el.parentNode; if (el && el.tagName == 'FORM') el = null; } if (el == null) { document.getElementById('accommodation-search-minimal-btnSearch').onclick = function() { var t = window.jq142('#accommodation-search-minimal-table'); var l = ''; window.jq142('input,select', t).each(function() { var t = window.jq142(this); if (t.attr('type') != 'submit') { l += (l.length > 0 ? '&' : '') + t.attr('name') + '=' + t.val(); } }); window.open('http://www.visitnorthamwa.com.au/accomgrid_condensed.asp?' + l, '_self'); return false; }; } function displayDatePicker(e) { window.jq142(e) .datepicker({ dateFormat: 'dd/mm/yy', gotoCurrent: true }) .datepicker('show'); window.jq142('#' + e.toString() + ', input[name="' + e.toString() + '"]') .datepicker({ dateFormat: 'dd/mm/yy', gotoCurrent: true }) .datepicker('show'); }