
    var moArray=new Array();
    var marker=new Array();
        
    function mclick(which,mode){
      if (mode!=1) {GEvent.trigger(marker[which],'click');}
      for (i=1; i<=marker.length-1; i++) {
        document.getElementById(i).color='blue'; 
        document.getElementById(i).style.backgroundColor='#99b3cc';
      }
      document.getElementById(which).color='red';
      document.getElementById(which).style.backgroundColor='yellow';
    }
        
    function createMarker(mo,point,options,html) {
        moArray[mo] = new GMarker(point,options);
        GEvent.addListener(moArray[mo], "click", function() {
          moArray[mo].openInfoWindowHtml("<span><font face=arial size=1"+html+"</font></span>");
          mclick(mo,1);
        });
        return moArray[mo];
    }
    
    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));       
        map.removeMapType(G_SATELLITE_MAP);
        map.removeMapType(G_HYBRID_MAP);
        
        var mapControl = new GMapTypeControl();
        map.addControl(mapControl);
        map.addControl(new GSmallMapControl());
                
        map.setCenter(new GLatLng(-10.428593,105.680687), 2);
        
        var tinyIcon = new GIcon();
        tinyIcon.image = "map/dot.gif";
        tinyIcon.iconSize = new GSize(7,7);
        tinyIcon.shadowSize = new GSize(0,0);
        tinyIcon.iconAnchor = new GPoint(0,0);
        tinyIcon.infoWindowAnchor = new GPoint(5, 1);
        markerOptions = { icon:tinyIcon };

	var tinyIcon2 = new GIcon();
        tinyIcon2.image = "map/dotb.gif";
        tinyIcon2.iconSize = new GSize(10,10);
        tinyIcon2.shadowSize = new GSize(0,0);
        tinyIcon2.iconAnchor = new GPoint(0,0);
        tinyIcon2.infoWindowAnchor = new GPoint(5, 1);
        markerOptions2 = { icon:tinyIcon2 };
        
        i=1;
        var point = new GLatLng(-38.030467,145.34462);
        var markerText="<br>Melbourne, Berwick<p>Ph: +61 3 9707 1420<br>Fax: +61 3 9707 1860<br><br>Gibb Street,<br> Berwick, Victoria, Australia<br><a style='text-decoration:none;' target=_new href='mailto:berwick@hyperbarichealth.com'>berwick@hyperbarichealth.com</a><br><br>Melway Map Ref: 111 D8";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=2;
        var point = new GLatLng(1.352083,103.819836);
        var markerText="<br>Singapore<br><br><a style='text-decoration:none;' target=_new href='mailto:enquiries@hyperbarichealth.com'>enquiries@hyperbarichealth.com</a><br><br>Twin Lock Containerised<br>Systems are onsite and<br>approved for use in Singapore.";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=3;
        var point = new GLatLng(22.281873,114.161346);
        var markerText="<br>Hong Kong<br><br><a style='text-decoration:none;' target=_new href='mailto:enquiries@hyperbarichealth.com'>enquiries@hyperbarichealth.com</a><br><br>Twin Lock Containerised System <br>is onsite and approved for use in <br>Hong Kong.<br><br>Providing hyperbaric support to <br>tunnelling operations";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=4;
        var point = new GLatLng(3.139003,101.686855);
        var markerText="<br>Kuala Lumpur<br><br><a style='text-decoration:none;' target=_new href='mailto:enquiries@hyperbarichealth.com'>enquiries@hyperbarichealth.com</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=5;
        var point = new GLatLng(4.61175,101.113506);
        var markerText="<br>Ipoh, Malaysia<br><br>Hyperbaric Health Asia Sdn Bhd<br>16A Persiaran Greentown 1, Greentown Business Centre, 30450 Ipoh,<br>Malaysia<br>+605 2532742<br>Website: <a style='text-decoration:none;' target=_new href='http://www.hyperbarichealth.asia'>http://www.hyperbarichealth.asia</a><br>Email: <a style='text-decoration:none;' target=_new href='mailto:tony@hyperbarichealth.com'>tony@hyperbarichealth.com</a><br>Contact Person: Dr Tony Lee";
        marker[i] = createMarker(i,point,markerOptions2,markerText);
        map.addOverlay(marker[i]);
        
        i=6;
        var point = new GLatLng(12.879721,121.774017);
        var markerText="<br>Philippines<br><br>Batangas Hyperbaric Medicine and Wound Healing Center,<br>St. Patrick's Hospital,<br>Lopez Jaena St,Batangas City, Philippines, 4200<br><br>Tel: (6343) 723 8388<br>Fax: (6343) 723 8388<br>Dr Michael Francis M. Perez<br><a style='text-decoration:none;' target=_new href='mailto:mperezmd@batangas.net.ph'>mperezmd@batangas.net.ph</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=7;
        var point = new GLatLng(-18.08769,178.3841);
        var markerText="<br>Suva, Fiji<br><br>Colonial War Memorial Hospital<br>Suva, Fiji<br><br>Ph: 679 313 444<br><br>Dr Salimone Tuqa<br><a style='text-decoration:none;' target=_new href='mailto:stuqa@health.gov.fj'>stuqa@health.gov.fj</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=8;
        var point = new GLatLng(-17.81819,177.4162);
        var markerText="<br>Opening soon in<br>Namaka Medical Clinic<br>Nadi, Fiji<br><br><a style='text-decoration:none;' target=_new href='mailto:enquiries@hyperbarichealth.com'>enquiries@hyperbarichealth.com</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=9;
        var point = new GLatLng(-15.376706,166.959158);
        var markerText="<br>Vanuatu<br><br>ProMedical Port Villa<br>Repulic of Vanuatu<br><br>Ph: 678 25566<br><br><a style='text-decoration:none;' href='http://www.promedical.com.vu'>www.promedical.com.vu</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=10;
        var point = new GLatLng(7.425554,150.550812);
        var markerText="<br>Yap, FSM<br><br>Yap Hospital<br>Yap, Federated States of Micronesia<br><br>Dr Victor Ngaden<br><a style='text-decoration:none;' target=_new href='mailto:directordhsyap@mail.fm'>directordhsyap@mail.fm</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=11;
        var point = new GLatLng(-0.522778,166.931503);
        var markerText="<br>Nauru<br><br>Nauru Hospital<br><br><a style='text-decoration:none;' target=_new href='mailto:enquiries@hyperbarichealth.com'>enquiries@hyperbarichealth.com</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=12;
        var point = new GLatLng(-6.314993,143.95555);
        var markerText="<br>Papua New Guinea<br><br>Port Moresby Medical Service<br><br>Ph: 325 6633 or 693 4444<br><br><a style='text-decoration:none;' target=_new href='mailto:enquiries@hyperbarichealth.com'>enquiries@hyperbarichealth.com</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=13;
        var point = new GLatLng(7.46194444444,151.843055556);
        var markerText="<br>Chuuk, FSM<br><br>Ph: 691 330 2318<br>Fax: 691 330 2314<br><br><a style='text-decoration:none;' target=_new href='mailto:LarryBruton@mail.fm'>LarryBruton@mail.fm</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=14;
        var point = new GLatLng(6.510832,133.433594);
        var markerText="<br>Palau<br><br>Palau Hospital<br><br>Ph: (680) 488 2552 / 2555<br>Fax: (680) 488 1211<br><br>Dr. Robert Maddison";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=15;
        var point = new GLatLng(-9.645709999999999,160.156194);
        var markerText="<br>Solomon Islands<br><br>\"In the Zone Medical Clinic\"<br>Honiara, Solomon Islands<br><br><a style='text-decoration:none;' target=_new href='mailto:enquiries@hyperbarichealth.com'>enquiries@hyperbarichealth.com</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=16;
        var point = new GLatLng(6.892113,158.214686);
        var markerText="<br>Pohnpei, FSM<br><br>Pohnpei State Hospital<br><br><a style='text-decoration:none;' target=_new href='mailto:enquiries@hyperbarichealth.com'>enquiries@hyperbarichealth.com</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=17;
        var point = new GLatLng(-8.409518,115.188916);
        var markerText="<br>Bali<br><br>Hyperbaric Health - Indonesia<br>P.O. Box 221, Nusa Dua, 80363 Bali<br>+628124655281<br>Email: <a style='text-decoration:none;' target=_new href='mailto:peter@hyperbarichealth.com'>peter@hyperbarichealth.com</a><br>Contact Person: Peter Manz";
        marker[i] = createMarker(i,point,markerOptions2,markerText);
        map.addOverlay(marker[i]);
        
        i=18;
        var point = new GLatLng(1.488258,124.843495);
        var markerText="<br>Manado<br><br>Professor Dr Kandou Hospital<br>North Sulawasi, Indonesia<br><br>Dr Hanri Parera<br>Ph: +62 8134 0000 840";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
        
        i=19;
        var point = new GLatLng(-36.847385,174.765735);
        var markerText="<br>Auckland, New Zealand<br><br><a style='text-decoration:none;' href='http://www.hbot.co.nz'>www.hbot.co.nz</a>";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);

	i=20;
        var point = new GLatLng(-12.46044199999999,130.824981);
        var markerText="<br>Hyperbaric Health has installed a new <br>SR-12 at Royal Darwin Hospital.<br>The chamber operator and <br>chamber maintenance is provided by <br>Hyperbaric Health on a long term contract.<br>To contact the unit, please call +61 (0) 8 8922 8230";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);

	i=21;
        var point = new GLatLng(28.635308,77.22496);
        var markerText="<br>Hyperbaric Health (New Delhi)<br>102 Tribhovan Complex<br>Ishwar Nagar<br>New Delhi -110065<br>+91 9818238010<br>Email: <a style='text-decoration:none;' target=_new href='mailto:tarun.sahni@adventhcg.com'>tarun.sahni@adventhcg.com</a><br>Contact Person: Dr Tarun Sahni";
        marker[i] = createMarker(i,point,markerOptions2,markerText);
        map.addOverlay(marker[i]);

	i=22;
        var point = new GLatLng(7.286190000000001,168.763733);
        var markerText="<br>Chamber is located at the main hospital<br>in Majuro";
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);

	i=23;
        var point = new GLatLng(-36.5588,145.468994);
        var markerText="<br>Hyperbaric Health Head Office<br><br>119-123 Woodlands Drive, Braeside<br>Victoria, 3195 AUSTRALIA<br>Ph +61 (0) 3 9558-0816<br>Fax +61 (0) 3 9558-0216";
        marker[i] = createMarker(i,point,markerOptions2,markerText);
        map.addOverlay(marker[i]);
        
  i=24;
        var point = new GLatLng(6.119312,100.367807);
        var markerText="<br>Penang, Malaysia<br><br>Hyperbaric Oxygen Therapy Centre Sdn Bhd  (39685-P)<br>125A Wisma Getah, Jalan Macalister, 10400 Penang, Malaysia<br>Ph +604-210-8310<br>Fax +604-210-8312<br>Email: <a style='text-decoration:none;' target=_new href='mailto:sulinpg@yahoo.com'>sulinpg@yahoo.com</a><br>Contact Person: Dr. Ng Su Lin, Medical Director";
        
  i=25;
        var point = new GLatLng(-33.867139,149.007114);
        var markerText="<br>Hyperbaric Health – Sydney<br><br>Suite 3, Ground Floor 46-50 Kent Road, <br>Mascot, NSW 2020<br>Phone +61 (0)2 9578 0000<br>Fax +61 (0)2 9578 0050<br>Email: <a style='text-decoration:none;' target=_new href='mailto:sydney@hyperbarichealth.com'>sydney@hyperbarichealth.com</a>";
        
        marker[i] = createMarker(i,point,markerOptions,markerText);
        map.addOverlay(marker[i]);
  
      }
    } 