function disablerclick(){var message="";function clickIE(){if(document.all){(message);return false;}}
function clickNS(e){if
(document.layers||(document.getElementById&&!document.all)){if(e.which==2||e.which==3){(message);return false;}}}
if(document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")}
function disableSelection(target){if(typeof target.onselectstart!="undefined")
target.onselectstart=function(){return false}
else if(typeof target.style.MozUserSelect!="undefined")
target.style.MozUserSelect="none"
else
target.onmousedown=function(){return false}
target.style.cursor="default"}
function google_search_form(form_name){if(form_name.q.value==''){return false;}
return true}
function logout(){question=confirm('Are you sure, you want to logout?');if(question!="0"){document.location.replace('/logon.php?mode=logoff');}}
function lookup(postal_code_id){if(postal_code_id.length==0){$('#suggestions').hide();}else{$.post("/ajax-postal-code.php",{queryString:""+postal_code_id+""},function(data){if(data.length>0){$('#suggestions').show();$('#autoSuggestionsList').html(data);}});}}
function fill(thisValue){$('#postal_code_id').val(thisValue);setTimeout("$('#suggestions').hide();",200);}
