(function(a,b,c,d){var e=a(b);a.fn.lazyload=function(c){function i(){var b=0;f.each(function(){var c=a(this);if(h.skip_invisible&&!c.is(":visible"))return;if(!a.abovethetop(this,h)&&!a.leftofbegin(this,h))if(!a.belowthefold(this,h)&&!a.rightoffold(this,h))c.trigger("appear"),b=0;else if(++b>h.failure_limit)return!1})}var f=this,g,h={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:!0,appear:null,load:null};return c&&(d!==c.failurelimit&&(c.failure_limit=c.failurelimit,delete c.failurelimit),d!==c.effectspeed&&(c.effect_speed=c.effectspeed,delete c.effectspeed),a.extend(h,c)),g=h.container===d||h.container===b?e:a(h.container),0===h.event.indexOf("scroll")&&g.bind(h.event,function(a){return i()}),this.each(function(){var b=this,c=a(b);b.loaded=!1,c.one("appear",function(){if(!this.loaded){if(h.appear){var d=f.length;h.appear.call(b,d,h)}a("").bind("load",function(){c.hide().attr("src",c.data(h.data_attribute))[h.effect](h.effect_speed),b.loaded=!0;var d=a.grep(f,function(a){return!a.loaded});f=a(d);if(h.load){var e=f.length;h.load.call(b,e,h)}}).attr("src",c.data(h.data_attribute))}}),0!==h.event.indexOf("scroll")&&c.bind(h.event,function(a){b.loaded||c.trigger("appear")})}),e.bind("resize",function(a){i()}),/iphone|ipod|ipad.*os 5/gi.test(navigator.appVersion)&&e.bind("pageshow",function(b){b.originalEvent.persisted&&f.each(function(){a(this).trigger("appear")})}),a(b).load(function(){i()}),this},a.belowthefold=function(c,f){var g;return f.container===d||f.container===b?g=e.height()+e.scrollTop():g=a(f.container).offset().top+a(f.container).height(),g<=a(c).offset().top-f.threshold},a.rightoffold=function(c,f){var g;return f.container===d||f.container===b?g=e.width()+e.scrollLeft():g=a(f.container).offset().left+a(f.container).width(),g<=a(c).offset().left-f.threshold},a.abovethetop=function(c,f){var g;return f.container===d||f.container===b?g=e.scrollTop():g=a(f.container).offset().top,g>=a(c).offset().top+f.threshold+a(c).height()},a.leftofbegin=function(c,f){var g;return f.container===d||f.container===b?g=e.scrollLeft():g=a(f.container).offset().left,g>=a(c).offset().left+f.threshold+a(c).width()},a.inviewport=function(b,c){return!a.rightoffold(b,c)&&!a.leftofbegin(b,c)&&!a.belowthefold(b,c)&&!a.abovethetop(b,c)},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})})(jQuery,window,document);function hst_fucos(vlu,ttl,eid,cs){if(vlu==ttl)document.getElementById(eid).value='';if(cs==1)document.getElementById(eid).size=document.getElementById(eid).size+20} function hst_blur(vlu,ttl,eid,cs){if(vlu=='')document.getElementById(eid).value=ttl;if(cs==1)document.getElementById(eid).size=document.getElementById(eid).size-20} function set_class(elid,elclass){el=document.getElementById(elid);el.className=elclass} function emp_vlu(elid,dfvl){el=document.getElementById(elid);if(el.value==dfvl){el.value=''}} function set_vlu(elid,dfvl){el=document.getElementById(elid);if(el.value==''){el.value=dfvl}} function hst_loading(comm,elid){if(elid==''||elid=='undefined')elid='loading';if(comm=='start'){$("#"+elid).css('visibility','visible')}else{$("#"+elid).css('visibility','hidden')}}hst_loading('start','loading');function hst_tip(elid){$(function(){$("#"+elid).click(function(){$(this).expose()})});$("#"+elid).tooltip({effect:'slide'})} function hst_ajax_post(tget,fid,rq){hst_loading('start','loading');var options={target:'#'+tget,url:rq,beforeSubmit:function(arr,$form,options){hst_loading('start','loading')},success:function(){hst_show(tget);hst_loading('end','loading')}};$('#'+fid).ajaxForm(options)} function hst_ajax_get(tget,rq){hst_loading('start','loading');$.ajax({url:rq,success:function(data){$('#'+tget).html(data);hst_loading('end','loading')}});return false} function hst_hide(elid){document.getElementById(elid).style.cssText='visibility: hidden;opacity: 0;filter: alpha(opacity=0);height: 0px;width: 0px; overflow: hidden;';return false} function hst_show(elid){document.getElementById(elid).style.cssText='visibility: visible;opacity: 1;filter: alpha(opacity=100);height: auto;width: 100%; overflow: auto;'} function hst_wop(rq,opt){if(opt=='')opt='width=900,height=600,scrollbars=yes,resizable=yes,menubar=no,location=no';myWindow=window.open(rq,'',opt,'true');myWindow.focus();return false} function check(elid){elm=document.getElementById(elid);if(elm.checked==true){uncheckk(elid)}else{checkk(elid)}} function checkk(elid){elm=document.getElementById(elid);trlid='tr_'+elid;elm.checked=true;$('#'+trlid).addClass("active_tr",50)} function uncheckk(elid){elm=document.getElementById(elid);trlid='tr_'+elid;elm.checked=false;$('#'+trlid).removeClass("active_tr",50)} function hst_select_invert(elarr){for(i=0;i<=elarr.length;i++){check(elarr[i])}} function hst_select_all(elarr){for(i=0;i<=elarr.length;i++){checkk(elarr[i])}} function hst_deselect_all(elarr){for(i=0;i<=elarr.length;i++){uncheckk(elarr[i])}}$(document).ready(function(){$('.loginform input').focus(function(){if(this.value==this.title)this.value=''});$('.loginform input').blur(function(){if(this.value=='')this.value=this.title});$('.search input').focus(function(){if(this.value==this.title)this.value=''});$('.search input').blur(function(){if(this.value=='')this.value=this.title})});function runtime(){alr=$('#time');alra=alr.html().split(':');h=alra[0];m=alra[1];s=alra[2];if(s<59){s++}else{s=0;if(m<59){m++}else{m=0;if(h<23){h++}else{h=0;m=0;s=0}}}if(h.length<2){h='0'+h}if(m.length<2){m='0'+m}if(s.length<2){s='0'+s}alr.html(h+':'+m+':'+s);setTimeout('runtime()',1000)} function hst_getCookie(c_name){var i,x,y,ARRcookies=document.cookie.split(";");for(i=0;i');} function hst_tab(tid,lcl){$(tid+" .title li").click(function(){$(tid+" .active").addClass('inactive');$(tid+" .active").removeClass('active');$("#"+this.id).addClass('active');$("#"+this.id).removeClass('inactive');$(tid+" "+lcl).addClass('invisible');$(tid+" ."+this.id).removeClass('invisible');});} function hst_slide(slide,slidenum){$('#'+slide+' .right').click(function(){right=$('#'+slide+' li.active').attr('id');right--;if(right<1)right=slidenum;$('#'+slide+' li').removeClass('active');$('#'+slide+' li#'+right).addClass('active');});$('#'+slide+' .left').click(function(){left=$('#'+slide+' li.active').attr('id');left++;if(left>slidenum)left=1;$('#'+slide+' li').removeClass('active');$('#'+slide+' li#'+left).addClass('active');});} (function(factory){if(typeof define==='function'&&define.amd){define(['jquery'],factory);}else if(typeof exports==='object'){module.exports=factory;}else{factory(jQuery);}} (function($){var toFix=['wheel','mousewheel','DOMMouseScroll','MozMousePixelScroll'];var toBind='onwheel'in document||document.documentMode>=9?['wheel']:['mousewheel','DomMouseScroll','MozMousePixelScroll'];var lowestDelta,lowestDeltaXY;if($.event.fixHooks){for(var i=toFix.length;i;){$.event.fixHooks[toFix[--i]]=$.event.mouseHooks;}} $.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var i=toBind.length;i;){this.addEventListener(toBind[--i],handler,false);}}else{this.onmousewheel=handler;}},teardown:function(){if(this.removeEventListener){for(var i=toBind.length;i;){this.removeEventListener(toBind[--i],handler,false);}}else{this.onmousewheel=null;}}};$.fn.extend({mousewheel:function(fn){return fn?this.bind("mousewheel",fn):this.trigger("mousewheel");},unmousewheel:function(fn){return this.unbind("mousewheel",fn);}});function handler(event){var orgEvent=event||window.event,args=[].slice.call(arguments,1),delta=0,deltaX=0,deltaY=0,absDelta=0,absDeltaXY=0,fn;event=$.event.fix(orgEvent);event.type="mousewheel";if(orgEvent.wheelDelta){delta=orgEvent.wheelDelta;} if(orgEvent.detail){delta=orgEvent.detail*-1;} if(orgEvent.deltaY){deltaY=orgEvent.deltaY*-1;delta=deltaY;} if(orgEvent.deltaX){deltaX=orgEvent.deltaX;delta=deltaX*-1;} if(orgEvent.wheelDeltaY!==undefined){deltaY=orgEvent.wheelDeltaY;} if(orgEvent.wheelDeltaX!==undefined){deltaX=orgEvent.wheelDeltaX*-1;} absDelta=Math.abs(delta);if(!lowestDelta||absDelta0?'floor':'ceil';delta=Math[fn](delta/lowestDelta);deltaX=Math[fn](deltaX/lowestDeltaXY);deltaY=Math[fn](deltaY/lowestDeltaXY);args.unshift(event,delta,deltaX,deltaY);return($.event.dispatch||$.event.handle).apply(this,args);}}));(function($){var mwheelI={pos:[-260,-260]},minDif=3,doc=document,root=doc.documentElement,body=doc.body,longDelay,shortDelay;function unsetPos(){if(this===mwheelI.elem){mwheelI.pos=[-260,-260];mwheelI.elem=false;minDif=3;}} $.event.special.mwheelIntent={setup:function(){var jElm=$(this).bind('mousewheel',$.event.special.mwheelIntent.handler);if(this!==doc&&this!==root&&this!==body){jElm.bind('mouseleave',unsetPos);} jElm=null;return true;},teardown:function(){$(this).unbind('mousewheel',$.event.special.mwheelIntent.handler).unbind('mouseleave',unsetPos);return true;},handler:function(e,d){var pos=[e.clientX,e.clientY];if(this===mwheelI.elem||Math.abs(mwheelI.pos[0]-pos[0])>minDif||Math.abs(mwheelI.pos[1]-pos[1])>minDif){mwheelI.elem=this;mwheelI.pos=pos;minDif=250;clearTimeout(shortDelay);shortDelay=setTimeout(function(){minDif=10;},200);clearTimeout(longDelay);longDelay=setTimeout(function(){minDif=3;},1500);e=$.extend({},e,{type:'mwheelIntent'});return($.event.dispatch||$.event.handle).apply(this,arguments);}}};$.fn.extend({mwheelIntent:function(fn){return fn?this.bind("mwheelIntent",fn):this.trigger("mwheelIntent");},unmwheelIntent:function(fn){return this.unbind("mwheelIntent",fn);}});$(function(){body=doc.body;$(doc).bind('mwheelIntent.mwheelIntentDefault',$.noop);});})(jQuery);function hst_opcl(elid){(document.getElementById(elid).style.display=='none')?$("#"+elid).fadeIn():$("#"+elid).fadeOut();} var matched, browser; jQuery.uaMatch = function(ua){ ua = ua.toLowerCase();var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) || /(webkit)[ \/]([\w.]+)/.exec( ua ) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) || /(msie) ([\w.]+)/.exec( ua ) || ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) || []; return {browser: match[ 1 ] || "",version: match[ 2 ] || "0"}; }; matched = jQuery.uaMatch( navigator.userAgent ); browser = {}; if (matched.browser){browser[ matched.browser ] = true;browser.version = matched.version;} if (browser.chrome){browser.webkit = true;}else if (browser.webkit){browser.safari = true;} $.browser = browser;;