/*
*/

/* ../swfobject.js */
if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(m,b,n,e,j,k,g,f,d,l){if(!document.getElementById){return}this.DETECT_KEY=l?l:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(m){this.setAttribute("swf",m)}if(b){this.setAttribute("id",b)}if(n){this.setAttribute("width",n)}if(e){this.setAttribute("height",e)}if(j){this.setAttribute("version",new deconcept.PlayerVersion(j.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(k){this.addParam("bgcolor",k)}var a=g?g:"high";this.addParam("quality",a);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var i=(f)?f:window.location;this.setAttribute("xiRedirectUrl",i);this.setAttribute("redirectUrl","");if(d){this.setAttribute("redirectUrl",d)}};deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(b,a){this.params[b]=a},getParams:function(){return this.params},addVariable:function(b,a){this.variables[b]=a},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var c=new Array();var b;var a=this.getVariables();for(b in a){c[c.length]=b+"="+a[b]}return c},getSWFHTML:function(){var b="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}b='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';b+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var f=this.getParams();for(var e in f){b+=[e]+'="'+f[e]+'" '}var d=this.getVariablePairs().join("&");if(d.length>0){b+='flashvars="'+d+'"'}b+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}b='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';b+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var c=this.getParams();for(var e in c){b+='<param name="'+e+'" value="'+c[e]+'" />'}var a=this.getVariablePairs().join("&");if(a.length>0){b+='<param name="flashvars" value="'+a+'" />'}b+="</object>"}return b},write:function(b){if(this.getAttribute("useExpressInstall")){var a=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(a)&&!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 c=(typeof b=="string")?document.getElementById(b):b;c.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var f=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){f=new deconcept.PlayerVersion(a.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 b=1;var c=3;while(b){try{c++;b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+c);f=new deconcept.PlayerVersion([c,0,0])}catch(d){b=null}}}else{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(d){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");f=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(d){if(f.major==6){return f}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(d){}}if(b!=null){f=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}}return f};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(c){var d=document.location.search||document.location.hash;if(c==null){return d}if(d){var b=d.substring(1).split("&");for(var a=0;a<b.length;a++){if(b[a].substring(0,b[a].indexOf("="))==c){return b[a].substring((b[a].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var b=document.getElementsByTagName("OBJECT");for(var c=b.length-1;c>=0;c--){b[c].style.display="none";for(var a in b[c]){if(typeof b[c][a]=="function"){b[c][a]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){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(!document.getElementById&&document.all){document.getElementById=function(a){return document.all[a]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
/* partner.js */
var g_lngGoogleIndex=0;var g_blnGoogleRequestDone=false;var g_strPartnerSearch="";var g_aryTemplatePosCounts=new Array();if(typeof(partnerAdsTitle)=="undefined"){partnerAdsTitle=new Array()}if(typeof(partnerAdsDescription)=="undefined"){partnerAdsDescription=new Array()}if(typeof(partnerAdsImageUrl)=="undefined"){partnerAdsImageUrl=new Array()}if(typeof(partnerAdsClickUrl)=="undefined"){partnerAdsClickUrl=new Array()}if(typeof(partnerAdsPrice)=="undefined"){partnerAdsPrice=new Array()}if(typeof(partnerAdsFooter)=="undefined"){partnerAdsFooter=new Array()}if(typeof(partnerAdsOtherText)=="undefined"){partnerAdsOtherText=new Array()}if(typeof(partnerAdsOtherUrl)=="undefined"){partnerAdsOtherUrl=new Array()}if(typeof(partnerAdsGAurl)=="undefined"){partnerAdsGAurl=new Array()}if(typeof(aryPartnerAdsBoxHeadline)=="undefined"){aryPartnerAdsBoxHeadline=new Array()}if(typeof(aryPartnerAdsMoreAdsUrl)=="undefined"){aryPartnerAdsMoreAdsUrl=new Array()}if(typeof(aryPartnerAdsMoreAdsText)=="undefined"){aryPartnerAdsMoreAdsText=new Array()}function CreatePartnerAdsData(j,e,l,f,g,c,h,k,b,a,d){partnerAdsTitle[j][e]=l;partnerAdsDescription[j][e]=f;partnerAdsImageUrl[j][e]=g;partnerAdsClickUrl[j][e]=c;partnerAdsPrice[j][e]=h;partnerAdsFooter[j][e]=k;partnerAdsOtherText[j][e]=b;partnerAdsOtherUrl[j][e]=a;partnerAdsGAurl[j][e]=d}function WrapAdText(a,b){strWrapText=a.replace(/([,:;\/\.\+\*-])([^0-9 ])/g,"$1 $2");strWrapText=strWrapText.replace(/(\w{17})/g,"$1 ");strWrapText=strWrapText.replace(/ +/g," ");strWrapText=strWrapText.substr(0,b);return(strWrapText)}function FormatPrice(c){var a="";var b;if(c!=""){a=c;a=a.replace(/&nbsp;/," ");a=a.replace(/EUR/,"");a=a.replace(/\.([0-9]+$)/,",$1");a=a.replace(/^\s+|\s+$/g,"");b=a.split(",");if(b.length>1){strPriceCent=b[1]}else{strPriceCent=""}aryPriceEUR=b[0].split(" ");if(aryPriceEUR.length>1){strPrePrice=aryPriceEUR[0]+" ";strPriceEUR=aryPriceEUR[1]}else{strPrePrice="";strPriceEUR=aryPriceEUR[0]}strPriceEUR=strPriceEUR.replace(/^\s+|\s+$/g,"");strPriceCent=strPriceCent.replace(/^\s+|\s+$/g,"");if(parseInt(strPriceCent)>0){while(strPriceCent.length<5){strPriceCent+="0"}strPriceCent=String(Math.round(parseFloat(strPriceCent)/100));strPriceCent=strPriceCent.substr(0,2)}else{if((strPriceCent=="")||(parseInt(strPriceCent)==0)){strPriceCent="-"}}strNewPriceEUR="";while(strPriceEUR.length>3){strNewPriceEUR="."+strPriceEUR.substr(strPriceEUR.length-3,3)+strNewPriceEUR;strPriceEUR=strPriceEUR.substr(0,strPriceEUR.length-3)}strNewPriceEUR=strPriceEUR+strNewPriceEUR;a=strPrePrice+strNewPriceEUR+","+strPriceCent}return a}function PartnerFormatText(a,d,b,e,c){if(e==false){blnTextToLong=(a.length>d);if(b){a=WrapAdText(a,d)}else{a=a.substr(0,d)}if(blnTextToLong){a+="..."}}if((c)&&(g_strPartnerSearch!="")){a=HighlightWords(a,g_strPartnerSearch)}return a}function OnError_ImageHide(a){objElement=document.getElementById(a);if(objElement){objElement.style.display="none"}}function getGoogleKeyword(a){if(a==""){a=document.title;a=a.replace(/-(.*)/g,"");a=a.replace(/Kleinanzeigen/g,"");a=a.replace(/bei (\S+)/g,"");a=a.replace(/^\s+|\s+$/g,"")}return(a)}function HighlightWords(b,a){var d,c;a=a.replace(/\W+/g," ");a=a.replace(/\s\s+/g," ");a=a.replace(/^\s+|\s+$/g,"");if(a!=""){aryWords=a.split(" ");for(d=0,c=aryWords.length;d<c;d++){strRegEx="("+aryWords[d]+")";objRegEx=new RegExp(strRegEx,"gi");b=b.replace(objRegEx,"<b>$1</b>")}}return(b)}function gaBuildPartnerTrackEvent(g,e,d,c,b,f,a){strCategory=g+"_"+e;strAction=d+((c>0)?"_"+c+"_"+b:"");strLabel=f+((a>0)?"_"+a:"");strJsTrackEvent="_gaq.push(['_trackEvent', '"+strCategory+"', '"+strAction+"', '"+strLabel+"']);";return strJsTrackEvent}function gaOutgoing2TrackEvent(c,b,a){aryTrackData=c.split("/");if((aryTrackData.length>=6)&&(aryTrackData[1]=="outgoing")){strPage=aryTrackData[2];strPosition=aryTrackData[3];strCatId=aryTrackData[4];strPartner=aryTrackData[5];strPositionNumber=getTemplatePosition(strPosition);strJsTrackEvent=gaBuildPartnerTrackEvent(strPage,strCatId,strPosition,strPositionNumber,b,strPartner,a)}else{strJsTrackEvent=c}return strJsTrackEvent}function BuildPartnerLink(b,a,d,c){strHtmlLink='<a href="'+b+'"'+a+" "+d+' target="_blank" rel="nofollow">'+c+"</a>";return strHtmlLink}function gaTrackEvent(d,c,a,b){strJsTrackEvent="_gaq.push(['_trackEvent', '"+d+"', '"+c+"', '"+a+((typeof(b)!="undefined")?"', '"+b:"")+"']);";return strJsTrackEvent}function getTemplatePosition(d){var b=0;var c,a;for(c=0,a=g_aryTemplatePosCounts.length;c<a;c++){aryCountData=g_aryTemplatePosCounts[c].split("_");if(aryCountData[0]==d){b=parseInt(aryCountData[1])+1;g_aryTemplatePosCounts.splice(c,1,d+"_"+b);break}}if(b==0){b=1;g_aryTemplatePosCounts.push(d+"_"+b)}return b}function getSponsoredAdIdName(a){return"idSponsored"+a}function DisplayPartnerAd(g,e,c,l,d,h,k,f,a,j,b){if(g==null){g="resultsmall"}if(e==null){e=""}if(c==null){c=""}if(l==null){l=""}if(d==null){d=""}if(h==null){h=""}if(k==null){k=""}if(f==null){f=""}if(a==null){a=""}if(j==null){j=""}if(b==null){b="Partner-Anzeige"}if((c!="")&&(l!="")){strHTML="";blnIsGoogleAd=(b=="Google-Anzeige");strGoogleFeedbackLink='<a href="http://services.google.com/feedback/online_hws_feedback">Google-Anzeige</a>';strTrackEventOnCLick=(j!="")?' OnClick="'+j+'"':"";strHtmlHref=' href="'+c+'"'+strTrackEventOnCLick+' target="_blank" rel="nofollow" ';strFormatedPrice=FormatPrice(h);strHtmlPrice=strFormatedPrice;if((g=="resultsmall")||(g=="resultstart")||(g=="resultend")){strImageWidth="80"}else{if(g=="towerright"){strImageWidth="50"}else{if((g=="resultdetail")){strImageWidth="100"}else{if((g=="resultpolepositionimage")||(g=="sectionpoleposition")){strImageWidth="115"}else{strImageWidth="80"}}}}if(e!=""){strHtmlImage='<div class="ImageLimiter"><a '+strHtmlHref+'><img src="'+e+'" width="'+strImageWidth+'" border="0"></a></div>'}else{strHtmlImage="&nbsp;"}if(k!=""){switch(g){case"resultstart":case"resultend":case"resultcenter":strAttribut='style="color:#FF0000"';strContent=HighlightWords(k,g_strPartnerSearch);break;default:strAttribut='class="infolinktext"';strContent=k;break}strHtmlFooter="<a "+strHtmlHref+strAttribut+">"+strContent+"</a>"}else{strHtmlFooter=""}if(f!=""){strHtmlFooter+='<span class="paletextsmall">&nbsp;|&nbsp;</span><a href="'+a+'" target="_blank" rel="nofollow" class="paletextsmall">'+f+"</a>"}if(strHtmlFooter==""){strHtmlFooter="&nbsp;"}switch(g){case"towerright":strHTML='<div class="MsBoxItem"><table><tr>\n<td class="image">'+strHtmlImage+'</td>\n<td class="text"><a '+strHtmlHref+"><b>"+PartnerFormatText(l,50,true,blnIsGoogleAd,false)+"</b><br>\n"+PartnerFormatText(d,80,true,blnIsGoogleAd,false)+"<br>\n<b>"+strFormatedPrice+' EUR</b></a></td>\n</tr></table></div><!-- class="MsBoxItem" -->\n';document.write(strHTML);break;case"topright":case"bottomright":strHTMLAnchorEnd1=(blnIsGoogleAd==true)?"</a>":"";strHTMLAnchorEnd2=(blnIsGoogleAd==true)?"":"</a>";l=l.substr(0,50);strAdTitle=(g_strPartnerSearch!="")?HighlightWords(l,g_strPartnerSearch):"<b>"+l+"</b>";if(blnIsGoogleAd==true){b=""}strHTML='<table cellspacing="0" cellpadding="0" border="0"><tr>\n<td><a '+strHtmlHref+">"+strAdTitle+strHTMLAnchorEnd1+"<br>"+PartnerFormatText(d,80,false,blnIsGoogleAd,true)+strHTMLAnchorEnd2+"<br>"+strHtmlFooter+"</td>\n</tr></table>\n";document.write(strHTML);break;case"resultstart":case"resultend":strAdTitle=PartnerFormatText(l,((blnIsGoogleAd==true)?50:40),false,blnIsGoogleAd,false);strAdDescription=PartnerFormatText(d,150,false,blnIsGoogleAd,false);if(blnIsGoogleAd==true){strHTML='<div class="googlesmall"><div class="feedback">'+strGoogleFeedbackLink+'</div><div class="headline"><a '+strHtmlHref+">"+strAdTitle+'</a></div><span class="description">'+strAdDescription+'</span><span class="url"><a '+strHtmlHref+">"+strHtmlFooter+'</a></span></div><!-- class="googlesmall" -->\n'}else{strHTML='<div class="layoutsmall">\n<div class="standardsmall">\n<table cellspacing="0" cellpadding="0" border="0">\n<tr>\n<td class="image" rowspan="2"><div class="singlepic"><div class="img_center">'+strHtmlImage+'</div></div></td>\n<td class="detail"><a class="qaheadline"'+strHtmlHref+'><div class="headline">'+strAdTitle+"</div></a><a "+strHtmlHref+' class="qadescription">'+strAdDescription+'</a></td>\n<td class="type">'+b+'</td>\n<td class="price">'+strHtmlPrice+'</td>\n</tr>\n<tr>\n<td class="detail">'+strHtmlFooter+'</td>\n<td colspan="3">&nbsp;</td>\n</tr>\n</table>\n</div><!-- class="standardsmall" -->\n</div><!-- class="layoutsmall" -->\n'}document.write(strHTML);break;case"resultcenter":strHTMLAnchorEnd1=(blnIsGoogleAd==true)?"</a>":"";strHTMLAnchorEnd2=(blnIsGoogleAd==true)?"":"</a>";strHTMLPartnerHead=(blnIsGoogleAd==true)?'<div class="feedback">'+strGoogleFeedbackLink+"</div>":"";d=PartnerFormatText(d,150,false,blnIsGoogleAd,true);strAdTitle="<b>"+PartnerFormatText(l,50,false,blnIsGoogleAd,false)+"</b>";if(blnIsGoogleAd==true){b=""}strHTML='<table cellspacing="0" cellpadding="0" border="0">\n<tr>\n<td class="image">'+strHtmlImage+'</td>\n<td class="detail">'+strHTMLPartnerHead+"<a "+strHtmlHref+' style="color:#000000;font-size: 14px;text-decoration: underline;" target="_blank" rel="nofollow">'+strAdTitle+strHTMLAnchorEnd1+"<br>"+d+strHTMLAnchorEnd2+"<br>"+strHtmlFooter+'</td>\n<td class="price">'+strHtmlPrice+"</td>\n</tr>\n</table>\n";document.write(strHTML);break;case"resultsmall":strAdTitle=PartnerFormatText(l,40,false,blnIsGoogleAd,false);strAdDescription=PartnerFormatText(d,150,false,blnIsGoogleAd,false);if(blnIsGoogleAd==true){strHTML='<div class="layoutsmall">\n<div class="googlesmall"><div class="feedback">'+strGoogleFeedbackLink+'</div><div class="headline"><a '+strHtmlHref+">"+strAdTitle+'</a></div><span class="description">'+strAdDescription+'</span><span class="url"><a '+strHtmlHref+">"+strHtmlFooter+'</a></span></div><!-- class="googlesmall" -->\n</div><!-- class="layoutsmall" -->\n'}else{strHTML='<div class="layoutsmall">\n<div class="standardsmall">\n<table cellspacing="0" cellpadding="0" border="0">\n<tr>\n<td class="date" rowspan="2">'+b+'</td>\n<td class="image" rowspan="2"><div class="singlepic"><div class="img_center">'+strHtmlImage+'</div></div></td>\n<td class="detail"><a class="qaheadline"'+strHtmlHref+'><div class="headline">'+strAdTitle+"</div></a><a "+strHtmlHref+' class="qadescription">'+strAdDescription+'</a></td>\n<td class="location" rowspan="2"><td class="price" rowspan="2">'+strHtmlPrice+'</td>\n</tr>\n<tr>\n<td class="detail">'+strHtmlFooter+'</td>\n</tr>\n</table>\n</div><!-- class="standardsmall" -->\n</div><!-- class="layoutsmall" -->\n'}document.write(strHTML);break;case"resultextend":strHTMLAnchorEnd1=(blnIsGoogleAd==true)?"</a>":"";strHTMLAnchorEnd2=(blnIsGoogleAd==true)?"":"</a>";strHTMLPartnerHead=(blnIsGoogleAd==true)?'<div class="headline">'+strGoogleFeedbackLink+'</div><!-- class="headline" -->':"";if(blnIsGoogleAd==true){b=""}strHTML='<div class="partnerextend">\n<table cellspacing="0" cellpadding="0" border="0">\n<tr>\n<td class="type" colspan="3">'+b+'</td>\n</tr>\n<tr>\n<td class="image" rowspan="2">'+strHtmlImage+'</td>\n<td class="title">'+strHTMLPartnerHead+"<a "+strHtmlHref+"><b>"+l.substr(0,50)+"</b>"+strHTMLAnchorEnd1+"<br>"+d+strHTMLAnchorEnd2+'</td>\n<td class="info" rowspan="2">&nbsp;</td>\n</tr>\n<tr>\n<td class="content">'+strHtmlFooter+'</td>\n</tr>\n</table>\n</div><!-- class="partnerextend" -->\n';document.write(strHTML);break;case"resultdetail":strHTMLAnchorEnd1=(blnIsGoogleAd==true)?"</a>":"";strHTMLAnchorEnd2=(blnIsGoogleAd==true)?"":"</a>";d=PartnerFormatText(d,100,false,blnIsGoogleAd,false);strHTML='<div class="partner">\n<table cellspacing="0" cellpadding="0" border="0">\n<tr>\n<td class="image" rowspan="2">'+strHtmlImage+'</td>\n<td class="title"><a '+strHtmlHref+"><b>"+l+"</b>"+strHTMLAnchorEnd1+"<br>"+d+strHTMLAnchorEnd2+'</td>\n<td class="type" rowspan="2">'+b.replace(/-/,"<br>")+'</td>\n</tr>\n<tr>\n<td class="content">'+strHtmlFooter+'</td>\n</tr>\n</table>\n</div><!-- class="partner" -->\n';document.write(strHTML);break;case"resultpolepositionimage":strHTML='<td class="data">'+strHtmlImage+"</td>";document.write(strHTML);break;case"resultpolepositiontext":strHtmlA="<a "+strHtmlHref+' title="'+b+'">';if(l.length>0){strAdText=WrapAdText(l,20)}else{strAdText=WrapAdText(d,20)}if(b=="Partner-Anzeige"){strAdInfo="["+b+"]"}else{strAdInfo=strHtmlA+'<img src="http://connect.quoka.de/qcc/img/button_zum_shop.gif" border="0" title="Zum Shop" align="bottom"></a>'}strHTML='<td class="data">'+strHtmlA+strAdText+"</a>"+((h!="")?"<br>"+strFormatedPrice+" EUR":"")+"<br>"+strAdInfo+"</td>";document.write(strHTML);break;case"sectionpoleposition":strHtmlA="<a "+strHtmlHref+' title="'+b+'">';if(l.length>0){strAdText=WrapAdText(l,50)}else{strAdText=WrapAdText(d,60)}if(b=="Partner-Anzeige"){strAdInfo="["+b+"]"}else{strAdInfo=strHtmlA+'<img src="http://connect.quoka.de/qcc/img/button_zum_shop.gif" border="0" title="Zum Shop" align="bottom"></a>'}strHTML='<div class="PolePositionItem">'+strHtmlImage+"<br>"+strHtmlA+strAdText+"</a><br>"+strAdInfo+"</div>";document.write(strHTML);break}return 0}else{return -1}}function getSponsoredAdItem(a,e,h,b,g,c,f,d){if(c==null){c="TUD"}strGAOnCLick=(g!="")?' OnClick="'+g+'"':"";strURL="<a"+strGAOnCLick+' href="'+b+'" style="text-decoration: none;" target="_blank" rel="nofollow">';strAdTitle='<div class="headline">'+strURL+a+"</a></div>";strAdUrl='<span class="url">'+strURL+h+"</a></span>";strAdDescription='<span class="description">'+e+"</span>";strImage="";if(f!="undefined"){strImage='<div style="float:left; margin-right: 10px;">'+strURL+'<img src="'+f+'"';if(d!="undefined"){strImage+='title="'+d+'"'}strImage+='  border="0"/></a></div>'}if(c=="TDU"){strContent=strAdTitle+strAdDescription+strAdUrl}else{if(c=="PTUD"){strContent=strImage+strAdTitle+strAdUrl+strAdDescription}else{strContent=strAdTitle+strAdUrl+strAdDescription}}return'<div class="gad clearfix">'+strContent+"</div>"}function ShowSponsoredAds(f,g,h){var c=(g.indexOf("resultstart")==0);var b=(g.indexOf("resultend")==0);var e=getSponsoredAdIdName(g);var a=document.getElementById(e);var d="http://services.google.com/feedback/online_hws_feedback";if((typeof(sponsoredAdsFeedbackUrl)!="undefined")&&(sponsoredAdsFeedbackUrl!="")){d=sponsoredAdsFeedbackUrl}if(typeof(sponsoredAdsTitle)!="undefined"){if(sponsoredAdsTitle.length>0){if(f>sponsoredAdsTitle.length){f=sponsoredAdsTitle.length}if(c){strHtmlData="";for(i=0;i<f;i++){adsGoogleIndex=g_lngGoogleIndex++;if(adsGoogleIndex<sponsoredAdsTitle.length){strGAUrl=(sponsoredAdsGAUrl[adsGoogleIndex]!="undefined")?sponsoredAdsGAUrl[adsGoogleIndex]:"";strGAUrl=strGAUrl.replace(/jsresult/g,g);strGAUrl=gaOutgoing2TrackEvent(strGAUrl,(adsGoogleIndex+1),sponsoredAdsTitle.length);strHtmlData+=getSponsoredAdItem(sponsoredAdsTitle[adsGoogleIndex],sponsoredAdsDescription[adsGoogleIndex],sponsoredAdsSiteHost[adsGoogleIndex],sponsoredAdsClickUrl[adsGoogleIndex],strGAUrl)}}if(strHtmlData!=""){strHTML='<div class="MsBox"><div class="feedback"><a href="'+d+'">Google-Anzeigen</a></div>'+strHtmlData+'</div><!-- class="MsBox" -->';if(a){a.innerHTML=strHTML}else{document.write(strHTML)}}}else{if(b){strHtmlData="";for(i=0;i<f;i++){adsGoogleIndex=g_lngGoogleIndex++;if(adsGoogleIndex<sponsoredAdsTitle.length){strGAUrl=(sponsoredAdsGAUrl[adsGoogleIndex]!="undefined")?sponsoredAdsGAUrl[adsGoogleIndex]:"";strGAUrl=strGAUrl.replace(/jsresult/g,g);strGAUrl=gaOutgoing2TrackEvent(strGAUrl,(adsGoogleIndex+1),sponsoredAdsTitle.length);strHtmlData+=getSponsoredAdItem(sponsoredAdsTitle[adsGoogleIndex],sponsoredAdsDescription[adsGoogleIndex],sponsoredAdsSiteHost[adsGoogleIndex],sponsoredAdsClickUrl[adsGoogleIndex],strGAUrl)}}if(strHtmlData!=""){strHTML='<div class="MsBox"><div class="feedback"><a href="'+d+'">Google-Anzeigen</a></div>'+strHtmlData+'</div><!-- class="MsBox" -->';if(a){a.innerHTML=strHTML}else{document.write(strHTML)}}}else{document.writeln('<div class="googleblock">');if((g=="topright")||(g=="bottomright")){document.writeln('<div class="headline"><a href="'+d+'">Google-Anzeigen</a></div><!-- class="headline" -->')}for(i=0;i<f;i++){if((g_lngGoogleIndex)<sponsoredAdsTitle.length){document.writeln('<div class="googleblockitem">');ShowSponsoredPos(g_lngGoogleIndex,g,"",h,true,false);document.writeln('</div><!-- class="googleblockitem" -->')}}document.writeln('</div><!-- class="googleblock" -->')}}}}}function ShowPartnerAds(d,b,c,e){var a;document.writeln('<div class="partnerblock">');for(a=0;a<b;a++){ShowSponsoredPos(d+a,c,"",e,false,true)}document.writeln('</div><!-- class="partnerblock" -->')}function ShowPartnerMsBox(j,c,d,a,h){var g=false;var f="";var e;if(j==null){j=0}if(c==null){c=5}if(d==null){d="towerright"}if(a==null){a=""}if(h==null){h=""}if(typeof(partnerAdsTitle)!="undefined"){for(var b in partnerAdsTitle){if((typeof(partnerAdsTitle[b])=="object")&&partnerAdsTitle[b].length>0){g=true;break}}}for(var b in aryPartnerAdsMoreAdsUrl){if((typeof(aryPartnerAdsMoreAdsUrl[b])=="string")&&(aryPartnerAdsMoreAdsUrl[b].length>0)){strFooterText=aryPartnerAdsMoreAdsText[b];h=aryPartnerAdsMoreAdsUrl[b];f=partnerAdsGAurl[b][0];f=(f!="")?' OnClick="'+gaOutgoing2TrackEvent(f.replace(/jsresult/g,"moreadslink"),0,0)+'"':""}}for(var b in aryPartnerAdsBoxHeadline){if((typeof(aryPartnerAdsBoxHeadline[b])=="string")&&(aryPartnerAdsBoxHeadline[b].length>0)){a=aryPartnerAdsBoxHeadline[b]}}if(a==""){a="weitere Angebote"}if(g==true){document.writeln('<div class="MsBoxTop"><h3>'+a+"</h3></div>");document.writeln('<div class="MsBox">');for(e=0;e<c;e++){ShowSponsoredPos(j+e,d,"",false,false,true)}if(h!=""){document.writeln('<div align="center" style="padding: 20px 4px;">');document.writeln('<a href="'+h+'"'+f+' target="_blank" rel="nofollow" style="font: bold 14px Arial,Verdana,Geneva,Helvetica,Sans-Serif; color:#000;">'+strFooterText+"</a>");document.writeln("</div>")}document.writeln('</div><!-- class="MsBox" -->');document.writeln('<div class="MsBoxBottom"></div>')}}function ShowSponsoredPos(g,e,c,f,a,b){if(f==null){f=false}if(a==null){a=true}if(b==null){b=true}if(typeof(b_HEADERDISP)=="undefined"){b_HEADERDISP=false}if(f&&!b_HEADERDISP){document.writeln('<div class="resultheadline">');document.writeln('<table cellspacing="0" cellpadding="2" border="0"><tr><td>');document.writeln("<h1>Angebote unserer Partner:</h1>");document.writeln("</td></tr></table>");document.writeln('</div><!-- class="resultheadline" -->');b_HEADERDISP=true}if(a==true){if(typeof(sponsoredAdsTitle)!="undefined"){lngSponsoredAds=sponsoredAdsTitle.length;adsGoogleIndex=g_lngGoogleIndex++;if(adsGoogleIndex<lngSponsoredAds){strGAUrl=(sponsoredAdsGAUrl[adsGoogleIndex]!="undefined")?sponsoredAdsGAUrl[adsGoogleIndex]:"";strGAUrl=strGAUrl.replace(/jsresult/g,e);strGAUrl=gaOutgoing2TrackEvent(strGAUrl,(adsGoogleIndex+1),lngSponsoredAds);DisplayPartnerAd(e,"",sponsoredAdsClickUrl[adsGoogleIndex],sponsoredAdsTitle[adsGoogleIndex],sponsoredAdsDescription[adsGoogleIndex],"",sponsoredAdsSiteHost[adsGoogleIndex],"","",strGAUrl,"Google-Anzeige")}}}if((b==true)&&typeof(partnerAdsTitle)!="undefined"){for(var d in partnerAdsClickUrl){lngAdIndex=g-1;if((typeof(partnerAdsTitle[d])=="object")&&partnerAdsTitle[d].length>0){lngPartnerAds=partnerAdsTitle[d].length;while(lngAdIndex>=lngPartnerAds){lngAdIndex-=lngPartnerAds}strAdType="Partner-Anzeige";strGAUrl=(partnerAdsGAurl[d][lngAdIndex]!="undefined")?partnerAdsGAurl[d][lngAdIndex]:"";strGAUrl=strGAUrl.replace(/jsresult/g,e);strGAUrl=gaOutgoing2TrackEvent(strGAUrl,(lngAdIndex+1),lngPartnerAds);DisplayPartnerAd(e,partnerAdsImageUrl[d][lngAdIndex],partnerAdsClickUrl[d][lngAdIndex],partnerAdsTitle[d][lngAdIndex],partnerAdsDescription[d][lngAdIndex],partnerAdsPrice[d][lngAdIndex],partnerAdsFooter[d][lngAdIndex],partnerAdsOtherText[d][lngAdIndex],partnerAdsOtherUrl[d][lngAdIndex],strGAUrl,strAdType)}}}}if(typeof(aryPolePositionAdsPartner)=="undefined"){aryPolePositionAdsPartner=new Array()}if(typeof(aryPolePositionAdsTitle)=="undefined"){aryPolePositionAdsTitle=new Array()}if(typeof(aryPolePositionAdsDescription)=="undefined"){aryPolePositionAdsDescription=new Array()}if(typeof(aryPolePositionAdsImageUrl)=="undefined"){aryPolePositionAdsImageUrl=new Array()}if(typeof(aryPolePositionAdsClickUrl)=="undefined"){aryPolePositionAdsClickUrl=new Array()}if(typeof(aryPolePositionAdsPrice)=="undefined"){aryPolePositionAdsPrice=new Array()}if(typeof(aryPolePositionAdsFooter)=="undefined"){aryPolePositionAdsFooter=new Array()}if(typeof(aryPolePositionAdsOtherText)=="undefined"){aryPolePositionAdsOtherText=new Array()}if(typeof(aryPolePositionAdsOtherUrl)=="undefined"){aryPolePositionAdsOtherUrl=new Array()}if(typeof(aryPolePositionAdsGAurl)=="undefined"){aryPolePositionAdsGAurl=new Array()}function ShowPolePosition(h,f,d,e,a){var g=aryPolePositionAdsTitle.length;var b;if(d==null){d=0}if(typeof(partnerAdsTitle)!="undefined"){if(g==0){lngMaxAds=0;lngPartners=partnerAdsTitle.length;for(var c in partnerAdsTitle){if(partnerAdsTitle[c].length>lngMaxAds){lngMaxAds=partnerAdsTitle[c].length}}for(b=0;(b<lngMaxAds)&&(g<e);b++){for(var c in partnerAdsTitle){if((typeof(partnerAdsTitle[c])=="object")&&partnerAdsTitle[c].length>b){if((typeof(partnerAdsImageUrl[c][b])!="undefined")&&partnerAdsImageUrl[c][b].length>0){aryPolePositionAdsPartner[g]=c;aryPolePositionAdsTitle[g]=partnerAdsTitle[c][b];aryPolePositionAdsDescription[g]=partnerAdsDescription[c][b];aryPolePositionAdsImageUrl[g]=partnerAdsImageUrl[c][b];aryPolePositionAdsClickUrl[g]=partnerAdsClickUrl[c][b];aryPolePositionAdsPrice[g]=partnerAdsPrice[c][b];aryPolePositionAdsFooter[g]=partnerAdsFooter[c][b];aryPolePositionAdsOtherText[g]=partnerAdsOtherText[c][b];aryPolePositionAdsOtherUrl[g]=partnerAdsOtherUrl[c][b];strGoogleAnalyticsURL=partnerAdsGAurl[c][b];aryPolePositionAdsGAurl[g]=strGoogleAnalyticsURL.replace(/jsresult/,"poleposition");g++}}}}}}if(g>=h){switch(f){case"sectionpoleposition":if(d>1){document.writeln('<div class="separator"></div>')}break}h--;strAdType="Partner-Anzeige";strGAUrl=aryPolePositionAdsGAurl[h];strGAUrl=strGAUrl.replace(/poleposition/g,f);strGAUrl=gaOutgoing2TrackEvent(strGAUrl,(h+1),aryPolePositionAdsGAurl.length);DisplayPartnerAd(f,aryPolePositionAdsImageUrl[h],aryPolePositionAdsClickUrl[h],aryPolePositionAdsTitle[h],aryPolePositionAdsDescription[h],aryPolePositionAdsPrice[h],aryPolePositionAdsFooter[h],aryPolePositionAdsOtherText[h],aryPolePositionAdsOtherUrl[h],strGAUrl,strAdType)}else{switch(f){case"resultpolepositionimage":document.writeln('<td class="data">&nbsp;</td>');break;case"resultpolepositiontext":document.writeln('<td class="data">&nbsp;</td>');break;case"sectionpoleposition":break}if((g==0)&&(a==0)){objElement=document.getElementById("ContentPoleposition");if(objElement){objElement.style.display="none"}objElement=document.getElementById("ContentPoleposition_Result");if(objElement){objElement.style.display="none"}}}}function getGoogleBrowserChannels(a){strSearch=$j("input[name=search1]").attr("value");strBrowserInfo=getBrowserInfo();strBrowserCode="";strBrowserVersion=$j.browser.version.slice(0,1);aryAdsenseChannelIds=["safari","chrome","ff","ff4","ff5","ie","ie7","ie8","ie9","rest"];aryAdsenseChannelIds.safari=["afs","afc"];aryAdsenseChannelIds.safari["afs"]=["userkw","pdefkw","default"];aryAdsenseChannelIds.safari["afs"]["userkw"]="5499411791";aryAdsenseChannelIds.safari["afs"]["pdefkw"]="7933489249";aryAdsenseChannelIds.safari["afs"]["default"]="8450719116";aryAdsenseChannelIds.safari["afc"]="4643341031";aryAdsenseChannelIds.chrome=["afs","afc"];aryAdsenseChannelIds.chrome["afs"]=["userkw","pdefkw","default"];aryAdsenseChannelIds.chrome["afs"]["userkw"]="5673710394";aryAdsenseChannelIds.chrome["afs"]["pdefkw"]="9500829188";aryAdsenseChannelIds.chrome["afs"]["default"]="8752276167";aryAdsenseChannelIds.chrome["afc"]="8406870850";aryAdsenseChannelIds.ff=["afs","afc"];aryAdsenseChannelIds.ff["afs"]=["userkw","pdefkw","default"];aryAdsenseChannelIds.ff["afs"]["userkw"]="9760878772";aryAdsenseChannelIds.ff["afs"]["pdefkw"]="5553798816";aryAdsenseChannelIds.ff["afs"]["default"]="7753085625";aryAdsenseChannelIds.ff["afc"]="0148234427";aryAdsenseChannelIds.ff4=["afs","afc"];aryAdsenseChannelIds.ff4["afs"]=["userkw","pdefkw","default"];aryAdsenseChannelIds.ff4["afs"]["userkw"]="5277701619";aryAdsenseChannelIds.ff4["afs"]["pdefkw"]="9219172297";aryAdsenseChannelIds.ff4["afs"]["default"]="2334030905";aryAdsenseChannelIds.ff4["afc"]="8026045748";aryAdsenseChannelIds.ff5=["afs","afc"];aryAdsenseChannelIds.ff5["afs"]=["userkw","pdefkw","default"];aryAdsenseChannelIds.ff5["afs"]["userkw"]="2554844870";aryAdsenseChannelIds.ff5["afs"]["pdefkw"]="3818591155";aryAdsenseChannelIds.ff5["afs"]["default"]="0794165717";aryAdsenseChannelIds.ff5["afc"]="5894604792";aryAdsenseChannelIds.ie=["afs","afc"];aryAdsenseChannelIds.ie["afs"]=["userkw","pdefkw","default"];aryAdsenseChannelIds.ie["afs"]["userkw"]="7994925786";aryAdsenseChannelIds.ie["afs"]["pdefkw"]="1805941669";aryAdsenseChannelIds.ie["afs"]["default"]="1530712338";aryAdsenseChannelIds.ie["afc"]="1030515637";aryAdsenseChannelIds.ie7=["afs","afc"];aryAdsenseChannelIds.ie7["afs"]=["userkw","pdefkw","default"];aryAdsenseChannelIds.ie7["afs"]["userkw"]="9251924498";aryAdsenseChannelIds.ie7["afs"]["pdefkw"]="1986131359";aryAdsenseChannelIds.ie7["afs"]["default"]="7418466758";aryAdsenseChannelIds.ie7["afc"]="6607241467";aryAdsenseChannelIds.ie8=["afs","afc"];aryAdsenseChannelIds.ie8["afs"]=["userkw","pdefkw","default"];aryAdsenseChannelIds.ie8["afs"]["userkw"]="9975885651";aryAdsenseChannelIds.ie8["afs"]["pdefkw"]="1045811268";aryAdsenseChannelIds.ie8["afs"]["default"]="9646052254";aryAdsenseChannelIds.ie8["afc"]="5455527116";aryAdsenseChannelIds.ie9=["afs","afc"];aryAdsenseChannelIds.ie9["afs"]=["userkw","pdefkw","default"];aryAdsenseChannelIds.ie9["afs"]["userkw"]="4815087457";aryAdsenseChannelIds.ie9["afs"]["pdefkw"]="9875663363";aryAdsenseChannelIds.ie9["afs"]["default"]="8957349876";aryAdsenseChannelIds.ie9["afc"]="7055026082";aryAdsenseChannelIds.rest=["afs","afc"];aryAdsenseChannelIds.rest["afs"]=["userkw","pdefkw","default"];aryAdsenseChannelIds.rest["afs"]["userkw"]="8479029529";aryAdsenseChannelIds.rest["afs"]["pdefkw"]="9195313583";aryAdsenseChannelIds.rest["afs"]["default"]="7258087523";aryAdsenseChannelIds.rest["afc"]="4760099397";if(strBrowserInfo.indexOf("Safari",0)>-1){if(a=="afs"){strBrowserCode+="+"+aryAdsenseChannelIds.safari["afs"]["default"];if(strSearch==""){strBrowserCode+="+"+aryAdsenseChannelIds.safari["afs"]["pdefkw"]}else{strBrowserCode+="+"+aryAdsenseChannelIds.safari["afs"]["userkw"]}}else{strBrowserCode+="+"+aryAdsenseChannelIds.safari["afc"]}}else{if(strBrowserInfo.indexOf("Firefox",0)==0){if(strBrowserVersion==5){if(a=="afs"){strBrowserCode+="+"+aryAdsenseChannelIds.ff5["afs"]["default"];if(strSearch==""){strBrowserCode+="+"+aryAdsenseChannelIds.ff5["afs"]["pdefkw"]}else{strBrowserCode+="+"+aryAdsenseChannelIds.ff5["afs"]["userkw"]}}else{strBrowserCode+="+"+aryAdsenseChannelIds.ff5["afc"]}}else{if(strBrowserVersion==4||strBrowserVersion==2){if(a=="afs"){strBrowserCode+="+"+aryAdsenseChannelIds.ff4["afs"]["default"];if(strSearch==""){strBrowserCode+="+"+aryAdsenseChannelIds.ff4["afs"]["pdefkw"]}else{strBrowserCode+="+"+aryAdsenseChannelIds.ff4["afs"]["userkw"]}}else{strBrowserCode+="+"+aryAdsenseChannelIds.ff4["afc"]}}else{if(a=="afs"){strBrowserCode+="+"+aryAdsenseChannelIds.ff["afs"]["default"];if(strSearch==""){strBrowserCode+="+"+aryAdsenseChannelIds.ff["afs"]["pdefkw"]}else{strBrowserCode+="+"+aryAdsenseChannelIds.ff["afs"]["userkw"]}}else{strBrowserCode+="+"+aryAdsenseChannelIds.ff["afc"]}}}}else{if(strBrowserInfo.indexOf("Microsoft IE",0)==0){if(strBrowserVersion==9){if(a=="afs"){strBrowserCode+="+"+aryAdsenseChannelIds.ie9["afs"]["default"];if(strSearch==""){strBrowserCode+="+"+aryAdsenseChannelIds.ie9["afs"]["pdefkw"]}else{strBrowserCode+="+"+aryAdsenseChannelIds.ie9["afs"]["userkw"]}}else{strBrowserCode+="+"+aryAdsenseChannelIds.ie9["afc"]}}else{if(strBrowserVersion==8){if(a=="afs"){strBrowserCode+="+"+aryAdsenseChannelIds.ie8["afs"]["default"];if(strSearch==""){strBrowserCode+="+"+aryAdsenseChannelIds.ie8["afs"]["pdefkw"]}else{strBrowserCode+="+"+aryAdsenseChannelIds.ie8["afs"]["userkw"]}}else{strBrowserCode+="+"+aryAdsenseChannelIds.ie8["afc"]}}else{if(strBrowserVersion==7){if(a=="afs"){strBrowserCode+="+"+aryAdsenseChannelIds.ie7["afs"]["default"];if(strSearch==""){strBrowserCode+="+"+aryAdsenseChannelIds.ie7["afs"]["pdefkw"]}else{strBrowserCode+="+"+aryAdsenseChannelIds.ie7["afs"]["userkw"]}}else{strBrowserCode+="+"+aryAdsenseChannelIds.ie7["afc"]}}else{if(a=="afs"){strBrowserCode+="+"+aryAdsenseChannelIds.ie["afs"]["default"];if(strSearch==""){strBrowserCode+="+"+aryAdsenseChannelIds.ie["afs"]["pdefkw"]}else{strBrowserCode+="+"+aryAdsenseChannelIds.ie["afs"]["userkw"]}}else{strBrowserCode+="+"+aryAdsenseChannelIds.ie["afc"]}}}}}else{if(strBrowserInfo.indexOf("Chrome",0)==0){if(a=="afs"){strBrowserCode+="+"+aryAdsenseChannelIds.chrome["afs"]["default"];if(strSearch==""){strBrowserCode+="+"+aryAdsenseChannelIds.chrome["afs"]["pdefkw"]}else{strBrowserCode+="+"+aryAdsenseChannelIds.chrome["afs"]["userkw"]}}else{strBrowserCode+="+"+aryAdsenseChannelIds.chrome["afc"]}}else{if(a=="afs"){strBrowserCode+="+"+aryAdsenseChannelIds.rest["afs"]["default"];if(strSearch==""){strBrowserCode+="+"+aryAdsenseChannelIds.rest["afs"]["pdefkw"]}else{strBrowserCode+="+"+aryAdsenseChannelIds.rest["afs"]["userkw"]}}else{strBrowserCode+="+"+aryAdsenseChannelIds.rest["afc"]}}}}}return strBrowserCode};
