function showContent(e,title){
e.openInfoWindowHtml("
"+title+"
View Full Map
");
}//end function
var mArray = Array();
var map;
var centerPoint = new GLatLng(40.078071,-101.689453);
function load() {
doLoad();
mArray.push('33.941081;-83.372025;Immunobiology of Chagas Disease');
mArray.push('-24.7272407527;-65.408824072;Molecular Epidemiology of Chagas disease');
mArray.push('-34.5418123638004;-58.4419226646423;Eco-Epidemiology of Chagas Disease');
mArray.push('-22.5125569540514;-43.06640625;Ecology, Systematics, Taxonomy of Triatomines');
mArray.push('4.63044146731869;-74.0639984607697;Laboratorio de Parasitología Molecular');
mArray.push('39.3292518597868;-82.1018600463867;Characterization of Trypanosoma cruzi strains from southern Ecuador');
mArray.push('-0.210284714674024;-78.4929800033569;Multidisciplinary Research on Chagas disase');
mArray.push('31.7684495609888;-106.504511833191;Glycobiology, Proteomics, Lipidomics of T. cruzi');
mArray.push('20.970992918559;-89.6404123306274;Parasitology of Chagas disease');
mArray.push('-34.5721091590926;-58.5535937547684;Immunology of Human Chagas disease');
mArray.push('-34.6155416776862;-58.3686554431915;Immunology of Human Chagas disease');
mArray.push('-34.5723667509799;-58.5543823242188;Sección de Chagas, Hospital Interzonal de Agudos, Eva Peron, San Martín center of Treatment of Chagasic Patients');
mArray.push('-23.5988050976939;-46.6433572769165;Schenkman Lab');
mArray.push('42.3355982156586;-71.1022710800171;Harvard School of Public Health');
mArray.push('-34.523141098585;-58.5846376419067;Primary Health Care for Chagas disease, Reconquista Area');
mArray.push('-23.5425861595322;-46.6575622558594;Cell Biology of Trypanosoma cruzi/host cell interactions');
mArray.push('47.2792290025708;-122.34375;Sterol Biosynthesis Inhibitors for Chagas Disease');
mArray.push('39.9491200943819;-75.1990020275116;Mathematical Techniques for Control of Epidemic Trypanosoma cruzi Transmission');
mArray.push('-35.6037187406973;-58.359375;Molecular Diagnosis and Epidemiology of Chagas disease');
mArray.push('33.3580616127789;-84.19921875;Screening and Treatment of Neglected Tropical Diseases in the Immigrant and Refugee Communities in the State of Georgia');
mArray.push('-34.5731261970943;-58.5157370567322;Laboratory of Genomics and Bioinformatics');
mArray.push('-34.5414897952381;-58.4417724609375;Lab. of Biology and Genetics of Trypanosomes (LBGT), FCEyN-UBA');
mArray.push('38.5481654230466;-76.904296875;American Red Cross, Scientific Support Office');
mArray.push('34.2892755200663;-85.1890182495117;Trypanosoma cruzi in the Southeastern United States');
mArray.push('-33.5047590692261;-70.576171875;Trypanosoma Cruzi Calreticulin in the Host-Parasite Interaction');
mArray.push('40.7386167456136;-73.9778566360474;Drug Development for Chagas disease');
mArray.push('33.9550556276493;-83.3518981933594;Characterization of Metabolic Pathways in Trypanosoma Cruzi');
mArray.push('6.31529853833003;-74.970703125;Laboratorio BCEI');
mArray.push('29.9454153371045;-90.032958984375;Epidemiology of Chagas disease');
mArray.push('-16.413033283827;-71.5280556678772;Epidemiology and Ecology of Chagas Disease in Arequipa, Peru');
mArray.push('29.9546928621754;-90.0763463973999;Ecology of Chagas Disease in Southern Louisiana');
mArray.push('-34.584857269937;-58.4724247455597;Laboratorio de Biologia Molecular de Trypanosoma cruzi');
mArray.push('-24.8864364907877;-65.3466796875;Instituto de Patologia Experimental');
mArray.push('51.1645487;4.1392231;Untitled');
mArray.push('-12.8974891837559;-67.060546875;Laboratory of Immunoparasitology');
mArray.push('37.7631155481029;-122.439880371094;University of California, San Francisco');
mArray.push('-25.0059726562392;-50.712890625;Immunopathology of murine Chagas\' disease');
mArray.push('-33.3201247894967;-60.556640625;Immunological studies in Trypanosoma cruzi-human and experimental infection.');
mArray.push('51.5208277136307;-0.130119323730469;London School of Hygiene and Tropical Medicine, Kelly Lab');
mArray.push('-25.7207351344121;-57.568359375;Centro para el Desarrollo de la Investigación Científica (CEDIC)');
mArray.push('-25.4943759;-49.3359652;Molecular basis of T.cruzi metacyclogenesis');
mArray.push('-15.7691732360627;-47.8666564822197;The Pathogenesis of Chagas Disease');
mArray.push('47.3556154085438;0.703253746032715;Behavioural physiology of Chagas disease vectors');
mArray.push('0;0;Instituto de Histologia y Embriologia (IHEM-CCT-Mendoza-CONICET)');
mArray.push('-31.437597785201;-64.1896820068359;Congenital Chagas Disease');
mArray.push('-22.8414014715373;-43.2348221540451;ESTUDO POR DINÂMICA MOLECULAR DE INIBIDORES PEPTÍDEO MIMÉTICOS COMPLEXADOS À TRIPANOTIONA REDUTASE DE Trypanosoma cru');
mArray.push('52.6219137543499;1.23729228973389;Host Epithelia Response to Invasion');
mArray.push('-31.548112064557;-71.103515625;Short term dynamics of Chagas` disease transmission in semiarid environments');
mArray.push('33.9438261478828;-83.3755418658257;Antibiotics for Chagas Disease');
mArray.push('41.8964;-87.6197;Northwestern University');
mArray.push('-34.597924672421;-58.397741317749;Molecules of natural origin as potential tripanocidal drugs');
addMarkers();
}
function doLoad() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map"));
map.setCenter(centerPoint, 13);
map.addControl(new GScaleControl());
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.setMapType(G_HYBRID_MAP);
GEvent.addListener(map, 'click', mapClick);
}
}
function addMarkers() {
if (mArray.length) {
var bounds = new GLatLngBounds();
for (n=0 ; n < mArray.length ; n++ ) {
var mData = mArray[n].split(';');
var point = new GLatLng(mData[0],mData[1]);
bounds.extend(point);
var marker = createMarker(point, mData[2]);
map.addOverlay(marker);
}
map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));
}else{
alert('mArray is empty!'+mArray);
}
}
function createMarker(point, title) {
var blueIcon = new GIcon(G_DEFAULT_ICON);
blueIcon.image = "http://www.chagasfound.org/images/iconmapdotthing2.png";
blueIcon.iconSize = new GSize(18,36);
var marker = new GMarker(point,{"title":title,"icon":blueIcon});
GEvent.addListener(marker, "click", function() {
showContent(marker,title)
});
return marker;
}
function mapClick(marker, point) {
if (!marker) {
oLat = document.getElementById("lat");
oLat.value = point.y;
oLon = document.getElementById("lon");
oLon.value = point.x;
oDesc = document.getElementById("desc");
oDesc.value = 'New point';
}
}