	 
	 
document.write('<script language=\'JavaScript\' type=\'text/javascript\' src=\'http://ad.mediabiz.de/adx.js\'></script>'); 

function uploadImageServer(bnr) {
	window.open('http://www.mediabiz.de/php/isupload.php4','OSKAR','toolbar=0,status=0,scrollbars=auto,width=520,height=750,resizable=yes,top=0,left=260,screenX=260,screenY=0');
}

function winopen(url,toolbar,breite,hoehe,scroll)
{	
	fenster = open((url),'','toolbar=' + toolbar + ',status=0,scrollbars=' + scroll + ',width=' + breite + ',height=' + hoehe + ',resizable=no,top=10,left=10');
	fenster.focus();
}

text0 = new Image();
text0.src = "/pix/text_auswahl.gif";

text1 = new Image();
text1.src = "/pix/text_mb.gif";

text2 = new Image();
text2.src = "/pix/text_bf.gif";

text3 = new Image();
text3.src = "/pix/text_mw.gif";

text4 = new Image();
text4.src = "/pix/text_gm.gif";

text5 = new Image();
text5.src = "/pix/text_vw.gif";

text6 = new Image();
text6.src = "/pix/text_dvd.gif";

text7 = new Image();
text7.src = "/pix/text_mo.gif";

img1= new Image();
img1.src = "/pix/smartie_mb.gif";
img1on = new Image();
img1on.src = "/pix/smartie_mb_hi.gif";

img2= new Image();
img2.src = "/pix/smartie_bf.gif";
img2on = new Image();
img2on.src = "/pix/smartie_bf_hi.gif";

img3= new Image();
img3.src = "/pix/smartie_mw.gif";
img3on = new Image();
img3on.src = "/pix/smartie_mw_hi.gif";

img4= new Image();
img4.src = "/pix/smartie_gm.gif";
img4on = new Image();
img4on.src = "/pix/smartie_gm_hi.gif";

img5= new Image();
img5.src = "/pix/smartie_vw.gif";
img5on = new Image();
img5on.src = "/pix/smartie_vw_hi.gif";

img6= new Image();
img6.src = "/pix/smartie_dvd.gif";
img6on = new Image();
img6on.src = "/pix/smartie_dvd_hi.gif";

img7= new Image();
img7.src = "/pix/smartie_mo.gif";
img7on = new Image();
img7on.src = "/pix/smartie_mo_hi.gif";

function imageChange(imageID1,imageName1,imageID2,imageName2) 
{
	{
	document.images[imageID1].src = eval(imageName1 + ".src");
	document.images[imageID2].src = eval(imageName2 + ".src");
	}

}

function clip_popup(url) 
{
// video_clip=open(url,'','toolbar=0,status=0,scrollbars=yes,width=478,height=530,resizable=no,top=5,left=5,screenX=5,screenY=5');
video_clip=open(url,'','toolbar=0,status=0,scrollbars=yes,width=750,height=700,resizable=no,top=5,left=5,screenX=5,screenY=5');
video_clip.focus();
}



function seite_versenden() {
	// wird vom seite-versenden-link im footer verwendet:

	// inhalte des formulars 'druckversion' auslesen und zu einem link zusammenbauen:
	var seite = '/php/versenden.php4?path_value=' + escape(document.druckversion.path_value.value) + '&get_value=' + escape(document.druckversion.get_value.value) +  '&post_value=' +  escape(document.druckversion.post_value.value) + '&senden=1';
	Sendefenster = open((seite),'','toolbar=0,status=0,scrollbars=0,width=300,height=410,resizable=0,top=30,left=30');
	Sendefenster.focus();
	

}


function seite_drucken() {
	// wird vom seite-drucken-link im footer verwendet:

	// inhalte des formulars 'druckversion' auslesen und zu einem link zusammenbauen:
	var druckseite = 'druckversion.php4?path_value=' + escape(document.druckversion.path_value.value) + '&get_value=' + escape(document.druckversion.get_value.value) +  '&post_value=' +  escape(document.druckversion.post_value.value);
	Druckfenster = open((druckseite),'','toolbar=0,status=0,scrollbars=1,width=609,height=410,resizable=1,top=30,left=30');
	Druckfenster.focus();
	
	

}



function promo_download(link) {
	// popup mit info-text, wird bei download der promo-pakete vorgeschalten:
	link='/htm/popup/promodownload/promo.php4?filename=' + escape(link);
	promodownload = window.open(link,'','toolbar=0,status=0,scrollbars=0,width=300,height=380,resizable=0,top=30,left=30');
	promodownload.focus();
	
}



function popUp(strURL,strType,strHeight,strWidth,strTop,strLeft) {
var strOptions="";
if (strType=="console") strOptions="resizable=no,height="+strHeight+",width="+strWidth+",top="+strTop+",left="+strLeft;
if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
F1=window.open(strURL, 'newWin', strOptions);
window.F1.focus() ;
window.F1.resizeTo(strWidth,strHeight) ;

}


function launchCenter(url, name, height, width) {
  var str = "height=" + height + ",innerHeight=" + height;
  str += ",width=" + width + ",innerWidth=" + width;
  if (window.screen) {
    var ah = screen.availHeight - 30;
    var aw = screen.availWidth - 10;

    var xc = (aw - width) / 2;
    var yc = (ah - height) / 2;

    str += ",left=" + xc + ",screenX=" + xc;
    str += ",top=" + yc + ",screenY=" + yc;
  }
  return window.open(url, name, str);
}

function cookie_abo(WEK) {

var the_date = new Date();
the_date.setHours(0);
the_date.setMinutes(0);
the_date.setSeconds(0);
absolutzeit = the_date.getTime();
the_date.setTime(absolutzeit);
var the_cookie_date = the_date.toGMTString();
var the_cookie = "aboshopquelle=" + WEK;
the_cookie = the_cookie + "; path=/;";
document.cookie = the_cookie;
	
}

function newsvoll_galerie_popup(url)
{
mnews_player_popup=open(url,'','toolbar=0,status=0,scrollbars=auto,width=450,height=490,resizable=yes,top=160,left=220,screenX=220,screenY=160');
mnews_player_popup.focus;
}


function newsvoll_fotoshow_popup(url, Mpop_breite, Mpop_hoehe)
{
mnews_player_popup=open(url,'','toolbar=0,status=0,scrollbars=auto,width=' + Mpop_breite + ',height=' + Mpop_hoehe + ',resizable=yes,top=50,left=200,screenX=200,screenY=50');
mnews_player_popup.focus;
}


function pop_open (strang,toolbar,breite,hoehe)
	{		
		popup_fenster = open((strang),'Abo','toolbar=' + toolbar + ',status=0,scrollbars=auto,width=' + breite + ',height=' + hoehe + ',resizable=no,screenX=100,screenY=50,left=100,top=50');
		popup_fenster.focus();
}

function openLivepaper(object, year, number, page, lps, username, lifetimecookie)
{
    var w, h;
    var mode;
	w = screen.width;
	h = screen.height;

	var jumppage = "/lpaper.afp?issueYear="+year+"&issueNumber="+number+"&issueName="+object+"&jpage="+page+"&lps="+lps+"&brc="+lifetimecookie+"&uid="+username+"&objekt="+object;
	
	epWindow = window.open(jumppage, "test","fullscreen=no,resizable=yes,status=yes,toolbar=no,menubar=no,location=no,width="+w+",height="+h+",top=0,left=0");

	if (!epWindow)
	{
	    alert("Bitte lassen Sie das Popup-Fenster für das livepaper Heft zu.\nDadurch kann das Heft Ihre Bildschirmgröße optimal ausnutzen.");
	}

	
    
    if (epWindow)
	{
	    epWindow.focus();
	}
}  


function loaddvdentertainment(){
window.open('http://www.dvd-entertainment.de');
}

function absLeft(el) {
     return (el.offsetParent)? 
     el.offsetLeft+absLeft(el.offsetParent) : el.offsetLeft;
  }

  function absTop(el) {
     return (el.offsetParent)? 
     el.offsetTop+absTop(el.offsetParent) : el.offsetTop;
  }
 
 function verstecks()
 {
 document.getElementById("grilllayer").style.visibility = "hidden";	
 	
	var mba = document.getElementById("mba");
 
 	  if (mba)
 	{
 	document.getElementById("mba").style.visibility = "visible"; 
 	}
 } 
 
  function zeigs()
  
 {
 document.getElementById("grilllayer").style.visibility = "visible";
  var mba = document.getElementById("mba");
  if (mba)
 	{
 	document.getElementById("mba").style.visibility = "hidden"; 
 	}
 }
 
 

  	 
function showGrillAktion() {

var grilldiv = document.getElementById("grill");
var posy = absTop(grill);
var posx = absLeft(grill)-299;

var adWidth1=518;
var adHeight1=488;
var adPath1="/pix/hpkaesten/";
var adSwf1="DVD_entertainment_layer3.swf";
var adGif1="aboshop_grillaktion.gif";
var adVersion1 ="7,0,0,0";
var ShockMode = 0;
var linkziel = "{targeturl}";	


var out = "";

if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
		if (navigator.plugins && navigator.plugins["Shockwave Flash"]){
		ShockMode = 1;
		}
} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows")>=0)) {
	out+=('<scr' + 'ipt language=VBScript>' + String.fromCharCode(13,10) + '');
	out+=('on error resume next' + String.fromCharCode(13,10));
	out+=('ShockMode = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7")))' + String.fromCharCode(13,10) + '');
	out+=('</scr' + 'ipt>');
}

out+=('<div id="grilllayer" style="visibility: hidden; background:none; position:absolute; z-index:80; left: ' + posx + 'px; top: ' + posy + 'px;">');
out+=('<object ');
out+=('classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
out+=('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + adVersion1 + '" ');
out+=('width="' + adWidth1 + '"');
out+=('height="' + adHeight1 + '"');
out+=('id="grilllayer">');
out+=('<param name="movie" value="'+ adPath1 + adSwf1 + '?clickTag='+  linkziel  + '&clicktag=' + linkziel + '&clickTAG=' + linkziel +'" />');		 
out+=('<param name="swliveconnect" value="true" />	');	
out+=('<param name="menu" value="true" />'); 
out+=('<param name="wmode" value="transparent" />');
out+=('<param name="quality" value="autohigh" />');
out+=('<embed src="'+ adPath1 + adSwf1 + '?clickTag='+  linkziel  + '&clicktag=' + linkziel + '&clickTAG=' + linkziel +'"');		
out+=('menu="false" wmode="transparent" quality="high" width="' + adWidth1 + '" height="' + adHeight1 + '"');
out+=('id="' + adSwf1 + '" swLiveConnect="true" ');
out+=('type="application/x-shockwave-flash" ');
out+=('pluginspage="http://www.macromedia.com/go/getflashplayer">');
out+=('</embed>');
out+=('</object>');
out+=('</div>');	 
 
grill.innerHTML = out;
 
}

