function NewWindow_image(n) {

NewWin =  window.open("image.html","image",'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=370');    

         
}

var store;
function changeImage(objekt,e){	
	
		source = objekt.src;
		position = source.length-5; // 5 = l.gif


		if(source != store){
			if(e.type == 'mouseover'){
				objekt.src = (source.slice(0,position)).concat('h.gif');
			}

			if(e.type == 'mouseout'){
				objekt.src = (source.slice(0,position)).concat('l.gif');
			}
			
			
			if(e.type == 'click'){
				for (i = 0;i < (document.images.length); i++){document.images[i].src = getElements[i];}		
				document.images[which].src = image;
				store = which;
				}	
			}
	}
	
	function changeLinkBG(objekt,e){
	// Aufruf
	// onmouseover="javascript:changeLinkBG(this,event);"
		(e.type == "mouseout")?objekt.parentNode.parentNode.style.backgroundColor = '#f58220' : objekt.parentNode.parentNode.style.backgroundColor = '#ffffff';
	}
	
	function changeLinkBGsub(objekt,e){
	// Aufruf
	// onmouseover="javascript:changeLinkBG(this,event);"
		(e.type == "mouseout")?objekt.parentNode.parentNode.style.backgroundColor = '#f58220' : objekt.parentNode.parentNode.style.backgroundColor = '#ffffff';
	}


	
	function shckbp(shckp,shckti,shckte)
{ var undefined;
		source = shckp.src;
		position = source.length-5; // 5 = l.gif
		tshckp = (source.slice(0,position)).concat('h.jpg');

  if (shckte==undefined)
  {shckte='';}

  if (shckti==undefined)
  {shckti='www.fairway-training.de';}

  shcknw = window.open('', 'xyz','resizable=0');

  with (shcknw)
  {
   	focus ();
    document.open();
	document.write('<title>'+shckti+'</title>');
	document.write('<meta http-equiv="imagetoolbar" content="no">');
	document.write('<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="0" onload="opener.shckrez(document.images[0].width,document.images[0].height)">')
	document.write('<a href="javascript:self.close()">');
	document.write('<img src="'+tshckp+'" border="0" title="Klicken Sie auf das Bild, um das Fenster zu schliessen." alt="Klicken Sie auf das Bild, um das Fenster zu schliessen.">')
	document.close();
  }
}

function shckrez(x,y)
{
if (navigator.appName == 'Microsoft Internet Explorer')
{shcknw.resizeTo(x+10,y+29);}

else
{
	if(navigator.appVersion.substring(0,1) < "5")
		{shcknw.resizeTo(x,y);}
	else
		{shcknw.resizeTo(x+6,y+34);}
}

shckx=(screen.availWidth/2)-(x/2);
shcky=(screen.availHeight/2)-(y/2);
//shcknw.moveTo(shckx,shcky);
}
	
	
	
	
	
	
	
	
	
	
	
	
	
	

