//                                           ********** open window ********** 
// So sieht der Link für Popups aus z.B. 
// <a href="#" onclick="openwin ('ordnername/beispiel.htm', '_FensterName', '100', '200')">Link</a>
function openwin(url, url_name, xsize, ysize, resizeable, menu, toolbar, location, status, dir, scrollbars) {
		if(!xsize)		{ xsize=640;	}
		if(!ysize)		{ ysize=480;	}		
		if(!url_name) 	{ url_name='_noname';	}	// name des fensters fuer target bei href
		if(!resizeable)	{ resizeable='yes';	}		// fenster skalierbar ja/nein
		if(!menu)		{ menu='no';	}			// menuleiste
		if(!toolbar)	{ toolbar='no';	}		// toolbar/symbolleiste (buttons wie back, forward, stop etc.)
		if(!location)	{ location='no';	}		// URL Adressleiste
		if(!status)		{ status='no';	}			// status leiste
		if(!dir)		{ dir='no';	}				// directory leiste
		if(!scrollbars)	{ scrollbars='yes';	}	    // scrollbars
		posx=Math.floor((screen.width/2)-xsize/2);
		posy=Math.floor((screen.height/2)-ysize/2);
        var paramstr = "scrollbars="+scrollbars+",copyhistory=no,width="+xsize+",height="+ysize+",menubar="+menu+",resizable="+resizeable+",toolbar="+toolbar+",location="+location+",directories="+dir+ ",top=" + posy + ",left=" + posx;
        popup = window.open(url, url_name, paramstr);
		popup.focus();
}
function closewin(){
	window.close();
}