
document.write('<script type="text/javascript" src="/js/jquery.js"></script>');document.write('<script type="text/javascript" src="/js/jquery.accordion.js"></script>');document.write('<script type="text/javascript" src="/js/jquery.date-picker.js"></script>');document.write('<script type="text/javascript" src="/js/jquery.date-picker.init.js"></script>');document.write('<script type="text/javascript" src="/js/jquery.autocomplete.js"></script>');document.write('<script type="text/javascript" src="/js/jquery.searchandbook.js"></script>');document.write('<script type="text/javascript" src="/js/jquery.init.js"></script>');document.write('<script type="text/javascript" src="/js/thickbox.js"></script>');var objWIN=0;function australian_weather(p,n){var intW=550;var intH=620;var intL=(screen.availWidth-intW)/2;var intT=(screen.availHeight-intH)/2;objWIN=window.open('/australian-weather.php?p='+p+'&n='+n,'2','toolbar=0,location=0,scrollbars=1,resizable=1,width='+intW+',height='+intH+',left='+intL+',top='+intT);objWIN.focus();}
function cboRegion_onChange(el){if(el.options[el.selectedIndex].value!=''){window.location.href=el.options[el.selectedIndex].value;}}
function show_australia_map(){document.getElementById('statemap').style.display='none';document.getElementById('australiamap').style.display='block';}
function show_australia_state(){document.getElementById('statemap').style.display='block';document.getElementById('australiamap').style.display='none';}
var autosize_iframe={iframes:{},oldresize:null,ready:false,dim:[-1,-1],timerID:0,getDim:function(d){var w=200,h=200,scr_h,off_h;var defaults=false;if(d.title=='AM3'){icoll=d.images;for(i=0;i<icoll.length;i++){if(icoll[i].src.indexOf('defbanners')==-1){defaults=false;}else{break;}}
if(defaults){return[0,0];}}
if(d.height){return[d.width,d.height];}
with(d.body){if(scrollHeight){h=scr_h=scrollHeight;w=scrollWidth;}
if(offsetHeight){h=off_h=offsetHeight;w=offsetWidth;}
if(scr_h&&off_h)h=Math.max(scr_h,off_h);}
return[w,h];},onresize:function(){if(typeof this.oldresize=='function'){this.oldresize();}
var dim=this.getDim(document);if(this.dim[0]==dim[0]&&this.dim[1]==dim[1])return;if(this.timerID)return;this.timerID=setTimeout('autosize_iframe.deferred_resize();',10);},deferred_resize:function(){for(var id in this.iframes)this.resize(id);this.dim=this.getDim(document);this.timerID=0;},resize:function(id){if(!window.frames||!window.frames[id]||!document.getElementById||!document.body)
return;var iframe=window.frames[id];var div=document.getElementById(id);if(!div)return;if(!this.iframes[id]){this.iframes[id]=true;}
if(!this.ready){this.ready=true;this.oldresize=window.onresize;window.onresize=new Function('autosize_iframe.onresize();');}
if(document.all)div.style.height='0px';var dim=this.getDim(iframe.document);div.style.height=(dim[1]+'px');}};