function extWindow(url) 
		{
window.open(url);
		 }
		 
/* function internalLinks() {
	
	var anker = document.getElementsByTagName("a");
	
	for(var i = 0; i < anker.length; i++){
  if(anker[i].href.indexOf("movies/") != -1 && anker[i].href){
   anker[i].onclick = function() { window.open(this.href, null, "width=400, height=400"); return false; };
   anker[i].title += anker[i].title ? "(Film in neuem Fenster)" : "Film in neuem Fenster";
  		}
	}
} */

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.href.indexOf("ayurveda-dreaming.de") == -1) {
     anchor.onclick = function() { window.open(this.href); return false; };
	 anchor.title = "Externer Link in neuem Fenster";
  }
 } 
}

function xFunktionen() {
/*	internalLinks(); */
	externalLinks();
}

window.onload = xFunktionen;
