var map; 
function initialize(){
        var mapDiv = document.getElementById("content"); 
        //var myLatlng = new google.maps.LatLng(34.053290, -118.245009);
        //var myLatlng = new google.maps.LatLng(34.101287,-118.34507);
        var myLatlng = new google.maps.LatLng(33.728584,-117.724455);
        var myOptions = { 
            zoom:11, 
            center:myLatlng, 
            mapTypeId:google.maps.MapTypeId.ROADMAP,
            mapTypeControl:true,
              mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
            }; 
        map = new google.maps.Map(mapDiv, myOptions); 

}; 

function LoadMarkers(){
 CreateMarker('33.859967','-117.836851','2 am After Hours Collective (2AHC)','<b>2 am After Hours Collective (2AHC)</b><br />1230 N. Jefferson St. Ste F, Anaheim, Ca. 92807 <br />(714) 597-4386 <br />11a to 2a 7 days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.621743','-117.701335','Cafe Vale Tudo','<b>Cafe Vale Tudo</b><br />24601 Raymond Way, Lake Forest, CA 92630<br />(949) 454-9227<br />Mon to Sun: 10a to 10p<br />','googlegreen.png',true,true);
 CreateMarker('32.796110','-117.252512','AAA Greens (AAAG)','<b>AAA Greens (AAAG)</b><br />945 Hornblend Avenue. #C, San Diego, Ca. 92109 <br />(858) 274-0420 <br />12p to 8p 7 days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.771744','-117.852681','American Patient\'s Collective (APC)','<b>American Patient\<br />2550 N. Grand Ave., Santa Ana, Ca. 92705 <br />(714) 744-8206 <br />10a to 10p 7 days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.822489','-117.958804','Anaheim Alternative Healing Center (AAHC)','<b>Anaheim Alternative Healing Center (AAHC)</b><br />710 South Brookhurst Suite H, Anaheim, Ca. 92804 <br />(714) 983-5689 <br />Mon to Sat: 9a to 8p & Sun: 10a to 8p <br />','googlegreen.png',true,true);
 CreateMarker('33.833248','-117.958813','Anaheim Herbal Healing Center (AHHC)','<b>Anaheim Herbal Healing Center (AHHC)</b><br />126 N. Brookhurst St., Anaheim, Ca. 92801 <br />(714) 860-4080 <br />Mon. to Sat: 11a to 8p & Sun: 11a to 6p <br />','googlegreen.png',true,true);
 CreateMarker('-3.775800','-38.532200','Association For Alternative Therapy (AFAT)','<b>Association For Alternative Therapy (AFAT)</b><br />Call for directions and pre-verification <br />(714) 650-7860 <br />Mon. to Sat: 11a to 7p & Sun: 12p to 5p <br />','googlegreen.png',true,true);
 CreateMarker('33.623638','-117.724478','BCC of California (BABA)','<b>BCC of California (BABA)</b><br />23322 Peralta Dr. Ste 3, Laguna Hills, Ca. 92653 <br />(949) 716-2649 <br />Mon. to Sat: 10a to 7p & Sun: 11a to 5p <br />','googlegreen.png',true,true);
 CreateMarker('33.454501','-117.661234','Beach Cities Collective (BCC)','<b>Beach Cities Collective (BCC)</b><br />26841 Calle Hermosa Unit C, Capistrano Beach, Ca. 92624 <br />(949) 481-5046 <br />Mon. to Sat: 10a to 7p Closed Sunday <br />','googlegreen.png',true,true);
 CreateMarker('33.666660','-117.765121','Camm Collective (CC)','<b>Camm Collective (CC)</b><br />Serving Orange County, Call for Verification and Information. <br />(949) 242-9168 <br />Mon. to Fri: 11am-7pm` Sat. to Sun: 12pm-6pm <br />','googlegreen.png',true,true);
 CreateMarker('33.752247','-117.989310','CARE Patient Collective (CARE714)','<b>CARE Patient Collective (CARE714)</b><br />14482 Beach Blvd. Ste G, Westminster, Ca. 92683 <br />(888) 714-MEDS (6337) <br />Mon. to Sat: 10a to 8p & Sun: 11a to 6p <br />','googlegreen.png',true,true);
 CreateMarker('-3.775800','-38.532200','Chron Dons Clinic (CDC)','<b>Chron Dons Clinic (CDC)</b><br />Call for directions and pre-verification <br />(714) 590-9025 <br />12p to 9p 7 days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.624521','-117.725202','Club Meds (CM)','<b>Club Meds (CM)</b><br />23251 Peralta Dr. Ste T, Laguna Hills, Ca. 92653 <br />(949) 825-9815 <br />Mon. to Sat: 10a to 7p & Sun: 10a to 6p <br />','googlegreen.png',true,true);
 CreateMarker('33.465349','-117.698982','Dana Point Beach Collective (DPBC)','<b>Dana Point Beach Collective (DPBC)</b><br />24662 Del Prado Ste. 1A, Dana Point, Ca. 92629 <br />(949) 439-8148 <br />Mon. to Sat: 10a to 7p & Sun: 11a to 7p <br />','googlegreen.png',true,true);
 CreateMarker('33.467903','-117.700096','Dana Point Safe Harbor Collective (DPSHC)','<b>Dana Point Safe Harbor Collective (DPSHC)</b><br />34102 Violet Lantern St., Dana Point CA, 92629 <br />(949) 488-0114 <br />11a to 8p 7 days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.810458','-116.484418','Desert Valley Patients Association (DVPA)','<b>Desert Valley Patients Association (DVPA)</b><br />905 Crossley Rd, Palm Springs, CA 92264 <br />(760) 699-5705 <br />Open 7 Days: 11a to 7p <br />','googlegreen.png',true,true);
 CreateMarker('33.660773','-117.694949','Earth Cann Wellness Centers (ECWC)','<b>Earth Cann Wellness Centers (ECWC)</b><br />19 Spectrum Pointe Dr. Suite 605, Lake Forest, Ca. 92630 <br />(949) 581-1777 <br />Mon. to Sat: 11a to 9p & Sun: 12p to 6p <br />','googlegreen.png',true,true);
 CreateMarker('33.760107','-117.839790','Go N\' Green Patient Collective Association (GNGPCA)','<b>Go N\<br />1905 E. 17th St. Ste 201, Santa Ana, Ca. 92705 <br />(714) 766-0420 <br />Mon. to Sat: 10a to 9p & Sun: 10a to 6p <br />','googlegreen.png',true,true);
 CreateMarker('32.826775','-117.229382','Good Karma Collective (GKC)','<b>Good Karma Collective (GKC)</b><br />2629 Ariane Dr., San Diego, Ca. 92117 <br />(858) 750-2450 <br />Sun. to Thurs: 11a to 11p & Fri. to Sat: 11a to 1a <br />','googlegreen.png',true,true);
 CreateMarker('32.824712','-117.155041','Green Joy (GJ)','<b>Green Joy (GJ)</b><br />4633 Convoy St. Ste 104, San Diego, Ca. 92111 <br />(858) 268-4488 <br />10a to 10p 7 Days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.743176','-117.969704','Green Leaf Health Care (GLHC)','<b>Green Leaf Health Care (GLHC)</b><br />15131 Weststate St. Ste B, Westminster, Ca. 92683 <br />(714) 890-0088 <br />11a to 8p 7 Days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.704641','-117.852760','Green Relief Center (GRC)','<b>Green Relief Center (GRC)</b><br />1820 Garry Ave. Suite 202, Santa Ana, Ca 92705 <br />(949) 752-8626 <br />Mon. to Fri: 8am-7pm <br />','googlegreen.png',true,true);
 CreateMarker('32.832575','-117.149855','Green Tree Solutions (GTS)','<b>Green Tree Solutions (GTS)</b><br />8055 Clairemont Mesa Blvd. Ste 108A, San Diego, Ca. 92111 <br />(858) 278-2128 <br />11a to 11p 7 days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.465349','-117.700716','Holistic Health (HH)','<b>Holistic Health (HH)</b><br />24582 Del Prado Suite G, Dana Point, Ca. 92629 <br />(949) 542-7722 <br />Mon. to Sat: 10a to 7p & Sun: 11a to 5p <br />','googlegreen.png',true,true);
 CreateMarker('33.621618','-117.701622','Lake Forest Designated Caregivers (LFDC)','<b>Lake Forest Designated Caregivers (LFDC)</b><br />24602 Raymond Way, Unit #203, Lake Forest, Ca 92630 <br />(949) 836-0417 <br />Mon. to Sat. 9a to 8p & Sun. 10a to 7p & All Holidays 10a to 5p <br />','googlegreen.png',true,true);
 CreateMarker('33.627748','-117.717309','Lake Forest Kush Wholesale Collective (LFKWC)','<b>Lake Forest Kush Wholesale Collective (LFKWC)</b><br />23072 Lake Center Dr. #110, Lake Forest, Ca. 92630 <br />(949) 859-1158 <br />11a to 7p 7 days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.384722','-117.247243','Mother Earth Alternative Healing Cooperative (MEAHC)','<b>Mother Earth Alternative Healing Cooperative (MEAHC)</b><br />Mother Earth Alternative Healing Cooperative (MEAHC) 434 E. Mission Rd., Fallbrook, Ca. 92028','googlegreen.png',true,true);
 CreateMarker('33.198097','-117.380373','OSide Natural (OSN)','<b>OSide Natural (OSN)</b><br />403 N. Freeman St., Oceanside, Ca. 92054 <br />(949)-528-7066 Call for Pre-Verification <br />12p to 8p 7 days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.760048','-117.846794','Peace and Harmony Collective (PHC)','<b>Peace and Harmony Collective (PHC)</b><br />1535 E. 17th St. Ste 201, Santa Ana, Ca. 92705 <br />(714) 245-9393 <br />Mon. to Sat: 11a to 7p & closed Sunday <br />','googlegreen.png',true,true);
 CreateMarker('32.894268','-117.218869','Peoples Nursery Care (PNC)','<b>Peoples Nursery Care (PNC)</b><br />10459 Roselle St. Ste H, San Diego, Ca. 92121 <br />858-558-CUTS (2887) <br />Mon. to Sat: 11a to 7p & Sun: 12p to 5p <br />','googlegreen.png',true,true);
 CreateMarker('34.056533','-118.383774','Robertson Discount Center (RDC)','<b>Robertson Discount Center (RDC)</b><br />1147 Robertson Blvd, Suite 102, Los Angeles, CA 90053 <br />(310) 858-0888 <br />Open 7 Days: 11a to 7p <br />','googlegreen.png',true,true);
 CreateMarker('33.751884','-117.885264','S.A. Natural (SAN)','<b>S.A. Natural (SAN)</b><br />828 N. Bristol Ave` Suite 206` Santa Ana` Ca. 92703 <br />(714) 820-0439 <br />12p to 10p 7 Days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.760113','-117.841227','Santa Ana Patients Group (SAPG)','<b>Santa Ana Patients Group (SAPG)</b><br />1823 17th Street, Unit #209, Santa Ana, Ca. 92705 <br />(714) 568-0041 <br />Mon. to Sat. 11a to 8p & Sun. 11a to 6p <br />','googlegreen.png',true,true);
 CreateMarker('33.726949','-117.846726','So Cal Compassion (SCC)','<b>So Cal Compassion (SCC)</b><br />1651 E. Eddinger St. Ste 209, Santa Ana, Ca. 92705 <br />(714) 417-1322 <br />11a to 7p 7 days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.759729','-117.853926','South Coast Patients Center (SCPC)','<b>South Coast Patients Center (SCPC)</b><br />1202 E. 17th St., Suite 200Santa Ana, Ca. 92701 <br />(714) 547-4800 <br />Mon. to Sat: 10a - 8p` Sun: 11a - 6p <br />','googlegreen.png',true,true);
 CreateMarker('33.666660','-117.765121','The Artist Collective (TAC)','<b>The Artist Collective (TAC)</b><br />Please Call for Pre-Verification and Directions. Supporting Orange County <br />(949) 254-7465 <br />Mon to Sat: 11a-8p & Sun: 12p-6p <br />','googlegreen.png',true,true);
 CreateMarker('33.744538','-117.992512','The Beach Quality Caregivers (TBQC)','<b>The Beach Quality Caregivers (TBQC)</b><br />7852 Bolsa Ave., Midway City, Ca. 92655 <br />(714) 899-Kush(5874) <br />Mon. to Sat: 10a to 8p & Sun: 10a to 6p <br />','googlegreen.png',true,true);
 CreateMarker('33.691690','-117.840314','The Healing Center (THC)','<b>The Healing Center (THC)</b><br />17165 Von Karman Ave, Irvine CA 92614 <br />(949) 751-9106 <br />12p to 8p 7 Days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.626267','-117.729385','The Healing Center (THC)','<b>The Healing Center (THC)</b><br />23151 Verdugo Dr. #200, Laguna Hills, Ca 92653 <br />(949) 981-4351 <br />12p to 8p 7 Days a week <br />','googlegreen.png',true,true);
 CreateMarker('33.621618','-117.701622','The Lake Forest Patients Collective Association (LFPCA)','<b>The Lake Forest Patients Collective Association (LFPCA)</b><br />24602 Raymond Way Ste 208, Lake Forest, Ca. 92630 <br />(949) 455-9300 <br />Mon. to Sat: 10a to 9p & Sun: 10a to 3p <br />','googlegreen.png',true,true);
 CreateMarker('33.467045','-117.695226','The Point Alternative Care (PAC)','<b>The Point Alternative Care (PAC)</b><br />34213 S. Pacific Coast Hwy, Unit #C, Dana Point, Ca. 92629 <br />(949) 248-5500 <br />Mon: 10a to 7p` Tues to Sat: 10a to 8pm` Sun: 10a to 6p <br />','googlegreen.png',true,true);
 CreateMarker('33.796344','-117.958974','Unit - D / Tangent Retail (UDTR)','<b>Unit - D / Tangent Retail (UDTR)</b><br />11471 Brookhurst St. Unit #D, Garden Grove, Ca. <br />(714) 590-9100 <br />Mon to Sat: 11a to 8p` Sun: 12p to 6p <br />','googlegreen.png',true,true);
 CreateMarker('33.832288','-117.946433','West Coast Patient Group (WCPG)','<b>West Coast Patient Group (WCPG)</b><br />1808 W. Lincoln Ave. Ste 207, Anaheim, Ca. 92801 <br />(714) 991-0402 <br />Mon. to Sat: 10a to 8p & closed Sunday <br />','googlegreen.png',true,true);
 CreateMarker('33.908340','-116.545341','West Valley Patients Collective Association (WVPCA)','<b>West Valley Patients Collective Association (WVPCA)</b><br />Palm Springs, Ca 92258 <br />(760) 329-0418 <br />Mon. to Sat: 9:00a to 7:00p <br />','googlegreen.png',true,true); 
}

function CreateMarker(lat,lon,title,desc) {
    var image = 'images/point-28.png';
    var LatLon = new google.maps.LatLng(lat,lon);
    var marker = new google.maps.Marker({
        position: LatLon,
        map: map,
        title: title,
        icon: image
        });
    var infowindow = new google.maps.InfoWindow({
        content: desc
        });
    google.maps.event.addListener(marker, 'click', function(){
        infowindow.open(map,marker);
        });
}



    
google.setOnLoadCallback(initialize);
google.setOnLoadCallback(LoadMarkers);


