/**
 * @copyright Copyright (c) 2007 - 2016 fusionLib. All rights reserved.
 * @link http://fusionlib.com
 * @version 1.9.0
 */
!function(){window.fusionLib||(window.$fl=window.fusionLib=jQuery)}(),function(){for(var i=[],e="",t=document.getElementsByTagName("script").item(0);t&&!e.length;)t.src&&-1!=t.src.indexOf("/fusionLib.js")&&(e=t.src.replace(/fusionLib.js$/,"")),t=t.nextSibling;fusionLib.fn.extend({getURLParam:function(i){var e=new RegExp("[\\?&]"+i+"=([^&#]*)"),t=e.exec(window.location.href);return null==t?"":unescape(t[1]).replace(/\+/g," ")},fetch:function(i,e){var t="";return this.ajax(i,{type:"get",success:function(i){t=i},data:e,async:!1}),t},loadScript:function(t){if(t.match(/^fusionLib\./)&&(t=e+t),!i[t]){i[t]=1;var n=fusionLib.fetch(t),o=document.createElement("script");o.type="text/javascript",o.defer=!0,o.text=n;var s=document.getElementsByTagName("script").item(0);s.parentNode.insertBefore(o,s)}},value:function(i){if(arguments.length)return this.each(function(){if("checkbox"==this.type)this.checked=i;else if("radio"==this.type)this.checked=this.value==i;else if("select-multiple"==this.type&&i instanceof Array)for(var e=0;e<this.options.length;e++)this.options[e].selected=-1!=i.indexOf(this.options[e].value);else this.value=i});var e=!1;if("checkbox"==this[0].type)e=this[0].checked;else if("radio"==this[0].type)this.each(function(){return this.checked?(e=this.value,!1):void 0});else if("select-multiple"==this[0].type){e=[];for(var t=0;t<this[0].options.length;t++)this[0].options[t].selected&&e.push(this[0].options[t].value)}else e=this[0].value;return e}}),fusionLib.getURLParam=fusionLib.fn.getURLParam,fusionLib.fetch=fusionLib.fn.fetch,fusionLib.loadScript=fusionLib.fn.loadScript,window.JSON||fusionLib.loadScript("fusionLib.json.js")}(),function(){function i(i,o,s,f,r){"function"==typeof s?(r=s,s=o,f=0):"function"==typeof f&&(r=f,"string"==typeof s?f=0:(f=s,s=o)),r.flTimerID=r.flTimerID||t++,i.flTimers||(i.flTimers=[],n.push(i)),i.flTimers[s]||(i.flTimers[s]=[]);var u=0;e(i,s,r),i.flTimers[s][r.flTimerID]=window.setInterval(function(){(++u>f&&f||r.call(fusionLib(i),u)===!1)&&e(i,s,r)},o)}function e(i,t,n){if(i.flTimers)if("function"==typeof t&&(n=t,t=void 0),t){if(i.flTimers[t])if(n){var o="function"==typeof n?n.flTimerID:n;window.clearInterval(i.flTimers[t][o]),delete i.flTimers[t][o]}else for(var s in i.flTimers[t])e(i,t,s)}else for(t in i.flTimers)e(i,t,n)}var t=1,n=[];fusionLib.fn.extend({timerInterval:function(e,t,n,o){return this.each(function(){i(this,e,t,n,o)})},timerOnce:function(i,e,t){return"function"==typeof e&&(t=e,e=i),this.timerInterval(i,e,1,t)},timerStop:function(i,t){return this.each(function(){e(this,i,t)})}}),fusionLib(window).bind("unload",function(){for(var i=0;i<n.length;i++)e(n[i])})}(),function(){fusionLib.fn.extend({setCookie:function(i,e,t,n,o,s){var f=i+"="+escape(e);return void 0!==t&&("object"==typeof t&&t instanceof Date||(expireDate=new Date,expireDate.setTime(expireDate.getTime()+t),t=expireDate),f+="; expires="+t.toGMTString()),n&&(f+="; path="+encodeURI(n)),o&&(f+="; domain="+encodeURI(o)),s&&(f+="; secure"),document.cookie=f,this},getCookie:function(i){var e=document.cookie.match("(^|;) ?"+i+"=([^;]*)(;|$)");return e?decodeURI(e[2]):null},delCookie:function(i,e,t){return fusionLib.setCookie(i,"",-3600,e,t),this},testCookies:function(){return fusionLib.setCookie("fusionLib_cookieTest","data"),"data"===fusionLib.getCookie("fusionLib_cookieTest")?(fusionLib.delCookie("fusionLib_cookieTest"),!0):!1}}),fusionLib.setCookie=fusionLib.fn.setCookie,fusionLib.getCookie=fusionLib.fn.getCookie,fusionLib.delCookie=fusionLib.fn.delCookie,fusionLib.testCookies=fusionLib.fn.testCookies}(),function(){function i(i){for(var e=0,t=0;t<i.length;t++){var n=fusionLib(i[t]);n.css("height","inherit"),e=Math.max(e,parseInt(n.css("height")))}for(var t=0;t<i.length;t++)fusionLib(i[t]).css("height",e+"px")}function e(){if(o&&fusionLib(window).width()!=t){t=fusionLib(window).width();for(var e=0;e<n.length;e++)i(n[e])}}var t=0,n=[],o=!1;fusionLib(window).bind("resize",function(){e()}).bind("orientationchange",function(){e()}).bind("load",function(){o=!0,e()}),fusionLib.fn.extend({matchHeights:function(){return o&&i(this),n.push(this),this}})}();