home *** CD-ROM | disk | FTP | other *** search
Wrap
function popup( path, w, h, scroll, windowName ){ if ( screen.availWidth < w ){ w = screen.availWidth - 10; scroll = "yes"; } if ( screen.availHeight < h ){ h = screen.availHeight - 29; scroll = "yes"; } x = ( screen.availWidth - w - 10 ) / 2; y = ( screen.availHeight - h - 29 ) / 2; var F2 = window.open( path, windowName, "width=" + w + ",height=" + h + ", top=" + y + ", left=" + x + ",scrollbars=" + scroll); F2.focus(); } function startPage(){ if( screen.availWidth < 1024 || screen.availHeight < 712 ){ alert( "ACHTUNG!\nDie ben÷tigte Darstellungsgr÷▀e von 1024x712 steht leider nicht zu Verfⁿgung! (" + screen.availWidth + "x" + screen.availHeight + ")\nEine einwandfreie Darstellung kann somit nicht gewΣhrleistet werden." ); } popup( 'System/flashCheck.htm', 1024, 712, 'no', 'videotraining' ); } function startPageAndRedirect(){ startPage(); location.href = 'http://www.galileo-press.de'; } function resizeToMin(){ var outerWidth = window.outerWidth != undefined ? window.outerWidth : 1024 + 10; var outerHeight = window.outerHeight != undefined ? window.outerHeight : 712 + 35; var w = 405 + outerWidth - 1024; var h = 345 + outerHeight - 712; window.resizeTo( w, h ); } function resizeToMax(){ var outerWidth = window.outerWidth != undefined ? window.outerWidth : 405 + 10; var outerHeight = window.outerHeight != undefined ? window.outerHeight : 345 + 35; var w = 1024 + outerWidth - 405; var h = 712 + outerHeight - 345; window.resizeTo( w, h ); }