
// Dokumentsperre
//document.oncontextmenu = new Function("return false;");
//document.ondragstart = new Function("return false;");
//document.onselectstart = new Function("return false;");

if(top!=self)
	top.location=self.location;

function preloadImages() 
{
	if (document.images) {
		  var imgFiles = preloadImages.arguments;
		  var preloadArray = new Array();
		  for (var i=0; i<imgFiles.length; i++) {
			preloadArray[i] = new Image;
			preloadArray[i].src = imgFiles[i];
		 }
	}
}

function unipopup(url,name,w,h,options)
{
	width	= 600; if(w){ width = w; };
	height	= 420; if(h){ height = h; };
	wname = "POPUP";if(name){ wname = name; };
	options = "toolbar=no,scrollbars=no,location=no,directories=no,status=no,menubar=no,copyhistory=no,resizable=no,width="+width+",height="+height+","+options;

	unipop	= window.open(url,wname,options);
	if(document.all) {
		x = (screen.availWidth - width) / 2
		y = (screen.availHeight - height) / 2
		if(x < 1) { x = 1}; if(y < 1) { y = 1};
		unipop.moveTo(x,y)
	}
	unipop.focus();

}

function Site2Favorite() {
	if(window.external){
		window.external.AddFavorite(location.href,document.title);
	} else {
		Alert("Drücken Sie folgende Tastenkombinationen: Strg + D");
	};
}
