function customFooter() {
jQuery("#gmap").prepend('
');
var map;
var mapOptions;
var myLatlng;
var marker;
var customMarker;
jQuery.getScript("https://maps.googleapis.com/maps/api/js?callback=initMap");
}
customFooter();
function initMap() {
myLatlng = new google.maps.LatLng(48.304299,14.302233);
mapOptions = {
zoom: 16,
center: myLatlng,
streetViewControl: false,
overviewMapControl: true
}
map = new google.maps.Map(document.getElementById('gmap-wrap'), mapOptions);
map.set('styles', [
{
"featureType": "water",
"elementType": "geometry",
"stylers": [
{
"color": "#e9e9e9"
},
{
"lightness": 17
}
]
},
{
"featureType": "landscape",
"elementType": "geometry",
"stylers": [
{
"color": "#f5f5f5"
},
{
"lightness": 20
}
]
},
{
"featureType": "road.highway",
"elementType": "geometry.fill",
"stylers": [
{
"color": "#ffffff"
},
{
"lightness": 17
}
]
},
{
"featureType": "road.highway",
"elementType": "geometry.stroke",
"stylers": [
{
"color": "#ffffff"
},
{
"lightness": 29
},
{
"weight": 0.2
}
]
},
{
"featureType": "road.arterial",
"elementType": "geometry",
"stylers": [
{
"color": "#ffffff"
},
{
"lightness": 18
}
]
},
{
"featureType": "road.local",
"elementType": "geometry",
"stylers": [
{
"color": "#ffffff"
},
{
"lightness": 16
}
]
},
{
"featureType": "poi",
"elementType": "geometry",
"stylers": [
{
"color": "#f5f5f5"
},
{
"lightness": 21
}
]
},
{
"featureType": "poi.park",
"elementType": "geometry",
"stylers": [
{
"color": "#dedede"
},
{
"lightness": 21
}
]
},
{
"elementType": "labels.text.stroke",
"stylers": [
{
"visibility": "on"
},
{
"color": "#ffffff"
},
{
"lightness": 16
}
]
},
{
"elementType": "labels.text.fill",
"stylers": [
{
"saturation": 36
},
{
"color": "#333333"
},
{
"lightness": 40
}
]
},
{
"elementType": "labels.icon",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "transit",
"elementType": "geometry",
"stylers": [
{
"color": "#f2f2f2"
},
{
"lightness": 19
}
]
},
{
"featureType": "administrative",
"elementType": "geometry.fill",
"stylers": [
{
"color": "#fefefe"
},
{
"lightness": 20
}
]
},
{
"featureType": "administrative",
"elementType": "geometry.stroke",
"stylers": [
{
"color": "#fefefe"
},
{
"lightness": 17
},
{
"weight": 1.2
}
]
}
])
var customMarker = {
url: '../../upload/1493613_1419099_smallmapmarker.png',
size: new google.maps.Size(58, 58),
}
marker = new google.maps.Marker({
position: map.getCenter(),
icon: customMarker,
map: map,
title: "Routenplaner"
});
marker.setMap(map);
google.maps.event.addListener(marker, 'click', function() {
window.open = window.open('https://www.google.at/maps/place/Allgemeine+Gesundheits-+und+Krankenpflegeschule+am+Diakonissenkrankenhaus+Linz/@48.3042955,14.3000658,17z/data=!3m1!4b1!4m2!3m1!1s0x4773978b8dbe6c65:0xd9b6ca3c86b7171d', '_blank');
});
}
var aerzte = {
"dr-macher" : { "Name":"Prim. Dr. Josef F. Macher","Ordination": { "Mo":"9:00 - 12:00","Mi":"10:00 - 13:00" } , "E-Mail":"ordinationen1@diakonissen.at", "Website": "https://www.wsz-linz.at", "Telefon":"0732 / 76 75 21100" },
"dr-marek" : { "Name":"Dr. Andrea Marek MSc","Ordination": { "Mo":"9:00 - 12:00","Do":"09:00 - 15:00" } , "E-Mail":"ordinationen1@diakonissen.at", "Telefon":"0732 / 76 75 1306" },
"dr-lehner" : { "Name":"Dr. Michael Lehner","Ordination": { "Di":"9:00 - 12:00","Fr":"09:00 - 14:00" } , "E-Mail":"ordinationen2@diakonissen.at", "Website": "https://www.neurochirurgie-lehner.at", "Telefon":"0732 / 76 75 22100" },
"dr-parsaei" : { "Name":"Dr. Babak Parsaei","Ordination": { "Do":"9:00 - 12:00", "Mi":"9:00 - 12:00", "Fr":"09:00 - 15:00" } , "E-Mail":"ordinationen2@diakonissen.at", "Website": "http://www.neurochirurgie-parsaei.at/", "Telefon":"0732 / 76 75 22100" },
"dr-yazdi" : { "Name":"Dr. Kambiz Yazdi","Ordination": { "Mo":"9:00 - 12:00","Do":"09:00 - 15:00" } , "E-Mail":"kambiz.yazdi@diakonissen.at", "Website": "http://www.neurologe-linz.at/", "Telefon":"0732 / 76 75 21100" },
"dr-artemian" : { "Name":"Dr. Herta Artemian","Ordination": { "Mo":"9:00 - 12:00","Mi":"10:00 - 13:00" } , "E-Mail":"ordinationen-1@diakonissen.at", "Website": "https://www.artemian.at", "Telefon":"0732 / 76 75 24100" },
"drskibbe" : { "Name":"Dr. Hagen Skibbe","Ordination":"Termin nach telefonischer Vereinbarung" , "E-Mail":"hagen.skibbe@diakonissen.at", "Website": "https://skibbe.at", "Telefon":"0732 / 76 75 22100" }
}
// do not edit after this
function hud_aerzteContact(aerzte) {
var altTag;
var doctorsInfo;
var altArray;
var doctorsName;
var doctorsSpecial = [];
var urlArray = (window.location.href).split("/");
var urlArrayLength = urlArray.length;
var pageTitle = urlArray[(urlArrayLength-2)];
console.log(pageTitle);
doctors = jQuery("#impressionen ul li").filter(function() {
return jQuery(this).find("img:first").attr("alt").toLowerCase().indexOf(pageTitle) > -1;
});
if (doctors.length) {
jQuery("#impressionen ul li").hide();
}
doctors.each( function() {
jQuery(this).show();
altTag = jQuery(this).find("img:first").attr("alt")
altArray = altTag.split(" ");
doctorsName = altArray[0];
doctorsInfo = "" + aerzte[doctorsName]["Name"] + " ";
// Spezialgebiet auskommentiert
// for (i=1; i < altArray.length; i++) {
// if (i < (altArray.length-1)) {
// doctorsInfo += altArray[i] + ", ";
// } else {
// doctorsInfo += altArray[i];
// }
// }
if (pageTitle == altArray[0]) {
doctorsInfo += "
Termin nach telefonischer Vereinbarung ";
doctorsInfo += aerzte[doctorsName]["Telefon"] + " ";
//if (aerzte.hasOwnProperty(doctorsName)) {
// for (var key in aerzte[doctorsName]["Ordination"]) {
// if( aerzte[doctorsName]["Ordination"].hasOwnProperty( key ) ) {
// doctorsInfo += key + " " + aerzte[doctorsName]["Ordination"][key] + " ";
// }
// }
// }
doctorsInfo += "" + aerzte[doctorsName]["E-Mail"] + " ";
if ( aerzte[doctorsName].hasOwnProperty("Website") ) {
doctorsInfo += "" + (aerzte[doctorsName]["Website"]).replace(/.*?:\/\//g, "") + " ";
}
} else {
doctorsInfo += "Mehr zu " + aerzte[doctorsName]["Name"] + " ";
}
doctorsInfo += "
";
jQuery(this).append(doctorsInfo);
});
}
hud_aerzteContact(aerzte);