function isValidEmail(a){var b=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;return b.test(a)}function isN(a){return typeof a==="number"}function isS(a){return typeof a==="string"}function isF(a){return typeof a==="function"}function isO(a){return typeof a=="object"}function Delegate(){}function xGetCurrentScroll(){var a=document.documentElement.scrollLeft;window.scrollX>0&&(a=window.scrollX),a||(a=0);return a}function yGetCurrentScroll(){var a=document.documentElement.scrollTop;window.scrollY>0&&(a=window.scrollY),a||(a=0);return a}function scrollWindow(a,b,c){c==!0?scWb>0?(window.scroll(a+scLX,b+scLY),scWb=0):(scWb=1,scLX=a,scLY=b):window.scroll(a,b)}function xScroll(a,b,c,d,e,f){var g=new Tween(new Object,"xyz",d,b,c,e);a=="x"?g.onMotionChanged=function(a){scrollWindow(a.target._pos,0,f)}:g.onMotionChanged=function(a){scrollWindow(0,a.target._pos,f)},g.onMotionStarted=function(){},g.onMotionFinished=function(){this.isActive=!1,scrollDone()},g.onMotionStopped=function(){this.isActive=!1,scrollDone()},g.start(),g.isActive=!0;return g}function scrollDone(){}function xEraseCookie(a){xSetCookie(a,"",0)}function xGetCookie(a){var b="\n",c=document.cookie,d=c.split(";"),e=d.length,f,g="",h=0;for(h=0;h<e&&g=="";h++)f=d[h].split("="),f[0].substring(0,1)==" "&&(f[0]=f[0].substring(1,f[0].length)),f[0]==a&&(g=f[1]);g==""&&(g=null);if(g==null)return g;if(g.indexOf("!")!=-1){var i=g.split("!");return i}}function xSetCookie(a,b,c){var d=new Date,e=new Date(d.getTime()+c*24*60*60*1e3);document.cookie=a+"="+b+"; expires="+e.toGMTString()}function xCheckIfCookieEnable(){var a=navigator.cookieEnabled?!0:!1;navigator.cookieEnabled=="undefined"&&navigator.cookieEnabled==!1&&(xSetCookie("xHKTCook","xSet",1),a=document.cookie=="xHKTCook"?!0:!1,xEraseCookie("xHKTCook"));return a}function xCenterWindow(a,b){xWinLeft=(screen.width-a)/2,xWinTop=(screen.height-b)/2,window.moveTo(xWinLeft,xWinTop)}function xResizeWindow(a,b){var c=navigator.appName=="Netscape"?!0:!1;xCurrentWidth=c?window.innerWidth:document.body.clientWidth,xCurrentHeight=c?window.innerHeight:document.body.clientHeight,self.resizeBy(a-xCurrentWidth,b-xCurrentHeight),self.focus()}function xPopup(a,b,c,d,e,f,g){var h,i;e!=null?h=e:h=(screen.width-b)/2,f!=null?i=f:i=(screen.height-c)/2,xSettings="width="+b+",height="+c+",top="+i+",left="+h+","+g+"",xWin=window.open(a,d,xSettings);if(xWin!=null||xWin!=undefined)xWin.xParent=self,parseInt(navigator.appVersion)>=4&&xWin.window.focus()}function xExecuteArray(_a){var _l=_a.length-1;if(_l!=-1)for(var i=0;i<=_l;i++){var _s=_a[i],_l0=_s.indexOf("["),_l1=_s.indexOf("]");_l0!=-1&&_l1!=-1?eval(_s.substring(_l0+1,_l1)):eval(_s)}}function xClassOut(a){typeof a=="string"&&(a=document.getElementById(a));if(!a||a==null)a=xGetObject(a);if(!a||a==null)return!1;a.className=a.xOldClassName;return!0}function xClassOver(a){typeof a=="string"&&(a=document.getElementById(a));if(!a||a==null)a=xGetObject(a);if(!a||a==null)return!1;var b=a.className;if(b.indexOf("_o")==-1){a.xOldClassName=b,a.className=b+"_o";return!0}}function xMouseOut(a){if(typeof a=="string"){a=document.images[a],a||(a=xGetObject(a));if(!a||a==null)return!1}if(a.src.indexOf("_a.")!=-1)return!1;a.oSrc&&(a.src=a.oSrc);return!0}function xMouseOver(a){if(typeof a=="string"){a=document.images[a],a||(a=xGetObject(a));if(!a||a==null)return!1}if(a.src.indexOf("_o.")!=-1)return!1;if(a.src.indexOf("_a.")!=-1)return!1;var b=getFileName(a.src);a.oSrc=b.xFilePath+b.xFileName+"."+b.xFileType,a.src=b.xFilePath+b.xFileName+"_o."+b.xFileType;return!0}function getFileName(a){var b=[],c=!1,d=!1;for(i=a.length;i>0;i--)if(a.charAt(i)=="."&&d==!1){d=!0;var e=i+1}else if(a.charAt(i)=="/"&&c==!1){c=!0;var f=i+1}b.xFileType=a.substr(e,a.length),b.xFileName=a.substring(f,e-1),b.xFilePath=a.substring(0,f);return b}function xGetImgName(a){return a.substr(a.lastIndexOf("/")+1,a.length-1)}function xImgTrimExtention(a,b){return a.substring(0,a.indexOf(b))}function xGetImgExtention(a){return a.substr(a.lastIndexOf("."),a.length-1)}function xGetImgRollOverImg(a){var b=xGetImgExtention(a),c=xImgTrimExtention(a,b);return c+"_o"+b}function xInitImgPreload(){var a=xRegisteredImages;for(var b=0;b<=a.length-1;b++){var c=a[b];typeof c=="string"&&(c=xGetObject(c)),MM_preloadImages(xGetImgRollOverImg(c.src))}}function xRegImg(a){xRegisteredImages.xPush(a)}function xPandInit(){}function xPand(a,b){typeof a=="string"?(xTargetName=a,xIcon=xGetTarget(xTargetName+"_i"),a=xGetTarget(a)):(xRef=a,xTargetName=xRef.id,xIcon=xGetTarget(xTargetName+"_i"),a=xGetTarget(xTargetName+"_c"));if(b&&typeof a=="object")switch(b){case 0:a.style.display="none",a.xOpened=0;break;case 1:a.style.display="block",a.xOpened=1}else a.xOpened&&typeof a=="object"?a.xOpened==1?(a.style.display="none",a.xOpened=0):(a.style.display="block",a.xOpened=1):typeof a=="object"&&(a.style.display="block",a.xOpened=1,xIcon&&(xIcon.oSrc=xIcon.src));xIcon&&typeof a=="object"&&(xIcon.oSrc||(xIcon.oSrc=xIcon.src),a.xOpened==1?(xSep=xIcon.oSrc.indexOf(".jpg"),xSep<0&&(xSep=xIcon.oSrc.indexOf(".gif")),xSep>0&&(xIcon.src=xIcon.oSrc.substr(0,xSep)+"_a"+xIcon.oSrc.substr(xSep,xIcon.oSrc.length))):xIcon.src=xIcon.oSrc)}function xGetNameBySep(a){return a.substr(0,a.indexOf("_"))}function xGetNumBySep(a){return a.substr(a.indexOf("_")+1,a.length-1)}function xGetNumByName(a,b){var c=new RegExp("^"+b,"i"),d=a.replace(c,"");return d}function xSetSize(a,b,c){typeof _o!="object"&&(a=xGetObject(a)),b!=null&&(document.layers?a.width=b:a.style.width=b+"px"),c!=null&&(document.layers?a.height=c:a.style.height=c+"px")}function xSetDisplay(a,b){document.layers?a.display=b:a.style.display=b}function xSetVisibility(a,b){document.layers?a.visibility=b:a.style.visibility=b}function xSetPosition(a,b,c){document.layers?a.left=b:a.style.left=b+"px",document.layers?a.top=c:a.style.top=c+"px"}function scrollTo(a,b,c,d){var e=xGetCurrentScroll(),f=yGetCurrentScroll();scTX.stop(),scTY.stop();var g=!1;a!=e&&b!=f&&(g=!0),a!=e&&(scTX=xScroll("x",e,a,c,d,g)),b!=f&&(scTY=xScroll("y",f,b,c,d,g))}function xGetPosition(a,b){var c;b=="offsetLeft"&&(document.layers?c=a.pageX:c=a.offsetLeft),b=="offsetTop"&&(document.layers?c=xTargetpageY:c=a.offsetTop);return c}function xGetTarget(a){var b;document.all&&document.getElementById&&(b=document.all[a]),document.layers&&(b=document.layers[a]),document.addEventListener&&(b=document.getElementById(a));return b}function xFindObject(a,b){var c,d,e;b||(b=document),(c=a.indexOf("@"))>0&&parent.frames.length&&(b=parent.frames[a.substring(c+1)].document,a=a.substring(0,c)),!(e=b[a])&&b.all&&(e=b.all[a]);for(d=0;!e&&d<b.forms.length;d++)e=b.forms[d][a];for(d=0;!e&&b.layers&&d<b.layers.length;d++)e=xFindObject(a,b.layers[d].document);!e&&b.getElementById&&(e=b.getElementById(a));return e}function xGetObject(a){return typeof a!="object"?xFindObject(String(a)):a}function showImage(a,b){b||(b=top.document.title),tb_show(b,a+"?width")}function playVideo(a,b,c){c||(c=xLg),showFrame("/medias/player.aspx?file=/videos/"+a+"&langue="+c,b,610,469),stopVideo_frame()}function stopVideo_frame(){var a=xGetObject("ifVideos"),b=a.contentDocument;a.contentWindow&&(b=a.contentWindow),xFDiv=b.xGetObject("content"),xSetDisplay(xFDiv,"none");var c=xGetObject("playBtn");c.style.display="block"}function showFrame(a,b,c,d){var e="?";a.indexOf("?")>0&&(e="&"),tb_show(b,a+e+"s=1&TB_iframe=true&width="+c+"&height="+d+"&modal=false&scrolling=no")}function showMedia(a,b,c,d){c||(c=450),d||(d=340),b||(b=""),tb_show(b,"/medias/player.aspx?file="+a+"&TB_iframe=true&width="+c+"&height="+d+"&modal=false&scrolling=no")}function hidePlayBtn(){var a=xGetObject("playBtn");a.style.display="none"}function playVideo_frame(a,b,c){langue=xLg,b||(b=640),c||(c=480);var d=xGetObject("ifVideos"),e=d.contentDocument;d.contentWindow&&(e=d.contentWindow),e.location="/medias/player.aspx?file=/videos/"+a+"&width="+b+"&height="+c+"&langue="+langue,hidePlayBtn()}function goSectionDone(){}function goSplash(){showNewsItem("99"),goSection("nouvelles")}function hideSplash(){goSection("portfolio")}function goSection(a){var b=yGetCurrentScroll();if(a=="top")scrollTo(0,0,Tween.strongEaseOut,1);else{var c=xGetObject("a_"+a),d=c.offsetTop;window.scrollY||(d-=30),b>50?scrollTo(0,d,Tween.strongEaseInOut,1):scrollTo(0,d,Tween.strongEaseInOut,1.5)}currentSection=a,scrollDone=goSectionDone}function xShowSection(a,b,c){aSections[b]||(aSections[b]=1);if(aSections[b]!=c){var d=xGetObject(a+c);d&&xSetDisplay(d,"block");var e=xGetObject("sMenu_"+b+"_"+c);e&&(e.className="item_a");var f=aSections[b],g=xGetObject(a+f);g&&xSetDisplay(g,"none");var h=xGetObject("sMenu_"+b+"_"+f);h&&(h.className="item"),aSections[b]=c}}function showSection(a,b){xShowSection("s_"+a+"_",a,b)}function showSection_static(a,b,c){var d=sectionClientPath+a+"_section_Panel";xShowSection(d,b,c)}function closeNewsItem(){showNewsItem(null)}function showNewsItem(a){if(currentNewsItem!=null){var b=xGetObject("news_"+currentNewsItem+"_data");xSetDisplay(b,"none")}if(a!=null){var c=xGetObject("news_"+a+"_data");xSetDisplay(c,"block")}currentNewsItem=a}function keyPressed(a){if(a.type=="keypress")switch(a.keyCode){case 37:break;case 38:break;case 39:break;case 40:}}function xLoaded(){currentSection!=""&&goSection(currentSection),stopVideo_frame()}var require,define;(function(){function getInteractiveScript(){var a,b,c;if(interactiveScript&&interactiveScript.readyState==="interactive")return interactiveScript;a=document.getElementsByTagName("script");for(b=a.length-1;b>-1&&(c=a[b]);b--)if(c.readyState==="interactive")return interactiveScript=c;return null}function newContext(contextName){function loadPaused(a){a.prefix&&a.name.indexOf("__$p")===0&&defined[a.prefix]&&(a=makeModuleMap(a.originalName,a.parentMap));var b=a.prefix,c=a.fullName;!specified[c]&&!loaded[c]&&(specified[c]=!0,b?defined[b]?callPlugin(b,a):(pluginsQueue[b]||(pluginsQueue[b]=[],(managerCallbacks[b]||(managerCallbacks[b]=[])).push({onDep:function(a,c){if(a===b){var d,e,f=pluginsQueue[b];for(d=0;d<f.length;d++)e=f[d],callPlugin(b,makeModuleMap(e.originalName,e.parentMap));delete pluginsQueue[b]}}})),pluginsQueue[b].push(a)):req.load(context,c,a.url))}function callPlugin(pluginName,dep){var name=dep.name,fullName=dep.fullName,load;fullName in defined||fullName in loaded||(plugins[pluginName]||(plugins[pluginName]=defined[pluginName]),loaded[fullName]||(loaded[fullName]=!1),load=function(a){require.onPluginLoad&&require.onPluginLoad(context,pluginName,name,a),execManager({prefix:dep.prefix,name:dep.name,fullName:dep.fullName,callback:function(){return a}}),loaded[fullName]=!0},load.fromText=function(moduleName,text){var hasInteractive=useInteractive;context.loaded[moduleName]=!1,context.scriptCount+=1,hasInteractive&&(useInteractive=!1),eval(text),hasInteractive&&(useInteractive=!0),context.completeLoad(moduleName)},plugins[pluginName].load(name,makeRequire(dep.parentMap,!0),load,config))}function checkLoaded(){var a=config.waitSeconds*1e3,b=a&&context.startTime+a<(new Date).getTime(),c="",d=!1,e=!1,f,g,h;if(context.pausedCount>0)return undefined;if(config.priorityWait)if(isPriorityDone())resume();else return undefined;for(f in loaded)if(!(f in empty)){d=!0;if(!loaded[f])if(b)c+=f+" ";else{e=!0;break}}if(!d&&!context.waitCount)return undefined;if(b&&c){g=new Error("require.js load timeout for modules: "+c),g.requireType="timeout",g.requireModules=c;return req.onError(g)}if(e||context.scriptCount){(isBrowser||isWebWorker)&&setTimeout(checkLoaded,50);return undefined}if(context.waitCount){for(i=0;h=waitAry[i];i++)forceExec(h,{});checkLoaded();return undefined}req.checkReadyState();return undefined}function forceExec(a,b){if(a.isDone)return undefined;var c=a.fullName,d=a.depArray,e,f;if(c){if(b[c])return defined[c];b[c]=!0}for(f=0;f<d.length;f++)e=d[f],e&&(!a.deps[e]&&waiting[e]&&a.onDep(e,forceExec(waiting[e],b)));return c?defined[c]:undefined}function jQueryCheck(a){if(!context.jQuery){var b=a||(typeof jQuery!=="undefined"?jQuery:null);b&&"readyWait"in b&&(context.jQuery=b,callDefMain(["jquery",[],function(){return jQuery}]),context.scriptCount&&(b.readyWait+=1,context.jQueryIncremented=!0))}}function callDefMain(a){main.apply(null,a),loaded[a[0]]=!0}function main(a,b,c,d){var e=makeModuleMap(a,d),f=e.name,g=e.fullName,h={},i={waitId:f||reqWaitIdPrefix+waitIdCounter++,depCount:0,depMax:0,prefix:e.prefix,name:f,fullName:g,deps:{},depArray:b,callback:c,onDep:function(a,b){a in i.deps||(i.deps[a]=b,i.depCount+=1,i.depCount===i.depMax&&execManager(i))}},j,k,l,m;if(g){if(g in defined||loaded[g]===!0)return;specified[g]=!0,loaded[g]=!0,context.jQueryDef=g==="jquery"}for(j=0;j<b.length;j++)k=b[j],k&&(k=makeModuleMap(k,f?e:d),l=k.fullName,b[j]=l,l==="require"?i.deps[l]=makeRequire(e):l==="exports"?(i.deps[l]=defined[g]={},i.usingExports=!0):l==="module"?(i.cjsModule=m=i.deps[l]={id:f,uri:f?context.nameToUrl(f,null,d):undefined},m.setExports=makeSetExports(m)):l in defined&&!(l in waiting)?i.deps[l]=defined[l]:h[l]||(i.depMax+=1,queueDependency(k),(managerCallbacks[l]||(managerCallbacks[l]=[])).push(i),h[l]=!0));i.depCount===i.depMax?execManager(i):(waiting[i.waitId]=i,waitAry.push(i),context.waitCount+=1)}function execManager(a){var b,c,d,e=a.callback,f=a.fullName,g=[],h=a.depArray;if(e&&isFunction(e)){if(h)for(b=0;b<h.length;b++)g.push(a.deps[h[b]]);c=req.execCb(f,a.callback,g);if(f)if(!a.usingExports||c!==undefined||a.cjsModule&&"exports"in a.cjsModule)if(a.cjsModule&&"exports"in a.cjsModule)c=defined[f]=a.cjsModule.exports;else{if(f in defined&&!a.usingExports)return req.onError(new Error(f+" has already been defined"));defined[f]=c}else c=defined[f]}else f&&(c=defined[f]=e);if(f){d=managerCallbacks[f];if(d){for(b=0;b<d.length;b++)d[b].onDep(f,c);delete managerCallbacks[f]}}waiting[a.waitId]&&(delete waiting[a.waitId],a.isDone=!0,context.waitCount-=1,context.waitCount===0&&(waitAry=[]));return undefined}function queueDependency(a){var b=a.prefix,c=a.fullName;specified[c]||c in defined||(b&&!plugins[b]&&(plugins[b]=undefined,(normalizedWaiting[b]||(normalizedWaiting[b]=[])).push(a),(managerCallbacks[b]||(managerCallbacks[b]=[])).push({onDep:function(a,c){a===b&&updateNormalizedNames(b)}}),queueDependency(makeModuleMap(b))),context.paused.push(a))}function updateNormalizedNames(a){var b,c,d,e,f,g,h,i,j,k,l=normalizedWaiting[a];if(l)for(g=0;c=l[g];g++){b=c.fullName,d=makeModuleMap(c.originalName,c.parentMap),e=d.fullName,f=managerCallbacks[b]||[],k=managerCallbacks[e];if(e!==b){b in specified&&(delete specified[b],specified[e]=!0),k?managerCallbacks[e]=k.concat(f):managerCallbacks[e]=f,delete managerCallbacks[b];for(h=0;h<f.length;h++){j=f[h].depArray;for(i=0;i<j.length;i++)j[i]===b&&(j[i]=e)}}}delete normalizedWaiting[a]}function makeRequire(a,b){var c=makeContextModuleFunc(context.require,a,b);mixin(c,{nameToUrl:makeContextModuleFunc(context.nameToUrl,a),toUrl:makeContextModuleFunc(context.toUrl,a),isDefined:makeContextModuleFunc(context.isDefined,a),ready:req.ready,isBrowser:req.isBrowser}),req.paths&&(c.paths=req.paths);return c}function makeContextModuleFunc(a,b,c){return function(){var d=[].concat(aps.call(arguments,0)),e;c&&isFunction(e=d[d.length-1])&&(e.__requireJsBuild=!0),d.push(b);return a.apply(null,d)}}function makeSetExports(a){return function(b){a.exports=b}}function isPriorityDone(){var a=!0,b=config.priorityWait,c,d;if(b){for(d=0;c=b[d];d++)if(!loaded[c]){a=!1;break}a&&delete config.priorityWait}return a}function makeModuleMap(a,b){var c=a?a.indexOf("!"):-1,d=null,e=b?b.name:null,f=a,g,h,i;c!==-1&&(d=a.substring(0,c),a=a.substring(c+1,a.length)),d&&(d=normalize(d,e)),a&&(d?(i=defined[d],i?i.normalize?g=i.normalize(a,function(a){return normalize(a,e)}):g=normalize(a,e):g="__$p"+e+"@"+a):g=normalize(a,e),h=urlMap[g],h||(req.toModuleUrl?h=req.toModuleUrl(context,a,b):h=context.nameToUrl(a,null,b),urlMap[g]=h));return{prefix:d,name:g,parentMap:b,url:h,originalName:f,fullName:d?d+"!"+g:g}}function normalize(a,b){var c,d;a.charAt(0)==="."&&(b&&(config.pkgs[b]?b=[b]:(b=b.split("/"),b=b.slice(0,b.length-1)),a=b.concat(a.split("/")),trimDots(a),d=config.pkgs[c=a[0]],a=a.join("/"),d&&a===c+"/"+d.main&&(a=c)));return a}function trimDots(a){var b,c;for(b=0;c=a[b];b++)if(c===".")a.splice(b,1),b-=1;else if(c==="..")if(b!==1||a[2]!==".."&&a[0]!=="..")b>0&&(a.splice(b-1,2),b-=2);else break}var context,resume,config={waitSeconds:7,baseUrl:s.baseUrl||"./",paths:{},pkgs:{}},defQueue=[],specified={require:!0,exports:!0,module:!0},urlMap={},defined={},loaded={},waiting={},waitAry=[],waitIdCounter=0,managerCallbacks={},plugins={},pluginsQueue={},resumeDepth=0,normalizedWaiting={};resume=function(){var a,b,c;resumeDepth+=1,context.scriptCount<=0&&(context.scriptCount=0);while(defQueue.length){a=defQueue.shift();if(a[0]===null)return req.onError(new Error("Mismatched anonymous require.def modules"));callDefMain(a)}if(!config.priorityWait||isPriorityDone())while(context.paused.length){c=context.paused,context.pausedCount+=c.length,context.paused=[];for(b=0;a=c[b];b++)loadPaused(a);context.startTime=(new Date).getTime(),context.pausedCount-=c.length}resumeDepth===1&&checkLoaded(),resumeDepth-=1;return undefined},context={contextName:contextName,config:config,defQueue:defQueue,waiting:waiting,waitCount:0,specified:specified,loaded:loaded,urlMap:urlMap,scriptCount:0,urlFetched:{},defined:defined,paused:[],pausedCount:0,plugins:plugins,managerCallbacks:managerCallbacks,makeModuleMap:makeModuleMap,normalize:normalize,configure:function(a){var b,c,d,e,f,g;a.baseUrl&&(a.baseUrl.charAt(a.baseUrl.length-1)!=="/"&&(a.baseUrl+="/")),b=config.paths,d=config.packages,e=config.pkgs,mixin(config,a,!0);if(a.paths){for(c in a.paths)c in empty||(b[c]=a.paths[c]);config.paths=b}f=a.packagePaths;if(f||a.packages){if(f)for(c in f)c in empty||configurePackageDir(e,f[c],c);a.packages&&configurePackageDir(e,a.packages),config.pkgs=e}a.priority&&(g=context.requireWait,context.requireWait=!1,context.takeGlobalQueue(),resume(),context.require(a.priority),resume(),context.requireWait=g,config.priorityWait=a.priority),(a.deps||a.callback)&&context.require(a.deps||[],a.callback),a.ready&&req.ready(a.ready)},isDefined:function(a,b){return makeModuleMap(a,b).fullName in defined},require:function(a,b,c){var d,e,f;if(typeof a==="string"){if(req.get)return req.get(context,a,b);d=a,c=b,f=makeModuleMap(d,c),e=defined[f.fullName];if(e===undefined)return req.onError(new Error("require: module name '"+f.fullName+"' has not been loaded yet for context: "+contextName));return e}main(null,a,b,c);if(!context.requireWait)while(!context.scriptCount&&context.paused.length)resume();return undefined},takeGlobalQueue:function(){globalDefQueue.length&&(apsp.apply(context.defQueue,[context.defQueue.length-1,0].concat(globalDefQueue)),globalDefQueue=[])},completeLoad:function(a){var b;context.takeGlobalQueue();while(defQueue.length){b=defQueue.shift();if(b[0]===null){b[0]=a;break}if(b[0]===a)break;callDefMain(b),b=null}b?callDefMain(b):callDefMain([a,[],a==="jquery"&&typeof jQuery!=="undefined"?function(){return jQuery}:null]),loaded[a]=!0,jQueryCheck(),req.isAsync&&(context.scriptCount-=1),resume(),req.isAsync||(context.scriptCount-=1)},toUrl:function(a,b){var c=a.lastIndexOf("."),d=null;c!==-1&&(d=a.substring(c,a.length),a=a.substring(0,c));return context.nameToUrl(a,d,b)},nameToUrl:function(a,b,c){var d,e,f,g,h,i,j,k,l=context.config;if(a.indexOf("./")===0||a.indexOf("../")===0)h=c&&c.url?c.url.split("/"):[],h.length&&h.pop(),h=h.concat(a.split("/")),trimDots(h),k=h.join("/")+(b?b:req.jsExtRegExp.test(a)?"":".js");else{a=normalize(a,c);if(req.jsExtRegExp.test(a))k=a+(b?b:"");else{d=l.paths,e=l.pkgs,h=a.split("/");for(i=h.length;i>0;i--){j=h.slice(0,i).join("/");if(d[j]){h.splice(0,i,d[j]);break}if(f=e[j]){a===f.name?g=f.location+"/"+f.main:g=f.location+"/"+f.lib,h.splice(0,i,g);break}}k=h.join("/")+(b||".js"),k=(k.charAt(0)==="/"||k.match(/^\w+:/)?"":l.baseUrl)+k}}return l.urlArgs?k+((k.indexOf("?")===-1?"?":"&")+l.urlArgs):k}},context.jQueryCheck=jQueryCheck,context.resume=resume;return context}function configurePackageDir(a,b,c){var d,e,f;for(d=0;f=b[d];d++)f=typeof f==="string"?{name:f}:f,e=f.location,c&&(!e||e.indexOf("/")!==0&&e.indexOf(":")===-1)&&(e=c+"/"+(e||f.name)),a[f.name]={name:f.name,location:e||f.name,lib:f.lib||"lib",main:(f.main||"lib/main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}}function mixin(a,b,c){for(var d in b)!(d in empty)&&(!(d in a)||c)&&(a[d]=b[d]);return req}function isArray(a){return ostring.call(a)==="[object Array]"}function isFunction(a){return ostring.call(a)==="[object Function]"}var version="0.24.0",commentRegExp=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,cjsRequireRegExp=/require\(["']([^'"\s]+)["']\)/g,currDirRegExp=/^\.\//,jsSuffixRegExp=/\.js$/,ostring=Object.prototype.toString,ap=Array.prototype,aps=ap.slice,apsp=ap.splice,isBrowser=typeof window!=="undefined"&&navigator&&document,isWebWorker=!isBrowser&&typeof importScripts!=="undefined",readyRegExp=isBrowser&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera=typeof opera!=="undefined"&&opera.toString()==="[object Opera]",reqWaitIdPrefix="_r@@",empty={},contexts={},globalDefQueue=[],interactiveScript=null,isDone=!1,useInteractive=!1,req,cfg={},currentlyAddingScript,s,head,baseElement,scripts,script,src,subPath,mainScript,dataMain,i,scrollIntervalId,setReadyState,ctx;if(typeof require!=="undefined"){if(isFunction(require))return;cfg=require}req=require=function(a,b){var c=defContextName,d,e;!isArray(a)&&typeof a!=="string"&&(e=a,isArray(b)?(a=b,b=arguments[2]):a=[]),e&&e.context&&(c=e.context),d=contexts[c]||(contexts[c]=newContext(c)),e&&d.configure(e);return d.require(a,b)},req.version=version,req.isArray=isArray,req.isFunction=isFunction,req.mixin=mixin,req.jsExtRegExp=/^\/|:|\?|\.js$/,s=req.s={contexts:contexts,skipAsync:{},isPageLoaded:!isBrowser,readyCalls:[]},req.isAsync=req.isBrowser=isBrowser,isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],baseElement=document.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode)),req.onError=function(a){throw a},req.load=function(a,b,c){var d=a.contextName,e=a.urlFetched,f=a.loaded;isDone=!1,f[b]||(f[b]=!1),e[c]||(a.scriptCount+=1,req.attach(c,d,b),e[c]=!0,a.jQuery&&!a.jQueryIncremented&&(a.jQuery.readyWait+=1,a.jQueryIncremented=!0))},define=req.def=function(a,b,c){var d,e;typeof a!=="string"&&(c=b,b=a,a=null),req.isArray(b)||(c=b,b=[]),!a&&!b.length&&req.isFunction(c)&&(c.length&&(c.toString().replace(commentRegExp,"").replace(cjsRequireRegExp,function(a,c){b.push(c)}),b=["require","exports","module"].concat(b)));if(useInteractive){d=currentlyAddingScript||getInteractiveScript();if(!d)return req.onError(new Error("ERROR: No matching script interactive for "+c));a||(a=d.getAttribute("data-requiremodule")),e=contexts[d.getAttribute("data-requirecontext")]}(e?e.defQueue:globalDefQueue).push([a,b,c]);return undefined},define.amd={multiversion:!0,plugins:!0},req.execCb=function(a,b,c){return b.apply(null,c)},req.onScriptLoad=function(a){var b=a.currentTarget||a.srcElement,c,d,e;if(a.type==="load"||readyRegExp.test(b.readyState))interactiveScript=null,c=b.getAttribute("data-requirecontext"),d=b.getAttribute("data-requiremodule"),e=contexts[c],contexts[c].completeLoad(d),b.detachEvent&&!isOpera?b.detachEvent("onreadystatechange",req.onScriptLoad):b.removeEventListener("load",req.onScriptLoad,!1)},req.attach=function(a,b,c,d,e){var f,g,h;if(isBrowser){d=d||req.onScriptLoad,f=document.createElement("script"),f.type=e||"text/javascript",f.charset="utf-8",f.async=!s.skipAsync[a],f.setAttribute("data-requirecontext",b),f.setAttribute("data-requiremodule",c),f.attachEvent&&!isOpera?(useInteractive=!0,f.attachEvent("onreadystatechange",d)):f.addEventListener("load",d,!1),f.src=a,currentlyAddingScript=f,baseElement?head.insertBefore(f,baseElement):head.appendChild(f),currentlyAddingScript=null;return f}isWebWorker&&(h=contexts[b],g=h.loaded,g[c]=!1,importScripts(a),h.completeLoad(c));return null};if(isBrowser){scripts=document.getElementsByTagName("script");for(i=scripts.length-1;i>-1&&(script=scripts[i]);i--){head||(head=script.parentNode);if(dataMain=script.getAttribute("data-main")){cfg.baseUrl||(src=dataMain.split("/"),mainScript=src.pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath,dataMain=mainScript.replace(jsSuffixRegExp,"")),cfg.deps=cfg.deps?cfg.deps.concat(dataMain):[dataMain];break}}}s.baseUrl=cfg.baseUrl,req.pageLoaded=function(){s.isPageLoaded||(s.isPageLoaded=!0,scrollIntervalId&&clearInterval(scrollIntervalId),setReadyState&&(document.readyState="complete"),req.callReady())},req.checkReadyState=function(){var a=s.contexts,b;for(b in a)if(!(b in empty))if(a[b].waitCount)return;s.isDone=!0,req.callReady()},req.callReady=function(){var a=s.readyCalls,b,c,d,e,f;if(s.isPageLoaded&&s.isDone){if(a.length){s.readyCalls=[];for(b=0;c=a[b];b++)c()}d=s.contexts;for(f in d)f in empty||(e=d[f],e.jQueryIncremented&&(e.jQuery.ready(!0),e.jQueryIncremented=!1))}},req.ready=function(a){s.isPageLoaded&&s.isDone?a():s.readyCalls.push(a);return req},isBrowser&&(document.addEventListener?(document.addEventListener("DOMContentLoaded",req.pageLoaded,!1),window.addEventListener("load",req.pageLoaded,!1),document.readyState||(setReadyState=!0,document.readyState="loading")):window.attachEvent&&(window.attachEvent("onload",req.pageLoaded),self===self.top&&(scrollIntervalId=setInterval(function(){try{document.body&&(document.documentElement.doScroll("left"),req.pageLoaded())}catch(a){}},30))),document.readyState==="complete"&&req.pageLoaded()),req(cfg),req.isAsync&&typeof setTimeout!=="undefined"&&(ctx=s.contexts[cfg.context||defContextName],ctx.requireWait=!0,setTimeout(function(){ctx.requireWait=!1,ctx.takeGlobalQueue(),ctx.jQueryCheck(),ctx.scriptCount||ctx.resume(),req.checkReadyState()},0))})(),jQuery.cookie=function(a,b,c){if(typeof b=="undefined"){var i=null;if(document.cookie&&document.cookie!=""){var j=document.cookie.split(";");for(var k=0;k<j.length;k++){var l=jQuery.trim(j[k]);if(l.substring(0,a.length+1)==a+"="){i=decodeURIComponent(l.substring(a.length+1));break}}}return i}c=c||{},b===null&&(b="",c.expires=-1);var d="";if(c.expires&&(typeof c.expires=="number"||c.expires.toUTCString)){var e;typeof c.expires=="number"?(e=new Date,e.setTime(e.getTime()+c.expires*24*60*60*1e3)):e=c.expires,d="; expires="+e.toUTCString()}var f=c.path?"; path="+c.path:"",g=c.domain?"; domain="+c.domain:"",h=c.secure?"; secure":"";document.cookie=[a,"=",encodeURIComponent(b),d,f,g,h].join("")},define("vendors/jquery/plugins/cookie/1.0/cookie",function(){}),function(a){function h(a){var c,d=a&&a.length;if(d===undefined)for(c in a)this.removeAttr(b+c);else for(c=0;c<d;c++)this.removeAttr(b+a[c]);return this}function g(a){if(typeof a=="string")return this.removeAttr(b+a);return h(a)}function f(a){for(var c in a)this.attr(b+c,a[c]);return this}function e(){return this.foldAttr(function(a,b,d){var e=c.exec(this.name);e&&(d[e[1]]=this.value)})}function d(a,c){if(c!==undefined)return this.attr(b+a,c);switch(typeof a){case"string":return this.attr(b+a);case"object":return f.call(this,a);case"undefined":return e.call(this);default:throw"dataset: invalid argument "+a}}var b="data-",c=/^data\-(.*)$/;a.fn.dataset=d,a.fn.removeDataset=h}(jQuery),function(a){function e(a,b){b===undefined&&(b=[]);return d(this,a,b)}function d(a,b,c){var d=a&&a.length;c===undefined&&(c={});if(!a)return c;if(d!==undefined)for(var e=0,f=a[e];e<d&&b.call(f,e,f,c)!==!1;f=a[++e]){}else for(var g in a)if(b.call(a[g],g,a[g],c)===!1)break;return c}function c(a,b){return d(this.length>0&&this[0].attributes,a,b)}function b(b){this.length>0&&a.each(this[0].attributes,b);return this}a.fn.eachAttr=b,a.fn.foldAttr=c,a.fn.fold=e,a.fold=d}(jQuery),define("vendors/jquery/plugins/dataset/0.1.0/dataset",function(){}),function(a){function e(c){function o(){g.id=setTimeout(function(){g.fn()},l)}function n(){c?f.removeData(c):k&&delete b[k]}var e=this,f,g={},h=c?a.fn:a,i=arguments,j=4,k=i[1],l=i[2],m=i[3];typeof k!=="string"&&(j--,k=c=0,l=i[1],m=i[2]),c?(f=e.eq(0),f.data(c,g=f.data(c)||{})):k&&(g=b[k]||(b[k]={})),g.id&&clearTimeout(g.id),delete g.id;if(m)g.fn=function(a){typeof m==="string"&&(m=h[m]),m.apply(e,d.call(i,j))===!0&&!a?o():n()},o();else{if(g.fn){l===undefined?n():g.fn(l===!1);return!0}n()}}var b={},c="doTimeout",d=Array.prototype.slice;a[c]=function(){return e.apply(window,[0].concat(d.call(arguments)))},a.fn[c]=function(){var a=d.call(arguments),b=e.apply(this,[c+a[0]].concat(a));return typeof a[0]==="number"||typeof a[1]==="number"?this:b}}(jQuery),define("vendors/jquery/plugins/dotimeout/1.0/dotimeout",function(){}),function(a){a.fn.popupWindow=function(b){return this.each(function(){a(this).click(function(){a.fn.popupWindow.defaultSettings={centerBrowser:0,centerScreen:0,height:500,left:0,location:0,menubar:0,resizable:0,scrollbars:0,status:0,width:500,windowName:null,windowURL:null,top:0,toolbar:0},settings=a.extend({},a.fn.popupWindow.defaultSettings,b||{});var c="height="+settings.height+",width="+settings.width+",toolbar="+settings.toolbar+",scrollbars="+settings.scrollbars+",status="+settings.status+",resizable="+settings.resizable+",location="+settings.location+",menuBar="+settings.menubar;settings.windowName=this.name||settings.windowName,settings.windowURL=this.href||settings.windowURL;var d,e;settings.centerBrowser?(a.browser.msie?(d=window.screenTop-120+((document.documentElement.clientHeight+120)/2-settings.height/2),e=window.screenLeft+((document.body.offsetWidth+20)/2-settings.width/2)):(d=window.screenY+(window.outerHeight/2-settings.height/2),e=window.screenX+(window.outerWidth/2-settings.width/2)),window.open(settings.windowURL,settings.windowName,c+",left="+e+",top="+d).focus()):settings.centerScreen?(d=(screen.height-settings.height)/2,e=(screen.width-settings.width)/2,window.open(settings.windowURL,settings.windowName,c+",left="+e+",top="+d).focus()):window.open(settings.windowURL,settings.windowName,c+",left="+settings.left+",top="+settings.top).focus();return!1})})}}(jQuery),define("vendors/jquery/plugins/popupwindow/popupwindow",function(){}),currentNewsItem=null,currentSection=null,define("vendors/hanchor/hanchorCustomn",function(){}),scTX=new Object,scTY=new Object,scTX.stop=function(){},scTY.stop=function(){};var xRegisteredImages=[];Array.prototype.xPush=function(a){this[this.length]=a},Array.prototype.xSearchInArray=function(a){var b=!1;for(var c=0;c<this.length;c++)this[c]==a&&(b=!0);return b},Array.prototype.xSplice=function(a){var b=[];for(var c=0;c<this.length;c++)this[c]!=a&&b.xPush(this[c]);return b};var xWin=null,scWb=0,scLX=0,scLY=0;define("vendors/hanchor/hanchorGeneric",function(){}),Delegate.create=function(a,b){var c=[],d=arguments.length;for(var e=2;e<d;e++)c[e-2]=arguments[e];return function(){var d=[].concat(arguments,c);b.apply(a,d)}},Tween=function(a,b,c,d,e,f,g){this.init(a,b,c,d,e,f,g)};var t=Tween.prototype;t.obj=new Object,t.prop="",t.func=function(a,b,c,d){return c*a/d+b},t.begin=0,t.change=0,t.prevTime=0,t.prevPos=0,t.looping=!1,t._duration=0,t._time=0,t._pos=0,t._position=0,t._startTime=0,t._finish=0,t.name="",t.suffixe="",t._listeners=[],t.setTime=function(a){this.prevTime=this._time,a>this.getDuration()?this.looping?(this.rewind(a-this._duration),this.update(),this.broadcastMessage("onMotionLooped",{target:this,type:"onMotionLooped"})):(this._time=this._duration,this.update(),this.stop(),this.broadcastMessage("onMotionFinished",{target:this,type:"onMotionFinished"})):a<0?(this.rewind(),this.update()):(this._time=a,this.update())},t.getTime=function(){return this._time},t.setDuration=function(a){this._duration=a==null||a<=0?1e5:a},t.getDuration=function(){return this._duration},t.setPosition=function(a){this.prevPos=this._pos;var b=this.suffixe!=""?this.suffixe:"";this.obj[this.prop]=Math.round(a)+b,this._pos=a,this.broadcastMessage("onMotionChanged",{target:this,type:"onMotionChanged"})},t.getPosition=function(a){a==undefined&&(a=this._time);return this.func(a,this.begin,this.change,this._duration)},t.setFinish=function(a){this.change=a-this.begin},t.geFinish=function(){return this.begin+this.change},t.init=function(a,b,c,d,e,f,g){arguments.length&&(this._listeners=[],this.addListener(this),g&&(this.suffixe=g),this.obj=a,this.prop=b,this.begin=d,this._pos=d,this.setDuration(f),c!=null&&c!=""&&(this.func=c),this.setFinish(e))},t.start=function(){this.rewind(),this.startEnterFrame(),this.broadcastMessage("onMotionStarted",{target:this,type:"onMotionStarted"})},t.rewind=function(a){this.stop(),this._time=a==undefined?0:a,this.fixTime(),this.update()},t.fforward=function(){this._time=this._duration,this.fixTime(),this.update()},t.update=function(){this.setPosition(this.getPosition(this._time))},t.startEnterFrame=function(){this.stopEnterFrame(),this.isPlaying=!0,this.onEnterFrame()},t.onEnterFrame=function(){this.isPlaying&&(this.nextFrame(),setTimeout(Delegate.create(this,this.onEnterFrame),0))},t.nextFrame=function(){this.setTime((this.getTimer()-this._startTime)/1e3)},t.stop=function(){this.stopEnterFrame(),this.broadcastMessage("onMotionStopped",{target:this,type:"onMotionStopped"})},t.stopEnterFrame=function(){this.isPlaying=!1},t.continueTo=function(a,b){this.begin=this._pos,this.setFinish(a),this._duration!=undefined&&this.setDuration(b),this.start()},t.resume=function(){this.fixTime(),this.startEnterFrame(),this.broadcastMessage("onMotionResumed",{target:this,type:"onMotionResumed"})},t.yoyo=function(){this.continueTo(this.begin,this._time)},t.addListener=function(a){this.removeListener(a);return this._listeners.push(a)},t.removeListener=function(a){var b=this._listeners,c=b.length;while(c--)if(b[c]==a){b.splice(c,1);return!0}return!1},t.broadcastMessage=function(){var a=[];for(var b=0;b<arguments.length;b++)a.push(arguments[b]);var c=a.shift(),d=this._listeners,e=d.length;for(var b=0;b<e;b++)d[b][c]&&d[b][c].apply(d[b],a)},t.fixTime=function(){this._startTime=this.getTimer()-this._time*1e3},t.getTimer=function(){return(new Date).getTime()-this._time},Tween.backEaseIn=function(a,b,c,d,e,f){if(g==undefined)var g=1.70158;return c*(a/=d)*a*((g+1)*a-g)+b},Tween.backEaseOut=function(a,b,c,d,e,f){if(g==undefined)var g=1.70158;return c*((a=a/d-1)*a*((g+1)*a+g)+1)+b},Tween.backEaseInOut=function(a,b,c,d,e,f){if(g==undefined)var g=1.70158;if((a/=d/2)<1)return c/2*(a*a*(((g*=1.525)+1)*a-g))+b;return c/2*((a-=2)*a*(((g*=1.525)+1)*a+g)+2)+b},Tween.elasticEaseIn=function(a,b,c,d,e,f){if(a==0)return b;if((a/=d)==1)return b+c;f||(f=d*.3);if(!e||e<Math.abs(c)){e=c;var g=f/4}else var g=f/(2*Math.PI)*Math.asin(c/e);return-(e*Math.pow(2,10*(a-=1))*Math.sin((a*d-g)*(2*Math.PI)/f))+b},Tween.elasticEaseOut=function(a,b,c,d,e,f){if(a==0)return b;if((a/=d)==1)return b+c;f||(f=d*.3);if(!e||e<Math.abs(c)){e=c;var g=f/4}else var g=f/(2*Math.PI)*Math.asin(c/e);return e*Math.pow(2,-10*a)*Math.sin((a*d-g)*(2*Math.PI)/f)+c+b},Tween.elasticEaseInOut=function(a,b,c,d,e,f){if(a==0)return b;if((a/=d/2)==2)return b+c;if(!f)var f=d*(.3*1.5);if(!e||e<Math.abs(c))var e=c,g=f/4;else var g=f/(2*Math.PI)*Math.asin(c/e);if(a<1)return-.5*(e*Math.pow(2,10*(a-=1))*Math.sin((a*d-g)*(2*Math.PI)/f))+b;return e*Math.pow(2,-10*(a-=1))*Math.sin((a*d-g)*(2*Math.PI)/f)*.5+c+b},Tween.bounceEaseOut=function(a,b,c,d){return(a/=d)<1/2.75?c*(7.5625*a*a)+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b},Tween.bounceEaseIn=function(a,b,c,d){return c-Tween.bounceEaseOut(d-a,0,c,d)+b},Tween.bounceEaseInOut=function(a,b,c,d){return a<d/2?Tween.bounceEaseIn(a*2,0,c,d)*.5+b:Tween.bounceEaseOut(a*2-d,0,c,d)*.5+c*.5+b},Tween.strongEaseInOut=function(a,b,c,d){return c*(a/=d)*a*a*a*a+b},Tween.regularEaseIn=function(a,b,c,d){return c*(a/=d)*a+b},Tween.regularEaseOut=function(a,b,c,d){return-c*(a/=d)*(a-2)+b},Tween.regularEaseInOut=function(a,b,c,d){if((a/=d/2)<1)return c/2*a*a+b;return-c/2*(--a*(a-2)-1)+b},Tween.strongEaseIn=function(a,b,c,d){return c*(a/=d)*a*a*a*a+b},Tween.strongEaseOut=function(a,b,c,d){return c*((a=a/d-1)*a*a*a*a+1)+b},Tween.strongEaseInOut=function(a,b,c,d){if((a/=d/2)<1)return c/2*a*a*a*a*a+b;return c/2*((a-=2)*a*a*a*a+2)+b},define("vendors/hanchor/hanchorTween",function(){}),function(){function f(a){var f=a.currentTarget||a.srcElement,g,h,i;if(a.type==="load"||b.test(f.readyState)){h=f.getAttribute("data-requiremodule"),d[h]=!0;for(g=0;i=c[g];g++)if(d[i.name])e(i.name,i.req,i.onLoad);else break;g>0&&c.splice(0,g),setTimeout(function(){f.parentNode.removeChild(f)},15)}}function e(a,b,c){b([a],function(a){c(function(){return a})})}var a=typeof document!=="undefined"&&typeof window!=="undefined"&&(document.createElement("script").async||window.opera&&Object.prototype.toString.call(window.opera)==="[object Opera]"||"MozAppearance"in document.documentElement.style),b=/^(complete|loaded)$/,c=[],d={};define("order",{version:"0.24.0",load:function(b,d,g,h){var i=d.nameToUrl(b,null);h.isBuild?e(b,d,g):(require.s.skipAsync[i]=!0,a?d([b],function(a){g(function(){return a})}):d.isDefined(b)?d([b],function(a){g(function(){return a})}):(c.push({name:b,req:d,onLoad:g}),require.attach(i,"",b,f,"script/cache")))}})}(),function(a,b){function c(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.ui=a.ui||{};a.ui.version||(a.extend(a.ui,{version:"@VERSION",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({_focus:a.fn.focus,focus:function(b,c){return typeof b==="number"?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&&c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css("zIndex",c);if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){f=parseInt(d.css("zIndex"),10);if(!isNaN(f)&&f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.each(["Width","Height"],function(c,d){function h(b,c,d,f){a.each(e,function(){c-=parseFloat(a.curCSS(b,"padding"+this,!0))||0,d&&(c-=parseFloat(a.curCSS(b,"border"+this+"Width",!0))||0),f&&(c-=parseFloat(a.curCSS(b,"margin"+this,!0))||0)});return c}var e=d==="Width"?["Left","Right"]:["Top","Bottom"],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+d]=function(c){if(c===b)return g["inner"+d].call(this);return this.each(function(){a(this).css(f,h(this,c)+"px")})},a.fn["outer"+d]=function(b,c){if(typeof b!=="number")return g["outer"+d].call(this,b);return this.each(function(){a(this).css(f,h(this,b,!0,c)+"px")})}}),a.extend(a.expr[":"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){var d=b.nodeName.toLowerCase(),e=a.attr(b,"tabindex");if("area"===d){var f=b.parentNode,g=f.name,h;if(!b.href||!g||f.nodeName.toLowerCase()!=="map")return!1;h=a("img[usemap=#"+g+"]")[0];return!!h&&c(h)}return(/input|select|textarea|button|object/.test(d)?!b.disabled:"a"==d?b.href||!isNaN(e):!isNaN(e))&&c(b)},tabbable:function(b){var c=a.attr(b,"tabindex");return(isNaN(c)||c>=0)&&a(b).is(":focusable")}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement("div"));a.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart="onselectstart"in c,b.removeChild(c).style.display="none"}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(d&&a.element[0].parentNode)for(var e=0;e<d.length;e++)a.options[d[e][0]]&&d[e][1].apply(a.element,c)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(b,c){if(a(b).css("overflow")==="hidden")return!1;var d=c&&c==="left"?"scrollLeft":"scrollTop",e=!1;if(b[d]>0)return!0;b[d]=1,e=b[d]>0,b[d]=0;return e},isOverAxis:function(a,b,c){return a>b&&a<b+c},isOver:function(b,c,d,e,f,g){return a.ui.isOverAxis(b,d,f)&&a.ui.isOverAxis(c,e,g)}}))}(jQuery),define("vendors/jquery-ui/1.8.9/jquery.ui.core",function(){}),require(["vendors/jquery/plugins/cookie/1.0/cookie","vendors/jquery/plugins/dataset/0.1.0/dataset","vendors/jquery/plugins/dotimeout/1.0/dotimeout","vendors/jquery/plugins/popupwindow/popupwindow","vendors/hanchor/hanchorCustomn","vendors/hanchor/hanchorGeneric","vendors/hanchor/hanchorTween","order!vendors/jquery-ui/1.8.9/jquery.ui.core"],function(){var a=function(){return{method:null,language:"fr",options:null,selectedServiceIndex:null,selectedServiceId:null,selectedRegionIndex:null,selectedRegionId:null,mapMarkers:[],init:function(){this.method=o.method,$(".extlink").attr("target","_blank");return this[o.method]()},home:function(){this.initSearch(),this.initSlideshow(),this.initCampaignMonitor()},products:function(){var a;if(a=window.location.hash)if(a==="#auto"){var b=$(".select_subsection").first().attr("rel");$(".col_sidebar li a").removeClass("current"),$(".select_subsection."+b).addClass("current"),$(".col_souspage").removeClass("current"),$(".col_souspage#"+b).addClass("current"),$(".col_form_submission").appendTo($(".productFormContainer.p"+o.autoID)),$(".col_form_submission").fadeIn(),b=="p12"?goSection("automobile"):goSection("car")}this.initSearch(),this.initOpenSubSection(),this.initSubmissionFormValidation(),this.initOpenSubmissionFormProduct(),$(".select_subsection").click(function(){if($(this).attr("rel")=="p12"||$(this).attr("rel")=="p13")$(".col_form_submission").fadeIn(),$(".col_form_submission").appendTo($(".productFormContainer.p"+o.autoID))}),o.selectedProductId==o.autoID&&($(".col_form_submission").fadeIn(),$(".col_form_submission").appendTo($(".productFormContainer.p"+o.autoID)))},brokers:function(){var a=this;this.initSearch(),this.initProductBulleExcerpt(),$.doTimeout(50,function(){if(typeof google!=="undefined"&&typeof google.maps!=="undefined"&&typeof google.maps.Map!=="undefined"&&typeof google.maps.LatLng!=="undefined"&&typeof google.maps.InfoWindow!=="undefined"&&typeof google.maps.LatLngBounds!=="undefined"&&typeof google.maps.Marker!=="undefined"&&typeof google.maps.MarkerImage!=="undefined"&&typeof google.maps.Size!=="undefined"&&typeof google.maps.Point!=="undefined"){typeof o.markers==="string"&&a.initMap();return!1}return!0})},search:function(){var a=this;this.initSearch(),$.doTimeout(50,function(){if(typeof google!=="undefined"&&typeof google.maps!=="undefined"&&typeof google.maps.Map!=="undefined"&&typeof google.maps.LatLng!=="undefined"&&typeof google.maps.InfoWindow!=="undefined"&&typeof google.maps.LatLngBounds!=="undefined"&&typeof google.maps.Marker!=="undefined"&&typeof google.maps.MarkerImage!=="undefined"&&typeof google.maps.Size!=="undefined"&&typeof google.maps.Point!=="undefined"){typeof o.markers==="string"&&a.initMap();return!1}return!0})},brokers_single:function(){this.initOpenProductExcerpt(),this.initOpenBranchesAddress(),this.initSubmissionFormValidation(),this.initOpenSubmissionFormBrokerSingle()},news:function(){this.initCampaignMonitor(),this.initOpenSocialsMedias(),this.initOpenBrokerCat()},whoarewe:function(){this.initOpenSendCvForm()},careers:function(){},careers_single:function(){},404:function(){},emergency:function(){},rss:function(){},sitemap:function(){},thankyou:function(){this.initRedirectSubmission()},landing:function(){this.initSubmissionFormValidation(),this.initClearInput()},initRedirectSubmission:function(){setTimeout(function(){var a=_gat._getTracker("UA-8313923-1");a._trackEvent("Outbound Links",o.axaFormUrl),window.location.href=o.axaFormUrl},9e3)},initSlideshow:function(){function g(){$(".block_slideshow ul li a").removeClass("current"),$(".block_slideshow ul li a#b"+a).addClass("current"),$(".block_slideshow img").fadeOut(500),$(".block_slideshow img#s"+a).fadeIn(500)}function f(){setTimeout(function(){c==!0&&(a++,a>b&&(a=1),g(),f())},d)}var a=1,b=$(".block_slideshow img").length,c=!0,d=8e3,e;b>1&&f(),$(".block_slideshow ul li a").click(function(){a!=$(this).html()&&(clearTimeout(e),a=$(this).html(),g(),c=!1,e=setTimeout(function(){c=!0,f()},d))})},initSearch:function(){var a=this,b=$(".productsCheckbox"),c=$(".searchButton");a.activateRegionListeners(),$.cookie("_assurancia_selectedProduct")==null&&$.cookie("_assurancia_selectedProduct",o.defaultProductId,{expires:365,path:"/"}),a.generateRegionsList(),b.each(function(d){isN(o.selectedProductId)&&o.selectedProductId==$(this).dataset("id")&&(a.selectedProductIndex=d),$(this).click(function(){b.removeClass("current"),isN(a.selectedProductIndex)&&$(b.get(a.selectedProductIndex)).removeClass("current"),a.selectedProductIndex=d,a.selectedProductId=$(this).dataset("id"),$(this).toggleClass("current"),a.generateRegionsList(),o.language=="fr"?$("a#regionSelected").text("Régions"):$("a#regionSelected").text("Regions"),$.cookie("_assurancia_selectedProduct",a.selectedProductId,{expires:365,path:"/"}),c.removeClass("disabled")})}),$("a.regionsTrigger").click(function(){$(".col_regions").hasClass("hidden")?($(".col_regions").removeClass("hidden"),$(".col_form_submission")&&$(".col_form_submission").is(":visible")&&($(".openSubmissionForm").removeClass("current"),$(".col_form_submission").fadeOut())):$(".col_regions").addClass("hidden")})},generateRegionsList:function(){var a=this,b=a.selectedProductId,c=$.cookie("_assurancia_selectedRegion");a.selectedProductId==undefined&&(b=$.cookie("_assurancia_selectedProduct"));if(typeof o.menuData[b]==="object"){var d=o.menuData[b],e="";for(var f in d)if(d[f].slug!=""){var g="";c===f&&(g=' class="current"'),e+="<li><a"+g+' data-slug="'+d[f].slug+'" data-id="'+f+'">'+d[f].label+"</a></li>"}else e+='<li class="disabled">'+d[f].label+"</li>";$(".col_regions").html("<ul>"+e+"</ul>"),a.activateRegionListeners()}},activateRegionListeners:function(){var a=this,b=$(".searchButton"),c=$(".regionsDropdown ul li a");c.each(function(d){isN(o.selectedRegionId)&&o.selectedRegionId==$(this).dataset("id")&&(a.selectedRegionIndex=d),$(this).attr("href","javascript:void(0);"),$(this).click(function(){c.removeClass("current"),isN(a.selectedRegionIndex)&&$(c.get(a.selectedRegionIndex)).removeClass("current"),a.selectedRegionIndex=d,a.selectedRegionId=$(this).dataset("id"),$(this).addClass("current"),$("a#regionSelected").text($(this).text()),$.cookie("_assurancia_selectedRegion",a.selectedRegionId,{expires:365,path:"/"}),b.removeClass("disabled"),b.attr("href",o.searchTarget+"-"+$(this).dataset("slug")+"/"),$(".col_regions").addClass("hidden")})})},initMap:function(){var a=this,b=$.parseJSON(o.markers),c={zoom:5,maxZoom:15,center:new google.maps.LatLng(45.9,-70.9),mapTypeId:google.maps.MapTypeId.ROADMAP,navigationControl:!0,scaleControl:!1,scrollwheel:!1,directions:!1,directionsResult:null,disableDoubleClickZoom:!1,streetViewControl:!1},d=new google.maps.InfoWindow,e=new google.maps.Map(document.getElementById("map"),c);for(var f=0;f<b.length;f++){var g=new google.maps.Marker({position:new google.maps.LatLng(b[f].lat,b[f].lng),map:e,icon:new google.maps.MarkerImage("/assets/images/map/"+b[f].id+".png",new google.maps.Size(34,41),new google.maps.Point(0,0),new google.maps.Point(16,39)),html:$("div#infowindow"+b[f].id).html()});google.maps.event.addListener(g,"click",function(){d.setContent(this.html),d.open(e,this)}),a.mapMarkers.push(g)}var h=new google.maps.LatLngBounds;$.each(a.mapMarkers,function(a,b){h.extend(b.position)}),e.fitBounds(h),$("a.showOnMap").live("click",function(b){b.preventDefault(),google.maps.event.trigger(a.mapMarkers[parseInt($(this).dataset("id"))-1],"click")})},initOpenSubSection:function(){$(".select_subsection").click(function(){$(".col_sidebar li a").removeClass("current"),$(".select_subsection."+$(this).attr("rel")).addClass("current"),$(".col_souspage").removeClass("current"),$(".col_souspage#"+$(this).attr("rel")).addClass("current")})},initOpenProductExcerpt:function(){$(".open_product_excerpt").mouseenter(function(){$(".col_product_excerpt").fadeOut(250),$(".col_product_excerpt#"+$(this).attr("rel")).fadeIn(250)}),$(".col_product_excerpt").mouseleave(function(){$(this).fadeOut(250)})},initOpenBranchesAddress:function(){$current_branches=$(".open_branches_address.current").attr("rel"),$(".open_branches_address").click(function(){$current_branches!=$(this).attr("rel")&&($(".col_address_single").hide(),$(".col_address_single#"+$(this).attr("rel")).fadeIn(250),$(".open_branches_address").removeClass("current"),$(this).addClass("current"),$current_branches=$(this).attr("rel"))})},initOpenBrokerCat:function(){$(".openBrokerCat").click(function(){$(this).removeClass("arrow_round_r"),$(".col_closed_broker").slideDown()})},initOpenSendCvForm:function(){$(".open_current_form").click(function(){$(".form_career").show(),$(".col_form_career").appendTo(".form_container."+$(this).attr("rel")),$(".col_form_career").show(),$('input[name="offername"]').val($(this).parent().find(".offername").html()),$('input[name="sendtoemail"]').val($(this).parent().find(".sendtoemail").html()),$(".block_arrow_spacer a").fadeIn(250),$(".col_careers_form").slideUp(250),$(this).fadeOut(250),$(".col_careers_form."+$(this).attr("rel")).slideDown(250),$("#career-error-empty").hide(),$("#career-error-email").hide(),$("#form-loader").hide(),$("#career-valid").hide(),$(":input",".form_career").not(":submit, :hidden").val("").removeAttr("checked").removeAttr("selected")});var a=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;$("form#formCareer input").focus(function(){$("#career-error-empty").slideUp(),$("#career-error-email").slideUp()}),$("input#submit_career").click(function(){$("#career-error-empty").slideUp(),$("#career-error-email").slideUp();if(!$('input[name="name"]').val()){$("#career-error-empty").slideDown();return!1}if(!$('input[name="firstname"]').val()){$("#career-error-empty").slideDown();return!1}if(!$('input[name="phone"]').val()){$("#career-error-empty").slideDown();return!1}if(!$('textarea[name="comments"]').val()){$("#career-error-empty").slideDown();return!1}if(!$('input[name="email"]').val()){$("#career-error-empty").slideDown();return!1}if(a.test($('input[name="email"]').val())==!1){$("#career-error-email").slideDown();return!1}$('input[name="verif"]').val("yes"),$("#form-loader").show(),$("form#formCareer").submit()})},initOpenSocialsMedias:function(){$(".open_twitter").popupWindow({height:550,width:420,top:50,left:50}),$(".open_linkedin").popupWindow({height:550,width:420,top:50,left:50})},initCampaignMonitor:function(){var a=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;$("#cm-email").focus(function(){$("#cm-error").slideUp()}),$("#cm-form-submit").click(function(){$("form#cm-form").submit(function(){return!1});if(a.test($("#cm-email").val())==!1){$("#cm-error").slideDown();return!1}jQuery.ajax({url:"/proxies/campaignmonitor.php",type:"POST",data:{email:$("#cm-email").val(),method:"ajax"},success:function(a){$("#cm-form").hide(),$("#cm-error").hide(),$("#cm-valid").slideDown()},error:function(a,b,c){},complete:function(){}})})},initSubmissionFormValidation:function(){var a=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,b=/^\D{1}\d{1}\D{1}\-?\s?\d{1}\D{1}\d{1}$/;$("form#formSubmission input").focus(function(){$("#submission-error-empty").slideUp(),$("#submission-error-email").slideUp(),$("#submission-error-postalcode").slideUp()}),$('input[name="quote_phone"]').bind("keydown",function(a){if(!jwerty.is("[0-9]/tab/backspace",a.originalEvent))return!1}),$('input[name="quote_postalcode"]').bind("keydown",function(a){if(!jwerty.is("shift+[A-Z]/[a-z]/[0-9]/tab/space/backspace",a.originalEvent))return!1}),$("input#submit_submission").click(function(){$("#submission-error-empty").slideUp(),$("#submission-error-email").slideUp();if(!$('input[name="quote_name"]').val()){$("#submission-error-empty").slideDown();return!1}if(!$('input[name="quote_firstname"]').val()){$("#submission-error-empty").slideDown();return!1}if(!$('input[name="quote_phone"]').val()){$("#submission-error-empty").slideDown();return!1}if(!$('input[name="quote_email"]').val()){$("#submission-error-empty").slideDown();return!1}if(a.test($('input[name="quote_email"]').val())==!1){$("#submission-error-email").slideDown();return!1}if(!$('input[name="quote_postalcode"]').val()){$("#submission-error-empty").slideDown();return!1}if(b.test($('input[name="quote_postalcode"]').val())==!1){$("#submission-error-postalcode").slideDown();return!1}$('input[name="quote_verif"]').val("submission"),$("#form-loader").show(),$("form#formSubmission").submit()})},initOpenSubmissionFormBrokerSingle:function(){$("a#closeSubmision").click(function(){$(".openSubmissionForm").removeClass("current"),$(".col_form_submission").fadeOut()}),$("a.productCheckbox").click(function(){$("a.open_product_excerpt").removeClass("orange"),$(this).parent().parent().find("a.open_product_excerpt").addClass("orange"),$("a.big_product").attr("class","openSubmissionForm big_product img i"+$(this).attr("rel")),$(".openSubmissionForm").removeClass("current"),$(".col_form_submission").hide(),$("input#current_product_id").val($(this).attr("rel"))}),$(".openSubmissionForm").click(function(){if($("input#current_product_id").val()==12||$("input#current_product_id").val()==13){location.href=o.axaFormUrl;return!1}$(this).hasClass("current")?($(".openSubmissionForm").removeClass("current"),$(".col_form_submission").fadeOut()):($(".openSubmissionForm").addClass("current"),$(".col_form_submission").fadeIn())})},initOpenSubmissionFormProduct:function(){$("a.openSubmissionForm").click(function(){$(".col_form_submission").appendTo($(".productFormContainer.p"+$(this).dataset("id"))),$("input#current_product_id").val($(this).dataset("id")),$(".col_regions").hasClass("hidden")===!1&&$(".col_regions").addClass("hidden"),$(this).hasClass("current")?($(".openSubmissionForm").removeClass("current"),$(".col_form_submission").fadeOut()):($(".openSubmissionForm").addClass("current"),$(".col_form_submission").fadeIn())}),$("a#closeSubmision").click(function(){$(".openSubmissionForm").removeClass("current"),$(".col_form_submission").fadeOut()}),$(".productsCheckbox").click(function(){$(".openSubmissionForm").removeClass("current"),$(this).dataset("id")!=o.autoID&&$(".col_form_submission").fadeOut()})},initClearInput:function(){$(".clearinput").each(function(){var a=this.value;$(this).focus(function(){this.value==a&&(this.value="")}),$(this).blur(function(){this.value==""&&(this.value=a)})})},initProductBulleExcerpt:function(){var a="",b="";$(".productsCheckbox").mouseenter(function(){$(".productBulleContainer").stop(!0,!0),$(".productBulleContainer").hide(),b=$(this).dataset("id"),a=$(".productBulleContainer.i"+b).height(),$(".productBulleContainer.i"+b).fadeIn("fast")}),$(".productsCheckbox").mouseleave(function(){$(".productBulleContainer").hide()}),$(document).mousemove(function(c){$(".productBulleContainer.i"+b).css("top",c.pageY-a-12),$(".productBulleContainer.i"+b).css("left",c.pageX-10)})}}};$CORE=new a,$CORE.init()}),function(a,b){function l(a){var b,c,d,e,f,g,k,m,n;if(a instanceof l)return a;h(a,"array")||(a=String(a).replace(/\s/g,"").toLowerCase().match(/(?:\+,|[^,])+/g));for(b=0,c=a.length;b<c;++b){h(a[b],"array")||(a[b]=String(a[b]).match(/(?:\+\/|[^\/])+/g)),g=[],d=a[b].length;while(d--){var k=a[b][d];f={jwertyCombo:String(k),shiftKey:!1,ctrlKey:!1,altKey:!1,metaKey:!1},h(k,"array")||(k=String(k).toLowerCase().match(/(?:(?:[^\+])+|\+\+|^\+$)/g)),e=k.length;while(e--)k[e]==="++"&&(k[e]="+"),k[e]in j.mods?f[i[j.mods[k[e]]]]=!0:k[e]in j.keys?f.keyCode=j.keys[k[e]]:m=k[e].match(/^\[([^-]+\-?[^-]*)-([^-]+\-?[^-]*)\]$/);if(h(f.keyCode,"undefined"))if(m&&m[1]in j.keys&&m[2]in j.keys){m[2]=j.keys[m[2]],m[1]=j.keys[m[1]];for(n=m[1];n<m[2];++n)g.push({altKey:f.altKey,shiftKey:f.shiftKey,metaKey:f.metaKey,ctrlKey:f.ctrlKey,keyCode:n,jwertyCombo:String(k)});f.keyCode=n}else f.keyCode=0;g.push(f)}this[b]=g}this.length=b;return this}function h(a,b){return a===null?b==="null":a===undefined?b==="undefined":a.is&&a instanceof d?b==="element":Object.prototype.toString.call(a).toLowerCase().indexOf(b)>7}var c=a.document,d=a.jQuery||a.Zepto||a.ender||c,e,f,g="keydown";d===c?(e=function(a,b){return a?d.querySelector(a,b||d):d},f=function(a,b){a.addEventListener(g,b,!1)},$f=function(a,b){var c=document.createEvent("Event"),e;c.initEvent(g,!0,!0);for(e in b)c[e]=b[e];return(a||d).dispatchEvent(c)}):(e=function(a,b,e){return d(a||c,b)},f=function(a,b){d(a).bind(g+".jwerty",b)},$f=function(a,b){d(a||c).trigger(d.Event(g,b))});var i={16:"shiftKey",17:"ctrlKey",18:"altKey",91:"metaKey"},j={mods:{"⇧":16,shift:16,"⌃":17,ctrl:17,"⌥":18,alt:18,option:18,"⌘":91,meta:91,cmd:91,"super":91,win:91},keys:{"⌫":8,backspace:8,"⇥":9,"⇆":9,tab:9,"↩":13,"return":13,enter:13,"⌅":13,pause:19,"pause-break":19,"⇪":20,caps:20,"caps-lock":20,"⎋":27,escape:27,esc:27,space:32,"↖":33,pgup:33,"page-up":33,"↘":34,pgdown:34,"page-down":34,"⇟":35,end:35,"⇞":36,home:36,ins:45,insert:45,del:45,"delete":45,"←":37,left:37,"arrow-left":37,"↑":38,up:38,"arrow-up":38,"→":39,right:39,"arrow-right":39,"↓":40,down:40,"arrow-down":40,"*":106,star:106,asterisk:106,multiply:106,"+":107,plus:107,"-":109,subtract:109,"=":187,equals:187,",":188,comma:188,".":190,period:190,"full-stop":190,"/":191,slash:191,"forward-slash":191,"`":192,tick:192,"back-quote":192,"[":219,"open-bracket":219,"\\":220,"back-slash":220,"]":221,"close-bracket":221,"'":222,quote:222,apostraphe:222}};k=95,n=0;while(++k<106)j.keys["num-"+n]=k,++n;k=47,n=0;while(++k<58)j.keys[n]=k,++n;k=111,n=1;while(++k<136)j.keys["f"+n]=k,++n;var k=64;while(++k<91)j.keys[String.fromCharCode(k).toLowerCase()]=k;var m=b.jwerty={event:function(a,b,c){if(h(b,"boolean")){var d=b;b=function(){return d}}a=new l(a);var e=0,f=a.length-1,g,i;return function(d){if(i=m.is(a,d,e)){if(e<f){++e;return}g=b.call(c||this,d,i),g===!1&&d.preventDefault(),e=0}else e=m.is(a,d)?1:0}},is:function(a,b,c){a=new l(a),c=c||0,a=a[c],b=b.originalEvent||b;var d,e=a.length,f=!1;while(e--){f=a[e].jwertyCombo;for(var g in a[e])g!=="jwertyCombo"&&b[g]!=a[e][g]&&(f=!1);if(f!==!1)return f}return f},key:function(b,c,d,g,i){var j=h(d,"element")||h(d,"string")?d:g,k=j===d?a:d,l=j===d?g:i;f(h(j,"element")?j:e(j,l),m.event(b,c,k))},fire:function(a,b,c,d){a=new l(a);var f=h(c,"number")?c:d;$f(h(b,"element")?b:e(b,c),a[f||0][0])},KEYS:j}}(this,typeof module!=="undefined"&&module.exports?module.exports:this),define("core",function(){})
