// JavaScript Document
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function viewPopLink(url, title) {
     var width = 450; //normal width of popup
     var height = 500; //normal height of popup
     var args = "width=" + width + ","
     + "height=" + height + ","
     + "location=0,"
     + "menubar=0,"
     + "resizable=0,"
     + "scrollbars=1,"
     + "status=0,"
     + "titlebar=0,"
     + "toolbar=0,"
     + "hotkeys=0,"
     + "screenx=100," //NN Only
     + "screeny=50," //NN Only
     + "left=100," //IE Only
     + "top=50"; //IE Only

   DescendantWindow = window.open(url, title, args);
   DescendantWindow.focus();
}

function viewPromo(picUrl) {
     var width = 200; //normal width of popup
     var height = 200; //normal height of popup
     var args = "width=" + width + ","
     + "height=" + height + ","
     + "location=0,"
     + "menubar=0,"
     + "resizable=1,"
     + "scrollbars=0,"
     + "status=0,"
     + "titlebar=0,"
     + "toolbar=0,"
     + "hotkeys=0,"
     + "screenx=100," //NN Only
     + "screeny=50," //NN Only
     + "left=100," //IE Only
     + "top=50"; //IE Only

   DescendantWindow = window.open("promoviewer.html?"+picUrl, "PromoViewer", args);
   DescendantWindow.focus();
}

function openPlayer(mov, mode) {
	 var width = 220; //normal width of popup => modem
     var height = 230; //normal height of popup => modem
	 if(mode=='DSL') {
	 	width = 380; // => dsl
     	height = 350; // => dsl	
	 }
     var args = "width=" + width + ","
     + "height=" + height + ","
     + "location=0,"
     + "menubar=0,"
     + "resizable=1,"
     + "scrollbars=0,"
     + "status=0,"
     + "titlebar=0,"
     + "toolbar=0,"
     + "hotkeys=0,"
     + "screenx=100," //NN Only
     + "screeny=50," //NN Only
     + "left=100," //IE Only
     + "top=50"; //IE Only

   DescendantWindow = window.open("player/"+mov+"_"+mode+".html", "VideoPlayer", args);
   DescendantWindow.focus();
}

<!-- Original: Randy Bennett (rbennett@thezone.net) -->
<!-- Web Site: http//home.thezone.net/~rbennett/utility/javahead.htm -->
<!-- Begin
function setVariables() {
	imgwidth=88; // Breite des Logos in Pixeln
	imgheight=31; // Höhe des Logos in Pixeln
	if (navigator.appName == "Netscape") {
		horz=".left";
		vert=".top";
		docStyle="document.";
		styleDoc="";
		innerW="window.innerWidth";
		innerH="window.innerHeight";
		offsetX="window.pageXOffset";
		offsetY="window.pageYOffset";
	} else {
	horz=".pixelLeft";
	vert=".pixelTop";
	docStyle="";
	styleDoc=".style";
	innerW="document.body.clientWidth";
	innerH="document.body.clientHeight";
	offsetX="document.body.scrollLeft";
	offsetY="document.body.scrollTop";
	}
}
function checkLocation() {
	objectXY="branding";
	var availableX=eval(innerW);
	var availableY=eval(innerH);
	var currentX=eval(offsetX);
	var currentY=eval(offsetY);
	x=availableX-(imgwidth+30)+currentX; // Abstand des Logos vom rechten Rand in Pixeln, zur Zeit 30
	y=availableY-(imgheight+20)+currentY; // Abstand des Logos vom unteren Rand in Pixeln, zur Zeit 20
	evalMove();
	setTimeout("checkLocation()",5); // Wie flüssig soll das Logo mitscrollen? Kleinere Zahl gleich flüssigere Bewegung
}
function evalMove() {
	eval(docStyle + objectXY + styleDoc + horz + "=" + x);
	eval(docStyle + objectXY + styleDoc + vert + "=" + y);
}
// End -->