var CV_=new Array("First","Second","Third","Fourth");var Xv_="MainMenuItem";var Gp_="_MainMenuItem_arrow";var AB_="over";var j_=" "+AB_;var vV_="main-nav";var Pp_="main-subnav";var Ld_="../../img/layout/header/main-menu";var d3_=new Array("head1-back-subhover-left.png","head-middle-back-subhover-left.png","head-middle-back-subhover-right.png","head-middle2-back-subhover-176.png","head-middle2-back-subhover-176.png","head-last-back-subhover-206.png");var xS_=1000;var Y7_=10;var dB_=1.5;var ep_=1000;var X1_=1;var W9_="scrollable";var wA_=true;var Yc_=false;if(undefined==Mw_){var Mw_="en";}var x_=null;var m_=null;var mY_=0;var R_=0;var Q_=false;var Cr_=0;var t_=null;var A_=null;var V_=-1;var NJ_=null;var ka_=0;var Yj_=0;var d_=null;function init(){adjustPageShadow(1600);Xw_();kx_();hs.uF_=true;pP_();DJ_();adjustPageShadow();jQuery.fn.zoom=fE_;var k_=this;jQuery().zoom(function(){if(!jQuery.browser.msie){k_.L2_(k_);}});$(document).ready(JT_init);g0_();}function adjustPageShadow(lf_,X_){X_=0;if(null==lf_||lf_<=0){X_=$(document).height();}else {X_=lf_;}document.getElementById("sboxleft").style.height=X_+'px';document.getElementById("sboxright").style.height=X_+'px';}function initSlideshowProps(){hs.showCredits=0;hs.padToMinWidth=true;hs.graphicsDir='../../img/layout/highslide/';hs.outlineType='rounded-lightgray';hs.fadeInOut=true;hs.numberOfImagesToPreload=10;if(hs.addSlideshow)hs.addSlideshow({slideshowGroup:'login',useControls:false,fixedControls:'fit',outlineType:'rounded-white',preserveContent:false,headingText:'Login'});if(hs.addSlideshow)hs.addSlideshow({transitions:['expand_CEITON','crossfade'],numberPosition:'caption',interval:5000,align:'center',repeat:false,useControls:true,fixedControls:'fit',dimmingOpacity:0.75,overlayOptions:{opacity:0.75,position:'top right',hideOnMouseOut:false,useOnHtml:false}});}function showEffectsForSubmenuHovering(K_,a_,u_){u_=(Ld_+"/")+d3_[K_];kl_(a_,u_);Dq_(K_);yF_(K_);this.R_=K_;this.mY_=a_;}function showEffectsForSubmenuClick(a_,wx_,e_){e_=zP_(a_);if(-1==e_.className.indexOf(j_)){e_.className+=j_;var Uu_=ZO_(a_,wx_);if(-1==Uu_.className.indexOf(j_)){Uu_.className+=j_;}this.m_=Uu_;}this.x_=e_;}function resetMainMenuItem(N_){kl_(N_);}function resetMainMenuItemForClick(C8_){if(C8_!=this.mY_){resetMainMenuItem(this.mY_);}}function initAddToAnyProps(AC_){a2a_config.locale=AC_.toLowerCase();a2a_config.tracking_callback={ready:VN_};}var a2a_config=a2a_config||{};function VN_(){a2a_config.target='.share-this';a2a.init('page');}function g0_(P_){P_=document.createElement('script');P_.type='text/javascript';P_.async=true;P_.src='http://static.addtoany.com/menu/page.js';var gB_=document.getElementsByTagName('script')[0];gB_.parentNode.insertBefore(P_,gB_);}function pP_(he_){he_=document.getElementById("nbrOfAllAcks");if(null!=he_){var Rm_=kL_(he_.value-1);this.NJ_=setTimeout(this.gT_,Rm_);}}function fE_(L_){jQuery(document).keyup(function(e){if(jQuery.browser.msie||jQuery.browser.mozilla){if(e.ctrlKey&&(((((e.which==187||e.which==189)||e.which==107)||e.which==109)||e.which==96)||e.which==48)){L_();}}else if(jQuery.browser.opera){if(((e.which==43||e.which==45)||e.which==42)||e.ctrlKey&&e.which==48){L_();}}else if(jQuery.browser.safari){if(e.keyCode!=17){if(e.ctrlKey&&((((e.keyCode==187||e.keyCode==189)||e.keyCode==107)||e.keyCode==109)||e.keyCode==96)){L_();return;}}if(e.metaKey&&(e.Qk_==43||e.Qk_==45)){L_();}}return;});jQuery(document).bind('mousewheel',function(e){if(e.ctrlKey)L_();});jQuery(document).bind('DOMMouseScroll',function(e){if(e.ctrlKey)L_();});}function DJ_(){if(0!=$('#scrollable').length&&wA_==true){$.fn.M2_=function(options,k_,$obj,l_,f_,b_){$obj=this;l_=0;f_=$obj.parent().offset().top;b_=$('#mainContent').height();k_.d_=$.extend({Z_:$obj,l_:0,f_:f_,b_:b_,Mm_:1500},options);$obj.css({position:"relative",top:0});k_.Mf_(k_.d_);};$('#scrollable').M2_(null,this);}}function L2_(k_){T2_(k_.d_);var MI_=document.getElementById("scrollable");k_.fireEvent(MI_,"scroll");}function T2_(d_,f_,b_){f_=$('#mainContent').offset().top;b_=$('#mainContent').height();d_.CE_=f_;d_.b_=b_;}function Mf_(d_){$(window).scroll(function(){T2_(d_);var Z_=d_.Z_;Z_.stop();var l_=d_.l_;var g_=Z_.height();var f_=d_.f_;var r_=$(document).scrollTop();var F0_=$(window).height();var kD_=r_+F0_;var U_=false;var kd_=g_>F0_;var c_;if(oR_()){if(kd_){if(kD_-f_>l_+g_){c_=(kD_-f_)-g_;}else {c_=l_;}U_=true;}else {if(r_>f_){c_=r_-f_;}else {c_=l_;}U_=true;}if(c_>d_.b_-g_){c_=d_.b_-g_;U_=true;}}else if(jZ_()){if(r_-f_<d_.b_-Z_.height()){c_=r_-f_;if(c_<l_){c_=l_;}}else {c_=d_.b_-Z_.height();}U_=true;}if(U_){Z_.animate({top:c_},d_.Mm_);U_=false;}},this);}function gT_(){if(Y5_()){clearTimeout(this.NJ_);var uh_=document.getElementById("nbrOfAllAcks").value;if(-1==this.V_){this.V_=uh_-1;}var Sh_=(this.V_+1)%uh_;KP_(this.V_);KP_(Sh_);this.V_=Sh_;var Hb_=kL_(Sh_);this.NJ_=setTimeout(this.gT_,Hb_);}}function Y5_(Yx_){Yx_=document.getElementById("ack-portlet");if(null==Yx_){return false;}var Sw_=document.getElementById("nbrOfAllAcks");if(null==Sw_||Sw_.value<2){return false;}return true;}function kl_(N_,u_,lb_){lb_=zP_(N_);if(null==u_||""==u_){clearTimeout(this.t_);this.A_=p__(N_);this.A_.style.visibility="hidden";this.A_=null;}else {this.Q_=false;this.Cr_=0;this.A_=p__(N_);this.t_=setTimeout(this.t1_,100);}}function t1_(){if(this.Cr_==3){clearTimeout(this.t_);return;}if(null!=this.A_){(this.Cr_++);if(!this.Q_){this.A_.style.visibility="visible";this.Q_=true;}else {this.A_.style.visibility="hidden";this.Q_=false;}}this.t_=setTimeout(this.t1_,100);}function Dq_(K_,Xq_,$curSubmenuElem){Xq_="#submenu_"+K_;$curSubmenuElem=$(Xq_);$curSubmenuElem.removeClass().addClass("mouseover");if(this.R_!=K_){var ET_="#submenu_"+this.R_;var $lastSubmenuElem=$(ET_);$lastSubmenuElem.removeClass().addClass("mouseout");n8_();}}function yF_(VD_,eD_,xC_,WE_,BJ_){eD_="menu-abstract-header";xC_="menu-abstract-header-hidden";WE_="menu-abstract-content";BJ_="menu-abstract-content-hidden";rl_(R_,xC_,BJ_);rl_(VD_,eD_,WE_);}function kL_(B_,q_){q_=document.getElementById("ack_item_"+B_);if(null!=q_){return q_.getAttribute("showtime");}return xS_;}function KP_(B_,q_){q_=document.getElementById("ack_item_"+B_);if(null!=q_){var cU_=q_.getAttribute("nextClass",false);q_.setAttribute("nextClass",q_.className);q_.className=cU_;}}function rl_(TK_,Fo_,YP_,tk_,N8_){tk_="abstract-header"+TK_;N8_="abstract-content"+TK_;document.getElementById(tk_).className=Fo_;document.getElementById(N8_).className=YP_;}function ZO_(a_,Fv_,O4_){O4_=document.getElementById(i1_(a_)+"_main-subnav");return O4_.childNodes[Fv_];}function zP_(N_){return document.getElementById(i1_(N_));}function i1_(N_){return (CV_[N_]+"_")+Xv_;}function p__(N_){return document.getElementById(CV_[N_]+Gp_);}function ks_(u_){return ("url("+u_)+")";}function kx_(y_){if(document.getElementById){y_=document.getElementById(vV_);yl_(y_);fA_=y_.childNodes.length;var p_;for(var M_=0;M_<fA_;(M_++)){p_=document.getElementById((i1_(M_)+"_")+Pp_);if(null!=p_){yl_(p_);}}}}function yl_(y_,W_,k_){k_=this;for(var M_=0;M_<y_.childNodes.length;(M_++)){W_=y_.childNodes[M_];if("LI"==W_.nodeName){W_.onmouseover=function(){k_.n8_();this.className+=k_.j_;};W_.onmouseout=function(){this.className=this.className.replace(k_.AB_,"");this.className=this.className.replace(/\s+$/,"");};W_.onclick=function(){if(-1==this.className.indexOf(k_.j_)){k_.n8_();this.className+=k_.j_;k_.x_=this;}else {this.className=this.className.replace(k_.j_,"");}};}}}function n8_(CQ_){if(null!=x_&&-1!=x_.className.indexOf(j_)){x_.className=x_.className.replace(j_,"");}if(null!=m_&&-1!=m_.className.indexOf(j_)){m_.className=m_.className.replace(j_,"");}}function Xw_(){jQuery(document).ready(function(){jQuery('#mycarousel').jcarousel({animation:ep_,auto:dB_,scroll:X1_,buttonNextHTML:null,buttonPrevHTML:null,wrap:'circular',initCallback:wv_});});}function wv_(pI_){};function oR_(){return -1==Fg_();}function jZ_(){return 1==Fg_();}function Fg_(QJ_,H_){QJ_=$(document).scrollTop();H_=0;if(QJ_<this.ka_){H_=1;this.Yj_=1;}else if(QJ_>this.ka_){H_=-1;this.Yj_=-1;}else {H_=this.Yj_;}this.ka_=QJ_;return H_;}function rand(max){return Ep_(0,max);}function Ep_(min,max){return Math.floor(Math.random()*max)+min;}function recalculate(hj_,fW_){C_=String.fromCharCode(hj_);I_=String.fromCharCode(fW_);var Ij_=0;var GB_=document.getElementById("totalCosts").value;GB_=JP_(GB_,C_,I_);var R3_=document.getElementsByName("i_pct");for(var M_=0;M_<R3_.length;(M_++)){Ij_+=parseInt(R3_[M_].value);}var Xo_=document.getElementById("totalSavings_pct");if(undefined!=Xo_){Xo_.innerHTML=Ij_;}var x3_=document.getElementById("totalSavings_costs");if(undefined!=x3_){jk_=(Ij_/100)*GB_;x3_.innerHTML=py_(jk_,false,0,true,C_,I_);}}function Tl_(FP_,w_){w_="";switch(FP_){case ",":w_=/\,/gi;break;case ".":w_=/\./gi;break;default:w_="";break;}return w_;}function JP_(O_,C_,I_,ya_,w_,fC_){ya_=",";w_=null;fC_=Tl_(I_);g6_=String(O_).replace(fC_,"");switch(C_){case ",":w_=parseFloat(g6_);break;default:J_=Tl_(".");w_=parseFloat(g6_.replace(J_,ya_));break;}return w_;}function py_(O_,D9_,S_,CN_,C_,I_,J_,w_){if(D9_==null){D9_=false;}if(S_==null){S_=2;}O_=parseFloat(O_);if(isNaN(O_)||O_==null){return "";}else {var v_;if(S_>=0){v_=O_.toFixed(S_);}else {v_=O_;}switch(C_){case ".":J_=/\,/gi;w_=String(v_).replace(J_,C_);break;default:J_=/\./gi;w_=String(v_).replace(J_,C_);break;}if(D9_){var s_=w_.length;while(w_.charAt(s_-1)=="0"){(s_--);w_=w_.substr(0,s_);}if(w_.charAt(s_-1)==","){(s_--);w_=w_.substr(0,s_);}else if(w_.charAt(s_-1)=="."){(s_--);w_=w_.substr(0,s_);}}if(CN_){var Wm_="";var F_="";var h_="";var nw_="";var pos,count;F_=w_;pos=F_.indexOf("-");nw_="";if(0==pos){F_=F_.substring(1,F_.length);nw_=F_.substring(0,2);}pos=F_.indexOf(C_);if(-1<pos){h_=F_.substring(pos+1,F_.length);F_=F_.substring(0,pos);}while(h_.length<S_){h_=h_+"0";}count=F_.length;while(count>3){Wm_=(I_+F_.substring(count-3,count))+Wm_;F_=F_.substring(0,count-3);count=F_.length;}bF_=F_+Wm_;var Y_=new Array();Y_.push(nw_);Y_.push(bF_);if(h_.length>0){Y_.push(C_);Y_.push(h_);}w_=Y_.join("");}return w_;}}function manageSearchEvents(ta_,srcElement){if(ta_.type=="keypress"&&ta_.keyCode==0xD||ta_.type=="click"){srcElement=document.getElementById("i_search");if(null!=srcElement){self.document.location.href="http://www.google.de/search?as_sitesearch=ceiton.com&q="+encodeURIComponent(srcElement.value);}}}function fireEvent(D_,T_,AU_,a9_,pQ_,lS_){if(jQuery.browser.msie){D_.fireEvent("on"+T_);}else {var f5_;if(((((T_=="click"||T_=="mousedown")||T_=="mouseup")||T_=="mouseover")||T_=="mousemove")||T_=="mouseout"){f5_="mouse";}var o_;switch(f5_){case "mouse":{o_=D_.ownerDocument.EJ_("MouseEvents");if(AU_==null)AU_=1;if(a9_==null)a9_=1;if(pQ_==null)pQ_=1;if(lS_==null)lS_=1;o_.hx_(T_,true,true,window,1,AU_,a9_,pQ_,lS_,false,false,false,false,0,D_);break;}default:{o_=D_.ownerDocument.EJ_("HTMLEvents");o_.be_(T_,true,true,window,1);break;}}D_.dispatchEvent(o_);}}
