<!--
function na_change_img_src(name, nsdoc, rpath, preload)
{ 
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  } 
}

function na_preload_img()
{ 
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null) 
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length-1; i++) {
    document.preloadlist[top+i] = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  } 
}

function na_restore_img_src(name, nsdoc)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  } 
}

function bmmousepos(e) {
	var posx = 0;
	var posy = 0;
	if (!e) var e = window.event;
	if (e.pageX || e.pageY)    {
		posx = e.pageX;
		posy = e.pageY;
	}
	else if (e.clientX || e.clientY)    {
		posx = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
		posy = e.clientY + document.body.scrollTop + document.documentElement.scrollTop;
	}
	<!--
	var ua = navigator.userAgent;
	if(ua.indexOf("MSIE") >=0) {
		var maxwidth = document.body.clientWidth;
	} else {
		var maxwidth = window.innerWidth;
	}
	//->
	if((parseInt(posx)+175) > parseInt(maxwidth)) {
		posx = parseInt(maxwidth)-175 + "px";
	}
	document.getElementById("bmdiv").style.top = posy;
	document.getElementById("bmdiv").style.left = posx;
	document.getElementById("bmdiv").style.visibility = "visible";
}
function showbm(id) {
	document.getElementById("bmdiv").innerHTML = "<form action='' method='POST'><table border='0' style='font-size:8pt;'><tr><td><b>Paidbanner melden</b></td></tr><tr><td><input type='hidden' name='framebreakerid' value='"+id+"'>Geben Sie bitte kurz an, was mit dem Paidbanner nicht stimmt, damit wir den eventuellen Fehler &uuml;berpr&uuml;fen k&ouml;nnen. Bitte keine Meldungen, wie \"Nicht klickbar\" oder \"Wird nicht verg&uuml;tet\". Diese Fehler liegen am Client oder Browser.<br><b style='color:darkred;'>Achtung: Missbrauch dieser Funktion kann bis zur Accountl&ouml;schung f&uuml;hren!</b></td></tr><tr><td><textarea name='shortinfo' style='width:100%;font-size:8pt;'></textarea></td></tr><tr><td align='center'><input type='submit' name='sendfb' value='Abschicken' style='font-size:8pt;'></td></tr><tr><td align='right'><a style='cursor:pointer;' onclick='closebm()'>Schlie&szlig;en</a></td></table>";
	document.getElementById("bmdiv").style.visibility = "visible";
}

function closebm() {
	document.getElementById("bmdiv").style.visibility = "hidden";
	document.getElementById("bmdiv").innerHTML = "";
}

//-->
