    window.onerror=null;

    var searchWindow=null;
    function lvzpopup(datei,name,breite,hoehe)
    {
      var searchWindow;
      if(searchWindow){ searchWindow.close();searchWindow=null; }
        searchWindow=window.open(datei,name,"width="+breite+",height="+hoehe+",wtoolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no");
      if(searchWindow){ searchWindow.focus(); } 
    }

    function lvzpopup1(datei,name,breite,hoehe)
    {
      var searchWindow;
      if(searchWindow){ searchWindow.close();searchWindow=null; }
        searchWindow=window.open(datei,name,"width="+breite+",height="+hoehe+",wtoolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no");
      if(searchWindow){ searchWindow.focus(); } 
    }



     function ftvlaunch(video,quality,pid)
    {
      var LeftPosition = (screen.width) ? (screen.width-665)/2 : 0;
      var TopPosition = (screen.height) ? (screen.height-430)/2 : 0;
      var popwin = window.open('http://www.zoomin.tv/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid,'MTV6_window','toolbar=no,width=665,height=430,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
    }


function showTabContainer(nr,kennung)
{
	var anzahlTabs = document.getElementById("tabContainerContent").getElementsByTagName("div").length / 2;
	
	for(i=1;i<anzahlTabs+1;i++)
	{
		this_name = "tab"+kennung+i;
		document.getElementById(this_name).style.display = 'none';
	}
	
	this_name = "tab"+kennung+nr;
	document.getElementById(this_name).style.display = 'block';
}

  function showanimation(datei,name){       
   
        anipopup = open("","Infografik","width=700,height=440,scrollbars=no");
        anipopup.document.clear();
        anipopup.document.open();
        anipopup.document.bgColor="#FFFFFF";
        anipopup.document.write('<ht'+'ml>\n<he'+'ad>\n');
        anipopup.document.write('<title>LVZ-Online - Infografiken</title>\n');
        anipopup.document.write('<scr'+'ipt type="text/javascript" src="/extern/tools/swfobject.js"></sc'+'ript>\n');
        anipopup.document.write('<style>body { background-color:#FFFFFF; } </style>\n');
        anipopup.document.write('</he'+'ad>\n');
        anipopup.document.write('<bo'+'dy topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF">\n');        
        anipopup.document.write('<base href="/infografik/content/'+datei+'/">\n');        
        anipopup.document.write('<div style="display:none;"><ifr'+'ame src="/infografik/content/ivw.html" width="0" height="0" name="ivw" ></if'+'rame></div>\n');
        anipopup.document.write('  <object classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" width="700" height="420"\n');
        anipopup.document.write('          codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=6,0,0,0">\n');
        anipopup.document.write('    <param name="movie" value="/infografik/content/'+datei+'/start.swf">\n');
        anipopup.document.write('    <param name="quality" value="high">\n');
        anipopup.document.write('    <param name="scale" value="exactfit">\n');
        anipopup.document.write('    <param name="menu" value="true">\n');
        anipopup.document.write('    <param name="bgcolor" value="#002277">\n');
        anipopup.document.write('    <param name="base" value="/infografik/content/'+datei+'">\n');
        anipopup.document.write('    <embed src="/infografik/content/'+datei+'/start.swf" quality="high" scale="exactfit" menu="false"\n');
        anipopup.document.write('		   bgcolor="#002277" width="700" height="420" swLiveConnect="false"\n');
        anipopup.document.write('           type="application/x-shockwave-flash" base="/infografik/content/'+datei+'"\n');
        anipopup.document.write('           pluginspage="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">\n');
        anipopup.document.write('    </embed>\n');
        anipopup.document.write('  </object>\n');
        anipopup.document.write('<div style="text-align:right;margin-right:10px;margin-top:5px;margin-left:10px;">\n');
        anipopup.document.write('<a href="javascript:parent.self.close();" ><img src="/img/button_close.gif" border="0" hspace="0" vspace="0"></a></div>\n');
        anipopup.document.write('</body>\n</html>\n');
        anipopup.document.close();
        anipopup.focus();
  }



function createIframeLayer(url,width,height,color,text)
{
	if(!url)
	{
		document.body.removeChild(document.getElementById("iframeLayer"));
	}
	else
	{
		if(document.getElementById("iframeLayer"))
		{
			document.body.removeChild(document.getElementById("iframeLayer"));
		}

		var newIframeLayer = document.createElement("div");
		
		var attribute = document.createAttribute("ID");
		attribute.nodeValue = "iframeLayer";
		newIframeLayer.setAttributeNode(attribute);
		
		newIframeLayer.style.backgroundColor = color;
		
		output = document.body;
		output.appendChild(newIframeLayer);
	
		document.getElementById("iframeLayer").style.position = "absolute";
		document.getElementById("iframeLayer").style.top = 100+"px";
		document.getElementById("iframeLayer").style.left = 100+"px";
		document.getElementById("iframeLayer").style.width = parseInt(width)+20+"px";
		// document.getElementById("iframeLayer").style.height = parseInt(height)+45+"px";
		
		document.getElementById("iframeLayer").innerHTML = "<a href='Javascript:createIframeLayer();'><img src='http://www.lvz-online.de/img/button_schliessen.gif' border='0' style='float: right; margin-top: 10px; margin-right: 10px;'></a><div style='clear: both;'></div><iframe src='"+url+"' border='0' framespacing='0' style='margin: 10px; width: "+width+"px; height: "+height+"px;' scrolling='no' frameborder='0'></iframe><br><div style='padding: 8px; color: #FFFFFF;'>"+text+"</div>";
	}
}


    function osc()
    {
	location.href="https://osc.lvz.de/scripts/wgate/zeviva/!?~Theme=12&~OkCode=F00009START&GS_WS00009-BUKRS=0011&GS_WS00009-BEZEICHN=OAZ&~exiturl=/sap/its/mimes/zeviva/faq/logout/index_oaz.html";
    }


    function lvdg_oasis(lvdg_oasis_d) {
      try {
        if ((lvdg_oasis_s !="") && (lvdg_oasis_u !="") && (lvdg_oasis_t !="") && (lvdg_oasis_d !="") ) throw "OK";
      }
      catch (e) {
        if (e=="OK") {

          if(typeof(WLRCMD)=="undefined"){var WLRCMD="";}
          if(typeof(adlink_randomnumber)=="undefined"){var adlink_randomnumber=Math.floor(Math.random()*10000000000)}

          if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=468&h=160')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=468x120;tile=5;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=468&h=60')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=468x60;tile=4;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=468&h=61')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=468x90;tile=5;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=160&h=600')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=160x600;tile=5;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=124&h=160')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=125x125;tile=5;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=137&h=60')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=137x60;tile=5;bp=1;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=137&h=160')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=137x60;tile=5;bp=2;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=137&h=61')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=137x60;tile=5;bp=3;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=137&h=161')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=137x60;tile=5;bp=4;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=137&h=62')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=137x60;tile=5;bp=5;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else if((typeof(lvdg_oasis_a)!="undefined") && (lvdg_oasis_a !="") && (lvdg_oasis_d == '&w=137&h=162')){
            document.write('<scr'+'ipt language="JavaScript" src="http://ad.de.doubleclick.net/adj/'+lvdg_oasis_a+';nielsen=7;'+WLRCMD+';sz=137x60;tile=5;bp=6;ord='+adlink_randomnumber+'?"><\/scr'+'ipt>');
          } else document.write('<SCR' + 'IPT LANGUAGE="JavaScript" SRC="' + lvdg_oasis_u + '?s=' + lvdg_oasis_s + lvdg_oasis_d + '&t=' + lvdg_oasis_t +'"><\/SCR' + 'IPT' + '>'); // document.write('<SCR' + 'IPT LANGUAGE="JavaScript" SRC="' + lvdg_oasis_u + '?s=' + lvdg_oasis_s + lvdg_oasis_d + '&t=' + lvdg_oasis_t +'"><\/SCR' + 'IPT' + '>');


        }
      }
    }
    
