/* VARS */

/* FUNCTIONS */

function lookup(b)
{
  if(b.length==0)
  {
    $("#suggestions").hide()
  }
  else
  {
    $.post("jquery.php?view=player",{
      queryString:""+b+""
    },function(a){
      if(a.length>0){
        $("#suggestions").show();
        $("#autoSuggestionsList").html(a)
      }
    });
  }
}

function fill(a)
{
  $("#inputString").val(a);
  $("#suggestions").hide()
}

/* OBJECTS */

/* INIT */

$('body').removeClass('no_js');
$('<div class="suggestionsBox" id="suggestions" style="display: none;"><div class="suggestionList" id="autoSuggestionsList"></div></div>').insertAfter('#inputString');
/*
$('.center').each(function(){
  $(this).css(   'margin-left', (  ( 728 - $(this).width() ) / 2  ).toFixed()   ); 
});

$('section [type="submit"]').each(function(){
  $(this).css(   'margin-left', (  ( 728 - $(this).width() ) / 2  ).toFixed()   ); 
});
*/
/* Tooltip */
var config=new Object();var tt_Debug=false;var tt_Enabled=true;var TagsToTip=true;config.Above=false;config.BgColor='#E0B16D';config.BgImg='';config.BorderColor='#BB9765';config.BorderStyle='solid';config.BorderWidth=1;config.CenterMouse=true;config.ClickClose=false;config.CloseBtn=true;config.CloseBtnColors=['#990000','#FFFFFF','#DD3333','#FFFFFF'];config.CloseBtnText='&nbsp;X&nbsp;';config.CopyContent=true;config.Delay=100;config.Duration=0;config.FadeIn=0;config.FadeOut=0;config.FadeInterval=30;config.Fix=null;config.FollowMouse=false;config.FontColor='#542C0F';config.FontFace='Verdana,Geneva,sans-serif';config.FontSize='8pt';config.FontWeight='normal';config.Left=false;config.OffsetX=25;config.OffsetY=25;config.Opacity=100;config.Padding=3;config.Shadow=false;config.ShadowColor='#C0C0C0';config.ShadowWidth=5;config.Sticky=true;config.TextAlign='left';config.Title='';config.TitleAlign='left';config.TitleBgColor='';config.TitleFontColor='#ffffff';config.TitleFontFace='';config.TitleFontSize='';config.Width=0;function Tip(){tt_Tip(arguments,null)}function TagToTip(){if(TagsToTip){var a=tt_GetElt(arguments[0]);if(a)tt_Tip(arguments,a)}}var tt_aElt=new Array(10),tt_aV=new Array(),tt_sContent,tt_scrlX=0,tt_scrlY=0,tt_musX,tt_musY,tt_over,tt_x,tt_y,tt_w,tt_h;function tt_Extension(){tt_ExtCmdEnum();tt_aExt[tt_aExt.length]=this;return this}function tt_SetTipPos(x,y){var a=tt_aElt[0].style;tt_x=x;tt_y=y;a.left=x+"px";a.top=y+"px";if(tt_ie56){var b=tt_aElt[tt_aElt.length-1];if(b){b.style.left=a.left;b.style.top=a.top}}}function tt_Hide(){if(tt_db&&tt_iState){if(tt_iState&0x2){tt_aElt[0].style.visibility="hidden";tt_ExtCallFncs(0,"Hide")}tt_tShow.EndTimer();tt_tHide.EndTimer();tt_tDurt.EndTimer();tt_tFade.EndTimer();if(!tt_op&&!tt_ie){tt_tWaitMov.EndTimer();tt_bWait=false}if(tt_aV[CLICKCLOSE])tt_RemEvtFnc(document,"mouseup",tt_HideInit);tt_AddRemOutFnc(false);tt_ExtCallFncs(0,"Kill");if(tt_t2t&&!tt_aV[COPYCONTENT]){tt_t2t.style.display="none";tt_MovDomNode(tt_t2t,tt_aElt[6],tt_t2tDad)}tt_iState=0;tt_over=null;tt_ResetMainDiv();if(tt_aElt[tt_aElt.length-1])tt_aElt[tt_aElt.length-1].style.display="none"}}function tt_GetElt(a){return(document.getElementById?document.getElementById(a):document.all?document.all[a]:null)}function tt_GetDivW(a){return(a?(a.offsetWidth||a.style.pixelWidth||0):0)}function tt_GetDivH(a){return(a?(a.offsetHeight||a.style.pixelHeight||0):0)}function tt_GetScrollX(){return(window.pageXOffset||(tt_db?(tt_db.scrollLeft||0):0))}function tt_GetScrollY(){return(window.pageYOffset||(tt_db?(tt_db.scrollTop||0):0))}function tt_GetClientW(){return(document.body&&(typeof(document.body.clientWidth)!=tt_u)?document.body.clientWidth:(typeof(window.innerWidth)!=tt_u)?window.innerWidth:tt_db?(tt_db.clientWidth||0):0)}function tt_GetClientH(){return(document.body&&(typeof(document.body.clientHeight)!=tt_u)?document.body.clientHeight:(typeof(window.innerHeight)!=tt_u)?window.innerHeight:tt_db?(tt_db.clientHeight||0):0)}function tt_GetEvtX(e){return(e?((typeof(e.pageX)!=tt_u)?e.pageX:(e.clientX+tt_scrlX)):0)}function tt_GetEvtY(e){return(e?((typeof(e.pageY)!=tt_u)?e.pageY:(e.clientY+tt_scrlY)):0)}function tt_AddEvtFnc(a,b,c){if(a){if(a.addEventListener)a.addEventListener(b,c,false);else a.attachEvent("on"+b,c)}}function tt_RemEvtFnc(a,b,c){if(a){if(a.removeEventListener)a.removeEventListener(b,c,false);else a.detachEvent("on"+b,c)}}var tt_aExt=new Array(),tt_db,tt_op,tt_ie,tt_ie56,tt_bBoxOld,tt_body,tt_flagOpa,tt_maxPosX,tt_maxPosY,tt_iState=0,tt_opa,tt_bJmpVert,tt_t2t,tt_t2tDad,tt_elDeHref,tt_tShow=new Number(0),tt_tHide=new Number(0),tt_tDurt=new Number(0),tt_tFade=new Number(0),tt_tWaitMov=new Number(0),tt_bWait=false,tt_u="undefined";function tt_Init(){tt_MkCmdEnum();if(!tt_Browser()||!tt_MkMainDiv())return;tt_IsW3cBox();tt_OpaSupport();tt_AddEvtFnc(document,"mousemove",tt_Move);if(TagsToTip||tt_Debug)tt_SetOnloadFnc();tt_AddEvtFnc(window,"scroll",function(){tt_scrlX=tt_GetScrollX();tt_scrlY=tt_GetScrollY();if(tt_iState&&!(tt_aV[STICKY]&&(tt_iState&2)))tt_HideInit()});tt_AddEvtFnc(window,"unload",tt_Hide);tt_Hide()}function tt_MkCmdEnum(){var n=0;for(var i in config)eval("window."+i.toString().toUpperCase()+" = "+n++);tt_aV.length=n}function tt_Browser(){var n,nv,n6,w3c;n=navigator.userAgent.toLowerCase(),nv=navigator.appVersion;tt_op=(document.defaultView&&typeof(eval("w"+"indow"+"."+"o"+"p"+"er"+"a"))!=tt_u);tt_ie=n.indexOf("msie")!=-1&&document.all&&!tt_op;if(tt_ie){var a=(!document.compatMode||document.compatMode=="BackCompat");tt_db=!a?document.documentElement:(document.body||null);if(tt_db)tt_ie56=parseFloat(nv.substring(nv.indexOf("MSIE")+5))>=5.5&&typeof document.body.style.maxHeight==tt_u}else{tt_db=document.documentElement||document.body||(document.getElementsByTagName?document.getElementsByTagName("body")[0]:null);if(!tt_op){n6=document.defaultView&&typeof document.defaultView.getComputedStyle!=tt_u;w3c=!n6&&document.getElementById}}tt_body=(document.getElementsByTagName?document.getElementsByTagName("body")[0]:(document.body||null));if(tt_ie||n6||tt_op||w3c){if(tt_body&&tt_db){if(document.attachEvent||document.addEventListener)return true}else tt_Err("wz_tooltip.js must be included INSIDE the body section,"+" immediately after the opening <body> tag.")}tt_db=null;return false}function tt_MkMainDiv(){if(tt_body.insertAdjacentHTML)tt_body.insertAdjacentHTML("afterBegin",tt_MkMainDivHtm());else if(typeof tt_body.innerHTML!=tt_u&&document.createElement&&tt_body.appendChild)tt_body.appendChild(tt_MkMainDivDom());if(window.tt_GetMainDivRefs&&tt_GetMainDivRefs())return true;tt_db=null;return false}function tt_MkMainDivHtm(){return('<div id="WzTtDiV"></div>'+(tt_ie56?('<iframe id="WzTtIfRm" src="javascript:false" scrolling="no" frameborder="0" style="filter:Alpha(opacity=0);position:absolute;top:0px;left:0px;display:none;"></iframe>'):''))}function tt_MkMainDivDom(){var a=document.createElement("div");if(a)a.id="WzTtDiV";return a}function tt_GetMainDivRefs(){tt_aElt[0]=tt_GetElt("WzTtDiV");if(tt_ie56&&tt_aElt[0]){tt_aElt[tt_aElt.length-1]=tt_GetElt("WzTtIfRm");if(!tt_aElt[tt_aElt.length-1])tt_aElt[0]=null}if(tt_aElt[0]){var a=tt_aElt[0].style;a.visibility="hidden";a.position="absolute";a.overflow="hidden";return true}return false}function tt_ResetMainDiv(){var w=(window.screen&&screen.width)?screen.width:10000;tt_SetTipPos(-w,0);tt_aElt[0].innerHTML="";tt_aElt[0].style.width=(w-1)+"px"}function tt_IsW3cBox(){var a=tt_aElt[0].style;a.padding="10px";a.width="40px";tt_bBoxOld=(tt_GetDivW(tt_aElt[0])==40);a.padding="0px";tt_ResetMainDiv()}function tt_OpaSupport(){var a=tt_body.style;tt_flagOpa=(typeof(a.filter)!=tt_u)?1:(typeof(a.KhtmlOpacity)!=tt_u)?2:(typeof(a.KHTMLOpacity)!=tt_u)?3:(typeof(a.MozOpacity)!=tt_u)?4:(typeof(a.opacity)!=tt_u)?5:0}function tt_SetOnloadFnc(){tt_AddEvtFnc(document,"DOMContentLoaded",tt_HideSrcTags);tt_AddEvtFnc(window,"load",tt_HideSrcTags);if(tt_body.attachEvent)tt_body.attachEvent("onreadystatechange",function(){if(tt_body.readyState=="complete")tt_HideSrcTags()});if(/WebKit|KHTML/i.test(navigator.userAgent)){var t=setInterval(function(){if(/loaded|complete/.test(document.readyState)){clearInterval(t);tt_HideSrcTags()}},10)}}function tt_HideSrcTags(){if(!window.tt_HideSrcTags||window.tt_HideSrcTags.done)return;window.tt_HideSrcTags.done=true;if(!tt_HideSrcTagsRecurs(tt_body))tt_Err("To enable the capability to convert HTML elements to tooltips,"+" you must set TagsToTip in the global tooltip configuration"+" to true.")}function tt_HideSrcTagsRecurs(b){var a,ovr,asT2t;a=b.childNodes||b.children||null;for(var i=a?a.length:0;i;){--i;if(!tt_HideSrcTagsRecurs(a[i]))return false;ovr=a[i].getAttribute?a[i].getAttribute("onmouseover"):(typeof a[i].onmouseover=="function")?a[i].onmouseover:null;if(ovr){asT2t=ovr.toString().match(/TagToTip\s*\(\s*'[^'.]+'\s*[\),]/);if(asT2t&&asT2t.length){if(!tt_HideSrcTag(asT2t[0]))return false}}}return true}function tt_HideSrcTag(a){var b,el;b=a.replace(/.+'([^'.]+)'.+/,"$1");el=tt_GetElt(b);if(el){if(tt_Debug&&!TagsToTip)return false;else el.style.display="none"}else tt_Err("Invalid ID\n'"+b+"'\npassed to TagToTip()."+" There exists no HTML element with that ID.");return true}function tt_Tip(a,b){if(!tt_db)return;if(tt_iState)tt_Hide();if(!tt_Enabled)return;tt_t2t=b;if(!tt_ReadCmds(a))return;tt_iState=0x1|0x4;tt_AdaptConfig1();tt_MkTipContent(a);tt_MkTipSubDivs();tt_FormatTip();tt_bJmpVert=false;tt_maxPosX=tt_GetClientW()+tt_scrlX-tt_w-1;tt_maxPosY=tt_GetClientH()+tt_scrlY-tt_h-1;tt_AdaptConfig2();tt_Move();tt_ShowInit()}function tt_ReadCmds(a){var i;i=0;for(var j in config)tt_aV[i++]=config[j];if(a.length&1){for(i=a.length-1;i>0;i-=2)tt_aV[a[i-1]]=a[i];return true}tt_Err("Incorrect call of Tip() or TagToTip().\n"+"Each command must be followed by a value.");return false}function tt_AdaptConfig1(){tt_ExtCallFncs(0,"LoadConfig");if(!tt_aV[TITLEBGCOLOR].length)tt_aV[TITLEBGCOLOR]=tt_aV[BORDERCOLOR];if(!tt_aV[TITLEFONTCOLOR].length)tt_aV[TITLEFONTCOLOR]=tt_aV[BGCOLOR];if(!tt_aV[TITLEFONTFACE].length)tt_aV[TITLEFONTFACE]=tt_aV[FONTFACE];if(!tt_aV[TITLEFONTSIZE].length)tt_aV[TITLEFONTSIZE]=tt_aV[FONTSIZE];if(tt_aV[CLOSEBTN]){if(!tt_aV[CLOSEBTNCOLORS])tt_aV[CLOSEBTNCOLORS]=new Array("","","","");for(var i=4;i;){--i;if(!tt_aV[CLOSEBTNCOLORS][i].length)tt_aV[CLOSEBTNCOLORS][i]=(i&1)?tt_aV[TITLEFONTCOLOR]:tt_aV[TITLEBGCOLOR]}if(!tt_aV[TITLE].length)tt_aV[TITLE]=" "}if(tt_aV[OPACITY]==100&&typeof tt_aElt[0].style.MozOpacity!=tt_u&&!Array.every)tt_aV[OPACITY]=99;if(tt_aV[FADEIN]&&tt_flagOpa&&tt_aV[DELAY]>100)tt_aV[DELAY]=Math.max(tt_aV[DELAY]-tt_aV[FADEIN],100)}function tt_AdaptConfig2(){if(tt_aV[CENTERMOUSE])tt_aV[OFFSETX]-=((tt_w-(tt_aV[SHADOW]?tt_aV[SHADOWWIDTH]:0))>>1)}function tt_MkTipContent(a){if(tt_t2t){if(tt_aV[COPYCONTENT])tt_sContent=tt_t2t.innerHTML;else tt_sContent=""}else tt_sContent=a[0];tt_ExtCallFncs(0,"CreateContentString")}function tt_MkTipSubDivs(){var a='position:relative;margin:0px;padding:0px;border-width:0px;left:0px;top:0px;line-height:normal;width:auto;',sTbTrTd=' cellspacing=0 cellpadding=0 border=0 style="'+a+'"><tbody style="'+a+'"><tr><td ';tt_aElt[0].innerHTML=(''+(tt_aV[TITLE].length?('<div id="WzTiTl" style="position:relative;z-index:1;">'+'<table id="WzTiTlTb"'+sTbTrTd+'id="WzTiTlI" style="'+a+'">'+tt_aV[TITLE]+'</td>'+(tt_aV[CLOSEBTN]?('<td align="right" style="'+a+'text-align:right;">'+'<span id="WzClOsE" style="padding-left:2px;padding-right:2px;'+'cursor:'+(tt_ie?'hand':'pointer')+';" onmouseover="tt_OnCloseBtnOver(1)" onmouseout="tt_OnCloseBtnOver(0)" onclick="tt_HideInit()">'+tt_aV[CLOSEBTNTEXT]+'</span></td>'):'')+'</tr></tbody></table></div>'):'')+'<div id="WzBoDy" style="position:relative;z-index:0;">'+'<table'+sTbTrTd+'id="WzBoDyI" style="'+a+'">'+tt_sContent+'</td></tr></tbody></table></div>'+(tt_aV[SHADOW]?('<div id="WzTtShDwR" style="position:absolute;overflow:hidden;"></div>'+'<div id="WzTtShDwB" style="position:relative;overflow:hidden;"></div>'):''));tt_GetSubDivRefs();if(tt_t2t&&!tt_aV[COPYCONTENT]){tt_t2tDad=tt_t2t.parentNode||tt_t2t.parentElement||tt_t2t.offsetParent||null;if(tt_t2tDad){tt_MovDomNode(tt_t2t,tt_t2tDad,tt_aElt[6]);tt_t2t.style.display="block"}}tt_ExtCallFncs(0,"SubDivsCreated")}function tt_GetSubDivRefs(){var a=new Array("WzTiTl","WzTiTlTb","WzTiTlI","WzClOsE","WzBoDy","WzBoDyI","WzTtShDwB","WzTtShDwR");for(var i=a.length;i;--i)tt_aElt[i]=tt_GetElt(a[i-1])}function tt_FormatTip(){var a,w,iOffY,iOffSh;if(tt_aV[TITLE].length){a=tt_aElt[1].style;a.background=tt_aV[TITLEBGCOLOR];a.paddingTop=(tt_aV[CLOSEBTN]?2:0)+"px";a.paddingBottom="1px";a.paddingLeft=a.paddingRight=tt_aV[PADDING]+"px";a=tt_aElt[3].style;a.color=tt_aV[TITLEFONTCOLOR];a.fontFamily=tt_aV[TITLEFONTFACE];a.fontSize=tt_aV[TITLEFONTSIZE];a.fontWeight="bold";a.textAlign=tt_aV[TITLEALIGN];if(tt_aElt[4]){a.paddingRight=(tt_aV[PADDING]<<1)+"px";a=tt_aElt[4].style;a.background=tt_aV[CLOSEBTNCOLORS][0];a.color=tt_aV[CLOSEBTNCOLORS][1];a.fontFamily=tt_aV[TITLEFONTFACE];a.fontSize=tt_aV[TITLEFONTSIZE];a.fontWeight="bold"}if(tt_aV[WIDTH]>0)tt_w=tt_aV[WIDTH]+((tt_aV[PADDING]+tt_aV[BORDERWIDTH])<<1);else{tt_w=tt_GetDivW(tt_aElt[3])+tt_GetDivW(tt_aElt[4]);if(tt_aElt[4])tt_w+=tt_aV[PADDING]}iOffY=-tt_aV[BORDERWIDTH]}else{tt_w=0;iOffY=0}a=tt_aElt[5].style;a.top=iOffY+"px";if(tt_aV[BORDERWIDTH]){a.borderColor=tt_aV[BORDERCOLOR];a.borderStyle=tt_aV[BORDERSTYLE];a.borderWidth=tt_aV[BORDERWIDTH]+"px"}if(tt_aV[BGCOLOR].length)a.background=tt_aV[BGCOLOR];if(tt_aV[BGIMG].length)a.backgroundImage="url("+tt_aV[BGIMG]+")";a.padding=tt_aV[PADDING]+"px";a.textAlign=tt_aV[TEXTALIGN];a=tt_aElt[6].style;a.color=tt_aV[FONTCOLOR];a.fontFamily=tt_aV[FONTFACE];a.fontSize=tt_aV[FONTSIZE];a.fontWeight=tt_aV[FONTWEIGHT];a.background="";a.textAlign=tt_aV[TEXTALIGN];if(tt_aV[WIDTH]>0)w=tt_aV[WIDTH]+((tt_aV[PADDING]+tt_aV[BORDERWIDTH])<<1);else w=tt_GetDivW(tt_aElt[6])+((tt_aV[PADDING]+tt_aV[BORDERWIDTH])<<1);if(w>tt_w)tt_w=w;if(tt_aV[SHADOW]){tt_w+=tt_aV[SHADOWWIDTH];iOffSh=Math.floor((tt_aV[SHADOWWIDTH]*4)/3);a=tt_aElt[7].style;a.top=iOffY+"px";a.left=iOffSh+"px";a.width=(tt_w-iOffSh-tt_aV[SHADOWWIDTH])+"px";a.height=tt_aV[SHADOWWIDTH]+"px";a.background=tt_aV[SHADOWCOLOR];a=tt_aElt[8].style;a.top=iOffSh+"px";a.left=(tt_w-tt_aV[SHADOWWIDTH])+"px";a.width=tt_aV[SHADOWWIDTH]+"px";a.background=tt_aV[SHADOWCOLOR]}else iOffSh=0;tt_SetTipOpa(tt_aV[FADEIN]?0:tt_aV[OPACITY]);tt_FixSize(iOffY,iOffSh)}function tt_FixSize(a,b){var c,wOut,i;tt_aElt[0].style.width=tt_w+"px";tt_aElt[0].style.pixelWidth=tt_w;wOut=tt_w-((tt_aV[SHADOW])?tt_aV[SHADOWWIDTH]:0);c=wOut;if(!tt_bBoxOld)c-=((tt_aV[PADDING]+tt_aV[BORDERWIDTH])<<1);tt_aElt[5].style.width=c+"px";if(tt_aElt[1]){c=wOut-(tt_aV[PADDING]<<1);if(!tt_bBoxOld)wOut=c;tt_aElt[1].style.width=wOut+"px";tt_aElt[2].style.width=c+"px"}tt_h=tt_GetDivH(tt_aElt[0])+a;if(tt_aElt[8])tt_aElt[8].style.height=(tt_h-b)+"px";i=tt_aElt.length-1;if(tt_aElt[i]){tt_aElt[i].style.width=tt_w+"px";tt_aElt[i].style.height=tt_h+"px"}}function tt_DeAlt(a){var b;if(a.alt)a.alt="";if(a.title)a.title="";b=a.childNodes||a.children||null;if(b){for(var i=b.length;i;)tt_DeAlt(b[--i])}}function tt_OpDeHref(a){if(!tt_op)return;if(tt_elDeHref)tt_OpReHref();while(a){if(a.hasAttribute("href")){a.t_href=a.getAttribute("href");a.t_stats=window.status;a.removeAttribute("href");a.style.cursor="hand";tt_AddEvtFnc(a,"mousedown",tt_OpReHref);window.status=a.t_href;tt_elDeHref=a;break}a=a.parentElement}}function tt_ShowInit(){tt_tShow.Timer("tt_Show()",tt_aV[DELAY],true);if(tt_aV[CLICKCLOSE])tt_AddEvtFnc(document,"mouseup",tt_HideInit)}function tt_OverInit(e){tt_over=e.target||e.srcElement;tt_DeAlt(tt_over);tt_OpDeHref(tt_over);tt_AddRemOutFnc(true)}function tt_Show(){var a=tt_aElt[0].style;a.zIndex=Math.max((window.dd&&dd.z)?(dd.z+2):0,1010);if(tt_aV[STICKY]||!tt_aV[FOLLOWMOUSE])tt_iState&=~0x4;if(tt_aV[DURATION]>0)tt_tDurt.Timer("tt_HideInit()",tt_aV[DURATION],true);tt_ExtCallFncs(0,"Show");a.visibility="visible";tt_iState|=0x2;if(tt_aV[FADEIN])tt_Fade(0,0,tt_aV[OPACITY],Math.round(tt_aV[FADEIN]/tt_aV[FADEINTERVAL]));tt_ShowIfrm()}function tt_ShowIfrm(){if(tt_ie56){var a=tt_aElt[tt_aElt.length-1];if(a){var b=a.style;b.zIndex=tt_aElt[0].style.zIndex-1;b.display="block"}}}function tt_Move(e){e=window.event||e;if(e){tt_musX=tt_GetEvtX(e);tt_musY=tt_GetEvtY(e)}if(tt_iState){if(!tt_over&&e)tt_OverInit(e);if(tt_iState&0x4){if(!tt_op&&!tt_ie){if(tt_bWait)return;tt_bWait=true;tt_tWaitMov.Timer("tt_bWait = false;",1,true)}if(tt_aV[FIX]){tt_iState&=~0x4;tt_SetTipPos(tt_aV[FIX][0],tt_aV[FIX][1])}else if(!tt_ExtCallFncs(e,"MoveBefore"))tt_SetTipPos(tt_PosX(),tt_PosY());tt_ExtCallFncs([tt_musX,tt_musY],"MoveAfter")}}}function tt_PosX(){var x;x=tt_musX;if(tt_aV[LEFT])x-=tt_w+tt_aV[OFFSETX]-(tt_aV[SHADOW]?tt_aV[SHADOWWIDTH]:0);else x+=tt_aV[OFFSETX];if(x>tt_maxPosX)x=tt_maxPosX;return((x<tt_scrlX)?tt_scrlX:x)}function tt_PosY(){var y;if(tt_aV[ABOVE]&&(!tt_bJmpVert||tt_CalcPosYAbove()>=tt_scrlY+16))y=tt_DoPosYAbove();else if(!tt_aV[ABOVE]&&tt_bJmpVert&&tt_CalcPosYBelow()>tt_maxPosY-16)y=tt_DoPosYAbove();else y=tt_DoPosYBelow();if(y>tt_maxPosY)y=tt_DoPosYAbove();if(y<tt_scrlY)y=tt_DoPosYBelow();return y}function tt_DoPosYBelow(){tt_bJmpVert=tt_aV[ABOVE];return tt_CalcPosYBelow()}function tt_DoPosYAbove(){tt_bJmpVert=!tt_aV[ABOVE];return tt_CalcPosYAbove()}function tt_CalcPosYBelow(){return(tt_musY+tt_aV[OFFSETY])}function tt_CalcPosYAbove(){var a=tt_aV[OFFSETY]-(tt_aV[SHADOW]?tt_aV[SHADOWWIDTH]:0);if(tt_aV[OFFSETY]>0&&a<=0)a=1;return(tt_musY-tt_h-a)}function tt_OnOut(){tt_AddRemOutFnc(false);if(!(tt_aV[STICKY]&&(tt_iState&0x2)))tt_HideInit()}function tt_HideInit(){tt_ExtCallFncs(0,"HideInit");tt_iState&=~0x4;if(tt_flagOpa&&tt_aV[FADEOUT]){tt_tFade.EndTimer();if(tt_opa){var n=Math.round(tt_aV[FADEOUT]/(tt_aV[FADEINTERVAL]*(tt_aV[OPACITY]/tt_opa)));tt_Fade(tt_opa,tt_opa,0,n);return}}tt_tHide.Timer("tt_Hide();",1,false)}function tt_OpReHref(){if(tt_elDeHref){tt_elDeHref.setAttribute("href",tt_elDeHref.t_href);tt_RemEvtFnc(tt_elDeHref,"mousedown",tt_OpReHref);window.status=tt_elDeHref.t_stats;tt_elDeHref=null}}function tt_Fade(a,b,z,n){if(n){b+=Math.round((z-b)/n);if((z>a)?(b>=z):(b<=z))b=z;else tt_tFade.Timer("tt_Fade("+a+","+b+","+z+","+(n-1)+")",tt_aV[FADEINTERVAL],true)}b?tt_SetTipOpa(b):tt_Hide()}function tt_SetTipOpa(a){tt_SetOpa(tt_aElt[5].style,a);if(tt_aElt[1])tt_SetOpa(tt_aElt[1].style,a);if(tt_aV[SHADOW]){a=Math.round(a*0.8);tt_SetOpa(tt_aElt[7].style,a);tt_SetOpa(tt_aElt[8].style,a)}}function tt_OnCloseBtnOver(a){var b=tt_aElt[4].style;a<<=1;b.background=tt_aV[CLOSEBTNCOLORS][a];b.color=tt_aV[CLOSEBTNCOLORS][a+1]}function tt_Int(x){var y;return(isNaN(y=parseInt(x))?0:y)}function tt_AddRemOutFnc(a){var b=a?tt_AddEvtFnc:tt_RemEvtFnc;if(a!=tt_AddRemOutFnc.bOn){b(tt_over,"mouseout",tt_OnOut);tt_AddRemOutFnc.bOn=a;if(!a)tt_OpReHref()}}tt_AddRemOutFnc.bOn=false;Number.prototype.Timer=function(s,a,b){if(!this.value||b)this.value=window.setTimeout(s,a)};Number.prototype.EndTimer=function(){if(this.value){window.clearTimeout(this.value);this.value=0}};function tt_SetOpa(a,b){tt_opa=b;if(tt_flagOpa==1){if(b<100){var c=a.visibility!="hidden";a.zoom="100%";if(!c)a.visibility="visible";a.filter="alpha(opacity="+b+")";if(!c)a.visibility="hidden"}else a.filter=""}else{b/=100.0;switch(tt_flagOpa){case 2:a.KhtmlOpacity=b;break;case 3:a.KHTMLOpacity=b;break;case 4:a.MozOpacity=b;break;case 5:a.opacity=b;break}}}function tt_MovDomNode(a,b,c){if(b)b.removeChild(a);if(c)c.appendChild(a)}function tt_Err(a){if(tt_Debug)alert("Tooltip Script Error Message:\n\n"+a)}function tt_ExtCmdEnum(){var s;for(var i in config){s="window."+i.toString().toUpperCase();if(eval("typeof("+s+") == tt_u")){eval(s+" = "+tt_aV.length);tt_aV[tt_aV.length]=null}}}function tt_ExtCallFncs(a,c){var b=false;for(var i=tt_aExt.length;i;){--i;var d=tt_aExt[i]["On"+c];if(d&&d(a))b=true}return b}tt_Init();

/* Piwik Code */
var Piwik,piwik_log,piwik_track;if(!this.Piwik){Piwik=(function(){var b,f={},d=document,c=navigator,g=screen,l=window,i=l.location.hostname,h=false,o=[];function n(q){return typeof q!=="undefined"}function e(t,s,r,q){if(t.addEventListener){t.addEventListener(s,r,q);return true}else{if(t.attachEvent){return t.attachEvent("on"+s,r)}}t["on"+s]=r}function k(r,u){var q="",t,s;for(t in f){s=f[t][r];if(typeof s==="function"){q+=s(u)}}return q}function m(q){if(n(b)){var r;do{r=new Date()}while(r.getTime()<b)}k("unload")}function p(r){if(!h){h=true;k("load");for(var q=0;q<o.length;q++){o[q]()}}return true}function a(){if(d.addEventListener){e(d,"DOMContentLoaded",function(){d.removeEventListener("DOMContentLoaded",arguments.callee,false);p()})}else{if(d.attachEvent){d.attachEvent("onreadystatechange",function(){if(d.readyState==="complete"){d.detachEvent("onreadystatechange",arguments.callee);p()}});if(d.documentElement.doScroll&&l==l.top){(function(){if(h){return}try{d.documentElement.doScroll("left")}catch(q){setTimeout(arguments.callee,0);return}p()}())}}}e(l,"load",p,false)}function j(Q,P){var D=Q||"",aa=P||"",V,Z=d.title,G="7z|aac|arc|arj|asf|asx|avi|bin|csv|deb|dmg|doc|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt|qtm?|ra(m|r)?|rpm|sea|sit|tar|t?bz2?|tgz|torrent|txt|wav|wma|wmv|wpd||xls|xml|z|zip",R=[i],u=[],S=[],T=[],C=500,O,y="0",w,B={pdf:["pdf","application/pdf","0"],quicktime:["qt","video/quicktime","0"],realplayer:["realp","audio/x-pn-realaudio-plugin","0"],wma:["wma","application/x-mplayer2","0"],director:["dir","application/x-director","0"],flash:["fla","application/x-shockwave-flash","0"],java:["java","application/x-java-vm","0"],gears:["gears","application/x-googlegears","0"],silverlight:["ag","application/x-silverlight","0"]},K=false,s=l.encodeURIComponent||escape,X=l.decodeURIComponent||unescape,ab=function(d){var e=new RegExp('[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]',"g"),af={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function ac(c){e.lastIndex=0;return e.test(c)?'"'+c.replace(e,function(a){var b=af[a];return typeof b==="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+c+'"'}function ad(a){return a<10?"0"+a:a}function ag(a,b){var c,ak,aj,ai,ao=b[a];if(ao===null){return"null"}if(ao&&typeof ao==="object"&&typeof ao.toJSON==="function"){ao=ao.toJSON(a)}switch(typeof ao){case"string":return ac(ao);case"number":return isFinite(ao)?String(ao):"null";case"boolean":case"null":return String(ao);case"object":ai=[];if(ao instanceof Array){for(c=0;c<ao.length;c++){ai[c]=ag(c,ao)||"null"}aj=ai.length===0?"[]":"["+ai.join(",")+"]";return aj}if(ao instanceof Date){return ac(ao.getUTCFullYear()+"-"+ad(ao.getUTCMonth()+1)+"-"+ad(ao.getUTCDate())+"T"+ad(ao.getUTCHours())+":"+ad(ao.getUTCMinutes())+":"+ad(ao.getUTCSeconds())+"Z")}for(ak in ao){aj=ag(ak,ao);if(aj){ai[ai.length]=ac(ak)+":"+aj}}aj=ai.length===0?"{}":"{"+ai.join(",")+"}";return aj}}return ag("",{"":d})},v={};function z(a,b,c,e,f,g){var h;if(c){h=new Date();h.setTime(h.getTime()+c*86400000)}d.cookie=a+"="+s(b)+(c?";expires="+h.toGMTString():"")+";path="+(e?e:"/")+(f?";domain="+f:"")+(g?";secure":"")}function t(a){var b=new RegExp("(^|;)[ ]*"+a+"=([^;]*)"),ad=b.exec(d.cookie);return ad?X(ad[2]):0}function q(a,c){var d=new Date(),af=new Image(1,1);b=d.getTime()+c;af.onLoad=function(){};af.src=a}function A(){var a,ad;if(typeof c.javaEnabled!=="undefined"&&c.javaEnabled()){B.java[2]="1"}if(typeof l.GearsFactory==="function"){B.gears[2]="1"}if(c.mimeTypes&&c.mimeTypes.length){for(a in B){ad=c.mimeTypes[B[a][1]];if(ad&&ad.enabledPlugin){B[a][2]="1"}}}}function I(){var a="";try{a=top.document.referrer}catch(ae){if(parent){try{a=parent.document.referrer}catch(ad){a=""}}}if(a===""){a=d.referrer}return a}function N(){var a="_pk_testcookie";if(!n(c.cookieEnabled)){z(a,"1");return t(a)=="1"?"1":"0"}return c.cookieEnabled?"1":"0"}function H(){var a,ac,ae;ac=new Date();ae="idsite="+aa+"&rec=1&url="+s(n(V)?V:d.location.href)+"&res="+g.width+"x"+g.height+"&h="+ac.getHours()+"&m="+ac.getMinutes()+"&s="+ac.getSeconds()+"&cookie="+y+"&urlref="+s(w)+"&rand="+Math.random();for(a in B){ae+="&"+B[a][0]+"="+B[a][2]}ae=D+"?"+ae;return ae}function r(a){var b=H();b+="&action_name="+s(n(a)?a:Z);if(n(O)){b+="&data="+s(ab(O))}b+=k("log");q(b,C)}function W(a,b,c){var d=H();d+="&idgoal="+a;if(n(b)&&b!==null){d+="&revenue="+b}if(n(c)){if(c!==null){d+="&data="+s(ab(c))}}else{if(n(O)){d+="&data="+s(ab(O))}}d+=k("goal");q(d,C)}function F(a,b,c){var d;d="idsite="+aa+"&rec=1&"+b+"="+s(a)+"&rand="+Math.random()+"&redirect=0";if(n(c)){if(c!==null){d+="&data="+s(ab(c))}}else{if(n(O)){d+="&data="+s(ab(O))}}d+=k("click");d=D+"?"+d;q(d,C)}function L(a){var b,ac,ae;for(b=0;b<R.length;b++){ac=R[b];if(a==ac){return true}if(ac.substr(0,2)=="*."){if((a)==ac.substr(2)){return true}ae=a.length-ac.length+1;if((ae>0)&&(a.substr(ae)==ac.substr(1))){return true}}}return false}function M(a,b){var c,ac="(^| )(piwik[_-]"+b;if(n(a)){for(c=0;c<a.length;c++){ac+="|"+a[c]}}ac+=")( |$)";return new RegExp(ac)}function Y(a,b,c){if(!c){return"link"}var d=M(S,"download"),ad=M(T,"link"),ah=new RegExp("\\.("+G+")([?&#]|$)","i");return ad.test(a)?"link":(d.test(a)||ah.test(b)?"download":0)}function E(a){var b,ai,ak,ac;if(!n(a)){a=l.event}if(n(a.target)){b=a.target}else{if(n(a.srcElement)){b=a.srcElement}else{return}}while((ai=b.parentNode)&&((ak=b.tagName)!="A"&&ak!="AREA")){b=ai}if(n(b.href)){var c=b.hostname,af=c.toLowerCase(),ae=b.href.replace(c,af),ag=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript): *","i");if(!ag.test(ae)){ac=Y(b.className,ae,L(af));if(ac){F(ae,ac)}}}}function U(a){e(a,"click",E,false)}function J(){if(!K){K=true;var a,ac=M(u,"ignore"),ae=d.links;if(ae){for(a=0;a<ae.length;a++){if(!ac.test(ae[a].className)){U(ae[a])}}}}}function x(a,b){var c=null;if(typeof a=="string"&&!n(v[a])){if(typeof b=="object"){c=b}else{if(typeof b=="string"){try{eval("hookObj ="+b)}catch(af){}}}v[a]=c}return c}w=I();y=N();A();k("run",x);return{hook:v,getHook:function(a){return v[a]},setTrackerUrl:function(a){if(n(a)){D=a}},setSiteId:function(a){if(n(a)){aa=a}},setCustomData:function(a){if(n(a)){O=a}},setLinkTrackingTimer:function(a){if(n(a)){C=a}},setDownloadExtensions:function(a){if(n(a)){G=a}},addDownloadExtensions:function(a){if(n(a)){G+="|"+a}},setDomains:function(a){if(typeof a=="object"&&a instanceof Array){R=a;R[R.length]=i}else{if(typeof a=="string"){R=[a,i]}}},setIgnoreClasses:function(a){if(typeof a=="object"&&a instanceof Array){u=a}else{if(typeof a=="string"){u=[a]}}},setCustomUrl:function(a){if(n(a)){V=a}},setDocumentTitle:function(a){if(n(a)){Z=a}},setDownloadClasses:function(a){if(typeof a=="object"&&a instanceof Array){S=a}else{if(typeof a=="string"){S=[a]}}},setDownloadClass:function(a){if(typeof a=="string"){S=[a]}},setLinkClasses:function(a){if(typeof a=="object"&&a instanceof Array){T=a}else{if(typeof a=="string"){T=[a]}}},setLinkClass:function(a){if(typeof a=="string"){T=[a]}},addListener:function(a){if(n(a)){U(a)}},enableLinkTracking:function(){if(h){J()}else{o[o.length]=function(){J()}}},trackGoal:function(a,b,c){W(a,b,c)},trackLink:function(a,b,c){F(a,b,c)},trackPageView:function(a){r(a)}}}e(l,"beforeunload",m,false);a();return{addPlugin:function(q,r){f[q]=r},getTracker:function(q,r){return new j(q,r)}}}());piwik_log=function(b,e,c,f){function a(g){try{return eval("piwik_"+g)}catch(h){}return}var d=Piwik.getTracker(c,e);d.setDocumentTitle(b);d.setCustomData(f);d.setLinkTrackingTimer(a("tracker_pause"));d.setDownloadExtensions(a("download_extensions"));d.setDomains(a("hosts_alias"));d.setIgnoreClasses(a("ignore_classes"));d.trackPageView();if(a("install_tracker")!==false){piwik_track=function(h,j,i,g){d.setSiteId(j);d.setTrackerUrl(i);d.trackLink(h,g)};d.enableLinkTracking()}}};

/* Piwik Track */
try{var piwikTracker=Piwik.getTracker("//s.ika-world.com/piwik.php",3);piwikTracker.trackPageView();piwikTracker.enableLinkTracking();}catch(e){}

