Sandbox:NewMap

From OpenWetWare
Jump to navigationJump to search

Multi-Layer Click-able OWW Google Map (pure javascript)

  • zoom [0:13]: Showing only OWW registered institutions + link to OWW page.
  • zoom [13:+]: Showing institutions + individual labs + links to Lab page on OWW.

<html xmlns="http://www.w3.org/1999/xhtml">

   <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAALLbK9zjbd7JpTrkV4-YbwxRSXllrirTOP8BJPCtxjWVzsNMbFRQmkCSOpE5ARgUVPuqz3vsD2xHp3g"
     type="text/javascript"></script>
   <script type="text/javascript">
   //<![CDATA[


//-------------------------------- //Register your institution here, need to update OWW links // //-------------------------------- var OWW_InstitutionLayer = [

 {
   "zoom": [0, 12],
   "places": [

{ "name":"National Cheng Kung University","posn":[-59.783333, -23], "link":"http://www.ncku.edu.tw/ver2006/en"}, { "name":"IISc, Bangalore","posn":[77.566672, 13.022145], "link":"http://www.iisc.ernet.in"}, { "name":"Nanyang Technological University","posn":[103.682832, 1.347093], "link":"http://www.ntu.edu.sg"}, { "name":"National University of Singapore","posn":[103.777546, 1.294212], "link":"http://www.nus.edu.sg"}, { "name":"Peking University","posn":[116.39517400413752, 39.9415489247953], "link":"http://en.pku.edu.cn"}, { "name":"University of Hyderabad","posn":[78.330103, 17.454211], "link":"http://www.uohyd.ernet.in"}, { "name":"Inha University","posn":[127.1063232421875, 38.3287297527893], "link":"http://eng.inha.ac.kr"}, { "name":"Seoul National University","posn":[126.95313692092896, 37.45975161725184], "link":"http://www.useoul.edu"}, { "name":"University of Philippines","posn":[121.248124, 14.166532], "link":"http://www.upd.edu.ph"}, { "name":"Universiti Teknologi Malaysia","posn":[103.6421012878418, 1.557034500331779], "link":"http://www.utm.my"}, { "name":"CeMM (Vienna)","posn":[16.011745, 48.301211], "link":"http://www.cemm.oeaw.ac.at"}, { "name":"FH Campus (Vienna)","posn":[16.403685, 48.256221], "link":"http://www.fh-campuswien.ac.at"}, { "name":"EPF Lausanne, Switzerland","posn":[6.569781303405762, 46.52039648061847], "link":"http://www.epfl.ch"}, { "name":"ETH Zurich, Switzerland","posn":[8.548071384429932, 47.376950065193284], "link":"http://www.ethz.ch"}, { "name":"PRBB","posn":[2.1677398681640625, 41.47205887801829], "link":"http://www.prbb.es"}, { "name":"Technische Universiteit Delft","posn":[4.3759918212890625, 51.9990973559411], "link":"http://www.tudelft.nl"}, { "name":"University of Athens","posn":[23.753519, 38.007665], "link":"http://www.uoa.gr"}, { "name":"Bristol University","posn":[-2.5852203369140625, 51.47625114982365], "link":"http://www.bristol.ac.uk"}, { "name":"King's College London","posn":[-0.116111,51.511944], "link":"http://www.kcl.ac.uk"}, { "name":"University of Cambridge","posn":[0.11990547180175781, 52.20552903370196], "link":"http://www.cam.ac.uk"}, { "name":"Norwich Research Park, UK","posn":[0.11988401412963867, 52.203069930171594], "link":"http://www.nrp.org.uk"}, { "name":"University of East Anglia","posn":[1.240003, 52.625232], "link":"http://www.uea.ac.uk"}, { "name":"Cambridge Resource Centre for Comparative Genomics","posn":[0.119887, 52.203225], "link":"http://www.vet.cam.ac.uk/genomics"}, { "name":"University of Edinburgh","posn":[-3.1760358810424805, 55.92129153210972], "link":"http://www.ed.ac.uk"}, { "name":"University of Manchester, UK","posn":[-2.2368335723876953, 53.469810183141774], "link":"http://www.manchester.ac.uk"}, { "name":"University of Ljubljana","posn":[14.504145, 46.049387], "link":"http://www.uni-lj.si"}, { "name":"Uppsala University, Sweden","posn":[17.631431, 59.856312], "link":"http://www.uu.se"}, { "name":"Charité - Universitätsklinikum","posn":[10.70566177368164, 53.838272230481], "link":"http://www.charite.de"}, { "name":"MH Hannover, Germany","posn":[9.770461, 52.398853], "link":"http://www.mh-hannover.de"}, { "name":"University of Wuerzburg, Germany","posn":[9.948806762695312, 49.79799846401313], "link":"http://www.uni-wuerzburg.de"}, { "name":"Leibniz Institute of Plant Biochemistry, GER","posn":[9.948807, 49.797998], "link":"http://www.ipb-halle.de"}, { "name":"CNRS","posn":[7.053823471069336, 43.6219725136983], "link":"http://www.cnrs.fr"}, { "name":"Institut Pasteur","posn":[2.3303, 48.84724], "link":"http://www.pasteur.fr"}, { "name":"Univ Paris 5","posn":[2.34407901763916, 48.85099242264006], "link":"http://www.univ-paris5.fr"}, { "name":"INSERM","posn":[2.336324, 48.862902], "link":"http://www.inserm.fr/en"}, { "name":"University of Otago","posn":[170.082342, -45.576315], "link":"http://www.otago.ac.nz"}, { "name":"University of Queensland","posn":[170.082342, -45.576315], "link":"http://www.uq.edu.au"}, { "name":"University of Sydney","posn":[151.186923, -33.887925], "link":"http://www.usyd.edu.au"}, { "name":"University of São Paulo, Brazil","posn":[-46.595197, -23.601974], "link":"http://www.usp.br/internacional/home.php?&amp;idioma=en"}, { "name":"Baylor College of Medicine","posn":[-95.39658308029175, 29.71013993844571], "link":"http://www.bcm.edu"}, { "name":"Boston University","posn":[-71.105486, 42.348607], "link":"http://www.bu.edu"}, { "name":"Brigham Young University","posn":[-111.6500186920166, 40.25326301752016], "link":"http://www.byu.edu"}, { "name":"Brookhaven National Laboratory","posn":[-72.872057, 40.873346], "link":"http://www.bnl.gov"}, { "name":"University of Iowa","posn":[-91.549364, 41.662833], "link":"http://www.uiowa.edu"}, { "name":"California Institute of Technology","posn":[-118.12461, 34.136584], "link":"http://www.caltech.edu"}, { "name":"Case Western Reserve","posn":[-81.60910606384277, 41.50420645872031], "link":"http://www.case.edu"}, { "name":"Columbia University","posn":[-73.9610767364502, 40.80870968340537], "link":"http://www.columbia.edu"}, { "name":"Davidson College","posn":[-80.847482, 35.502814], "link":"http://www.davidson.edu"}, { "name":"Georgia Institute of Technology","posn":[-83.001708984375, 32.759562025650126], "link":"http://www.gatech.edu"}, { "name":"Gladstone Institutes","posn":[-122.4576473236084, 37.763573557136134], "link":"http://www.gladstone.ucsf.edu"}, { "name":"Harvard University","posn":[-71.11673355102539, 42.3858103145858], "link":"http://www.harvard.edu"}, { "name":"Johns Hopkins","posn":[-76.619302, 39.327626], "link":"http://www.jhu.edu"}, { "name":"Loma Linda University","posn":[-117.26121, 34.051912], "link":"http://www.llu.edu"}, { "name":"Los Alamos National Laboratory","posn":[-106.270526, 35.862776], "link":"http://www.lanl.gov"}, { "name":"Loyola Marymount University","posn":[-118.419556, 33.969076], "link":"http://www.lmu.edu"}, { "name":"McGill University","posn":[-73.93781661987305, 45.41020100112378], "link":"http://www.mcgill.ca"}, { "name":"Michigan State University","posn":[-84.48314666748047, 42.72646084268403], "link":"http://www.msu.edu"}, { "name":"Massachusetts Institute of Technology","posn":[-71.08965396881104, 42.36288831058794], "link":"http://www.mit.edu"}, { "name":"Northwestern University","posn":[-71.05167388916016, 42.384922757848045], "link":"http://www.northwestern.edu"}, { "name":"Oregon Health & Science University","posn":[-122.68548488616943, 45.50267746417796], "link":"http://www.ohsu.edu"}, { "name":"Oregon State University","posn":[-123.28110694885254, 44.56393343641936], "link":"http://oregonstate.edu"}, { "name":"Penn State University","posn":[-77.857596, 40.80314], "link":"http://www.psu.edu"}, { "name":"Purdue University","posn":[-86.91437, 40.431056], "link":"http://www.purdue.edu"}, { "name":"Rice University","posn":[-95.40287017822266, 29.72473159291019], "link":"http://www.rice.edu"}, { "name":"Rochester Institute of Technology","posn":[-77.671745, 43.085412], "link":"http://www.rit.edu"}, { "name":"Stanford University","posn":[-122.17264652252197, 37.433261097732704], "link":"http://www.stanford.edu"}, { "name":"State University of New York Stony Brook University","posn":[-122.173462, 37.433431], "link":"http://www.sunysb.edu"}, { "name":"The Rockefeller University","posn":[-73.9580512046814, 40.76263359864368], "link":"http://www.rockefeller.edu"}, { "name":"Temple University","posn":[-75.1560115814209, 39.985439768670815], "link":"http://www.temple.edu"}, { "name":"Texas A&M","posn":[-96.34288787841797, 30.653419107538557], "link":"http://www.tamu.edu"}, { "name":"Tufts University","posn":[-71.11930847167969, 42.41021320746434], "link":"http://www.tufts.edu"}, { "name":"University of California Berkeley","posn":[-122.2587776184082, 37.890976310542925], "link":"http://www.berkeley.edu"}, { "name":"University of California Davis","posn":[-122.25225448608398, 37.90276141949594], "link":"http://www.ucdavis.edu"}, { "name":"University of California San Diego","posn":[-117.2396993637085, 32.874973820619836], "link":"http://www.ucsd.edu"}, { "name":"University of California San Francisco","posn":[-122.45807647705078, 37.76328518140887], "link":"http://www.ucsf.edu"}, { "name":"University of Illinois Urbana-Champaign","posn":[-88.22558, 40.107292], "link":"http://www.uiuc.edu"}, { "name":"University of Illinois Chicago","posn":[-87.65175819396973, 41.86885775575496], "link":"http://www.iuc.edu"}, { "name":"University of Alabama Birmingham","posn":[-86.78581237792969, 33.59117129317286], "link":"http://www.uab.edu"}, { "name":"University of Alaska Anchorage","posn":[-149.81660842895508, 61.18885122954772], "link":"http://www.uaa.alaska.edu"}, { "name":"University of Chicago","posn":[-87.59674072265625, 41.947234477977766], "link":"http://www.uchicago.edu"}, { "name":"University of Connecticut Health Center","posn":[-72.25553512573242, 41.81060383782954], "link":"http://www.uchc.edu"}, { "name":"University of Delaware","posn":[-75.752015, 39.678611], "link":"http://www.udel.edu"}, { "name":"University of Central Florida","posn":[-81.20020866394043, 28.60901378438414], "link":"http://www.ucf.edu"}, { "name":"University of Kentucky","posn":[-84.5042610168457, 38.050794662666874], "link":"http://www.uky.edu"}, { "name":"University of Minnesota","posn":[-93.23307037353516, 44.98149590258328], "link":"http://www.umn.edu"}, { "name":"University of Nebraska-Lincoln","posn":[-96.70208930969238, 40.821961195604516], "link":"http://www.unl.edu"}, { "name":"University of Notre Dame","posn":[-86.23769760131836, 41.70233225124798], "link":"http://www.nd.edu"}, { "name":"University of Oregon","posn":[-123.07485580444336, 44.04654258080249], "link":"http://www.uoregon.edu"}, { "name":"University of Ottawa","posn":[-75.68459987640381, 45.430021548197786], "link":"http://www.uottawa.ca"}, { "name":"University of Rhode Island","posn":[-71.52584552764893, 41.48807036711157], "link":"http://www.uri.edu"}, { "name":"University of Southern California","posn":[-118.28571796417236, 34.02662816974167], "link":"http://www.usc.edu"}, { "name":"University of Tennessee","posn":[-83.93013954162598, 35.9659195902771], "link":"http://www.utk.edu"}, { "name":"University of Texas Health Science Center at Houston","posn":[-95.40435075759888, 29.706337933065896], "link":"http://www.uthouston.edu"}, { "name":"University of Toronto","posn":[-79.39742088317871, 43.66749909290297], "link":"http://www.utoronto.ca"}, { "name":"University of Victoria","posn":[-79.397421, 43.667499], "link":"http://www.uvic.ca"}, { "name":"University of Virginia","posn":[-78.5053825378418, 38.053768502070696], "link":"http://www.virginia.edu"}, { "name":"University of Wisconsin-Madison","posn":[-89.39965724945068, 43.07866853173014], "link":"http://www.wisc.edu"}, { "name":"University of Texas Austin","posn":[-97.73763656616211, 30.289977362268825], "link":"http://www.utexas.edu"}, { "name":"University of Texas M. D. Anderson Cancer Center","posn":[-95.39671182632446, 29.70730708536229], "link":"http://www.mdanderson.org"}, { "name":"Vanderbilt University","posn":[-86.805086, 36.14445], "link":"http://www.vanderbilt.edu"}, { "name":"Yale University","posn":[-72.92587280273438, 41.32835758409143], "link":"http://www.yale.edu"},

    ]
 }

];


//--------------------------------- //Register your lab here: will only be visible when the zoom factor is >= 13 // //--------------------------------- var OWW_LabLayer = [

 {
   "zoom": [13, 17],
   "places": [{"name":"Josh Wu Lab", "posn": [-59.783213, -23.00015], "link":"http:/openwetware.org/wiki/Josh_Wu_Lab" },

{"name":"Chandra Lab", "posn": [77.566792, 13.021995], "link":"http:/openwetware.org/wiki/Chandra_Lab" }, {"name":"Newman Lab", "posn": [103.682952, 1.346943], "link":"http:/openwetware.org/wiki/Newman_Lab" }, {"name":"Dynamical Biosystems Lab", "posn": [103.777666, 1.294062], "link":"http:/openwetware.org/wiki/Gunawan" }, {"name":"SSB@NUS", "posn": [103.777696, 1.294332], "link":"http:/openwetware.org/wiki/SSB%40NUS" }, {"name":"Cellular and Molecular Bioengineering Laboratory", "posn": [103.777456, 1.294392], "link":"http:/openwetware.org/wiki/Cellular_and_molecular_bioengineering_laboratory" }, {"name":"Luo Lab", "posn": [116.39529400414, 39.941398924795], "link":"http:/openwetware.org/wiki/Luo_Lab" }, {"name":"Prof G. R. Desiraju's Lab", "posn": [78.330223, 17.454061], "link":"http:/openwetware.org/wiki/Prof_G._R._Desiraju%27s_Lab" }, {"name":"Prof. Sun Min Kim's Lab", "posn": [127.10644324219, 38.328579752789], "link":"http:/openwetware.orghttp://bmfl.inha.ac.kr" }, {"name":"Hwang_Lab", "posn": [126.95325692093, 37.459601617252], "link":"http:/openwetware.org/wiki/Hwang_Lab" }, {"name":"IRC Lab", "posn": [121.248244, 14.166382], "link":"http:/openwetware.org/wiki/IRC_Lab" }, {"name":"Hishamuddin Lab", "posn": [103.64222128784, 1.5568845003318], "link":"http:/openwetware.org/wiki/Hishamuddin_Lab" }, {"name":"Razib Lab", "posn": [103.64225128784, 1.5571545003318], "link":"http:/openwetware.org/wiki/Razib_Lab" }, {"name":"Rohayanti Lab", "posn": [103.64201128784, 1.5572145003318], "link":"http:/openwetware.org/wiki/Rohayanti_Lab" }, {"name":"Shafry Lab", "posn": [103.64192128784, 1.5570045003318], "link":"http:/openwetware.org/wiki/Shafry_Lab" }, {"name":"Zalmiyah Lab", "posn": [103.64207128784, 1.5568545003318], "link":"http:/openwetware.org/wiki/Zalmiyah_Lab" }, {"name":"Zuraini Lab", "posn": [103.64228128784, 1.5569445003318], "link":"http:/openwetware.org/wiki/Zuraini_Lab" }, {"name":"Nijman Lab", "posn": [16.011865, 48.301061], "link":"http:/openwetware.org/wiki/Nijman" }, {"name":"Michael Sauer's Lab", "posn": [16.403805, 48.256071], "link":"http:/openwetware.org/wiki/MSauer" }, {"name":"Imperial College", "posn": [16.403835, 48.256341], "link":"http:/openwetware.org/wiki/Imperial_College" }, {"name":"Immunogenomics Lab", "posn": [16.403595, 48.256401], "link":"http:/openwetware.org/wiki/Kafatos:Kafatos/Christophides_Lab" }, {"name":"Crisanti:Crisanti Lab", "posn": [16.403505, 48.256191], "link":"http:/openwetware.org/wiki/Crisanti:Crisanti_Lab" }, {"name":"Maerkl Lab", "posn": [6.5699013034058, 46.520246480618], "link":"http:/openwetware.org/wiki/Maerkl" }, {"name":"Florian's Lab", "posn": [8.5481913844299, 47.376800065193], "link":"http:/openwetware.org/wiki/Freimoser" }, {"name":"Gerber Lab", "posn": [8.5482213844299, 47.377070065193], "link":"http:/openwetware.org/wiki/Gerber" }, {"name":"Sole Lab", "posn": [2.1678598681641, 41.471908878018], "link":"http:/openwetware.org/wiki/Sole_Lab" }, {"name":"PrbbBioBricks Community", "posn": [2.1678898681641, 41.472178878018], "link":"http:/openwetware.org/wiki/PrbbBB" }, {"name":"Keymer Lab", "posn": [4.3761118212891, 51.998947355941], "link":"http:/openwetware.org/wiki/Keymer" }, {"name":"Gimisis Lab", "posn": [23.753639, 38.007515], "link":"http:/openwetware.org/wiki/Gimisis" }, {"name":"Grierson Lab", "posn": [-2.5851003369141, 51.476101149824], "link":"http:/openwetware.org/wiki/Grierson_Lab" }, {"name":"Livesey Lab", "posn": [0.12002547180176, 52.205379033702], "link":"http:/openwetware.org/wiki/Livesey_Lab" }, {"name":"Streptomyces", "posn": [0.12000401412964, 52.202919930172], "link":"http:/openwetware.org/wiki/Streptomyces" }, {"name":"Elfick Lab", "posn": [-3.1759158810425, 55.92114153211], "link":"http:/openwetware.org/wiki/Elfick_Lab" }, {"name":"French Lab", "posn": [-3.1758858810425, 55.92141153211], "link":"http:/openwetware.org/wiki/French_Lab" }, {"name":"MCISB (not yet written)", "posn": [-2.2367135723877, 53.469660183142], "link":"http:/openwetware.org/wiki/MCISB" }, {"name":"MIB", "posn": [-2.2366835723877, 53.469930183142], "link":"http:/openwetware.org/wiki/MIB" }, {"name":"FCCT Biochemistry Lab", "posn": [14.504265, 46.049237], "link":"http:/openwetware.org/wiki/FCCT_Biochemistry_Lab" }, {"name":"Bertilsson", "posn": [17.631551, 59.856162], "link":"http:/openwetware.org/wiki/Bertilsson" }, {"name":"Molecular Recognition Laboratorium", "posn": [10.705781773682, 53.838122230481], "link":"http:/openwetware.org/wiki/Molecular_Recognition_Laboratorium" }, {"name":"Theilmeier Lab", "posn": [9.770581, 52.398703], "link":"http:/openwetware.org/wiki/Theilmeier_Lab" }, {"name":"Organprotektion Lab", "posn": [9.9489267626953, 49.797848464013], "link":"http:/openwetware.org/wiki/Organprotektion_Lab" }, {"name":"Quint Lab", "posn": [9.948927, 49.797848], "link":"http:/openwetware.org/wiki/Quint_Lab" }, {"name":"Gattuso", "posn": [7.0539434710693, 43.621822513698], "link":"http:/openwetware.org/wiki/Gattuso" }, {"name":"Cambridge Research Institute", "posn": [7.0539734710693, 43.622092513698], "link":"http:/openwetware.org/wiki/CRI" }, {"name":"Odom Lab", "posn": [7.0537334710693, 43.622152513698], "link":"http:/openwetware.org/wiki/Odom_Lab" }, {"name":"CRI Genomics Core", "posn": [7.0536434710693, 43.621942513698], "link":"http:/openwetware.org/wiki/CRI_Genomics_Core" }, {"name":"Mazel Lab: Bacterial Genome Plasticity", "posn": [2.33042, 48.84709], "link":"http:/openwetware.org/wiki/Mazel" }, {"name":"Etchevers Lab, Valencia, Spain", "posn": [2.336444, 48.862752], "link":"http:/openwetware.org/wiki/Etchevers_Lab" }, {"name":"Intertech, Cantabria, Spain", "posn": [2.336474, 48.863022], "link":"http:/openwetware.org/wiki/Intertech" }, {"name":"De la Cruz Lab, Inst. of Neurophysiology", "posn": [2.336234, 48.863082], "link":"http:/openwetware.org/wiki/De_la_Cruz_Lab" }, {"name":"saric lab", "posn": [2.336144, 48.862872], "link":"http:/openwetware.org/wiki/Saric_lab" }, {"name":"Eccles Lab", "posn": [170.082462, -45.576465], "link":"http:/openwetware.org/wiki/Eccles_Lab" }, {"name":"Gene Structure and Function Lab", "posn": [170.082492, -45.576195], "link":"http:/openwetware.org/wiki/Gene_Structure_and_Function_Lab" }, {"name":"Kobe Lab", "posn": [170.082462, -45.576465], "link":"http:/openwetware.org/wiki/Kobe" }, {"name":"Holcombe Lab", "posn": [151.187043, -33.888075], "link":"http:/openwetware.org/wiki/Holcombe" }, {"name":"Laboratório de Processamento de Informação Biológica", "posn": [-46.595077, -23.602124], "link":"http:/openwetware.org/wiki/Labpib" }, {"name":"Li Lab", "posn": [-95.396463080292, 29.709989938446], "link":"http:/openwetware.org),/wiki/Li_Lab" }, {"name":"Collins Lab", "posn": [-71.105366, 42.348457], "link":"http:/openwetware.org/wiki/Collins_Lab" }, {"name":"Klapperich Lab", "posn": [-71.105336, 42.348727], "link":"http:/openwetware.org/wiki/Klapperich_Lab" }, {"name":"Griffitts Lab", "posn": [-111.64989869202, 40.25311301752], "link":"http:/openwetware.org/wiki/Griffitts" }, {"name":"Erickson Lab", "posn": [-111.64986869202, 40.25338301752], "link":"http:/openwetware.org/wiki/Erickson" }, {"name":"STEM Facility", "posn": [-72.871937, 40.873196], "link":"http:/openwetware.org/wiki/STEM_Facility" }, {"name":"Baoli Yang Lab", "posn": [-91.549244, 41.662683], "link":"http:/openwetware.org/wiki/GTCF" }, {"name":"Baoli Yang Lab", "posn": [-91.549214, 41.662953], "link":"http:/openwetware.org/wiki/Baoli" }, {"name":"Arnold Lab", "posn": [-118.12449, 34.136434], "link":"http:/openwetware.org/wiki/Arnold" }, {"name":"Doyle Lab", "posn": [-118.12446, 34.136704], "link":"http:/openwetware.org/wiki/Doyle" }, {"name":"Sreenath Lab", "posn": [-81.608986063843, 41.50405645872], "link":"http:/openwetware.org/wiki/Sreenath" }, {"name":"Jacobs Lab", "posn": [-73.96095673645, 40.808559683405], "link":"http:/openwetware.org/wiki/Jacobs" }, {"name":"Ratner Lab", "posn": [-73.96092673645, 40.808829683405], "link":"http:/openwetware.org/wiki/Ratner" }, {"name":"Campbell and Heyer Lab", "posn": [-80.847362, 35.502664], "link":"http:/openwetware.org/wiki/Davidson" }, {"name":"Kemp Lab", "posn": [-83.001588984375, 32.75941202565], "link":"http:/openwetware.org/wiki/Kemp" }, {"name":"Payne Lab", "posn": [-83.001558984375, 32.75968202565], "link":"http:/openwetware.org/wiki/Payne_Lab" }, {"name":"Conklin Lab", "posn": [-122.45752732361, 37.763423557136], "link":"http:/openwetware.org/wiki/Conklin" }, {"name":"Silver Lab", "posn": [-71.116613551025, 42.385660314586], "link":"http:/openwetware.org/wiki/Silver_Lab" }, {"name":"Church Lab", "posn": [-71.116583551025, 42.385930314586], "link":"http:/openwetware.org/wiki/Church_Lab" }, {"name":"Drummond Lab", "posn": [-71.116823551025, 42.385990314586], "link":"http:/openwetware.org/wiki/Drummond" }, {"name":"Chen Lab", "posn": [-71.116913551025, 42.385780314586], "link":"http:/openwetware.org/wiki/Chen_Lab_at_Harvard_University" }, {"name":"Ketner Lab", "posn": [-76.619182, 39.327476], "link":"http:/openwetware.org/wiki/Ketner_Lab" }, {"name":"Hartman Behavioral Neuroscience Lab", "posn": [-117.26109, 34.051762], "link":"http:/openwetware.org/wiki/Hartman_Behavioral_Neuroscience_Lab" }, {"name":"Hlavacek Lab", "posn": [-106.270406, 35.862626], "link":"http:/openwetware.org/wiki/Hlavacek" }, {"name":"Dahlquist Lab", "posn": [-118.419436, 33.968926], "link":"http:/openwetware.org/wiki/Dahlquist" }, {"name":"Juncker Lab", "posn": [-73.937696619873, 45.410051001124], "link":"http:/openwetware.org/wiki/Juncker_Lab" }, {"name":"Farre Lab", "posn": [-84.48302666748, 42.726310842684], "link":"http:/openwetware.org/wiki/Farre_Lab" }, {"name":"Alm Lab", "posn": [-71.089533968811, 42.362738310588], "link":"http:/openwetware.org/wiki/Alm_Lab" }, {"name":"BioMicroCenter", "posn": [-71.089503968811, 42.363008310588], "link":"http:/openwetware.org/wiki/BioMicroCenter" }, {"name":"Boyden Lab (not yet written)", "posn": [-71.089743968811, 42.363068310588], "link":"http:/openwetware.org/wiki/Boyden_Lab" }, {"name":"Chen Lab", "posn": [-71.089833968811, 42.362858310588], "link":"http:/openwetware.org/wiki/Chen_Lab" }, {"name":"DeLong Lab", "posn": [-71.089683968811, 42.362708310588], "link":"http:/openwetware.org/wiki/DeLong_Lab" }, {"name":"Grossman Lab", "posn": [-71.089473968811, 42.362798310588], "link":"http:/openwetware.org/wiki/Grossman_Lab" }, {"name":"Keating Lab", "posn": [-71.089473968811, 42.363098310588], "link":"http:/openwetware.org/wiki/Keating_Lab" }, {"name":"Khademhosseini Lab", "posn": [-71.089773968811, 42.363098310588], "link":"http:/openwetware.org/wiki/Alik" }, {"name":"Knight Lab", "posn": [-71.089863968811, 42.362888310588], "link":"http:/openwetware.org/wiki/Knight_Lab" }, {"name":"Lauffenburger Lab", "posn": [-71.089773968811, 42.362678310588], "link":"http:/openwetware.org/wiki/Lauffenburger_Lab" }, {"name":"Lippard Lab", "posn": [-71.089473968811, 42.362678310588], "link":"http:/openwetware.org/wiki/Lippard_Lab" }, {"name":"Maheshri Lab", "posn": [-71.089443968811, 42.362948310588], "link":"http:/openwetware.org/wiki/Maheshri" }, {"name":"Matsudaira Lab", "posn": [-71.089563968811, 42.363128310588], "link":"http:/openwetware.org/wiki/Matsudaira_Lab" }, {"name":"Prather", "posn": [-71.089863968811, 42.363128310588], "link":"http:/openwetware.org/wiki/Prather" }, {"name":"Saeij Lab", "posn": [-71.089893968811, 42.362858310588], "link":"http:/openwetware.org/wiki/Saeij_Lab" }, {"name":"Sauer Lab", "posn": [-71.089803968811, 42.362648310588], "link":"http:/openwetware.org/wiki/Sauer_Lab" }, {"name":"Schauer Lab", "posn": [-71.089503968811, 42.362648310588], "link":"http:/openwetware.org/wiki/Schauer_Lab" }, {"name":"Stephanopoulos Lab", "posn": [-71.089413968811, 42.362858310588], "link":"http:/openwetware.org/wiki/Stephanopoulos_Lab" }, {"name":"van Oudenaarden Lab", "posn": [-71.089413968811, 42.363158310588], "link":"http:/openwetware.org/wiki/Van_Oudenaarden_Lab" }, {"name":"Wittrup Lab", "posn": [-71.089713968811, 42.363158310588], "link":"http:/openwetware.org/wiki/Wittrup_Lab" }, {"name":"Licht Lab", "posn": [-71.05155388916, 42.384772757848], "link":"http:/openwetware.org/wiki/Licht_Lab" }, {"name":"Hoatlin Lab", "posn": [-122.68536488617, 45.502527464178], "link":"http:/openwetware.org/wiki/Hoatlin_Lab" }, {"name":"Thayer Lab", "posn": [-122.68533488617, 45.502797464178], "link":"http:/openwetware.org/wiki/Thayer_Lab" }, {"name":"Liston Lab", "posn": [-123.28098694885, 44.563783436419], "link":"http:/openwetware.org/wiki/Liston:Lab" }, {"name":"Richard Lab", "posn": [-77.857476, 40.80299], "link":"http:/openwetware.org/wiki/Richard_Lab" }, {"name":"Rickus Lab", "posn": [-86.91425, 40.430906], "link":"http:/openwetware.org/wiki/Rickus_Lab" }, {"name":"Yeo Lab", "posn": [-86.91422, 40.431176], "link":"http:/openwetware.org/wiki/Yeo_lab" }, {"name":"Suh Lab", "posn": [-95.402750178223, 29.72458159291], "link":"http:/openwetware.org/wiki/Suh" }, {"name":"Craig Lab", "posn": [-77.671625, 43.085262], "link":"http:/openwetware.org/wiki/Craig" }, {"name":"Smolke Lab", "posn": [-122.17252652252, 37.433111097733], "link":"http:/openwetware.org/wiki/Smolke" }, {"name":"Endy Lab", "posn": [-122.17249652252, 37.433381097733], "link":"http:/openwetware.org/wiki/Endy_Lab" }, {"name":"Nachury Lab", "posn": [-122.17273652252, 37.433441097733], "link":"http:/openwetware.org/wiki/Nachury" }, {"name":"Carrico Lab", "posn": [-122.173342, 37.433281], "link":"http:/openwetware.org/wiki/Carrico" }, {"name":"McKinney Lab", "posn": [-73.957931204681, 40.762483598644], "link":"http:/openwetware.org/wiki/McKinney" }, {"name":"Biemar Lab", "posn": [-75.155891581421, 39.985289768671], "link":"http:/openwetware.org/wiki/Biemar" }, {"name":"Hu Lab", "posn": [-96.342767878418, 30.653269107539], "link":"http:/openwetware.org/wiki/Hu_Lab" }, {"name":"Pfeifer Lab", "posn": [-71.11918847168, 42.410063207464], "link":"http:/openwetware.org/wiki/Pfeifer_Lab" }, {"name":"Arkin Lab", "posn": [-122.25865761841, 37.890826310543], "link":"http:/openwetware.org/wiki/Arkin_Lab" }, {"name":"BioPOEMS Lab (Luke P. Lee)", "posn": [-122.25862761841, 37.891096310543], "link":"http:/openwetware.org/wiki/Biopoems" }, {"name":"Dueber Lab", "posn": [-122.25886761841, 37.891156310543], "link":"http:/openwetware.org/wiki/Dueber_Lab" }, {"name":"Keasling Lab", "posn": [-122.25895761841, 37.890946310543], "link":"http:/openwetware.org/wiki/Keasling_Lab" }, {"name":"Liphardt Lab", "posn": [-122.25880761841, 37.890796310543], "link":"http:/openwetware.org/wiki/Liphardt_Lab" }, {"name":"Rabinow Lab", "posn": [-122.25859761841, 37.890886310543], "link":"http:/openwetware.org/wiki/Rabinow_lab" }, {"name":"Cande Lab", "posn": [-122.25859761841, 37.891186310543], "link":"http:/openwetware.org/wiki/Cande_Lab" }, {"name":"Chan Lab", "posn": [-122.25213448608, 37.902611419496], "link":"http:/openwetware.org/wiki/Chan" }, {"name":"Eisen Lab", "posn": [-122.25210448608, 37.902881419496], "link":"http:/openwetware.org/wiki/Eisen" }, {"name":"Maloof Lab", "posn": [-122.25234448608, 37.902941419496], "link":"http:/openwetware.org/wiki/Maloof_Lab" }, {"name":"Zhang Lab", "posn": [-117.23957936371, 32.87482382062], "link":"http:/openwetware.org/wiki/Zhang" }, {"name":"Voigt Lab", "posn": [-122.45795647705, 37.763135181409], "link":"http:/openwetware.org/wiki/Voigt_Lab" }, {"name":"Rao Lab", "posn": [-88.22546, 40.107142], "link":"http:/openwetware.org/wiki/Rao_Lab" }, {"name":"Wang Lab", "posn": [-88.22543, 40.107412], "link":"http:/openwetware.org/wiki/WangLab:Home" }, {"name":"Federle Lab", "posn": [-87.65163819397, 41.868707755755], "link":"http:/openwetware.org/wiki/Federle_Lab" }, {"name":"Hartman Lab", "posn": [-86.78569237793, 33.591021293173], "link":"http:/openwetware.org/wiki/Hartman_Lab" }, {"name":"Min Lab", "posn": [-149.81648842896, 61.188701229548], "link":"http:/openwetware.org/wiki/Min_Lab" }, {"name":"Pan Lab", "posn": [-87.596620722656, 41.947084477978], "link":"http:/openwetware.org/wiki/Pan_Lab" }, {"name":"Sosnick Lab", "posn": [-87.596590722656, 41.947354477978], "link":"http:/openwetware.org/wiki/Sosnick_Lab" }, {"name":"Kreitman Lab", "posn": [-87.596830722656, 41.947414477978], "link":"http:/openwetware.org/wiki/Kreitman" }, {"name":"Yu Lab", "posn": [-72.255415125732, 41.81045383783], "link":"http:/openwetware.org/wiki/Yu_Lab" }, {"name":"Hanson Lab", "posn": [-75.751895, 39.678461], "link":"http:/openwetware.org/wiki/Hanson_Lab" }, {"name":"Moore", "posn": [-81.20008866394, 28.608863784384], "link":"http:/openwetware.org/wiki/Moore" }, {"name":"Dziubla Lab", "posn": [-84.504141016846, 38.050644662667], "link":"http:/openwetware.org/wiki/Dziubla_Lab" }, {"name":"Kaznessis Lab (not yet written)", "posn": [-93.232950373535, 44.981345902583], "link":"http:/openwetware.org/wiki/Kaznessis_Lab" }, {"name":"Atkin Lab", "posn": [-96.701969309692, 40.821811195605], "link":"http:/openwetware.org/wiki/Atkin" }, {"name":"Hellmann Lab", "posn": [-86.237577601318, 41.702182251248], "link":"http:/openwetware.org/wiki/Hellmann" }, {"name":"Berglund Lab", "posn": [-123.07473580444, 44.046392580802], "link":"http:/openwetware.org/wiki/Berglund_Lab" }, {"name":"Lan Lab", "posn": [-75.684479876404, 45.429871548198], "link":"http:/openwetware.org/wiki/Lan" }, {"name":"Howlett Lab", "posn": [-71.525725527649, 41.487920367112], "link":"http:/openwetware.org/wiki/Howlett_Lab" }, {"name":"Nuzhdin Lab", "posn": [-118.28559796417, 34.026478169742], "link":"http:/openwetware.org/wiki/Nuzhdin_Lab" }, {"name":"Wei He Lab", "posn": [-83.930019541626, 35.965769590277], "link":"http:/openwetware.org/wiki/Wei_He" }, {"name":"Beauchamp Lab", "posn": [-95.404230757599, 29.706187933066], "link":"http:/openwetware.org/wiki/Beauchamp" }, {"name":"Cox Lab", "posn": [-95.404200757599, 29.706457933066], "link":"http:/openwetware.org/wiki/Cox" }, {"name":"Toronto Microfluidics Foundry", "posn": [-79.397300883179, 43.667349092903], "link":"http:/openwetware.org/wiki/TorontoMicrofluidicsFoundry" }, {"name":"Batada Lab", "posn": [-79.397270883179, 43.667619092903], "link":"http:/openwetware.org/wiki/Batada_Lab" }, {"name":"Koop Lab", "posn": [-79.397301, 43.667349], "link":"http:/openwetware.org/wiki/Koop" }, {"name":"Kwon Lab", "posn": [-78.505262537842, 38.053618502071], "link":"http:/openwetware.org/wiki/Kwon_Lab" }, {"name":"Kreeger Lab", "posn": [-89.399537249451, 43.07851853173], "link":"http:/openwetware.org/wiki/Kreeger" }, {"name":"Landick Lab", "posn": [-89.399507249451, 43.07878853173], "link":"http:/openwetware.org/wiki/Landick_Lab" }, {"name":"McMahon Lab", "posn": [-89.399747249451, 43.07884853173], "link":"http:/openwetware.org/wiki/McMahon_Lab" }, {"name":"Smith Lab", "posn": [-89.399837249451, 43.07863853173], "link":"http:/openwetware.org/wiki/LMS" }, {"name":"Wiese Lab", "posn": [-89.399687249451, 43.07848853173], "link":"http:/openwetware.org/wiki/Wiese_Lab" }, {"name":"Ellington Lab", "posn": [-97.737516566162, 30.289827362269], "link":"http:/openwetware.org/wiki/Ellington_Lab" }, {"name":"Suggs Lab", "posn": [-97.737486566162, 30.290097362269], "link":"http:/openwetware.org/wiki/Suggs_Lab" }, {"name":"Balazsi Lab", "posn": [-95.396591826324, 29.707157085362], "link":"http:/openwetware.org/wiki/Balazsi_Lab" }, {"name":"Forster Lab", "posn": [-86.804966, 36.1443], "link":"http:/openwetware.org/wiki/Forster_Lab" }, {"name":"Kupfer Lab", "posn": [-72.925752802734, 41.328207584091], "link":"http:/openwetware.org/wiki/Kupfer_Lab" },

   ]
 }

];


//-------------------------------------------------------------------- // DO NOT EDIT : google map display machinery (still not working ...) //--------------------------------------------------------------------

function setupOWWMarkers() {

 var mgr = new GMarkerManager(map);
 //--------------------------------- 
 //set institutions markers first
 //---------------------------------
 //define Icon to be displayed
 var institutionIcon = new GIcon();
 institutionIcon.image = "http://labs.google.com/ridefinder/images/mm_20_blue.png";   
 institutionIcon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
 institutionIcon.iconSize = new GSize(12, 20);
 institutionIcon.shadowSize = new GSize(22, 20);
 institutionIcon.iconAnchor = new GPoint(6, 20);
 institutionIcon.infoWindowAnchor = new GPoint(5, 1);


 //function to create an Institution marker at a given point with the given name and link.

 function createInstitutionMarker(position, name, link) {
   var my_institution_marker = new GMarker(position, { title: name, icon: institutionIcon });
   GEvent.addListener(my_institution_marker, "click", function() {
      my_institution_marker.openInfoWindowHtml("<a href=\"" + link + "\"><b>" + name + " on OWW</b></a>");
   });
 return my_institution_marker;
 }
 //loop over all registered institutions 
 for (var i in OWW_InstitutionLayer) {
   var institution_layer = OWW_InstitutionLayer[i];
   var institutions_markers = [];
   for (var j in institution_layer["places"]) {
     var institution_place = institution_layer["places"][j];
     var institution_posn = new GLatLng(institution_place["posn"][1], institution_place["posn"][0]);
     var institution_marker = createInstitutionMarker(institution_posn, institution_place["name"], institution_place["link"]);
     institutions_markers.push(institution_marker);
   }
   mgr.addMarkers(institutions_markers, institution_layer["zoom"][0], institution_layer["zoom"][1]);
 }
   
 //------------------------- 
 //set labs markers second
 //-------------------------
 //define Icon to be displayed for labs
 var labIcon = new GIcon();
 labIcon.image = "http://openwetware.org/images/0/02/Owwmarker.jpg";  
 labIcon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
 labIcon.iconSize = new GSize(25, 25);
 labIcon.shadowSize = new GSize(22, 20);
 labIcon.iconAnchor = new GPoint(6, 20);
 labIcon.infoWindowAnchor = new GPoint(5, 1);
 //function to create an Lab marker at the given point with the given name and link 
 function createLabMarker(position, name, link) {
   var my_lab_marker = new GMarker(position, { title: name, icon: labIcon });
   GEvent.addListener(my_lab_marker, "click", function() {
     my_lab_marker.openInfoWindowHtml("<a href=\"" + link + "\"><b>" + name + " on OWW</b></a>");
 });
   return my_lab_marker;
 }


 //loop over registered labs 
 for (var i in OWW_LabLayer) {
   var lab_layer = OWW_LabLayer[i];
   var labs_markers = [];
   for (var j in lab_layer["places"]) {
     var lab_place = lab_layer["places"][j];
     var lab_posn = new GLatLng(lab_place["posn"][1], lab_place["posn"][0]);
     var lab_marker = createLabMarker(lab_posn, lab_place["name"], lab_place["link"]);
     labs_markers.push(lab_marker);
   }
   mgr.addMarkers(labs_markers, lab_layer["zoom"][0], lab_layer["zoom"][1]);
 }
 
 mgr.refresh();

}


//----------------- // load //----------------- function load() {

     if (GBrowserIsCompatible()) {
       map = new GMap2(document.getElementById("map"));
       map.addControl(new GLargeMapControl());
       map.addControl(new GOverviewMapControl());
       map.setCenter(new GLatLng(50, -98), 1);
       map.enableDoubleClickZoom();
       //window.setTimeout(setupOWWMarkers, 0);
       setupOWWMarkers(); 
     }
   }
   //]]>
   addOnloadHook(load);
   hookEvent("unload", GUnload);
   </script>
   <div id="map" style="width: 600px; height: 350px"></div>

</html>