function initGoogleMap() {
	// Creating a LatLng object containing the coordinate for the center of the map  
 var latlng = new google.maps.LatLng(57.8, 14.0);  
	 // Creating an object literal containing the properties we want to pass to the map  
	 var options = {  
	   zoom: 6,  
	   center: latlng,  
	   mapTypeId: google.maps.MapTypeId.ROADMAP  
	 };  
	 // Calling the constructor, thereby initializing the map  
	 var map = new google.maps.Map(document.getElementById('map'), options); 
}

function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
