<!-- Begin
top.window.moveTo(0,0);
if (document.all) { top.window.resizeTo(screen.availWidth,screen.availHeight); }
else if (document.layers||document.getElementById) { if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){ top.window.outerHeight = screen.availHeight; top.window.outerWidth = screen.availWidth;}}
//all form element- © www.businessbook.com.au
function app(lin, lin2){
var liny=document.myform.viewby.value;
if (!lin==0 && !lin==0){ myform.linkesa.value=lin+" "+lin2; }
if (liny=="Type") { myform.action='typeofinquiry.php'; }
if (liny=="Contract") { myform.action='typeofcontract.php'; }
if (liny=="Business") { myform.action='typeofbusiness.php'; }
if (liny=="State") { myform.action='states.php'; }
if (liny=="Table") { myform.action='index.php'; }
if (liny=="Classic") { myform.action='classic.php'; }
myform.submit();
}
function show(object) {
    if (document.getElementById && document.getElementById(object) != null)
         node = document.getElementById(object).style.visibility='visible';
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'visible';
    else if (document.all)
        document.all[object].style.visibility = 'visible';
}
function hide(object) {
    if (document.getElementById && document.getElementById(object) != null)
         node = document.getElementById(object).style.visibility='hidden';
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'hidden';
    else if (document.all)
         document.all[object].style.visibility = 'hidden';
}
function optn() {
var lin=document.myform.viewby.value;
    if (lin=="Type" || lin=="State" || lin=="Contract" || lin=="Business"){ hide('fields'); show('a2z'); }
    else { show('fields'); hide('a2z');}
}
//  End -->
