');document.write('');document.write('
');document.write('');document.write('');document.write('');$(window).resize(function(){jsUpdateSearchCode();jsNewsBoxHeight();jsFooterHeight();$('#footer-background-end').height(0);$('#footer-background-end').height($(document).height()-$('#footer-background-end').offset().top);jsEventsBoxWidth();if(!$('.marquee').hasClass("hidden")){$('.marquee').trigger('update');}});$(document).ready(function(){$('[data-toggle="tooltip"]').tooltip();jsUpdateSearchCode();$(document).on("click.bs.dropdown.data-api",'.dropdown.dropdown-sticky',function(e){e.stopPropagation();});$('div').removeClass("wa-caption-hidden");blueimp.Gallery.prototype.options.toggleControlsOnReturn=false;blueimp.Gallery.prototype.options.toggleControlsOnSlideClick=false;$('#blueimp-gallery').on('opened',function(event){stopSlider();$('#blueimp-gallery').append('');$('#blueimp-gallery').append('');$('#blueimp-gallery').append('×');$('#blueimp-gallery').append('');$('#blueimp-gallery').append(' ');});$('#blueimp-gallery').on('closed',function(event){$('#blueimp-gallery .prev').remove();$('#blueimp-gallery .next').remove();$('#blueimp-gallery .close').remove();$('#blueimp-gallery .play-pause').remove();$('#blueimp-gallery .indicator').remove();$('#blueimp-gallery .title').text('');startSlider();});$("#slider1_container").removeClass("slider_start");var _SlideshowTransitions=[{$Duration:1200,x:0.3,y:0.3,$Delay:60,$Zoom:1,$Formation:$JssorSlideshowFormations$.$FormationStraightStairs,$Easing:{$Left:$Jease$.$InJump,$Top:$Jease$.$InJump,$Opacity:$Jease$.$Linear,$Zoom:$Jease$.$Swing},$Opacity:2,$Round:{$Left:0.8,$Top:0.8}},{$Duration:1600,y:-1,$Delay:40,$Cols:24,$SlideOut:true,$Formation:$JssorSlideshowFormations$.$FormationStraight,$Easing:$Jease$.$OutJump,$Round:{$Top:1.5}},{$Duration:400,$Rows:6,$Clip:4,$Move:true},{$Duration:1000,x:-0.5,y:0.5,$Zoom:1,$Rotate:1,$SlideOut:true,$Easing:{$Left:$Jease$.$InCubic,$Top:$Jease$.$InCubic,$Zoom:$Jease$.$InCubic,$Opacity:$Jease$.$Linear,$Rotate:$Jease$.$InCubic},$Opacity:2,$Round:{$Rotate:0.5}},{$Duration:1500,x:1,y:0.5,$Delay:60,$Cols:10,$Rows:5,$Opacity:2,$Formation:$JssorSlideshowFormations$.$FormationZigZag,$Assembly:260,$ChessMode:{$Row:3},$Easing:{$Left:$Jease$.$Swing,$Top:$Jease$.$InWave,$Opacity:$Jease$.$Linear},$Round:{$Top:1.5}},{$Duration:1200,x:-0.6,$Zoom:1,$Easing:{$Left:$Jease$.$InCubic,$Zoom:$Jease$.$InCubic,$Opacity:$Jease$.$OutQuad},$Opacity:2},{$Duration:800,y:1,$Easing:{$Top:$Jease$.$InOutQuart,$Opacity:$Jease$.$Linear},$Opacity:2,$Brother:{$Duration:800,y:-1,$Easing:{$Top:$Jease$.$InOutQuart,$Opacity:$Jease$.$Linear},$Opacity:2}},{$Duration:1000,y:4,$Zoom:11,$Rotate:1,$SlideOut:true,$Easing:{$Top:$Jease$.$InQuint,$Zoom:$Jease$.$InQuart,$Opacity:$Jease$.$Linear,$Rotate:$Jease$.$InQuint},$Opacity:2,$Round:{$Rotate:0.8}},{$Duration:1200,x:-0.6,y:0.6,$Zoom:1,$Rotate:1,$During:{$Left:[0.2,0.8],$Top:[0.2,0.8],$Zoom:[0.2,0.8],$Rotate:[0.2,0.8]},$Easing:$Jease$.$Swing,$Opacity:2,$Round:{$Rotate:0.5}},{$Duration:1200,x:-4,y:4,$Zoom:11,$Rotate:1,$Easing:{$Left:$Jease$.$InCubic,$Top:$Jease$.$InCubic,$Zoom:$Jease$.$InCubic,$Opacity:$Jease$.$OutQuad,$Rotate:$Jease$.$InCubic},$Opacity:2,$Round:{$Rotate:0.7}},];var jssorOptionsDrag=0;if($('#slider1_drag').length>0)jssorOptionsDrag=$('#slider1_drag').val();var jssorOptions={$FillMode:2,$AutoPlay:1,$AutoPlaySteps:1,$Idle:7000,$PauseOnHover:0,$ArrowKeyNavigation:1,$SlideDuration:1300,$SlideEasing:$Jease$.$OutQuint,$SlideSpacing:0,$DragOrientation:jssorOptionsDrag,$BulletNavigatorOptions:{$Class:$JssorBulletNavigator$,$ChanceToShow:2,$SpacingX:10,$SpacingY:10,$AutoCenter:1},$ArrowNavigatorOptions:{$Class:$JssorArrowNavigator$,$ChanceToShow:0},$SlideshowOptions:{$Class:$JssorSlideshowRunner$,$Transitions:_SlideshowTransitions,$TransitionsOrder:1,$ShowLink:false}};if($("#slider1_container").length){jsSlider=new $JssorSlider$("slider1_container",jssorOptions);function ScaleSlider(){var parentWidth=jsSlider.$Elmt.parentNode.clientWidth;if(parentWidth){jsSlider.$ScaleWidth(parentWidth-0);}else{window.setTimeout(ScaleSlider,30)}var currentHeight=jsSlider.$ScaleHeight();if(currentHeight<300){jsSlider.$ScaleSize(parentWidth-0,300);}wo=Math.floor((jsSlider.$OriginalWidth()/jsSlider.$OriginalHeight())*1000000+0.5)/1000000;ws=Math.floor((jsSlider.$ScaleWidth()/jsSlider.$ScaleHeight())*1000000+0.5)/1000000;if(ws!=wo){rw=Math.floor(((jsSlider.$OriginalWidth()-jsSlider.$OriginalHeight()*ws))/2*1000000+0.5)/1000000;$(".slider1_html_contain").css({"left":rw+"px"});}else{$(".slider1_html_contain").css({"left":"0px"});}}ScaleSlider();$(window).bind("load",ScaleSlider);$(window).bind("resize",ScaleSlider);$(window).bind("orientationchange",ScaleSlider);};if(flgAnimation==1&&typeof(jsSlider)!=="undefined")jsSlider.$AutoPlay(0);$(document).on("scroll",function(){if($(window).scrollTop()>100){$(".stt-wrapper").addClass("show");}else{$(".stt-wrapper").removeClass("show");}if($("#container-footer").length){if($(window).scrollTop()+$(window).height()>($(document).height()-$("#container-footer").height()-$(".stt-wrapper").height())+80){$(".stt-wrapper").addClass("bottom");}else{$(".stt-wrapper").removeClass("bottom");}}});$(".stt-wrapper").on("click",jsSTT);$(".stt-wrapper").keyup(function(event){if(event.which==13){jsSTT();}});if(document.cookie.indexOf("hideCookieNotice=1")!=-1){jQuery("#cookieNotice").hide();jQuery("#cookieJump").hide();}else{jQuery("#cookieNotice").appendTo("body");jQuery("#cookieNotice").show();jQuery("#cookieNoticeCloser").show();}$('table').wrap('');$('table').rtable();$('.cssTABResponsive').wrap('');$('.marquee').removeClass("hidden");$('.marquee').marquee('marquee','topmarquee','News-Ticker').mousemove(function(event){if($(this).data('drag')==1){$(this).data('drag',2).css({'cursor':'move'}).data('x',event.clientX).data('scrollX',this.scrollLeft);}if($(this).data('drag')==2){$('a.newsscroller-entry').data('drag',true);this.scrollLeft=$(this).data('scrollX')+($(this).data('x')-event.clientX);}});$('a.newsscroller-entry').on('mousedown',function(event){$('#topmarquee').data('drag',1).css({'cursor':'move'});});$('a.newsscroller-entry').on('mouseup',function(event){$('#topmarquee').data('drag',0).css({'cursor':''});setTimeout(function(){$('a.newsscroller-entry').data('drag',false);},1000);});$('a.newsscroller-entry').on('click',function(event){if($(this).data('drag')==true){event.preventDefault();}});$('.newsscroller-entry').on('mouseenter',function(){$('.marquee').trigger('stop');});$('.newsscroller-entry').on('mouseleave',function(){if(flgAnimation==0)$('.marquee').trigger('start');});$('a.newsscroller-entry').on('mouseleave',function(){$('#topmarquee').data('drag',0).css({'cursor':''});setTimeout(function(){$('a.newsscroller-entry').data('drag',false);},1000);});$('a.newsscroller-entry').on('focus',function(){$('.marquee').trigger('stop');});$('a.newsscroller-entry').on('blur',function(){if(flgAnimation==0)$('.marquee').trigger('start');});if(flgAnimation==1){$('.marquee').trigger('stop');}var nbcnt=0;var nbstate=0;$(".newsbox-card").each(function(){nbcnt++;$(this).css({"visibility":"visible"});$(this).css({"z-index":"5"});if(nbcnt==1){$(this).css({"opacity":"1"});$(this).css({"z-index":"10"});}});if(nbcnt>1){setInterval(function(){if(nbstate==0&&flgAnimation==0){jsNBoxCardNext();}},10000);}$('.newsbox-card').mouseenter(function(){if(nbstate==0)nbstate=1;});$('.newsbox-card').mouseleave(function(){if(nbstate==1)nbstate=0});$('.newsbox-card').focusin(function(){nbstate=2;var j=-1;var k=-1;var narr=$(".newsbox-card").toArray();for(var i=0;i