// JavaScript Document

<!--
function mmLoadMenus() {
 
//if (window.mm_menu_home) return;

window.mm_menu_company = new Menu("root",100,25,"Verdana, Arial, Helvetica, sans-serif",11,"#333333","#000000","#DDDDFF","#CCCCCC","left","middle",03,0,300,-5,7,true,true,true,11,true,true);

mm_menu_company.addMenuItem("Overview","location='index.php?page=company'");
mm_menu_company.addMenuItem("About Us","location='index.php?page=about'");
mm_menu_company.addMenuItem("Contact Us","location='index.php?page=contact'");
mm_menu_company.addMenuItem("Brochure","location='pages/pga.pdf'");
mm_menu_company.hideOnMouseOut=true;
mm_menu_company.bgColor='#FFFFFF';
mm_menu_company.menuBorder=1;
mm_menu_company.menuLiteBgColor='#FFFFFF';
mm_menu_company.menuBorderBgColor='#FFFFFF';

window.mm_menu_products = new Menu("root",180,25,"Verdana, Arial, Helvetica, sans-serif",11,"#333333","#000000","#DDDDFF","#CCCCCC","left","middle",03,0,300,-5,7,true,true,true,11,true,true);

mm_menu_products.addMenuItem("Ping","location='index.php?page=ping'");
//mm_menu_products.addMenuItem("Super Force Woods/Irons","location='index.php?page=sf'");
mm_menu_products.addMenuItem("U.S. Kids Golf","location='index.php?page=uskids'");
mm_menu_products.addMenuItem("Phiten","location='index.php?page=phiten'");
mm_menu_products.addMenuItem("Sun Mountain Caddies","location='index.php?page=sm'");
mm_menu_products.addMenuItem("Accessories","location='index.php?page=acc'");
mm_menu_products.hideOnMouseOut=true;
mm_menu_products.bgColor='#FFFFFF';
mm_menu_products.menuBorder=1;
mm_menu_products.menuLiteBgColor='#FFFFFF';
mm_menu_products.menuBorderBgColor='#FFFFFF';

window.mm_menu_services = new Menu("root",160,25,"Verdana, Arial, Helvetica, sans-serif",11,"#333333","#000000","#DDDDFF","#CCCCCC","left","middle",03,0,300,-5,7,true,true,true,11,true,true);

mm_menu_services.addMenuItem("Ping Custom Fitting","location='index.php?page=pingcf'");
mm_menu_services.addMenuItem("Re-Gripping","location='index.php?page=regrip'");
mm_menu_services.addMenuItem("Indoor Driving Range","location='index.php?page=range'");
mm_menu_services.addMenuItem("Virtual Golf Simulators","location='index.php?page=golfsim'");
mm_menu_services.addMenuItem("Other Services","location='index.php?page=otherservices'");
mm_menu_services.hideOnMouseOut=true;
mm_menu_services.bgColor='#FFFFFF';
mm_menu_services.menuBorder=1;
mm_menu_services.menuLiteBgColor='#FFFFFF';
mm_menu_services.menuBorderBgColor='#FFFFFF';

window.mm_menu_lessons = new Menu("root",160,25,"Verdana, Arial, Helvetica, sans-serif",11,"#333333","#000000","#DDDDFF","#CCCCCC","left","middle",03,0,300,-5,7,true,true,true,11,true,true);

mm_menu_lessons.addMenuItem("Why take lessons?","location='index.php?page=whylessons'");
mm_menu_lessons.addMenuItem("Focus Forward System","location='index.php?page=ffsystem'");
mm_menu_lessons.addMenuItem("Packages & Rates","location='index.php?page=rates'");
mm_menu_lessons.hideOnMouseOut=true;
mm_menu_lessons.bgColor='#FFFFFF';
mm_menu_lessons.menuBorder=1;
mm_menu_lessons.menuLiteBgColor='#FFFFFF';
mm_menu_lessons.menuBorderBgColor='#FFFFFF';

window.mm_menu_other = new Menu("root",150,25,"Verdana, Arial, Helvetica, sans-serif",11,"#333333","#000000","#DDDDFF","#CCCCCC","left","middle",03,0,300,-5,7,true,true,true,11,true,true);

mm_menu_other.addMenuItem("Healing Touch","location='index.php?page=ht'");
mm_menu_other.addMenuItem("Karuna Reiki","location='index.php?page=kr'");
mm_menu_other.addMenuItem("Thought Field Therapy","location='index.php?page=tft'");
mm_menu_other.addMenuItem("Buy/Sell Real Estate","location='index.php?page=re'");
mm_menu_other.addMenuItem("Hawaii Golf Courses","location='index.php?page=courses'");
mm_menu_other.addMenuItem("Log In","location='index.php?page=login'");
mm_menu_other.hideOnMouseOut=true;
mm_menu_other.bgColor='#FFFFFF';
mm_menu_other.menuBorder=1;
mm_menu_other.menuLiteBgColor='#FFFFFF';
mm_menu_other.menuBorderBgColor='#FFFFFF';

// Only need to writeMenus for one of the dropdown menus, not all (or won't work)
mm_menu_company.writeMenus();
} // mmLoadMenus()

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->