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";
 }
}
window.onload = externalLinks;

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function moveTo(obj, x, y) {
        if (document.getElementById) {
        document.getElementById('scroll').style.left = x;
        //document.getElementById('scroll').style.top = y;
        }
}

function init(){
        if(document.getElementById){
        obj = document.getElementById('scroll');
        obj.style.left = "-8000px"; //hier einstellen
        }
}

function slideRight(){
        if(document.getElementById){
                if(parseInt(obj.style.left) < 1){
                        obj.style.left = parseInt(obj.style.left) + 1 + "px";
                        move = setTimeout("slideRight()",5);
                }
        }
}

function slideLeft(){
        if(document.getElementById){
                if(parseInt(obj.style.left) > -7950){
                        obj.style.left = parseInt(obj.style.left) - 1 + "px";
						//parent.document.getElementById('zahl').value=parseInt(obj.style.left);
                        move = setTimeout("slideLeft()",5);
                }
        }
}
function stopit(){
      window.clearTimeout(move);
}
function deselect() { 
 	for(i=1;i<8;i++) { 
		 obj = document.getElementById('t'+i);
		 obj.className='';
	}
}
