/////////////////////////////////////////////
// Copyright online agentur netzmotor 2005 //
//          www.netzmotor.de               //
/////////////////////////////////////////////

// Bilder vorladen
function load(){
	if(document.images){
	   navi1 = new Image();	
	   navi1.src = "img/navi1_hi.gif";
	   navi2 = new Image();  
	   navi2.src = "img/navi2_hi.gif";
	   navi3 = new Image();  
	   navi3.src = "img/navi3_hi.gif";
	   navi4 = new Image();  
	   navi4.src = "img/navi4_hi.gif";	   
	   navi5 = new Image();  
	   navi5.src = "img/navi5_hi.gif";	   
   	   	 
	     		   	   	   	   	   
	}
}

// MouseOver
function an(name) {
        if(document.images){
        var navi = document.images[name];
        navi.src = "img/" + name + "_hi.gif";    
        }
}


function aus(name) {
        if(document.images){
        var navi = document.images[name];
        navi.src = "img/" + name + "_lo.gif";  
        }
}


// MouseOver fuer Templates
function an2(name) {
        if(document.images){
        var navi = document.images[name];
        navi.src = "/img/" + name + "_hi.gif";    
        }
}


function aus2(name) {
        if(document.images){
        var navi = document.images[name];
        navi.src = "/img/" + name + "_lo.gif";  
        }
}

function imgPopUp(picName,picSrc,width,height,picTitle) {
      imgWindow = window.open("","imageWin","width=" + width + ",height=" + height + ",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,copyhistory=0,screenX=15,screenY=15,left=15,top=15");
      imgWindow.document.open();
      imgWindow.document.write("<html><head><title>" + picTitle + "</title></head><body leftmargin=0 topmargin=0 margindwidth=0 marginheight=0>");
      imgWindow.document.write("<a href=# onClick=window.self.close()><img id=thisimage src=" + picSrc + " width=" + width + " height=" + height + " border=0 alt='Fenster schließen'></a>");
      imgWindow.document.write("<script>window.self.resizeTo(thisimage.width+10,thisimage.height+20)<\/script><script src=\"http://www.google-analytics.com/urchin.js\" type=\"text/javascript\"><\/script>");
	  imgWindow.document.write("<script type=\"text/javascript\"> _uacct = \"UA-2546908-1\"; urchinTracker(); <\/script>");
      imgWindow.document.write("</body></html>");
      imgWindow.document.close();
      imgWindow.focus();
}



