// ---------------------------------------------------------------------------------------- //

//                      popup Fenster                                                       //

// ---------------------------------------------------------------------------------------- //

// Öffnet Popupfenster

//launchSplashWin("uri",hhreff, 810, 1100, 200, 20, 0, hhref) ;

var splashWin, autoCloseTimeoutHandle, ontopIntervalHandle;

function launchSplashWin(contentType, contentString, width, height, left, top, autoCloseTime,VonMac) {

	var w = window.screen.width;

	var h = window.screen.height;

	var l = (w-width)/2;

	var t = (h-height)/2;

	//var l = (left != null) ? left : (w-width)/2;

	//var t = (top != null) ? top : (h-height)/2;

	var uri = (contentType.toLowerCase() == "uri") ? contentString : "";

         

        splashWin = window.open(uri, VonMac, 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0' );          

        splashWin.blur();	// Hide while updating

	//splashWin.focus();

	splashWin.resizeTo(width,height);

	splashWin.moveTo(l, t);

       splashWin.focus();

                               

}          


