﻿
/*
* SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License: http://www.opensource.org/licenses/mit-license.php
* FAZ.NET clientsite Support,  (c) 2001-2009 Entwicklung der F.A.Z. Electronic Media GmbH
*/


/* top */ var gsFAZNET="www.faz.net";var gsPrefix="/IN/INtemplates/faznet/";var gsDefPrefix=gsPrefix+"default.asp?tpl=";var oLocation=window.location;var ad;var sHost=window.location.host;var sHref='';if(!sHost.match(/^((www|t4?[abh]1?)\.(faz|fazjob)\.net|1[79]|t3t|t3l|t3h|tx|utilwww|wsfem|pc11|nbfem|femdev|localhost)/i)||oLocation.toString().match(/common(~S|\/)form|register\.aspx/i)){sHref="http://"+gsFAZNET}is=new Browser();function Browser(){var b=navigator.appName;if(b.indexOf('Netscape')!=-1)this.b="ns";else if((b=="Opera")||(navigator.userAgent.indexOf("Opera")>0))this.b="opera";else if(b=="Microsoft Internet Explorer")this.b="ie";this.useragent=navigator.userAgent.toLowerCase();this.version=navigator.appVersion;this.v=parseInt(this.version);this.ns=(this.b=="ns"&&this.v>=4);this.ns4=(document.layers)?1:0;this.ns6=(this.b=="ns"&&this.v==5);this.ie=(this.b=="ie"&&this.v>=4);this.ie4=(this.version.indexOf('MSIE 4')>0);this.ie5=(this.version.indexOf('MSIE 5')>0);this.ie55=(this.version.indexOf('MSIE 5.5')>0);this.ie6=(this.version.indexOf('MSIE 6.0')>0);this.win=(this.version.indexOf("Windows")>0);this.fire=(this.useragent.indexOf("firefox")>-1);this.opera=(this.useragent.indexOf("opera")>-1);this.dom=(document.createElement)?1:0;if(this.useragent.indexOf("win")>-1)this.platform="win32";else if(this.useragent.indexOf("mac")>-1)this.platform="mac";else this.platform="other";this.ver4=(this.ie4||this.ns4||this.dom)?1:0}function makeImgSrcTag(sRelSrc){if(sRelSrc.indexOf("http:")==0)return sRelSrc;var oLocation=window.location;var sProtocol=oLocation.protocol;if(sProtocol!="http:"&&sProtocol!="https:")sProtocol="http:";if(sRelSrc.indexOf("/")!=0)sRelSrc=gsPrefix+sRelSrc;if(!sHref&&sProtocol=="http:")return sRelSrc;return sProtocol+"//"+gsFAZNET+sRelSrc}function flashKickstart(elemID){var elm=document.getElementById(elemID);var flstart=elm.getAttribute("flashstart");if(flstart==null||flstart!="1")return;var s1=elm.getAttribute("flashInit");var inits=s1.split("|");var version=deconcept.SWFObjectUtil.getPlayerVersion();if(version.major<inits[4]){return}var so=initSWFObject(elm,inits);so.write(elemID);elm.setAttribute("flashstart","0")}function resizeFlashContent(flashID,h){document.getElementById(flashID).style.height=h+"px";document.getElementById(flashID+"_flash").style.height=h+"px";}function initSWFObject(elm,inits){var so=new SWFObject(makeImgSrcTag(inits[0]),inits[1],inits[2],inits[3],inits[4],"#FFFFFF");so.addParam("wmode","transparent");so.addParam("menu","false");var s2=elm.getAttribute("flashPara");if(s2!=null){var vars=s2.split("|");for(var i=0;i<vars.length;i++){var vari=vars[i];var ix=vari.indexOf("=");if(ix>-1)so.addParam(vari.substr(0,ix),vari.substr(ix+1));}}var s3=elm.getAttribute("flashVar");if(s3!=null){var vars=s3.split("|");for(var i=0;i<vars.length;i++){var vari=vars[i];var ix=vari.indexOf("=");if(ix>-1){if(vari.substr(ix+1).indexOf("htmlpara:")>-1){var getHtmparaVar=getQueryParamValue(vari.substr(ix+1).replace("htmlpara:",""));if(getHtmparaVar!=""){so.addVariable(vari.substr(0,ix),getHtmparaVar)}}else{so.addVariable(vari.substr(0,ix),vari.substr(ix+1));}}}}return so}function showAlternative(){var mainColumn=$('FazSeiteContent');if(!$chk(mainColumn))return;var elms=mainColumn.getElements("[flashstart=1]");for(var i=0;i<elms.length;i++){var elm=elms[i];var flstart=elm.getAttribute("flashstart");if(flstart==null||flstart!="1")return;var s1=elm.getAttribute("flashInit");var inits=s1.split("|");var stillImage=inits[5];var width=inits[6];var height=inits[7];var alt=inits[1];if(stillImage=="")continue;var sHtml='<div>'+'<img id="alt_'+alt+'" src="'+makeImgSrcTag(stillImage)+'" style="width:'+width+'px;height:'+height+';" alt="" >'+'</div>';elm.innerHTML=sHtml}}
/* ivw */ function IVWTag(sPath,sTpl,sRub,sV3,sKeyV3,sRemoteAdr){if(!sPath)sPath="faz.net/unknown";if(!sTpl)sTpl="";if(!sRub)sRub="";var oLocation=window.location;var sProtocol=oLocation.protocol;var bIvwSecure=(sProtocol=="https:")?true:false;var iNum=10000+Math.floor(Math.random()*990000);var SesMatch=document.cookie.match(/ClSes=([^;]*)/i);var sSesID='0';if(!SesMatch){var sZeit=new Date();sSesID=''+(parseInt(sZeit.valueOf()/1000)%1000000)+'_'+iNum;var sC1='ClSes='+sSesID+';path=/ ';document.cookie=sC1}else sSesID=SesMatch[1];if(bIvwSecure){if(typeof(sRemoteAdr)=="undefined")sRemoteAdr="n/a";var SercueImg=sProtocol+"//www.faz.net/IN/INtemplates/faznet/common/ivwhttp.asp?i="+sRemoteAdr+"&p3="+sPath+"&k=/cgi-bin/ivw/CP/"+sKeyV3+"&n="+iNum+"&r="+escape(document.referrer);document.write('<IMG SRC=\"'+SercueImg+'\" WIDTH=1 HEIGHT=1>')}else document.write('<IMG SRC="http://faz.ivwbox.de/cgi-bin/ivw/CP/'+sKeyV3+';'+sPath+'?n='+iNum+'&r='+escape(document.referrer)+'" alt="" width=1 height=1>'+'<br/>\n')}function new_tag(tag,elm){var proto=window.location.protocol=="https:"?"https:":"http:";var ref=escape(document.referrer);if(typeof(tag)=="undefined"||tag==null){tag=(typeof(gsIvwId)=="undefined")?"2B0100000000;faz.net/aktuell":gsIvwId}var myIVW=proto+"//faz.ivwbox.de/cgi-bin/ivw/CP/"+tag;var do_rand="&n="+new Date().getTime();var countIVW=new Image();countIVW.src=myIVW+"?r="+ref+""+do_rand;try{TSV2.clk(elm)}catch(e){}try{__GETS.clk(elm)}catch(e){}}function TS_Video(medid,title){try{o={};if(window.TSV2)o=TSV2.payload||{};o.gmed=medid;o.stit=title;o.id=1001;TSV2.send(o)}catch(e){}}function femFLV(videoId,playerWidth,suppressad,magnifierLink,targetDivId,adXmlStruktur,isAudio,medid,title,tagIt){if(!VideoFlashCheck(targetDivId))return;if(tagIt)new_tag();TS_Video(medid,title);writeFLV(videoId,playerWidth,suppressad,magnifierLink,targetDivId,adXmlStruktur,isAudio)}function TSTag(sParam){var loc=window.location;var prot=loc.protocol||'';if(prot=='https:')sParam=sParam.replace('http:','https:');var iNum=Math.floor(Math.random()*1000000000);sParam+='|'+iNum+'|ref='+escape(document.referrer);document.write('<img src="'+sParam+'" width="1" height="1" alt="" /><br>\n')}function new_TSTag(){}function ParamsFromUrl(){return{}}
/* swfobject */ if(typeof deconcept=="undefined")var deconcept={};if(typeof deconcept.util=="undefined")deconcept.util={};if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil={};deconcept.SWFObject=function(swf,id,w,h,ver,c,quality,xiRedirectUrl,redirectUrl,detectKey){if(!document.getElementById){return}this.DETECT_KEY=detectKey?detectKey:'detectflash';this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];if(swf){this.setAttribute('swf',swf)}if(id){this.setAttribute('id',id)}if(w){this.setAttribute('width',w)}if(h){this.setAttribute('height',h)}if(ver){this.setAttribute('version',new deconcept.PlayerVersion(ver.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(c){this.addParam('bgcolor',c)}var q=quality?quality:'high';this.addParam('quality',q);this.setAttribute('useExpressInstall',false);this.setAttribute('doExpressInstall',false);var xir=(xiRedirectUrl)?xiRedirectUrl:window.location;this.setAttribute('xiRedirectUrl',xir);this.setAttribute('redirectUrl','');if(redirectUrl){this.setAttribute('redirectUrl',redirectUrl)}};deconcept.SWFObject.prototype={useExpressInstall:function(path){this.xiSWFPath=!path?"expressinstall.swf":path;this.setAttribute('useExpressInstall',true)},setAttribute:function(name,value){this.attributes[name]=value},getAttribute:function(name){return this.attributes[name]||""},addParam:function(name,value){this.params[name]=value},getParams:function(){return this.params},addVariable:function(name,value){this.variables[name]=value},getVariable:function(name){return this.variables[name]||""},getVariables:function(){return this.variables},getVariablePairs:function(){var variablePairs=[];var key;var variables=this.getVariables();for(key in variables){variablePairs[variablePairs.length]=key+"="+variables[key]}return variablePairs},getSWFHTML:function(){var swfNode="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute('swf',this.xiSWFPath)}swfNode='<embed type="application/x-shockwave-flash" src="'+this.getAttribute('swf')+'" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'" style="'+(this.getAttribute('style')||"")+'"';swfNode+=' id="'+this.getAttribute('id')+'" name="'+this.getAttribute('id')+'" ';var params=this.getParams();for(var key in params){swfNode+=[key]+'="'+params[key]+'" '}var pairs=this.getVariablePairs().join("&");if(pairs.length>0){swfNode+='flashvars="'+pairs+'"'}swfNode+='/>'}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute('swf',this.xiSWFPath)}swfNode='<object id="'+this.getAttribute('id')+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'" style="'+(this.getAttribute('style')||"")+'">';swfNode+='<param name="movie" value="'+this.getAttribute('swf')+'" />';var params=this.getParams();for(var key in params){swfNode+='<param name="'+key+'" value="'+params[key]+'" />'}var pairs=this.getVariablePairs().join("&");if(pairs.length>0){swfNode+='<param name="flashvars" value="'+pairs+'" />'}swfNode+="</object>"}return swfNode},write:function(elementId){if(this.getAttribute('useExpressInstall')){var expressInstallReqVer=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(expressInstallReqVer)&&!this.installedVer.versionIsValid(this.getAttribute('version'))){this.setAttribute('doExpressInstall',true);this.addVariable("MMredirectURL",escape(this.getAttribute('xiRedirectUrl')));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute('doExpressInstall')||this.installedVer.versionIsValid(this.getAttribute('version'))){var n=(typeof elementId=='string')?document.getElementById(elementId):elementId;n.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute('redirectUrl')!=""){document.location.replace(this.getAttribute('redirectUrl'))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var PlayerVersion=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){PlayerVersion=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var counter=3;while(axo){try{counter++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+counter);PlayerVersion=new deconcept.PlayerVersion([counter,0,0])}catch(e){axo=null}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");PlayerVersion=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(PlayerVersion.major==6){return PlayerVersion}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}if(axo!=null){PlayerVersion=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","))}}return PlayerVersion};deconcept.PlayerVersion=function(arrVersion){this.major=arrVersion[0]!=null?parseInt(arrVersion[0]):0;this.minor=arrVersion[1]!=null?parseInt(arrVersion[1]):0;this.rev=arrVersion[2]!=null?parseInt(arrVersion[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major)return false;if(this.major>fv.major)return true;if(this.minor<fv.minor)return false;if(this.minor>fv.minor)return true;if(this.rev<fv.rev)return false;return true};deconcept.util={getRequestParameter:function(param){var q=document.location.search||document.location.hash;if(param==null){return q}if(q){var pairs=q.substring(1).split("&");for(var i=0;i<pairs.length;i++){if(pairs[i].substring(0,pairs[i].indexOf("="))==param){return pairs[i].substring((pairs[i].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){try{var objects=document.getElementsByTagName("OBJECT");for(var i=objects.length-1;i>=0;i--){objects[i].stop();objects[i].style.display='none';for(var x in objects[i]){if(typeof objects[i][x]=='function'){objects[i][x]=function(){}}}}}catch(e){}};if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
