(function(){
	var CLICKI_CF = {
		host: 'www.clicki.cn',
		site_id: Number('42859'),
		visitor_id: '1329957926072595',
		millisecond: '1329958263931890',
		time: '1329958263931',
		is_logined: true,
		widgets: {}
	};function clicki(){this.tmpData={date:new Date,time:(new Date).getMilliseconds()};var a=navigator.userAgent;this.browser={version:(a.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/i)||[])[1],safari:/webkit/i.test(a),opera:/opera/i.test(a),msie:/msie/i.test(a)&&!/opera/i.test(a),mozilla:/mozilla/i.test(a)&&!/(compatible|webkit)/i.test(a)};var b="https:"==document.location.protocol?"https://":"http://";this.host=b+CLICKI_CF.host+"/",this.site_id=CLICKI_CF.site_id,this.is_logined=CLICKI_CF.is_logined,this.registry={boot:{"~/Observer":{action:"init"}},ready:{"~/AppEngine":{action:"init"}},load:{},widgets:CLICKI_CF.widgets},this.apps={}}Function.prototype.bind||(Function.prototype.bind=function(a){var b=this,c=function(){return b.apply(a,arguments)};return c}),clicki.prototype={init:function(){var a={base:this.host+"widget/app",alias:{app:this.host+"widget/app",modules:this.host+"widget/app/modules",controler:this.host+"widget/app/controler/",skin:this.host+"widget/app/skin/group/",cookie:this.host+"widget/open_modules/cookie",open_modules:this.host+"widget/open_modules/",jquery:this.host+"widget/lib/jquery",json:this.host+"widget/open_modules/json"}};this.widgetAppsList={},this.config(a),this.boot().ready().load()},extend:function(){if(arguments.length<2)return arguments[0];var a=arguments[0],b;for(var c=1,d=arguments.length;c<d;c++){b=arguments[c];for(var e in b)a[e]=b[e]}return a},bindEvent:function(a,b,c){a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener(b,c,!1);return a},tpFormat:function(msg,values,filter){var pattern=/\{\{([\w\s\.\(\)"',-\[\]]+)?\}\}/g;return msg.replace(pattern,function(match,key){var value=values[key]||eval("(values."+key+")");return Object.prototype.toString.call(filter)==="[object Function]"?filter(value,key):value})},domReady:function(){function h(){if(!c){c=!0,document.addEventListener&&!b.opera&&document.addEventListener("DOMContentLoaded",f,!1),b.msie&&window==top&&function(){if(!d){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}f()}}(),b.opera&&document.addEventListener("DOMContentLoaded",function(){if(!d){for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].disabled){setTimeout(arguments.callee,0);return}f()}},!1);if(b.safari){var a;(function(){if(!d){if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return}if(a===undefined){var b=document.getElementsByTagName("link");for(var c=0;c<b.length;c++)b[c].getAttribute("rel")=="stylesheet"&&a++;var e=document.getElementsByTagName("style");a+=e.length}if(document.styleSheets.length!=a){setTimeout(arguments.callee,0);return}f()}})()}g(f)}}function g(a){var b=window.onload;typeof window.onload!="function"?window.onload=a:window.onload=function(){b&&b(),a()}}function f(){if(!d){d=!0;if(e){for(var a=0;a<e.length;a++)e[a].call(window,[]);e=[]}}}var a=navigator.userAgent.toLowerCase(),b=Clicki.browser,c=!1,d=!1,e=[];h();return function(a,b,c){h(),d?a.apply(b,c):e.push(function(){return a.apply(b,c)})}.apply(this,arguments)},boot:function(){for(var a in this.registry.boot){if(!{}.hasOwnProperty.call(this.registry.boot,a))continue;var b=this.registry.boot[a].action;b=b?b:"init",this.use(a,function(a){return function(b){b[a]&&b[a]()}}(b))}return this},ready:function(){this.domReady(function(){for(var a in this.registry.ready){if(!{}.hasOwnProperty.call(this.registry.ready,a))continue;var b=this.registry.ready[a].action;b=b?b:"init",this.use(a,function(a){return function(b){b[a]&&b[a]()}}(b))}},this,[]);return this},load:function(){var a,b;window.addEventListener?(a="addEventListener",b="load"):(a="attachEvent",b="onload"),window[a](b,function(a){return function(){for(var b in a.registry.load){if(!{}.hasOwnProperty.call(a.registry.load,b))continue;var c=a.registry.load[b].action;c=c?c:"init",a.use(b,function(a){return function(b){b[a]&&b[a]()}}(c))}}}(this),!1);return this}};var _seajsHost={location:window.location};(function(){var a=this.seajs={_seajs:this.seajs};a.version="1.0.1",a._data={config:{debug:"",preload:[]},memoizedMods:{},pendingMods:[]},a._util={},a._fn={},function(a){var b=Object.prototype.toString,c=Array.prototype;a.isString=function(a){return b.call(a)==="[object String]"},a.isFunction=function(a){return b.call(a)==="[object Function]"},a.isArray=Array.isArray||function(a){return b.call(a)==="[object Array]"},a.indexOf=c.indexOf?function(a,b){return a.indexOf(b)}:function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1};var d=a.forEach=c.forEach?function(a,b){a.forEach(b)}:function(a,b){for(var c=0,d=a.length;c<d;c++)b(a[c],c,a)};a.map=c.map?function(a,b){return a.map(b)}:function(a,b){var c=[];d(a,function(a,d,e){c.push(b(a,d,e))});return c},a.filter=c.filter?function(a,b){return a.filter(b)}:function(a,b){var c=[];d(a,function(a,d,e){b(a,d,e)&&c.push(a)});return c},a.now=Date.now||function(){return(new Date).getTime()}}(a._util),function(a,b){function c(a){var b=["{"],c;for(c in a)if(typeof a[c]=="number"||typeof a[c]=="string")b.push(c+": "+a[c]),b.push(", ");b.pop(),b.push("}");return b.join("")}var d=b.config;a.error=function(a){if(a.type==="error")throw"Error occurs! "+c(a);d.debug&&typeof console!="undefined"&&console[a.type](c(a))}}(a._util,a._data),function(a,b,c){function n(a){return a.charAt(0)==="~"}function m(b,c){a.forEach(c,function(c){a.indexOf(b,c)===-1&&b.push(c)})}function l(b,c){if(!b||b.ready)return!1;var d=b.dependencies||[];if(d.length){if(a.indexOf(d,c)!==-1)return!0;for(var e=0;e<d.length;e++)if(l(r[d[e]],c))return!0}return!1}function k(b,c){return a.map(b,function(a){return j(a,c)})}function j(b,c,e){if(q[b])return b;!e&&o.alias&&(b=g(b)),c=c||p,n(b)&&(b="."+b.substring(1)),b.indexOf("://")===-1&&(b.indexOf("./")===0||b.indexOf("../")===0?(b=b.replace(/^\.\//,""),b=d(c)+b):b.indexOf("/")===0?b=i(c)+b:(o.base||a.error({message:"the config.base is empty",from:"id2Uri",type:"error"}),b=o.base+"/"+b)),b=f(b),o.map&&(b=h(b)),q[b]=!0;return b}function i(a){return a.replace(/^(\w+:\/\/[^/]*)\/?.*$/,"$1")}function h(b){a.forEach(o.map,function(a){a&&a.length===2&&(b=b.replace(a[0],a[1]))});return b}function g(a){function b(a,b){var d=a[b];c&&c.hasOwnProperty(d)&&(a[b]=c[d])}var c=o.alias,a=a.split("/"),d=a.length-1;b(a,0),d&&b(a,d);return a.join("/")}function f(a){a=e(a),/#$/.test(a)?a=a.slice(0,-1):a.indexOf("?")===-1&&!/\.(?:css|js)$/.test(a)&&(a+=".js");return a}function e(b){b=b.replace(/([^:\/])\/+/g,"$1/");if(b.indexOf(".")===-1)return b;for(var c=b.split("/"),d=[],e,f=0,g=c.length;f<g;f++)e=c[f],e===".."?(d.length===0&&a.error({message:"invalid path: "+b,type:"error"}),d.pop()):e!=="."&&d.push(e);return d.join("/")}function d(a){a=a.match(/.*(?=\/.*$)/);return(a?a[0]:".")+"/"}var o=b.config,c=c.location,p=c.protocol+"//"+c.host+c.pathname;p.indexOf("\\")!==-1&&(p=p.replace(/\\/g,"/"));var q={},r=b.memoizedMods;a.dirname=d,a.id2Uri=j,a.ids2Uris=k,a.memoize=function(a,b,c){var d;d=a?j(a,b,!0):b,c.dependencies=k(c.dependencies,d),r[d]=c,a&&b!==d&&(a=r[b])&&m(a.dependencies,c.dependencies)},a.setReadyState=function(b){a.forEach(b,function(a){r[a]&&(r[a].ready=!0)})},a.getUnReadyUris=function(b){return a.filter(b,function(a){a=r[a];return!a||!a.ready})},a.removeCyclicWaitingUris=function(b,c){return a.filter(c,function(a){return!l(r[a],b)})},a.isInlineMod=n,a.pageUrl=p,o.debug&&(a.realpath=e,a.normalize=f,a.parseAlias=g,a.getHost=i)}(a._util,a._data,this),function(a,b){function f(a,b){if(!b.isCalled){var c=!1;if(h)a.sheet&&(c=!0);else if(a.sheet)try{a.sheet.cssRules&&(c=!0)}catch(d){d.code===1e3&&(c=!0)}c?setTimeout(function(){b()},1):setTimeout(function(){f(a,b)},1)}}function e(a,b){a.attachEvent?a.attachEvent("onload",b):setTimeout(function(){f(a,b)},0)}function d(a,b){a.addEventListener?(a.addEventListener("load",b,!1),a.addEventListener("error",b,!1)):a.attachEvent("onreadystatechange",function(){var c=a.readyState;(c==="loaded"||c==="complete")&&b()})}function c(c,f){function g(){g.isCalled=!0,f(),clearTimeout(h)}c.nodeName==="SCRIPT"?d(c,g):e(c,g);var h=setTimeout(function(){g(),a.error({message:"time is out",from:"getAsset",type:"warn"})},b.config.timeout)}var g=document.getElementsByTagName("head")[0],h=navigator.userAgent.indexOf("AppleWebKit")!==-1;a.getAsset=function(a,d,e){var f=/\.css(?:\?|$)/i.test(a),h=document.createElement(f?"link":"script");e&&h.setAttribute("charset",e),c(h,function(){d&&d.call(h);if(!f&&!b.config.debug){try{if(h.clearAttributes)h.clearAttributes();else for(var a in h)delete h[a]}catch(c){}g.removeChild(h)}}),f?(h.rel="stylesheet",h.href=a,g.appendChild(h)):(h.async=!0,h.src=a,g.insertBefore(h,g.firstChild));return h},a.assetOnload=c;var i=null;a.getInteractiveScript=function(){if(i&&i.readyState==="interactive")return i;for(var a=g.getElementsByTagName("script"),b=0;b<a.length;b++){var c=a[b];if(c.readyState==="interactive")return i=c}return null},a.getScriptAbsoluteSrc=function(a){return a.hasAttribute?a.src:a.getAttribute("src",4)};var j="seajs-ts="+a.now();a.addNoCacheTimeStamp=function(a){return a+(a.indexOf("?")===-1?"?":"&")+j},a.removeNoCacheTimeStamp=function(a){var b=a;a.indexOf(j)!==-1&&(b=a.replace(j,"").slice(0,-1));return b}}(a._util,a._data),function(a,b,c,d){function g(c){b.config.debug==2&&(c=a.addNoCacheTimeStamp(c));return c}function f(c,d){function e(){b.pendingMods&&(a.forEach(b.pendingMods,function(b){a.memoize(b.id,c,b)}),b.pendingMods=[]),h[c]&&delete h[c],i[c]||a.error({message:"can not memoized",from:"load",uri:c,type:"warn"}),d&&d()}h[c]?a.assetOnload(h[c],e):(b.pendingModIE=c,h[c]=a.getAsset(g(c),e,b.config.charset),b.pendingModIE=null)}function e(b,c){function d(){a.setReadyState(g),c()}var g=a.getUnReadyUris(b);if(g.length===0)return d();for(var h=0,l=g.length,m=l;h<l;h++)(function(b){function c(){var c=(i[b]||0).dependencies||[],f=c.length;f&&(c=a.removeCyclicWaitingUris(b,c),f=c.length),f&&(m+=f,e(c,function(){m-=f,m===0&&d()})),--m===0&&d()}i[b]?c():f(b,c)})(g[h])}var h={},i=b.memoizedMods;c.load=function(b,f,g){a.isString(b)&&(b=[b]);var h=a.ids2Uris(b,g);e(h,function(){var b=c.createRequire({uri:g}),e=a.map(h,function(a){return b(a)});f&&f.apply(d,e)})}}(a._util,a._data,a._fn,this),function(a){a.Module=function(a,b,c){this.id=a,this.dependencies=b||[],this.factory=c}}(a._fn),function(a,b,c){c.define=function(d,f,h){arguments.length===1?(h=d,d=""):a.isArray(d)&&(h=f,f=d,d="");if(!a.isArray(f)&&a.isFunction(h)){for(var i=h.toString(),j=/[^.]\brequire\s*\(\s*['"]?([^'")]*)/g,k=[],l,i=i.replace(/(?:^|\n|\r)\s*\/\*[\s\S]*?\*\/\s*(?:\r|\n|$)/g,"\n").replace(/(?:^|\n|\r)\s*\/\/.*(?:\r|\n|$)/g,"\n");l=j.exec(i);)l[1]&&k.push(l[1]);f=k}var i=new c.Module(d,f,h),m;a.isInlineMod(d)?m=a.pageUrl:document.attachEvent&&!window.opera&&((m=a.getInteractiveScript())?(m=a.getScriptAbsoluteSrc(m),b.config.debug==2&&(m=a.removeNoCacheTimeStamp(m))):m=b.pendingModIE),m?a.memoize(d,m,i):b.pendingMods.push(i)}}(a._util,a._data,a._fn),function(a,b,c){function e(a,b){return a.uri===b?!0:a.parent?e(a.parent,b):!1}function d(h){function i(c){var g=a.id2Uri(c,h.uri),c=b.memoizedMods[g];if(!c)return null;if(e(h,g))return a.error({message:"found cyclic dependencies",from:"require",uri:g,type:"warn"}),c.exports;if(!c.exports){var g={uri:g,deps:c.dependencies,parent:h},i=c.factory;c.id=g.uri,c.exports={},delete c.factory,delete c.ready;if(a.isFunction(i)){var k=c.uri;i.toString().search(/\sexports\s*=\s*[^=]/)!==-1&&a.error({message:"found invalid setter: exports = {...}",from:"require",uri:k,type:"error"}),g=i(d(g),c.exports,c),g!==void 0&&(c.exports=g)}else i!==void 0&&(c.exports=i)}return c.exports}i.async=function(a,b){c.load(a,b,h.uri)};return i}c.createRequire=d}(a._util,a._data,a._fn),function(a,b,c,d){function e(b,c){b!==void 0&&b!==c&&a.error({message:"config is conflicted",previous:b,current:c,from:"config",type:"error"})}var f=b.config,b=document.getElementById("seajsnode");b||(b=document.getElementsByTagName("script"),b=b[b.length-1]);var g=a.getScriptAbsoluteSrc(b),h;if(g){var g=h=a.dirname(g),i=g.match(/^(.+\/)seajs\/[\d\.]+\/$/);i&&(g=i[1]),f.base=g}f.main=b.getAttribute("data-main")||"",f.timeout=2e4,h&&(d.location.search.indexOf("seajs-debug")!==-1||document.cookie.indexOf("seajs=1")!==-1)&&(f.debug=!0,f.preload.push(h+"plugin-map")),c.config=function(b){for(var c in b){var d=f[c],g=b[c];if(d&&c==="alias")for(var h in g)g.hasOwnProperty(h)&&(e(d[h],g[h]),d[h]=g[h]);else d&&(c==="map"||c==="preload")?(a.isArray(g)||(g=[g]),a.forEach(g,function(a){a&&d.push(a)})):f[c]=g}b=f.base,b.indexOf("://")===-1&&(f.base=a.id2Uri(b+"#"));return this}}(a._util,a._data,a._fn,this),function(a,b,c){var d=b.config;c.use=function(a,b){var e=d.preload,h=e.length;h?c.load(e,function(){d.preload=e.slice(h),c.use(a,b)}):c.load(a,b)},(b=d.main)&&c.use([b]),function(b){if(b){for(var d={0:"config",1:"use",2:"define"},e=0;e<b.length;e+=2)c[d[b[e]]].apply(a,b[e+1]);delete a._seajs}}((a._seajs||0).args)}(a,a._data,a._fn),function(a,b,c,d){if(a._seajs)d.seajs=a._seajs;else{a.config=c.config,a.use=c.use;var e=d.define;d.define=c.define,a.noConflict=function(b){d.seajs=a._seajs,b&&(d.define=e,a.define=c.define);return a},b.config.debug||(delete a._util,delete a._data,delete a._fn,delete a._seajs)}}(a,a._data,a._fn,this)}).apply(_seajsHost);var Clicki=_seajsHost.seajs.noConflict(!0);delete _seajsHost;var _Clicki=new clicki;for(var n in _Clicki)Clicki[n]=_Clicki[n];Clicki.appUse=function(a,b,c){Clicki.use("app/app_"+a+"/"+b,c)},Clicki.define("~/Cookie",null,function(require,exports){var a=function(a){var b=new Date,c=arguments,d=c.length;if(d>1){var e=c[2]||0,f=c[3]||"/",g=c[4]||0,h=c[5]||0;e&&b.setTime(b.getTime()+e*1e3),document.cookie=a+"="+escape(c[1])+(e?"; expires="+b.toGMTString():"")+("; path="+f)+(g?"; domain="+g:"")+(h?"; secure":"");return c[1]}var i=document.cookie.match("(?:^|;)\\s*"+a+"=([^;]*)");return i?unescape(i[1]):0};exports.get=function(b){return a(b)},exports.set=function(b,c,d,e,f,g){return a(b,c,d,e,f,g)}}),Clicki.define("~/Json",null,function(require,exports){function h(a,b){var e,i,j,k,l=c,m,n=b[a];n&&typeof n=="object"&&typeof n.toJSON=="function"&&Object.prototype.toString.apply(n)!=="[object Array]"&&(n=n.toJSON(a)),typeof f=="function"&&(n=f.call(b,a,n));switch(typeof n){case"string":return g(n);case"number":return isFinite(n)?String(n):"null";case"boolean":case"null":return String(n);case"object":if(!n)return"null";c+=d,m=[];if(typeof n.length=="number"&&!n.propertyIsEnumerable("length")){k=n.length;for(e=0;e<k;e+=1)m[e]=h(e,n)||"null";j=m.length===0?"[]":c?"[\n"+c+m.join(",\n"+c)+"\n"+l+"]":"["+m.join(",")+"]",c=l;return j}if(typeof f=="object"){k=f.length;for(e=0;e<k;e+=1)i=f[e],typeof i=="string"&&(j=h(i,n,f),j&&m.push(g(i)+(c?": ":":")+j))}else for(i in n)j=h(i,n,f),j&&m.push(g(i)+(c?": ":":")+j);j=m.length===0?"{}":c?"{\n"+c+m.join(",\n"+c)+"\n"+l+"}":"{"+m.join(",")+"}",c=l;return j}}function g(a){return b.test(a)?'"'+a.replace(b,function(a){var b=e[a];if(typeof b=="string")return b;b=a.charCodeAt();return"\\u00"+Math.floor(b/16).toString(16)+(b%16).toString(16)})+'"':'"'+a+'"'}function a(a){return a<10?"0"+a:a}var b=/["\\\x00-\x1f\x7f-\x9f]/g,c,d,e={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},f;return{stringify:function(a,b,e){var g;c="",d="";if(e)if(typeof e=="number")for(g=0;g<e;g+=1)d+=" ";else typeof e=="string"&&(d=e);if(!b)f=function(a,b){if(!Object.hasOwnProperty.call(this,a))return undefined;return b};else if(typeof b=="function"||typeof b=="object"&&typeof b.length=="number")f=b;else throw new Error("JSON.stringify");return h("",{"":a})},quote:g}}),Clicki.define("~/Visitor",null,function(require,exports){var a=require("~/Cookie"),b=new Date,c=0,d=a.get("__c_visitor"),e="";d||(d=CLICKI_CF.visitor_id,c=1),exports.id=d,exports.is_new=c}),Clicki.define("~/Referer",null,function(require,exports){exports.url=document.referrer}),Clicki.define("~/Page",null,function(require,exports){var a=CLICKI_CF.time,b=(new Date).getTime(),c=a>0?b-a:0,d=location.href.replace(/#$/,"");return{url:d,domain:document.domain,title:document.title,data:{url:d,domain:document.domain,title:encodeURIComponent(document.title),content_height:window.document.body.scrollHeight||window.document.body.offsetHeight,server_time:a,loadtime:c}}}),Clicki.define("~/CustomTrack",null,function(require,exports){var a=function(){var a=window._ClickiT;window._ClickiT=[];if(Clicki.IS_HEATMAP||!a||!a.length)return[];return a};return{getCustomTrackData:a}}),Clicki.define("~/ActionTrack",null,function(require,exports){var a={clicks:1,inputs:2,innner_clickis:3,outer_clickis:4,inactive_period:5},b={},c=/^(http:\/\/|https:\/\/|ftp:\/\/)/i,d=/^javascript:/i,e=[],f=(new Date).getTime(),g=f,h=0,i=function(a,c){c=c||1,b[a]===undefined&&(b[a]=0),b[a]+=c},j=function(a){var b=(new Date).getTime();b-f>3e4&&(h+=b-g,g-f<3e4&&(h+=g-f)),a&&(f=b),g=b},k=function(){j();var a=h;h=0;return a};Clicki.bindEvent(window.document,"click",function(b){j(!0),b=b||window.event;var f=b.srcElement?b.srcElement:b.target,g=(f.tagName||f.nodeName||"").toUpperCase();i(a.clicks);if(g==="A"&&f.href)if(c.test(f.href)){var h=f.href.indexOf(window.location.host);h>-1&&h<=8?i(a.innner_clickis):i(a.outer_clickis)}else d.test(f.href)||i(a.innner_clickis);var k,l;Clicki.browser.msie?(l=Math.max(document.documentElement.scrollTop,document.body.scrollTop),k=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),k=b.clientX+k,l=b.clientY+l):(k=b.pageX,l=b.pageY);var m=window.innerWidth||document.documentElement.clientWidth||document.body.offsetWidth;e.push([k,l,m])}),Clicki.bindEvent(window.document,"keyup",function(b){j(!0),b=b||window.event,i(a.inputs)}),Clicki.bindEvent(window.document,"mousemove",function(a){j(!0)});var l=function(){var c=b,d=[],f=k();b={};if(Clicki.IS_HEATMAP){delete c;return d}var g;for(var h in c)g={id:h,f:c[h]},h==a.clicks&&(g.c=e,e=[]),d.push(g);delete c,f>0&&d.push({id:a.inactive_period,f:Math.round(f/1e3)});return d};return{getActionTrackData:l}}),Clicki.define("~/Session",null,function(require,exports){var a=require("~/Visitor"),b=require("~/Cookie"),c=require("~/Page"),d=require("~/Referer"),e=require("~/Client"),f=b.get("__c_session"),g=0,h=0,i=b.get("__c_pv"),j=b.get("__c_review"),k=b.get("__c_today"),l=new Date,m=l.getTime(),n=CLICKI_CF.time,o=0,p=b.get("__c_last");f||(f=CLICKI_CF.millisecond);var q=86400-l.getHours()*3600-l.getMinutes()*60-l.getSeconds();i++,k||o++,i==1&&(k++,j++),a.is_new&&(j=0),b.set("__c_pv",i),b.set("__c_session",f),b.set("__c_today",k,q,"/"),b.set("__c_review",j,36e7,"/"),b.set("__c_last",n,36e7,"/"),b.set("__c_visitor",a.id,36e7,"/");return{site_id:Clicki.site_id,session_id:f,flow_id:i,visitor:a,referer:d,page:c.data,client:e}}),Clicki.define("~/Client",null,function(require,exports){return{agent:navigator.userAgent,screen:{width:screen.width,height:screen.height}}}),Clicki.define("~/Observer",null,function(require,exports){var a=require("~/Json"),b=require("~/CustomTrack"),c=require("~/ActionTrack"),d,e=function(){d=require("~/Session")},f=function(e){d.type=e,d.customs=b.getCustomTrackData(),d.actions=c.getActionTrackData(),e!==0&&(delete d.referer,delete d.page,delete d.client,delete d.visitor);var f=a.stringify(d),g=encodeURIComponent(f),h=Clicki.host+"refer/track.php?data="+g,i=document.getElementById("_clicki_track__");if(!i){i=document.createElement("img"),i.id="_clicki_track__",i.src=h,i.width=0,i.height=0,i.border=0,i.style.overflow="hidden",i.style.display="block";var j=document.getElementsByTagName("body")[0];j.appendChild(i)}else i.src=h},g={_t:null,start:function(){g._t=setInterval(f,3e4,2)},stop:function(){clearInterval(g._t)}};return{track:f,init:function(){e(),f(0),g.start(),Clicki.bindEvent(window,"beforeunload",function(){f(1)})}}}),Clicki.define("~/AppEngine",null,function(require,exports){function e(){if(!!Clicki.is_logined){if(window.location.hash.indexOf("#/clicki/heatmap")<0)return;Clicki.IS_HEATMAP=!0,d("heatmap")}}function d(a){if(!!a){var b={name:a};b.APP_PATH=Clicki.host+"widget/system_widget/"+b.name,b.RES_PATH=b.APP_PATH+"/res",require.async(b.APP_PATH+"/main",function(a){return function(b){b&&b.init(a)}}(b))}}function c(a){var b=document.getElementById("clicki_widget_"+a.id)||document.getElementById("clicki_group_"+a.group_id);if(b){var a=a;a.available=1,a.APP_PATH=a.APP_PATH||Clicki.host+"widget/apps/app_"+a.app_id,a.RES_PATH=a.APP_PATH+"/res",Clicki.use(a.APP_PATH+"/main",function(a,b){return function(c){c&&c.init(a,b)}}(a,b.id))}}function b(){for(var b in a)c(a[b])}var a=Clicki.registry.widgets;return{init:function(){e(),b()},loadApp:c}}),Clicki.init(),window.Clicki?window.Clicki.expand(window.Clicki,Clicki):window.Clicki=Clicki})()
