var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;
var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;
var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;
function ControlVersion(){var A;
var B;
var C;
try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
A=B.GetVariable("$version")
}catch(C){}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
A="WIN 6,0,21,0";
B.AllowScriptAccess="always";
A=B.GetVariable("$version")
}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
A=B.GetVariable("$version")
}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
A="WIN 3,0,18,0"
}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
A="WIN 2,0,0,11"
}catch(C){A=-1
}}return A
}function GetSwfVer(){var G=-1;
if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var F=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";
var A=navigator.plugins["Shockwave Flash"+F].description;
var E=A.split(" ");
var C=E[2].split(".");
var H=C[0];
var B=C[1];
var D=E[3];
if(D==""){D=E[4]
}if(D[0]=="d"){D=D.substring(1)
}else{if(D[0]=="r"){D=D.substring(1);
if(D.indexOf("d")>0){D=D.substring(0,D.indexOf("d"))
}}}var G=H+"."+B+"."+D
}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){G=4
}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){G=3
}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){G=2
}else{if(isIE&&isWin&&!isOpera){G=ControlVersion()
}}}}}return G
}function DetectFlashVer(F,D,C){versionStr=GetSwfVer();
if(versionStr==-1){return false
}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");
tempString=tempArray[1];
versionArray=tempString.split(",")
}else{versionArray=versionStr.split(".")
}var E=versionArray[0];
var A=versionArray[1];
var B=versionArray[2];
if(E>parseFloat(F)){return true
}else{if(E==parseFloat(F)){if(A>parseFloat(D)){return true
}else{if(A==parseFloat(D)){if(B>=parseFloat(C)){return true
}}}}}return false
}}}function AC_AddExtension(B,A){if(B.indexOf("?")!=-1){return B.replace(/\?/,A+"?")
}else{return B+A
}}function AC_Generateobj(E,D,A){var C="";
if(isIE&&isWin&&!isOpera){C+="<object ";
for(var B in E){C+=B+'="'+E[B]+'" '
}for(var B in D){C+='><param name="'+B+'" value="'+D[B]+'" /> '
}C+="></object>"
}else{C+="<embed ";
for(var B in A){C+=B+'="'+A[B]+'" '
}C+="> </embed>"
}document.write(C)
}function AC_FL_RunContent(){var A=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");
AC_Generateobj(A.objAttrs,A.params,A.embedAttrs)
}function AC_GetArgs(B,E,G,D,H){var A=new Object();
A.embedAttrs=new Object();
A.params=new Object();
A.objAttrs=new Object();
for(var C=0;
C<B.length;
C=C+2){var F=B[C].toLowerCase();
switch(F){case"classid":break;
case"pluginspage":A.embedAttrs[B[C]]=B[C+1];
break;
case"src":case"movie":B[C+1]=AC_AddExtension(B[C+1],E);
A.embedAttrs.src=B[C+1];
A.params[G]=B[C+1];
break;
case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":A.objAttrs[B[C]]=B[C+1];
break;
case"id":case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":A.embedAttrs[B[C]]=A.objAttrs[B[C]]=B[C+1];
break;
default:A.embedAttrs[B[C]]=A.params[B[C]]=B[C+1]
}}A.objAttrs.classid=D;
if(H){A.embedAttrs.type=H
}return A
};
var detectableWithVB=false;
var pluginFound=false;
function goURL(A){if(window.location.replace){window.location.replace(A)
}else{window.location=A
}return 
}function redirectCheck(A,C,B){if(C&&((A&&B)||(!A&&!B))){goURL(C);
return A
}else{return A
}}function canDetectPlugins(){if(detectableWithVB||(navigator.plugins&&navigator.plugins.length>0)){return true
}else{return false
}}function detectFlash(B,A){pluginFound=detectPlugin("Shockwave","Flash");
if(!pluginFound&&detectableWithVB){pluginFound=detectActiveXControl("ShockwaveFlash.ShockwaveFlash.1")
}return redirectCheck(pluginFound,B,A)
}function detectDirector(B,A){pluginFound=detectPlugin("Shockwave","Director");
if(!pluginFound&&detectableWithVB){pluginFound=detectActiveXControl("SWCtl.SWCtl.1")
}return redirectCheck(pluginFound,B,A)
}function detectQuickTime(B,A){pluginFound=detectPlugin("QuickTime");
if(!pluginFound&&detectableWithVB){pluginFound=detectQuickTimeActiveXControl()
}return redirectCheck(pluginFound,B,A)
}function detectReal(B,A){pluginFound=detectPlugin("RealPlayer");
if(!pluginFound&&detectableWithVB){pluginFound=(detectActiveXControl("rmocx.RealPlayer G2 Control")||detectActiveXControl("RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)")||detectActiveXControl("RealVideo.RealVideo(tm) ActiveX Control (32-bit)"))
}return redirectCheck(pluginFound,B,A)
}function detectWindowsMedia(B,A){pluginFound=detectPlugin("Windows Media Player");
if(!pluginFound&&detectableWithVB){pluginFound=detectActiveXControl("MediaPlayer.MediaPlayer.1")
}return redirectCheck(pluginFound,B,A)
}function detectPlugin(){var C=detectPlugin.arguments;
var B=false;
if(navigator.plugins&&navigator.plugins.length>0){var A=navigator.plugins.length;
for(pluginsArrayCounter=0;
pluginsArrayCounter<A;
pluginsArrayCounter++){var D=0;
for(namesCounter=0;
namesCounter<C.length;
namesCounter++){if((navigator.plugins[pluginsArrayCounter].name.indexOf(C[namesCounter])>=0)||(navigator.plugins[pluginsArrayCounter].description.indexOf(C[namesCounter])>=0)){D++
}}if(D==C.length){B=true;
break
}}}return B
}if((navigator.userAgent.indexOf("MSIE")!=-1)&&(navigator.userAgent.indexOf("Win")!=-1)){document.writeln('<script language="VBscript">');
document.writeln("'do a one-time test for a version of VBScript that can handle this code");
document.writeln("detectableWithVB = False");
document.writeln("If ScriptEngineMajorVersion >= 2 then");
document.writeln("  detectableWithVB = True");
document.writeln("End If");
document.writeln("'this next function will detect most plugins");
document.writeln("Function detectActiveXControl(activeXControlName)");
document.writeln("  on error resume next");
document.writeln("  detectActiveXControl = False");
document.writeln("  If detectableWithVB Then");
document.writeln("     detectActiveXControl = IsObject(CreateObject(activeXControlName))");
document.writeln("  End If");
document.writeln("End Function");
document.writeln("'and the following function handles QuickTime");
document.writeln("Function detectQuickTimeActiveXControl()");
document.writeln("  on error resume next");
document.writeln("  detectQuickTimeActiveXControl = False");
document.writeln("  If detectableWithVB Then");
document.writeln("    detectQuickTimeActiveXControl = False");
document.writeln("    hasQuickTimeChecker = false");
document.writeln('    Set hasQuickTimeChecker = CreateObject("QuickTimeCheckObject.QuickTimeCheck.1")');
document.writeln("    If IsObject(hasQuickTimeChecker) Then");
document.writeln("      If hasQuickTimeChecker.IsQuickTimeAvailable(0) Then ");
document.writeln("        detectQuickTimeActiveXControl = True");
document.writeln("      End If");
document.writeln("    End If");
document.writeln("  End If");
document.writeln("End Function");
document.writeln("<\/script>")
};
(function(A){A.fn.truncatable=function(B){var C={limit:100,more:"...",less:false,hideText:"[read less]"};
var B=A.extend(C,B);
return this.each(function(G){var D=A(this).html().length;
if(D>C.limit){var K=A(this).html().substr(C.limit);
var F=K.substr(0,1);
var L=new RegExp(/^\s+$/);
for(var J=C.limit;
J<D;
J++){var I=A(this).html().substr(0,J);
var M=A(this).html().substr(J);
var E=I.slice(-1);
if(L.test(E)){var O='<span class="hiddenText_'+G+'" style="display:none">'+M+"</span>";
var N=(J-1);
var H=A("<a>").attr("class","more_"+G+"");
A(this).html(A(this).html().substr(0,N)).append('<a class="more_'+G+'" href="#">'+C.more+"<a/> "+O);
A("a.more_"+G).bind("click",function(){A("span.hiddenText_"+G).show();
A("a.more_"+G).hide();
if(C.less==true){A("span.hiddenText_"+G).append('<a class="hide_'+G+'" href="" title="'+C.hideText+'">'+C.hideText+"</a>");
A("a.hide_"+G).bind("click",function(){A(".hiddenText_"+G).hide();
A(".more_"+G).show();
A(".hide_"+G).empty();
return false
})
}});
J=D
}}}})
}
})(jQuery);
var l10n={en:{g:["Kategorie durchsuchen",""],x:["","Passende Hersteller zu Ihrer Suche"],k:["","Empfohlene Kategorien zu Ihrer Suche"],m:["",""],p:["Produkt anzeigen",""],c:["",""],o:["Angebot anzeigen",""],s:["Suchvorschlag","Suche nach:"],e:["",""],q:["","Fragen in"]},de:{g:["Kategorie durchsuchen",""],x:["","Hersteller"],k:["","Kategorie"],m:["",""],p:["Produkt anzeigen","Produkte"],c:["","Produkte"],o:["Angebot anzeigen",""],s:["Suchvorschlag","Suche nach:"],e:["","User fragen User"],q:["","Fragen in"]},fr:{g:["Kategorie durchsuchen",""],x:["","Passende Hersteller zu Ihrer Suche"],k:["","Empfohlene Kategorien zu Ihrer Suche"],m:["",""],p:["Produkt anzeigen",""],c:["",""],o:["Angebot anzeigen",""],s:["Suchvorschlag","Suche nach:"],e:["",""],q:["","Fragen in"]}};
function RTrim(A){return A.replace(/\s+$/,"")
}function LTrim(A){return A.replace(/^\s+/,"")
}function Trim(A){return RTrim(LTrim(A))
}function AjaxResponse(A,B,C,D){this.ajaxRequest=A;
this.request=B;
if(C){this.responseText=C
}if(D){this.responseXML=D
}}var GET_METHOD="GET";
function AjaxRequest(A,E,C,B,D){this.url=A;
if(E&&""!=E){this.method=E
}else{this.method=GET_METHOD
}if(C){this.okHandler=C
}if(B){this.data=B
}if(D){this.obj=D
}}AjaxRequest.prototype.createRequest=function createRequest(){var A=false;
if(window.XMLHttpRequest){try{A=new XMLHttpRequest()
}catch(B){}}else{if(window.ActiveXObject){try{A=new ActiveXObject("Microsoft.XMLHTTP")
}catch(B){try{A=new ActiveXObject("Msxml2.XMLHTTP")
}catch(B){}}}}return A
};
AjaxRequest.prototype.setURL=function setURL(A){this.url=A
};
AjaxRequest.prototype.getURL=function getURL(){return this.url
};
AjaxRequest.prototype.setOkHandler=function setOkHandler(A){this.okHandler=A
};
AjaxRequest.prototype.getOkHandler=function getOkHandler(){return this.okHandler
};
AjaxRequest.prototype.setErrorHandler=function setErrorHandler(A){this.errorHandler=A
};
AjaxRequest.prototype.getErrorHandler=function getErrorHandler(){return this.errorHandler
};
AjaxRequest.prototype.setHeaders=function setHeaders(B,A){this.headerNames=B;
this.headerValues=A
};
AjaxRequest.prototype.getResponse=function getResponse(){return this.response
};
AjaxRequest.prototype.send=function send(){if(this.url==null){return 
}var C=this.createRequest();
if(C){var A=this;
C.onreadystatechange=function(){if(A.handler!=null){A.handler(new AjaxResponse(C))
}if(C.readyState==4){try{if(C&&C.status==200){if(A.okHandler!=null){A.okHandler(new AjaxResponse(A,C,C.responseText),A.obj)
}}else{if(A.errorHandler){A.errorHandler("There was a problem with your request.",new AjaxResponse(C))
}}}catch(E){}}};
C.open(this.method,this.url,true);
if(this.headerNames){var D=this.headerNames.length;
for(var B=0;
B<D;
B++){C.setRequestHeader(this.headerNames[B],this.headerValues[B])
}}if(this.method==GET_METHOD){C.send(null)
}else{C.send(this.data)
}}else{if(this.errorHandler){this.errorHandler("Can't create Ajax request.")
}}};
function SearchSuggest(A){this._searchSuggestionFlag=A.searchSuggestionFlag;
this._inputSearchText=A.inputSearchText;
this._requestURL=A.requestURL;
this._channelURL=A.channelURL;
this._fillDivObjects=A.fillDivObjects;
this._suggVisible=false;
this.suggBox=A.suggBox;
this._suggestOnOffObj=A.suggestOnOffObj;
this._activeText=A.activeText;
this._deactiveText=A.deactiveText;
this.timeout=null;
this.delayTime=A.delayTime;
this.startChar=A.startChar;
this._lastResponseTime=0;
this._lang=A.lang;
this._normalfg="#424242";
this._normalbg="";
this._highlightfg="#424242";
this._highlightbg="#E0E0E0";
this._iDiv=[];
this._highlightedId=-1;
var B=this;
this._inputSearchText.onkeydown=function(C){B.onKeyDown.call(B,C)
};
this._inputSearchText.onfocus=function(){B.setSearchTimeout(B.delayTime)
};
this._inputSearchText.onblur=function(){B.hide()
}
}SearchSuggest.prototype.suggestHandler=function suggestHandler(ajaxResponse,searchSuggest){var t=ajaxResponse.ajaxRequest.data;
if(searchSuggest._lastResponseTime>t){return 
}searchSuggest._lastResponseTime=t;
var responseArray=eval(ajaxResponse.responseText);
this._numResults=responseArray[1];
this._rows=responseArray[3];
this._suggCount=responseArray[3].length;
if(this._suggCount>0){searchSuggest.fillDiv.call(searchSuggest,searchSuggest._inputSearchText,responseArray[2],responseArray[3]);
searchSuggest.show.call(searchSuggest)
}else{searchSuggest._suggVisible=false;
searchSuggest.suggBox.style.visibility="hidden"
}};
SearchSuggest.prototype.suggestErrorHandler=function suggestErrorHandler(B,A){alert(B+" : "+A.getRequest().status)
};
SearchSuggest.prototype.fillDiv=function fillDiv(J,B,O){var H=this;
var F=this._fillDivObjects.questionDiv;
if(F){while(F.hasChildNodes()){F.removeChild(F.firstChild)
}F.innerHTML=this.replaceHTMLEntities(J.value)
}var A=this._fillDivObjects.anzahlDiv;
if(A){while(A.hasChildNodes()){A.removeChild(A.firstChild)
}A.innerHTML=this._numResults
}var K=this._fillDivObjects.suggestCount;
if(K){while(K.hasChildNodes()){K.removeChild(K.firstChild)
}K.innerHTML=O.length
}var C=this._fillDivObjects.itemDiv;
var E=C;
while(C.hasChildNodes()){C.removeChild(C.firstChild)
}this._iDiv=[];
var N=function(P){H._iDiv[P].onmousedown=function(){H.rowOnMouseDown.call(H,P)
};
H._iDiv[P].onmouseover=function(){H.rowOnMouseOver.call(H,P)
}
};
for(i=0;
i<O.length;
i++){this._iDiv[i]=document.createElement("div");
N(i);
this._iDiv[i].id="suggRow_"+i;
this._iDiv[i].className="suggRow";
this._iDiv[i].style.cursor="pointer";
if(O[i].length==4){var L=O[i][2].substring(0,1);
var D=l10n[this._lang][L][0];
if(L=="k"||L=="x"){picDiv=document.createElement("div");
clearDiv=document.createElement("div");
clearDiv.style.clear="both";
C=document.createElement("div");
C.className="suggCategoriesGroup";
E.appendChild(picDiv);
E.appendChild(C);
E.appendChild(clearDiv);
if(L=="k"){var G="/img/suggest/suggest-cat.gif"
}else{var G="/img/suggest/suggest-man.gif"
}var I="<img style='float: right; padding-top: 20px; padding-right: 40px;' src='"+this._channelURL+G+"' />";
picDiv.innerHTML=I;
var M="<div class='suggItem suggItemHead'><span class='suggCatHead'><nobr>&nbsp;"+l10n[this._lang][L][1]+" &nbsp;&nbsp;</nobr></span><span class='suggType'><nobr></nobr></span></div>"
}else{if(L=="g"){if(!C.isItemDiv){picDiv=document.createElement("div");
clearDiv=document.createElement("div");
clearDiv.style.clear="both";
var G="/img/suggest/suggest-prod.gif";
var I="<img style='float: right; padding-top: 20px; padding-right: 40px;' src='"+this._channelURL+G+"' />";
picDiv.innerHTML=I;
C=document.createElement("div");
C.className="suggCategoriesGroup";
C.isItemDiv=true;
C.innerHTML="<div class='suggItem suggItemHead'><span class='suggCatHead'><nobr>&nbsp;"+l10n[this._lang]["p"][1]+"&nbsp;&nbsp;</nobr></span><span class='suggType'><nobr></nobr></span></div>";
C.style.cursor="pointer";
E.appendChild(picDiv);
E.appendChild(C);
E.appendChild(clearDiv)
}var M="<div class='suggItem suggItemHead'><span class='suggCat'><nobr>&nbsp;"+this.replaceHTMLEntities(O[i][0])+"&nbsp;&nbsp;</nobr></span><span class='suggType'><nobr></nobr></span></div>"
}else{if(L=="e"){picDiv=document.createElement("div");
clearDiv=document.createElement("div");
clearDiv.style.clear="both";
var G="/img/suggest/suggest-iq.gif";
var I="<img style='float: right; padding-top: 20px; padding-right: 40px;' src='"+this._channelURL+G+"' />";
picDiv.innerHTML=I;
C=document.createElement("div");
C.className="suggCategoriesGroup";
C.isItemDiv=true;
C.innerHTML="<div class='suggItem suggItemHead'><span class='suggCatHead'><nobr>&nbsp;"+l10n[this._lang]["e"][1]+"&nbsp;&nbsp;</nobr></span><span class='suggType'><nobr></nobr></span></div>";
C.style.cursor="pointer";
E.appendChild(picDiv);
E.appendChild(C);
E.appendChild(clearDiv);
var M="<div class='suggItem suggItemHead'><span class='suggCat'><nobr>&nbsp;"+this.replaceHTMLEntities(O[i][0])+"&nbsp;&nbsp;</nobr></span><span class='suggType'><nobr></nobr></span></div>"
}else{if(L=="s"||L=="q"){var M="<div class='suggItem'><span class='suggProduct'><nobr>&nbsp;"+l10n[this._lang][L][1]+"&nbsp;"+this.replaceHTMLEntities(O[i][0])+"&nbsp;&nbsp;</nobr></span><span class='suggTypeSearch'><nobr></nobr></span></div>"
}else{var M="<div class='suggItem'><span class='suggProduct'><nobr>&nbsp;"+this.replaceHTMLEntities(O[i][0])+"&nbsp;&nbsp;</nobr></span><span class='suggType'><nobr></nobr></span></div>"
}}}}}else{var M="<div class='suggItem'><span class='suggProduct'><nobr>&nbsp;&nbsp;</nobr></span></div>"
}this._iDiv[i].innerHTML=this.maskSpecialChars(M);
C.appendChild(this._iDiv[i])
}this._lastHighlightedId=-1
};
SearchSuggest.prototype.show=function show(){if(this._suggVisible){return 
}this._suggVisible=true;
this.suggBox.style.visibility="visible"
};
SearchSuggest.prototype.hide=function hide(){if(!this._suggVisible){return 
}this._suggVisible=false;
this.suggBox.style.visibility="hidden"
};
SearchSuggest.prototype.replaceHTMLEntities=function replaceHTMLEntities(A){return A
};
SearchSuggest.prototype.maskSpecialChars=function maskSpecialChars(ih){var result="";
for(j=0;
j<ih.length;
j++){cc=ih.charCodeAt(j);
if(cc<128){result+=String.fromCharCode(cc)
}else{if(cc>255){result+="&#"+cc+";"
}else{eval('b = "\\'+cc.toString(8)+'"');
result+=b
}}}return result
};
SearchSuggest.prototype.rowOnMouseDown=function rowOnMouseDown(B){if(B>0){var A=-1;
var C=typeof this._ajaxRequest._rows[B][2]!="undefined"?this._ajaxRequest._rows[B][2][0]:"";
if(typeof this._ajaxRequest._rows[B][3]!="undefined"&&this._ajaxRequest._rows[B][3].length>0){A=this._ajaxRequest._rows[B][3]
}if(C!="e"){this.submitForm(this._ajaxRequest._rows[B][1],A,C=="q")
}}this.hide()
};
SearchSuggest.prototype.rowOnMouseOver=function rowOnMouseOver(A){if(this._highlightedId==A){return 
}else{if(this._highlightedId!=-1&&this._iDiv[this._highlightedId]){this._iDiv[this._highlightedId].style.background="";
this._iDiv[this._highlightedId].style.backgroundColor=this._normalbg;
this._iDiv[this._highlightedId].style.color=this._normalfg
}if(this._iDiv[A]){this._iDiv[A].style.backgroundColor=this._highlightbg;
this._iDiv[A].style.color=this._highlightfg
}this._highlightedId=A
}};
SearchSuggest.prototype.submitForm=function submitForm(D,B,A){this._inputSearchText.value=D;
this._inputSearchText.form._s_icmp.value="suggest";
this._inputSearchText.form.userQuery.value="0";
var C=B.split(" ");
if(C.length>1){B=C[0]
}if(typeof this._inputSearchText.form.c!="undefined"){this._inputSearchText.form.c.value=B==0?-1:B
}if(typeof this._inputSearchText.form.suggestItem!="undefined"&&A){this._inputSearchText.form.suggestItem.value="q:"+B
}this._inputSearchText.form.submit()
};
SearchSuggest.prototype.setSearchSuggestion=function setSearchSuggestion(){this._searchSuggestionFlag=!this._searchSuggestionFlag;
var A=document.createElement("img");
A.src=this._channelURL+"/suggestState.do?suggestActive="+this._searchSuggestionFlag;
this.hide()
};
SearchSuggest.prototype.onKeyDown=function onKeyDown(B){B=(B)?B:((window.event)?event:null);
if(B){var A=(B.charCode)?B.charCode:((B.which)?B.which:B.keyCode);
switch(A){case 40:if(this._suggVisible){if(this._iDiv.length&&this._highlightedId<this._iDiv.length-1){this.rowOnMouseOver(this._highlightedId+1)
}}else{this.setSearchTimeout()
}break;
case 38:if(this._suggVisible){if(this._iDiv.length&&this._highlightedId>0){this.rowOnMouseOver(this._highlightedId-1)
}}else{this.setSearchTimeout()
}break;
case 33:if(this._suggVisible&&this._iDiv.length){this.rowOnMouseOver(0)
}break;
case 34:if(this._suggVisible&&this._iDiv.length){this.rowOnMouseOver(this._iDiv.length-1)
}break;
case 35:if(this._suggVisible&&this._iDiv.length){this.rowOnMouseOver(this._iDiv.length-1)
}break;
case 36:if(this._suggVisible&&this._iDiv.length){this.rowOnMouseOver(0)
}break;
case 13:this.rowOnMouseDown(this._highlightedId);
break;
case 9:this.hide();
break;
case 27:this.hide();
break
}if((A==8)||(A==32)||(A>=46)){this.setSearchTimeout(this.delayTime)
}}};
SearchSuggest.prototype.setSearchTimeout=function setSearchTimeout(C){if(!this._searchSuggestionFlag){return 
}var A=C||10;
var B=this;
clearTimeout(this.timeout);
this.timeout=setTimeout(function(){B.doSearch.call(B)
},A)
};
SearchSuggest.prototype.doSearch=function doSearch(){if(!this._searchSuggestionFlag){return 
}if(Trim(this._inputSearchText.value).length<this.startChar){this.hide();
return 
}var A=this._requestURL;
if(A.indexOf("?")>0){A+="&Name="+encodeURIComponent(Trim(this._inputSearchText.value))
}else{A+="?Name="+encodeURIComponent(Trim(this._inputSearchText.value))
}var B=new Date().getTime();
this._ajaxRequest=new AjaxRequest(A,GET_METHOD,this.suggestHandler,B,this);
this._ajaxRequest.setErrorHandler(this.suggestErrorHandler);
this._ajaxRequest.send()
};
var DHTML=false,DOM=false,MSIE4=false,NS4=false,OP=false;
if(document.getElementById){DHTML=true;
DOM=true
}else{if(document.all){DHTML=true;
MSIE4=true
}else{if(document.layers){DHTML=true;
NS4=true
}}}if(window.opera){OP=true
}function getElement(C,E,B){var A,D;
if(DOM){if(C.toLowerCase()=="id"){A=document.getElementById(E);
if(!A){A=false
}return A
}if(C.toLowerCase()=="name"){D=document.getElementsByName(E);
A=D[B];
if(!A){A=false
}return A
}if(C.toLowerCase()=="tagname"){D=document.getElementsByTagName(E);
A=D[B];
if(!A){A=false
}return A
}return false
}if(MSIE4){if(C.toLowerCase()=="id"||C.toLowerCase()=="name"){A=document.all(E);
if(!A){A=false
}return A
}if(C.toLowerCase()=="tagname"){D=document.all.tags(E);
A=D[B];
if(!A){A=false
}return A
}return false
}if(NS4){if(C.toLowerCase()=="id"||C.toLowerCase()=="name"){A=document[E];
if(!A){A=document.anchors[E]
}if(!A){A=false
}return A
}if(C.toLowerCase()=="layerindex"){A=document.layers[E];
if(!A){A=false
}return A
}return false
}return false
}function getAttribute(D,F,C,E){var B;
var A=getElement(D,F,C);
if(!A){return false
}if(DOM||MSIE4){B=A.getAttribute(E);
return B
}if(NS4){B=A[E];
if(!B){B=false
}return B
}return false
}function getContent(D,E,C){var B;
var A=getElement(D,E,C);
if(!A){return false
}if(DOM&&A.firstChild){if(A.firstChild.nodeType==3){B=A.firstChild.nodeValue
}else{B=""
}return B
}if(MSIE4){B=A.innerText;
return B
}return false
}function setContent(D,E,B,C){var A=getElement(D,E,B);
if(!A){return false
}if(DOM&&A.firstChild){A.firstChild.nodeValue=C;
return true
}if(MSIE4){A.innerText=C;
return true
}if(NS4){A.document.open();
A.document.write(C);
A.document.close();
return true
}}function updateCharLeft(){setContent("id","charleft",null,(237-document.getElementById("questionForm").title.value.length))
};
var pricealarmCtrl={parsePrice:function(){var E=$("#price_alarm_form").val();
var C=E.match(/([.0-9]*)[,|.]?([0-9]{0,2})/);
var D=parseInt(C[1].replace(/\./g,""));
var B=C[2];
if(isNaN(D)||E.length==0){return[0,"00"]
}var A=B.length;
B=(A==1)?B+"0":(A<1)?B+"00":B;
return[D,B]
},increase:function(){var A=this.parsePrice();
A[0]+=1;
$("#price_alarm_form").val(A[0]+","+A[1])
},decrease:function(){var A=this.parsePrice();
A[0]-=1;
if(A[0]<0){A[1]="00"
}if(A[0]<0){A[0]=parseFloat(0)
}$("#price_alarm_form").val(A[0]+","+A[1])
}};
$(document).ready(function(){$("#price_alarm_decrease").click(function(){pricealarmCtrl.decrease()
});
$("#price_alarm_increase").click(function(){pricealarmCtrl.increase()
});
$("#m3").click(function(){$("#six-months").hide();
$("#three-months").show();
$("#one-month").hide();
$("div.edmo span").removeClass("active");
$("span#m3").addClass("active")
});
$("#m6").click(function(){$("#six-months").show();
$("#three-months").hide();
$("#one-month").hide();
$("div.edmo span").removeClass("active");
$("span#m6").addClass("active")
});
$("#m1").click(function(){$("#six-months").hide();
$("#three-months").hide();
$("#one-month").show();
$("div.edmo span").removeClass("active");
$("span#m1").addClass("active")
})
});
var tb_pathToImage="http://www.decido.de/img/loadingAnimation.gif";
$(document).ready(function(){tb_init("a.thickbox, area.thickbox, input.thickbox");
imgLoader=new Image();
imgLoader.src=tb_pathToImage
});
function tb_init(A){$(A).click(function(){var C=this.title||this.name||null;
var B=this.href||this.alt;
var D=this.rel||false;
tb_show(C,B,D);
this.blur();
return false
})
}function tb_show(J,H,G){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});
$("html").css("overflow","hidden");
if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");
$("#TB_overlay").click(tb_remove)
}}else{if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");
$("#TB_overlay").click(tb_remove)
}}if(tb_detectMacXFF()){$("#TB_overlay").addClass("TB_overlayMacFFBGHack")
}else{$("#TB_overlay").addClass("TB_overlayBG")
}if(J===null){J=""
}$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");
$("#TB_load").show();
var F;
if(H.indexOf("?")!==-1){F=H.substr(0,H.indexOf("?"))
}else{F=H
}var E=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
var D=F.toLowerCase().match(E);
if(D==".jpg"||D==".jpeg"||D==".png"||D==".gif"||D==".bmp"){TB_PrevCaption="";
TB_PrevURL="";
TB_PrevHTML="";
TB_NextCaption="";
TB_NextURL="";
TB_NextHTML="";
TB_imageCount="";
TB_FoundURL=false;
if(G){TB_TempArray=$("a[@rel="+G+"]").get();
for(TB_Counter=0;
((TB_Counter<TB_TempArray.length)&&(TB_NextHTML===""));
TB_Counter++){var C=TB_TempArray[TB_Counter].href.toLowerCase().match(E);
if(!(TB_TempArray[TB_Counter].href==H)){if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;
TB_NextURL=TB_TempArray[TB_Counter].href;
TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>"
}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;
TB_PrevURL=TB_TempArray[TB_Counter].href;
TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>"
}}else{TB_FoundURL=true;
TB_imageCount="Image "+(TB_Counter+1)+" of "+(TB_TempArray.length)
}}}imgPreloader=new Image();
imgPreloader.onload=function(){imgPreloader.onload=null;
var M=tb_getPageSize();
var L=M[0]-150;
var Q=M[1]-150;
var K=imgPreloader.width;
var P=imgPreloader.height;
if(K>L){P=P*(L/K);
K=L;
if(P>Q){K=K*(Q/P);
P=Q
}}else{if(P>Q){K=K*(Q/P);
P=Q;
if(K>L){P=P*(L/K);
K=L
}}}TB_WIDTH=K+30;
TB_HEIGHT=P+60;
$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+H+"' width='"+K+"' height='"+P+"' alt='"+J+"'/></a><div id='TB_caption'>"+J+"<div id='TB_secondLine'>"+TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");
$("#TB_closeWindowButton").click(tb_remove);
if(!(TB_PrevHTML==="")){function O(){if($(document).unbind("click",O)){$(document).unbind("click",O)
}$("#TB_window").remove();
$("body").append("<div id='TB_window'></div>");
tb_show(TB_PrevCaption,TB_PrevURL,G);
return false
}$("#TB_prev").click(O)
}if(!(TB_NextHTML==="")){function N(){$("#TB_window").remove();
$("body").append("<div id='TB_window'></div>");
tb_show(TB_NextCaption,TB_NextURL,G);
return false
}$("#TB_next").click(N)
}document.onkeydown=function(R){if(R==null){keycode=event.keyCode
}else{keycode=R.which
}if(keycode==27){tb_remove()
}else{if(keycode==190){if(!(TB_NextHTML=="")){document.onkeydown="";
N()
}}else{if(keycode==188){if(!(TB_PrevHTML=="")){document.onkeydown="";
O()
}}}}};
tb_position();
$("#TB_load").remove();
$("#TB_ImageOff").click(tb_remove);
$("#TB_window").css({display:"block"})
};
imgPreloader.src=H
}else{var B=H.replace(/^[^\?]+\??/,"");
var A=tb_parseQuery(B);
TB_WIDTH=(A.width*1)+30||630;
TB_HEIGHT=(A.height*1)+40||440;
ajaxContentW=TB_WIDTH-2;
ajaxContentH=TB_HEIGHT-45;
if(H.indexOf("TB_iframe")!=-1){urlNoQuery=H.split("TB_");
$("#TB_iframeContent").remove();
if(A.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+J+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>")
}else{$("#TB_overlay").unbind();
$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>")
}}else{if($("#TB_window").css("display")!="block"){if(A.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+J+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>")
}else{$("#TB_overlay").unbind();
$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")
}}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";
$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";
$("#TB_ajaxContent")[0].scrollTop=0;
$("#TB_ajaxWindowTitle").html(J)
}}$("#TB_closeWindowButton").click(tb_remove);
if(H.indexOf("TB_inline")!=-1){$("#TB_ajaxContent").append($("#"+A.inlineId).children());
$("#TB_window").unload(function(){$("#"+A.inlineId).append($("#TB_ajaxContent").children())
});
tb_position();
$("#TB_load").remove();
$("#TB_window").css({display:"block"})
}else{if(H.indexOf("TB_iframe")!=-1){tb_position();
if($.browser.safari){$("#TB_load").remove();
$("#TB_window").css({display:"block"})
}}else{$("#TB_ajaxContent").load(H+="&random="+(new Date().getTime()),function(){tb_position();
$("#TB_load").remove();
tb_init("#TB_ajaxContent a.thickbox");
$("#TB_window").css({display:"block"})
})
}}}if(!A.modal){document.onkeyup=function(K){if(K==null){keycode=event.keyCode
}else{keycode=K.which
}if(keycode==27){tb_remove()
}}
}}catch(I){}}function tb_showIframe(){$("#TB_load").remove();
$("#TB_window").css({display:"block"})
}function tb_remove(){$("#TB_imageOff").unbind("click");
$("#TB_closeWindowButton").unbind("click");
$("#TB_window").fadeOut("fast",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()
});
$("#TB_load").remove();
if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});
$("html").css("overflow","")
}document.onkeydown="";
document.onkeyup="";
return false
}function tb_position(){$("#TB_window").css({marginLeft:"-"+parseInt((TB_WIDTH/2),10)+"px",width:TB_WIDTH-17+"px"});
if(!(jQuery.browser.msie&&jQuery.browser.version<7)){$("#TB_window").css({marginTop:"-"+parseInt((TB_HEIGHT/2),10)+"px"})
}}function tb_parseQuery(B){var A={};
if(!B){return A
}var G=B.split(/[;&]/);
for(var C=0;
C<G.length;
C++){var F=G[C].split("=");
if(!F||F.length!=2){continue
}var E=unescape(F[0]);
var D=unescape(F[1]);
D=D.replace(/\+/g," ");
A[E]=D
}return A
}function tb_getPageSize(){var B=document.documentElement;
var A=window.innerWidth||self.innerWidth||(B&&B.clientWidth)||document.body.clientWidth;
var C=window.innerHeight||self.innerHeight||(B&&B.clientHeight)||document.body.clientHeight;
arrayPageSize=[A,C];
return arrayPageSize
}function tb_detectMacXFF(){var A=navigator.userAgent.toLowerCase();
if(A.indexOf("mac")!=-1&&A.indexOf("firefox")!=-1){return true
}};
(function(A){A.fn.hoverIntent=function(I,H){var J={sensitivity:7,interval:100,timeout:0};
J=A.extend(J,H?{over:I,out:H}:I);
var L,K,F,D;
var E=function(M){L=M.pageX;
K=M.pageY
};
var C=function(N,M){M.hoverIntent_t=clearTimeout(M.hoverIntent_t);
if((Math.abs(F-L)+Math.abs(D-K))<J.sensitivity){A(M).unbind("mousemove",E);
M.hoverIntent_s=1;
return J.over.apply(M,[N])
}else{F=L;
D=K;
M.hoverIntent_t=setTimeout(function(){C(N,M)
},J.interval)
}};
var G=function(N,M){M.hoverIntent_t=clearTimeout(M.hoverIntent_t);
M.hoverIntent_s=0;
return J.out.apply(M,[N])
};
var B=function(P){var O=(P.type=="mouseover"?P.fromElement:P.toElement)||P.relatedTarget;
while(O&&O!=this){try{O=O.parentNode
}catch(P){O=this
}}if(O==this){return false
}var N=jQuery.extend({},P);
var M=this;
if(M.hoverIntent_t){M.hoverIntent_t=clearTimeout(M.hoverIntent_t)
}if(P.type=="mouseover"){F=N.pageX;
D=N.pageY;
A(M).bind("mousemove",E);
if(M.hoverIntent_s!=1){M.hoverIntent_t=setTimeout(function(){C(N,M)
},J.interval)
}}else{A(M).unbind("mousemove",E);
if(M.hoverIntent_s==1){M.hoverIntent_t=setTimeout(function(){G(N,M)
},J.timeout)
}}};
return this.mouseover(B).mouseout(B)
}
})(jQuery);
function APItemClicked(C){var A=getElementsByClass("tab");
var B=C.split("-")[2];
$(document).ready(function(){$("#hmeCategories").hide().load("/brands/decido/showDecidoCompOverview.do",{cat:B},function(){$("#hmeCategories").slideDown("fast")
})
})
}function getElementsByClass(E,D,B){if(D==null){D=document
}if(B==null){B="*"
}var C=new Array();
var A=D.getElementsByTagName(B);
var G=" "+E+" ";
for(i=0,j=0;
i<A.length;
i++){var F=" "+A[i].className+" ";
if(F.indexOf(G)!=-1){C[j++]=A[i]
}}return C
}this.flyoutmenu=function(){$("ul#tab-nav li.top").hoverIntent({sensitivity:3,interval:100,over:makeTall,timeout:300,out:makeShort})
};
function makeTall(){$(this).find("div").slideDown("fast");
$(this).addClass("current")
}function makeShort(){$(this).find("div").slideUp("fast");
$(this).removeClass("current")
}function onfocus(){$(".searchText-home").focus()
}function notepad(){$("span.notepad-link").click(function(){$.get("/brands/decido/addToNotepadJSON.do",{p:($(this).attr("id")).substring(3)},function(A){$(".notepad-overview span").html(A)
});
$(this).addClass("inactive-np-link")
})
}function slideOutTab(){$(".slide-out-div").tabSlideOut({tabHandle:".handle",pathToTabImage:"/brands/decido/img/ico-feedback.png",imageHeight:"76px",imageWidth:"28px",speed:300,action:"click",topPos:"300px",leftPos:"-454px",fixedPosition:true})
}function feedbackForm(){$("input.email").focus(function(){var A=$(this).val();
if(A=="E-Mail-Adresse eingeben"){$(this).val("")
}$("input.email").blur(function(){var B=$(this).val();
if(B==""){$(this).val(A)
}})
});
$("textarea.feedback").focus(function(){var A=$(this).val();
if(A=="Feedback"){$(this).val("")
}$("textarea.feedback").blur(function(){var B=$(this).val();
if(B==""){$(this).val(A)
}})
})
}function toogleOfferBundle(){$(".jq-toggleoffer").click(function(){var A=$(this);
if(A.is(".on")){A.parents("tr.row").next("tr.offer-bundle").children("td").css("display","none");
A.removeClass("on")
}else{A.parents("tr.row").next("tr.offer-bundle").children("td").fadeIn("slow").css("display","");
A.addClass("on")
}return false
})
}this.toogleSimilarSearches=function(){$(".jq-toggleSearches").click(function(){var A=$(this);
if(A.is(".on")){$("li.sim-off").fadeOut("normal").css("display","none");
A.removeClass("on");
A.html("mehr...")
}else{$("li.sim-off").fadeIn("normal").css("display","inline");
A.addClass("on");
A.html(" weniger...")
}return false
})
};
this.tooltip=function(){var A=20;
var B=10;
$(".jq-tooltip").hover(function(C){this.t=this.title;
this.title="";
$("body").append("<div id='tooltip'>"+this.t+"</div>");
$("#tooltip").css("top",(C.pageY-B)+"px").css("left",(C.pageX+A)+"px").fadeIn("fast")
},function(){this.title=this.t;
$("#tooltip").remove()
});
$("a.tooltip").mousemove(function(C){$("#tooltip").css("top",(C.pageY-B)+"px").css("left",(C.pageX+A)+"px")
})
};
this.truncateString=function(){$(".catTeaserText").truncatable({limit:90,more:"... mehr",less:true,hideText:"...weniger"})
};
$(document).ready(function(){flyoutmenu();
onfocus();
notepad();
slideOutTab();
feedbackForm();
toogleOfferBundle();
toogleSimilarSearches();
tooltip();
truncateString()
});
Highlight={elementid:"highlight"};
Highlight.search_engines=[["google\\.","q"],["search\\.yahoo\\.","p"],["search\\.msn\\.","q"],["search\\.live\\.","query"],["search\\.aol\\.","userQuery"],["ask\\.com","q"],["altavista\\.","q"],["feedster\\.","q"],["search\\.lycos\\.","q"],["alltheweb\\.","q"]];
Highlight.own_urls=[["decido\\.","s"],["decido\\.","searchText"],["localhost","s"],["localhost","searchText"],["192\\.168\\.246\\.","s"],["192\\.168\\.246\\.","searchText"]];
Highlight.decode=function(G,H){var F=null;
var D=new RegExp("");
for(var C=0;
C<H.length;
C++){var E=H[C];
D.compile("^http://(www\\.)?"+E[0],"i");
var B=G.match(D);
if(B){var A;
if(isNaN(E[1])){A=Highlight.decodeQS(G,E[1])
}else{A=B[E[1]+1]
}if(A){A=decodeURIComponent(A);
if(E.length>2&&E[2]){A=decodeURIComponent(A)
}A=A.replace(/\'|"/g,"");
A=A.split(/[\s,\+\.]+/);
return A
}}}return null
};
Highlight.decodeQS=function(E,C){var G=E.indexOf("?");
var F;
if(G>=0){var B=new String(E.substring(G+1));
G=0;
F=0;
while((G>=0)&&((F=B.indexOf("=",G))>=0)){var D,A;
D=B.substring(G,F);
G=B.indexOf("&",F)+1;
if(D==C){if(G<=0){return B.substring(F+1)
}else{return B.substring(F+1,G-1)
}}if(G<F){return 
}}}return null
};
Highlight.HighlightElement=function(F,E){if(!E||F.childNodes.length==0){return 
}var B=new Array();
for(var A=0;
A<E.length;
A++){E[A]=E[A].toLowerCase();
if(E[A].length>0){B.push(E[A])
}}B=new RegExp("\\b"+B.join("\\b|\\b")+"\\b","i");
var D={};
for(var A=0;
A<E.length;
A++){D[E[A]]="highlight"
}var C=function(L){var J=B.exec(L.data);
if(J){var M=J[0];
var H="";
var G=L.splitText(J.index);
var K=G.splitText(M.length);
var I=L.ownerDocument.createElement("EM");
L.parentNode.replaceChild(I,G);
I.className=D[M.toLowerCase()];
I.appendChild(G);
return I
}else{return L
}};
Highlight.walkElements(F.childNodes[0],1,C)
};
Highlight.Highlight=function(){var A=null;
var B=null;
A=Highlight.decode(document.referrer,Highlight.search_engines);
if(!A){A=Highlight.decode(document.URL,Highlight.own_urls)
}if(A&&((Highlight.elementid&&(B=document.getElementById(Highlight.elementid)))||(B=document.body))){Highlight.HighlightElement(B,A)
}};
Highlight.walkElements=function(D,B,C){var A=/^(script|style|textarea)/i;
var F=0;
while(D&&B>0){F++;
if(F>=777){var E=function(){Highlight.walkElements(D,B,C)
};
setTimeout(E,50);
return 
}if(D.nodeType==1){if(!A.test(D.tagName)&&D.childNodes.length>0){D=D.childNodes[0];
B++;
continue
}}else{if(D.nodeType==3){D=C(D)
}}if(D.nextSibling){D=D.nextSibling
}else{while(B>0){D=D.parentNode;
B--;
if(D.nextSibling){D=D.nextSibling;
break
}}}}};
function blurTextField(){var A=document.getElementsByName("searchText");
if(A[0]){A[0].blur()
}}function changeMenuLayers(A){if(A=="expand"){document.getElementById("filtersExpand").style.display="none";
document.getElementById("showMoreFilters").style.display="block";
document.getElementById("filtersRetract").style.display="block"
}if(A=="retract"){document.getElementById("filtersExpand").style.display="block";
document.getElementById("showMoreFilters").style.display="none";
document.getElementById("filtersRetract").style.display="none"
}}function switchOffers(B,A){var D=document.getElementById(B);
var C=document.getElementById(A);
close_img=new Image();
close_img.src="/brands/decido/img/arrowFiltersClose-small.gif";
open_img=new Image();
open_img.src="/brands/decido/img/arrowFiltersOpen-small.gif";
if(D.style.display=="none"){D.style.display="block";
if(document.getElementById(A)){C.src=close_img.src;
changeOffersImg(B,true)
}}else{D.style.display="none";
if(document.getElementById(A)){C.src=open_img.src;
changeOffersImg(B,false)
}}}function changeOffersImg(B,A){image=B+"minmaximg";
if(document.getElementById(image)!=null){if(!A){document.getElementById(image).src=imagePath+"arrow_show_offers.gif"
}else{document.getElementById(image).src=imagePath+"arrow_hide_offers.gif"
}}}function FAQSwitch(C,F,B,E,D,A){multipleTabSwitch(C,F,B,E);
buttonSwitch(D,A)
}function multipleTabSwitch(B,D,A,C){APItemClickedExtreme(B,D);
APItemClickedExtreme(A,C)
}function APItemClickedExtreme(E,D){var C;
var B=getElementsByClass(D);
for(var A=0;
A<B.length;
A++){B[A].style.display="none"
}document.getElementById(E).style.display="block"
}function buttonSwitch(E,B){var A=document.getElementById(E);
var F=document.getElementById(B);
var C=F.childNodes;
for(var D=0;
D<C.length;
D++){if((C[D].className=="infoTypes current")||(C[D].className=="infoTypes currentLrg")){C[D].className="infoTypes"
}}if(A.id=="itype2"||A.id=="itype5"){A.className="infoTypes currentLrg"
}else{A.className="infoTypes current"
}}function changeUrl(A){var B=document.getElementById(A).selectedIndex;
if(document.getElementById(A).options[B].value!="null"){top.location.href=document.getElementById(A).options[B].value
}}function changeSorting(){var A=document.getElementById("compareForm");
var B=A.sort.selectedIndex;
if(A.sort.options[B].value!="null"){top.location.href=A.sort.options[B].value
}}function filterHideElement(){for(var A=1;
A<=menuCount;
A++){document.getElementById("selectInfo_"+A).style.left="-1000px"
}document.getElementById("toggleLayer").style.display="none"
}function imgVis(E,F,A,B){pos=getPosition(E);
var D=pos[1]-230;
var C=pos[0]-200;
el=document.getElementById(A);
el.src=F;
el=document.getElementById(B);
el.style.top=D+"px";
el.style.left=C+"px"
}function imgHid(A,B){el=document.getElementById(B);
el.style.left="-1000px"
}function switchLayers(A){var B=document.getElementById(A);
if(B.style.display=="none"){B.style.display="block"
}else{B.style.display="none"
}}function changeLayers(B,F,E,C){var D=new Array(B,F,E,C);
for(i=0;
i<D.length;
i++){if(D[i]!=""){var A=document.getElementById(D[i]);
if(A.style.display=="none"){A.style.display="block"
}else{A.style.display="none"
}}}}var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
function ohu(A){window.location.href=decode64(A)
}function encode64(C){var A="";
var J,H,F;
var I,G,E,D;
var B=0;
do{J=C.charCodeAt(B++);
H=C.charCodeAt(B++);
F=C.charCodeAt(B++);
I=J>>2;
G=((J&3)<<4)|(H>>4);
E=((H&15)<<2)|(F>>6);
D=F&63;
if(isNaN(H)){E=D=64
}else{if(isNaN(F)){D=64
}}A=A+keyStr.charAt(I)+keyStr.charAt(G)+keyStr.charAt(E)+keyStr.charAt(D)
}while(B<C.length);
return A
}function decode64(C){var A="";
var J,H,F;
var I,G,E,D;
var B=0;
C=C.replace(/[^A-Za-z0-9\+\/\=]/g,"");
do{I=keyStr.indexOf(C.charAt(B++));
G=keyStr.indexOf(C.charAt(B++));
E=keyStr.indexOf(C.charAt(B++));
D=keyStr.indexOf(C.charAt(B++));
J=(I<<2)|(G>>4);
H=((G&15)<<4)|(E>>2);
F=((E&3)<<6)|D;
A=A+String.fromCharCode(J);
if(E!=64){A=A+String.fromCharCode(H)
}if(D!=64){A=A+String.fromCharCode(F)
}}while(B<C.length);
return A
}function o(A){if(top.opener&&!top.opener.closed){top.opener.location.href=A
}else{top.opener=window.open(A)
}}function trackClickAction(A,B){if(B=="schleckerAd"){_s_action("02")
}window.open(A)
};
(function(A){A.fn.tabSlideOut=function(K){var E=A.extend({tabHandle:".handle",speed:300,action:"click",tabLocation:"left",topPos:"200px",leftPos:"20px",fixedPosition:false,positioning:"absolute",pathToTabImage:null,imageHeight:null,imageWidth:null,onLoadSlideOut:false},K||{});
E.tabHandle=A(E.tabHandle);
var F=this;
if(E.fixedPosition===true){E.positioning="fixed"
}else{E.positioning="absolute"
}if(document.all&&!window.opera&&!window.XMLHttpRequest){E.positioning="absolute"
}if(E.pathToTabImage!=null){E.tabHandle.css({background:"url("+E.pathToTabImage+") no-repeat",width:E.imageWidth,height:E.imageHeight})
}E.tabHandle.css({display:"block",textIndent:"-99999px",outline:"none",position:"absolute"});
F.css({"line-height":"1",position:E.positioning});
var I={containerWidth:parseInt(F.outerWidth(),10)+"px",containerHeight:parseInt(F.outerHeight(),10)+"px",tabWidth:parseInt(E.tabHandle.outerWidth()+1,10)+"px",tabHeight:parseInt(E.tabHandle.outerHeight(),10)+"px"};
if(E.tabLocation==="top"||E.tabLocation==="bottom"){F.css({left:E.leftPos});
E.tabHandle.css({right:0})
}if(E.tabLocation==="top"){F.css({top:"-"+I.containerHeight});
E.tabHandle.css({bottom:"-"+I.tabHeight})
}if(E.tabLocation==="bottom"){F.css({bottom:"-"+I.containerHeight,position:"fixed"});
E.tabHandle.css({top:"-"+I.tabHeight})
}if(E.tabLocation==="left"||E.tabLocation==="right"){F.css({height:I.containerHeight,top:E.topPos});
E.tabHandle.css({top:-3})
}if(E.tabLocation==="left"){F.css({left:"-"+I.containerWidth});
E.tabHandle.css({right:"-"+I.tabWidth})
}if(E.tabLocation==="right"){F.css({right:"-"+I.containerWidth});
E.tabHandle.css({left:"-"+I.tabWidth});
A("html").css("overflow-x","hidden")
}E.tabHandle.click(function(L){L.preventDefault()
});
var D=function(){if(E.tabLocation==="top"){F.animate({top:"-"+I.containerHeight},E.speed).removeClass("open")
}else{if(E.tabLocation==="left"){F.animate({left:"-"+I.containerWidth},E.speed).removeClass("open")
}else{if(E.tabLocation==="right"){F.animate({right:"-"+I.containerWidth},E.speed).removeClass("open")
}else{if(E.tabLocation==="bottom"){F.animate({bottom:"-"+I.containerHeight},E.speed).removeClass("open")
}}}}A("body div#FB_overlay").remove()
};
var G=function(){if(E.tabLocation=="top"){F.animate({top:"-3px"},E.speed).addClass("open")
}else{if(E.tabLocation=="left"){F.animate({left:"-3px"},E.speed).addClass("open")
}else{if(E.tabLocation=="right"){F.animate({right:"-3px"},E.speed).addClass("open")
}else{if(E.tabLocation=="bottom"){F.animate({bottom:"-3px"},E.speed).addClass("open")
}}}}A("body").append('<div id="FB_overlay" class="FB_overlayBG"></div>')
};
var C=function(){F.click(function(L){L.stopPropagation()
});
A(document).click(function(){D()
})
};
var J=function(){E.tabHandle.click(function(L){if(F.hasClass("open")){D()
}else{G()
}});
C()
};
var H=function(){F.hover(function(){G()
},function(){D()
});
E.tabHandle.click(function(L){if(F.hasClass("open")){D()
}});
C()
};
var B=function(){D();
setTimeout(G,500)
};
if(E.action==="click"){J()
}if(E.action==="hover"){H()
}if(E.onLoadSlideOut){B()
}}
})(jQuery);
var offsetxpoint=-60;
var offsetypoint=20;
var ie=document.all;
var ns6=document.getElementById&&!document.all;
var enabletip=false;
var tipobj;
var jQueryToolTip=$("#dhtmltooltip");
function ietruebody(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body
}function ddrivetip(C,D,B,A){if(ns6||ie){if(typeof B!="undefined"){tipobj.style.width=B+"px"
}if(typeof D!="undefined"&&D!=""){tipobj.style.backgroundColor=D
}if(A==null){tipobj.style.border="1px solid #3191C8";
tipobj.style.color="#3191C8"
}else{if(A=="cTipEl"){tipobj.style.border="1px solid #C83C3C";
tipobj.style.color="#C83C3C"
}else{tipobj.style.border="1px solid #749F1A";
tipobj.style.color="#749F1A"
}}tipobj.innerHTML=C;
enabletip=true;
return false
}}function ddrivetip2(B,D,A){if(ns6||ie){var C=decodeURI(B);
if(typeof A!="undefined"){tipobj.style.width=A+"px";
tipobj.style.height=A+"px"
}if(typeof D!="undefined"&&D!=""){tipobj.style.backgroundColor=D
}tipobj.style.border="1px solid #aaa";
tipobj.innerHTML='<img src="'+C+'"/>';
enabletip=true;
return false
}}function positiontip(E){if(enabletip){var B=(ns6)?E.pageX:event.clientX+ietruebody().scrollLeft;
var A=(ns6)?E.pageY:event.clientY+ietruebody().scrollTop;
var D=ie&&!window.opera?ietruebody().clientWidth-event.clientX-offsetxpoint:window.innerWidth-E.clientX-offsetxpoint-20;
var C=ie&&!window.opera?ietruebody().clientHeight-event.clientY-offsetypoint:window.innerHeight-E.clientY-offsetypoint-20;
var F=(offsetxpoint<0)?offsetxpoint*(-1):-1000;
if(D<tipobj.offsetWidth){tipobj.style.left=ie?ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px":window.pageXOffset+E.clientX-tipobj.offsetWidth+"px"
}else{if(B<F){tipobj.style.left="5px"
}else{tipobj.style.left=B+offsetxpoint+"px"
}}if(C<tipobj.offsetHeight){tipobj.style.top=ie?ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px":window.pageYOffset+E.clientY-tipobj.offsetHeight-offsetypoint+"px"
}else{tipobj.style.top=A+offsetypoint+"px"
}tipobj.style.visibility="visible"
}}function hideddrivetip(){if(ns6||ie){enabletip=false;
tipobj.style.visibility="hidden";
tipobj.style.left="-1000px";
tipobj.style.backgroundColor="";
tipobj.style.width="";
tipobj.style.height="auto"
}}document.onmousemove=positiontip;
