function addMarkers()
{
mySelect = document.getElementById('selection');
Sacramento = [];Sacramento[Sacramento.length] = createMarker(new GPoint(-121.44035100,38.56848500),"
",iconGr);
mySelect.options[mySelect.options.length] = new Option("America's Choice",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49487305,38.61641693),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("American Lakes Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("American Legion High Continuation School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Anderson (marian) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.33979034,38.71957779),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Antelope Crossing Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Anthony (susan B.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38369751,38.62390137),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Arcade Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.37660217,38.58580017),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Arden Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32297500,38.47123900),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Arnold Adreani Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.42677307,38.60777664),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Babcock (d.w.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Bacon (fern) Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Baker (ethel I.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bancroft (hubert H.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.50258636,38.61641312),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bannon Creek Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bear Flag Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.36411285,38.46150970),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Beitzel (maeola E.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.42203522,38.64715576),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bell Avenue Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bidwell (john) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Birney (alice) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bonnheim (joseph) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Bowling Green Elementary (char)",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Brannan (sam) Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Burbank (luther) High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Burnett (peter) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cabrillo (john) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("California Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.37837219,38.45330429),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Calvine High Continuation School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.41900635,38.50843430),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Camellia Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Capital City (independent Study)",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.39321800,38.48277700),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Capital Community Day",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32547760,38.45938110),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Capitol Heights Academy",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Carson (kit) Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.42510986,38.63293839),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Castori (michael J.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.47187042,38.48686218),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Cesar Chavez Intermadiate Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cohen (isador) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.40650177,38.58969879),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cottage Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.48714700,38.57365900),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("County Sh Special Education",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38369751,38.62390137),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Cowan (james R.) Fundamental Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38369751,38.62390137),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Creekside Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Crocker/riverside Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.42196655,38.44766235),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Crossroads #1 Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.36411285,38.46150970),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Crossroads #2 Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Da Vinci (leonardo) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43244934,38.48887253),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Daylor (william) High Continuation School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.45292664,38.63466263),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Del Paso Heights Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38369751,38.62390137),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Del Paso Manor Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.40650177,38.58969879),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Delta Elementary Academy",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.40650177,38.58969879),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Delta Secondary Academy",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Didion (genevieve) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.47733307,38.63582230),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Discovery High Continuation School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.48365784,38.59640121),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dos Rios Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.33773300,38.55040600),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Drc/morgan Jr./sr. High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38369751,38.62390137),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Dyer-kelly Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.37660217,38.58580017),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Edison (thomas) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Einstein (albert) Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38369751,38.62390137),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("El Camino Fundamental High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.34157400,38.54504200),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("El Centro Jr./sr. High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Elder Creek Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43240356,38.47098160),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Elk Grove Community Day",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.40650177,38.58969879),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Encina High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Erlewine (o.w.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.33715600,38.54920200),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Esparanza Jr./sr. High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.46167755,38.62613678),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Fairbanks Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.40357208,38.49166107),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Florin Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.39047241,38.46997452),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Florin High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.34833527,38.67513657),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Foothill Farms Junior High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.34918976,38.68090439),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Foothill High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.33609772,38.69186401),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Foothill Oaks Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.45147705,38.60916138),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Fred K. Robinson Cds Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Freeport Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.34445953,38.68434525),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Frontier Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Fruit Ridge Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.47705841,38.63295746),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Garden Valley Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32488251,38.45877838),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Genesis High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.46359253,38.64423752),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Glenwood Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Goethe (charles M.) Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Golden Empire Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43372345,38.63636398),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Grant Union High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.52696991,38.61126328),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Greene (leroy F.) Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Greenwood (caleb) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.40650177,38.58969879),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Greer Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43397522,38.62313080),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hagginwood Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Harkness (h.w.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.46173859,38.61470032),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Harmon Johnson Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Harte (bret) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.51164500,38.56130100),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Health Professions High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hearst (phoebe A.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hollywood Park Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Hopkins (mark) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.40650177,38.58969879),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Howe Avenue Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Huntington (collis P.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.51894400,38.65939900),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Inderkum High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.39047241,38.46997452),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Insights High Continuation School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.44192505,38.46780777),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Jackman (samuel) Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.39681244,38.46194077),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jackson (isabelle) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jefferson (thomas) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.50661469,38.62038422),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Jefferson Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Johnson (hiram W.) High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Judah (theodore) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Keith B. Kenny Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kemble (edward) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Kennedy (john F.) High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.41764069,38.49851990),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kennedy (samuel) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.45137024,38.62281418),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("King (martin Luther Jr) Junior High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("King (martin Luther Jr.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32547760,38.45938110),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Kipp Sol Aureus College Preparatory",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.40686798,38.46543884),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Kirchgater (anna) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.34519958,38.66130066),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("La Entrada Continuation High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Land (william) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.45449100,38.53369000),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Language Academy Of Sacramento",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43240356,38.47098160),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Las Flores Community Day",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43240356,38.47098160),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Las Flores High (alter.)",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.48714700,38.57365900),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Learning Repertoire Charter Academy",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.42366028,38.46324921),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Leimbach (herman) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lincoln (abraham) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lisbon Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Lubin (david) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.44683838,38.48099899),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mack (charles E.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43373871,38.65451431),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Main Avenue Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Maple Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.37660217,38.58580017),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mariemont Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Marshall (james) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Marshall (thurgood) (alt) High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Matsuyama Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Mcclatchy (c.k.) High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32488251,38.45877838),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Met Sacramento High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38369751,38.62390137),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Mira Loma High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.40650177,38.58969879),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Mitchell (billy) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.46469879,38.63493729),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Morey Avenue Early Childhood Devel. Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.42196655,38.44766235),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Morse (barbara Comstock) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Morse (john F.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.41690063,38.54855728),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Nagazyna (madelyn) High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49493408,38.65634537),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Natomas Charter #19",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.47733307,38.63582230),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Natomas High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.50245667,38.64828110),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Natomas Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.50392151,38.66044235),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Natomas Park Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32488251,38.45877838),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("New Technology High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Nicholas Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.45520782,38.61883545),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Noralto Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.41992900,38.64002500),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("North Area Community",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43770599,38.64033890),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("North Avenue Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.48714700,38.57365900),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Northern California Poly Technical Academy",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43791962,38.61350250),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Northwood Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32547760,38.45938110),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Norwood Junior High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38517500,38.66176900),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Nova Community Day",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Oak Ridge Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pacific Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.41875000,38.60266000),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Palmiter Community",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.41875000,38.60266000),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Palmiter Special Education",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.30940247,38.69409943),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Palos Verde Continuation High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Parkway Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38369751,38.62390137),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pasadena Avenue Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Phillips (ethel) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.34352112,38.67248535),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pioneer Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Pony Express Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43996429,38.46608734),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Prairie Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.41867065,38.49312592),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Reese (david) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.50032400,38.68195600),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Regency Park Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43822479,38.45335388),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Reith (john) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.35578918,38.70061874),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Ridgepoint Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.37660217,38.58580017),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Rio Americano High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43331146,38.46989441),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Rio Cazadero High Continuation School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.48034668,38.62583160),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Rio Tierra Junior High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49304199,38.58135986),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Robert J. Fite Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.44729614,38.66223526),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Robla Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32547760,38.45938110),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Rosemont High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.34519958,38.66130066),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Ruff (laurel) Center",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.41497040,38.49050140),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Rutter (james) Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32488251,38.45877838),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sacramento Charter High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.41978455,38.60266495),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sacramento County Community High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.48714700,38.57365900),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sacramento County Ed Special Education",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.48714700,38.57365900),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sacramento County Rop",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sacramento High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.33299255,38.56187820),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sacramento Juvenile Court Schools",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.51894400,38.65939900),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sacramento Valley Technical High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32547760,38.45938110),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Saint Hope Public School 7 (ps7)",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.37660217,38.58580017),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Salk (jonas) Altern. Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.46712494,38.52796173),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Scusd Chess Academy Community Day",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Scusd Success Academy K-8 Community Day",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sequoia Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.34842682,38.45747375),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Sheldon High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.37660217,38.58580017),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sierra Oaks Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.36180115,38.52536011),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sierra-enterprise Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sloat (john D.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.34842682,38.45937347),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Smedberg (t. R.) Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Smith (jedediah) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.47567749,38.61538696),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Smythe (alethea B.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.33299255,38.56187820),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Special Education",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Still (john H.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.48067474,38.62422180),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Strauch (hazel) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32547760,38.45938110),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Sutter Middle School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Sutterville Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Tahoe Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.45212555,38.64666748),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Taylor Street Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.37972260,38.46203613),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Tsukamoto (mary) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Twain (mark) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49612427,38.64714813),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Two Rivers Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.45477295,38.47243500),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Union House Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43029022,38.45541763),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Valley High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38369751,38.62390137),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Valley Oaks",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.41817474,38.64013672),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Vista Nueva Career & Technology High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.32488251,38.45877838),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("Visual & Performing Arts Charter",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Warren (earl) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Washington Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wenzel (caroline) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.43887329,38.52971649),"",iconGr);
mySelect.options[mySelect.options.length] = new Option("West Campus Hiram Johnson High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.50722200,38.64701500),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Westlake Charter",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.38369751,38.62390137),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Whitney Avenue Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Winn (a.m.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Wire (clayton B.) Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.53267700,38.63616400),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Witter Ranch Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconBl);
mySelect.options[mySelect.options.length] = new Option("Wood (will C.) Junior High School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.49430084,38.58219910),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Woodbine Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.45075989,38.60316467),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Woodlake Elementary School",'Sacramento=' + Sacramento.length);
Sacramento[Sacramento.length] = createMarker(new GPoint(-121.35285950,38.67284393),"",iconRd);
mySelect.options[mySelect.options.length] = new Option("Woodridge Elementary School",'Sacramento=' + Sacramento.length);
maxLng = -121.30940247;
maxLat = 38.71957779;
minLng = -121.53267700;
minLat = 38.44766235;
reCenterMap();
} // End addStateMarkers JavaScript Function
// Takes an array of markers and centers/zooms map based on marker range
function centerByArray(myArray, recenter, newMaxMin)
{
if (newMaxMin == true)
reMaxMin(myArray);
for (var i = 0; i < myArray.length; i++)
{
var markLng = myArray[i].getPoint().x;
var markLat = myArray[i].getPoint().y;
if (markLat > maxLat) maxLat = markLat;
if (markLng > maxLng) maxLng = markLng;
if (markLat < minLat) minLat = markLat;
if (markLng < minLng) minLng = markLng;
}
if (recenter)
reCenterMap();
}
// Reinit max/mins
function reMaxMin(myArray)
{
maxLng = myArray[0].getPoint().x;
maxLat = myArray[0].getPoint().y;
minLng = myArray[0].getPoint().x;
minLat = myArray[0].getPoint().y;
}
// Recenter map based on global max/mins
function reCenterMap()
{
var bounds = new GLatLngBounds();
bounds.extend(new GLatLng(minLat, minLng));
bounds.extend(new GLatLng(maxLat, maxLng));
var center_lat = (bounds.getNorthEast().lat() + bounds.getSouthWest().lat()) / 2.0;
var center_lng = (bounds.getNorthEast().lng() + bounds.getSouthWest().lng()) / 2.0;
var center = new GLatLng(center_lat, center_lng);
var zoom = map.getBoundsZoomLevel(bounds);
map.setCenter(center,zoom);
//map.setCenter(center,10);
/*
var center = new GPoint( (maxLng + minLng)/2, (maxLat+minLat)/2 );
var delta = new GSize(maxLng - minLng, maxLat - minLat);
var minZoom = map.spec.getLowestZoomLevel(center, delta, map.viewSize);
if (minZoom < 4) minZoom = 4; // Lowest possible zoom is 4
map.centerAndZoom(center, minZoom);
*/
}
// Fires when drop down list of schools changes
function selectChange(selection)
{
var myVal = selection.options[selection.selectedIndex].value;
map.closeInfoWindow();
// Add entire array based on variable type
if (myVal.indexOf('all') != -1 && myVal != 'all')
{
var temp = myVal.split('=');
var showArray = temp[1];
// If Array is > X amount of markers, then open in a new page
if (eval(showArray).length > 20)
// New window depends on whether or not we're on the search page
if (location.href.indexOf('nearby_schools.php') == -1)
window.open(location.href + '/map/' + showArray);
else
window.open('/search////' + showArray);
map.removeOverlays(Sacramento);
map.addOverlays(eval(showArray));
centerByArray(eval(showArray), true, true); // Center and zoom on set of markers
}
// Add individual markers
if (myVal.indexOf('all') == -1 && myVal != 'all' && myVal.length)
{
var temp = myVal.split('=');
var myArray = temp[0];
var myIndex = parseInt(temp[1]) - 1;
document.getElementById('map').width = "750";
map.removeOverlay(eval(myArray)[myIndex]);
map.addOverlay(eval(myArray)[myIndex]);
GEvent.trigger(eval(myArray)[myIndex],'click');
}
// Show all markers
if (myVal == 'all')
{
cntMarker = 0;
reMaxMin(Sacramento);map.removeOverlays(Sacramento);
map.addOverlays(Sacramento);
centerByArray(Sacramento, false, false);
cntMarker += Sacramento.length;
centerByArray(Sacramento,true, false);
if (cntMarker > 20)
// New window depends on whether or not we're on the search page
if (location.href.indexOf('schools-by-distance') == -1)
window.open(location.href + '/map/all');
else
window.open('/search////all');
}
}