function I18N(b){this.setBundleRessource(b);}I18N.prototype={ get:function(k){var m=this.br[k];if(typeof(m)=="undefined"||m===null){ return "";}if(typeof(m)!="string"){return m;}for(var i=1,l=arguments.length;i<l;++i){m=m.replace(new RegExp("\x5C{"+(i-1)+"\x5C}","g"),arguments[i]);} m=m.replace(I18N.R[0],"");return m;},     setBundleRessource:function( b, e){if(!b){b=[];}if(e&&this.brDef){ for(var l in this.brDef){if(typeof(l)!="string"||typeof(this.brDef[l])!="object"||!b[l]){continue;}for(var r in this.brDef[l]){if(typeof(r)!="string"||typeof(this.brDef[l][r])!="string"||typeof(b[l][r])!="undefined"){continue;}b[l][r]=this.brDef[l][r];}}} this.brDef=b; this.br=b[I18N.getLang()];if(!this.br){  this.br=b[I18N.defLang];}if(!this.br){  for(var i in b){this.br=b[i];break;}}if(!this.br){  this.br=[];}}}; I18N.defLang="fr_FR"; I18N.lang=null;I18N.getLang=function(){var s=I18N,l=I18N.lang;if(!l){ l=document.getElementsByTagName("html")[0].lang;if(!l){ l=navigator.language;} if(!l){l=navigator.browserLanguage;}I18N.lang=l=l.replace(I18N.R[1],"_").split("_")[0];}return l;}; I18N.R=[(/{\d+}/g),(/\W/g)]; I18N.setup=function( o, f, e){if(!o){return;}if(!o.i18nDef){o.i18nDef={};}if(o.i18n&&!f){ return;}if(!o.i18n||e){o.i18n=new I18N(o.i18nDef);}else{o.i18n.setBundleRessource(o.i18nDef,e);}if(o.i18nSetup){o.i18nSetup(f);}};
function UiInit( context){this.context=context;this.uiDef={};}UiInit.prototype={ register:function( uiDef){jQuery.extend(this.uiDef,uiDef);}, run:function( context,aUiInit){if(!context){context=this.context||document;}var s=this;if(aUiInit){s.uiDef=aUiInit;} for(var selector in s.uiDef){var _Elem=jQuery(selector,context);if(!_Elem.get(0))continue;for(var i=0;i<_Elem.length;i++){if(!_Elem[i])continue;if(s.uiDef[selector](_Elem[i],_Elem)===false)break;}}s.uiDef=null;}, getUrl:function(){return window.location.href.split('//')[1].split('/')[0];},getPagePath:function(){ var e=document;if(!e._pagePath){ var M=e.getElementsByTagName("meta");for(var i=0,m;(m=M[i]);++i){if(m.httpEquiv=="Page-Path"||m.name=="Page-Path"){e._pagePath=m.content;break;}}}return e._pagePath;},getSite:function(){ var e=document;if(!e._site){ var M=e.getElementsByTagName("meta");for(var i=0,m;(m=M[i]);++i){if(m.httpEquiv=="Page-Site"||m.name=="Page-Site"){e._site=m.content;break;}}}return e._site;},getCountry:function(){ var e=document;if(!e._country){ var M=e.getElementsByTagName("meta");for(var i=0,m;(m=M[i]);++i){if(m.httpEquiv=="country"||m.name=="country"){e._country=m.content;break;}}if(typeof(e._country)=='undefined'){M=e.getElementsByTagName("html")[0];if(M.getAttribute("lang")){e._country=M.getAttribute("lang");}}}return e._country;},getAgency:function(){ var e=document;if(!e._agency){ var M=e.getElementsByTagName("meta");for(var i=0,m;(m=M[i]);++i){if(m.httpEquiv=="agency"||m.name=="agency"){e._agency=m.content;break;}}}return e._agency;}, detectIE:function(){var userAgent=navigator.userAgent.toLowerCase();if(userAgent.indexOf('msie')!=-1){return true;}}};var uiInit=new UiInit(document);jQuery(document).ready(function(){uiInit.run();});
var _Navigator=navigator;var _NavName=_Navigator.userAgent.toLowerCase(); var major=parseInt(_Navigator.appVersion,10);var minor=parseFloat(_Navigator.appVersion);jQuery.extend(jQuery,{checkBrowser:function(aPattern,aBrowser,aIsBrowser){var _Pattern=new RegExp(aPattern,'i');var _Browser=aBrowser||_NavName;switch(aIsBrowser){default:return _Pattern.test(_Browser);break;}}});var browserList={hotjava:jQuery.checkBrowser("hotjava"),hotjava3:jQuery.checkBrowser("hotjava")&&major==3,hotjava3up:jQuery.checkBrowser("hotjava")&&major>=3,gecko:jQuery.checkBrowser('gecko'),mac:jQuery.checkBrowser('mac'),chrome:jQuery.checkBrowser('chrome'),safari:jQuery.checkBrowser('safari'), webtv:jQuery.checkBrowser('webtv'),TVNavigator:jQuery.checkBrowser('navio')||jQuery.checkBrowser('navio_aoltv'),AOLTV:jQuery.checkBrowser('navio')||jQuery.checkBrowser('navio_aoltv'),ie:jQuery.browser.msie,ie8:jQuery.browser.msie&&jQuery.checkBrowser("msie 8"),ie7:jQuery.browser.msie&&jQuery.checkBrowser("msie 7"),ie6:jQuery.browser.msie&&jQuery.checkBrowser("msie 6"),ie8:jQuery.browser.msie&&jQuery.checkBrowser("msie 8"),opera:jQuery.browser.opera,opera2:jQuery.checkBrowser("opera 2")||jQuery.checkBrowser("opera/2"),opera3:jQuery.checkBrowser("opera 3")||jQuery.checkBrowser("opera/3"),opera4:jQuery.checkBrowser("opera 4")||jQuery.checkBrowser("opera/4"),opera5:jQuery.checkBrowser("opera 5")||jQuery.checkBrowser("opera/5"),opera5up:jQuery.browser.version>5&&jQuery.browser.opera,ff2:jQuery.browser.mozilla&&jQuery.browser.version.substr(0,3)=="1.8",ff3:jQuery.browser.mozilla&&jQuery.browser.version.substr(0,3)=="1.9",nav:jQuery.browser.mozilla&&!jQuery.browser.opera&&!jQuery.checkBrowser("hotjava")&&!jQuery.checkBrowser('webtv')&&!jQuery.checkBrowser("spoofer")&&!jQuery.checkBrowser("compatible")};for(var key in browserList){eval('jQuery.extend(jQuery.browser, { '+key+':'+browserList[key]+' })');};var is=jQuery.browser;
var header={STATIC:{ isWebkit:function(){var userAgent=navigator.userAgent.toLowerCase();if(/webkit/.test(userAgent)){return true;}else{return false;}},headerCurrentTimer:null,headerTabFocusAndClick:false,headerRemoveFocusListener:function(){var select=jQuery(".tab .tab-link");var link=jQuery(".tab .sub-menu a");select.unbind("focus",header.STATIC.headerFocusTab);select.unbind("blur",header.STATIC.headerBlurTab);link.unbind("focus",header.STATIC.headerFocusTabLink);link.unbind("blur",header.STATIC.headerBlurTabLink);},headerToggleTab:function(){window.clearTimeout(header.STATIC.headerCurrentTimer);var jQuerycurrentTab=jQuery(this).parent('li');if(header.STATIC.isWebkit){header.STATIC.headerRemoveFocusListener;jQuery(this).focus();header.STATIC.headerAddFocusListener;}if(jQuerycurrentTab.hasClass("show-sub-menu")){if(header.STATIC.headerTabFocusAndClick){jQuerycurrentTab.removeClass("show-sub-menu");}}else{jQuery(".tab").removeClass("show-sub-menu");jQuerycurrentTab.addClass("show-sub-menu");}header.STATIC.headerTabFocusAndClick=true;},headerFocusTab:function(){window.clearTimeout(header.STATIC.headerCurrentTimer);var jQuerycurrentTab=jQuery(this).parent('li');jQuery(".tab").removeClass("show-sub-menu");jQuerycurrentTab.addClass("show-sub-menu");header.STATIC.headerTabFocusAndClick=false;},headerBlurTab:function(){var jQuerycurrentTab=jQuery(this).parent('li');window.clearTimeout(header.STATIC.headerCurrentTimer);header.STATIC.headerCurrentTimer=window.setTimeout(function(){jQuerycurrentTab.removeClass("show-sub-menu");},300);header.STATIC.headerTabFocusAndClick=false;},headerFocusTabLink:function(){window.clearTimeout(header.STATIC.headerCurrentTimer);header.STATIC.headerTabFocusAndClick=true;},headerBlurTabLink:function(){window.clearTimeout(header.STATIC.headerCurrentTimer);header.STATIC.headerCurrentTimer=window.setTimeout(function(){jQuery(".tab").removeClass("show-sub-menu");},300);}},uiDef:{ "#header":function(o){var select=jQuery(".tab .tab-link");var link=jQuery(".tab .sub-menu a");select.bind("click",header.STATIC.headerToggleTab);select.bind("click",function(){var jQuerycurrentTab=jQuery(this).parent('li');if(jQuery('ul',jQuerycurrentTab).length>0){return false;}});select.bind("focus",header.STATIC.headerFocusTab);select.bind("blur",header.STATIC.headerBlurTab);link.bind("focus",header.STATIC.headerFocusTabLink);link.bind("blur",header.STATIC.headerBlurTabLink);},"#menu a":function(o){if(is.ie6){jQuery(o).hover(function(){jQuery(this).parent("li").addClass("hover");},function(){jQuery(this).parent("li").removeClass("hover");});}},"#nav-access a":function(o){if(is.ie6){jQuery(o).bind("focus",function(event){jQuery(this).addClass("show");event.stopPropagation();});jQuery(o).bind("blur",function(event){jQuery(this).removeClass("show");event.stopPropagation();});}},"#menu-customer #li-kis a":function(o){new PopupOpener(o,{width:500,height:300,resizable:true,scrollbars:true,top:50,left:100});}}};uiInit.register(header.uiDef);
try{if(typeof(jQuery)=='undefined'&&window.parent!=null&&typeof(window.parent.jQuery)!='undefined'){jQuery=window.parent.jQuery;}if(typeof(gFramework)=='undefined'){var gFramework={};if(typeof(uiInit)!='undefined'){gFramework=uiInit;}else if(opener!=null&&typeof(opener)!='undefined'){jQuery=opener.jQuery;gFramework=opener.uiInit||opener.uiBuilder;}else if(typeof(uiBuilder)!='undefined'){gFramework=uiBuilder;}}}catch(_ex){alert('No framework initialized');}
if(!Array.prototype.push){Array.prototype.push=function(){var l=this.length;for(var i=0;i<arguments.length;++i){this[l+i]=arguments[i];}return this.length;};}if(!Array.prototype.pop){Array.prototype.pop=function(){if(this.length===0){return null;}var t=this[this.length-1];--this.length;return t;};}
var StylesheetPatcher={patch:function(aPage){if(!aPage){aPage=[];jQuery('link[rel=\x22stylesheet\x22]').each(function(aIndex,aDomObj){aPage[aIndex]=jQuery(aDomObj).attr('href');});}if(!aPage.push){aPage=[aPage];}var s=null,t=null,R=/\.css|.aspx/i,a="";if(is.opera&&is.mac){s="_operaMac";t=s;}else if(is.opera){s="_opera";t=s;}else if(is.chrome){s="_chrome";t=s;}else if(jQuery.browser.safari){s="_safari";t=s;}else if(is.ie7){s="_ie7";t=s;}else if(is.ie8){s="_ie7";t=s;}else if(is.ie6){s="_ie6";t=s;}else if(is.gecko&&is.mac){s="_geckoMac";t=s;}else if(is.ff2){s="_firefox2";t=s;}var array=new Array();var ind=0;for(var i=0,len=aPage.length;i<len;++i){var e=aPage[i];if(StylesheetPatcher.patched[e]||is.ie&&StylesheetPatcher.R.exec(e)){ continue;}var reg=new RegExp("_script","g");if(!reg.test(e)){if(this.isSupportAdvancedUi()){a+='\x3Clink href=\x22'+e.replace(R,"_script.css")+'\x22 rel=\x22stylesheet\x22 type=\x22text/css\x22 /\x3E';}if(t&&this.isSupportAdvancedUi()&&!is.chrome&&!is.ff2&&!is.opera&&!(is.opera&&is.mac)){a+='\x3Clink href=\x22'+e.replace(R,"_script"+t+".css")+'\x22 rel=\x22stylesheet\x22 type=\x22text/css\x22 /\x3E';}}  if(s&&!is.ie&&!is.chrome&&!is.ff2&&!is.opera&&!(is.opera&&is.mac)){a+='\x3Clink href=\x22'+e.replace(R,s+".css")+'\x22 rel=\x22stylesheet\x22 type=\x22text/css\x22 /\x3E';}}document.write(a); var p_styleSheetPatcher={uiDef:{"body":function(o){if(s!==null){jQuery(o).addClass("vsc_"+s.substr(1));}}}};gFramework.register(p_styleSheetPatcher.uiDef);},patchAll:function(){ var l=document.getElementsByTagName("link");var p=[];for(var i=0,len=l.length;i<len;++i){p.push(l.href);}StylesheetPatcher.patch(p);},isSupportAdvancedUi:function(){return!is.ie||!is.mac;},patched:[], R:/_ie\d+\.css/};
function labelisor(o,settings){var _Self=this;_Self.settings=settings||{};var input=_Self.settings.input;var label=_Self.settings.label;if(!jQuery('#'+label).get(0)||!jQuery('#'+input).get(0)){return;}var champ=jQuery('#'+input); var defaultValue=jQuery('#'+label).html();if(champ.val()&&(champ.val()!=defaultValue)){jQuery('#'+label).addClass("norequired");return;} jQuery('#'+label).html('');champ.val(defaultValue);champ.focus(function(){if(champ.val()===defaultValue){champ.val("");}});champ.blur(function(){if(champ.val()===""){champ.val(defaultValue);}});}
StylesheetPatcher.patch=function(p){if(!p){p=[];var o=document.getElementsByTagName("link");for(var j=0;j<o.length;++j){if(o[j].rel=="stylesheet"){  var cssPath=o[j].href;var lastSlash=cssPath.lastIndexOf("/")+1;var cssName=cssPath.substring(lastSlash);if(!cssName.match("header_footer.css")){continue;}}else{ continue;}p.push(o[j].href);}}if(!p.push){p=[p];}var s=null,t=null,R=/\.css|.aspx/i,a="";if(is.opera&&is.mac){s="_operaMac";t=s;}else if(is.safari){s="_safari";t=s;}else if(is.ie7){s="_ie7";t=s;}else if(is.ie8){s="_ie7";t=s;}else if(is.ie6){s="_ie6";t=s;}else if(is.gecko&&is.mac){s="_geckoMac";t=s;}for(var i=0;i<p.length;++i){var e=p[i];var reg=new RegExp("_script","g");if(StylesheetPatcher.patched[e]||is.ie&&StylesheetPatcher.R.exec(e)){ continue;}if(!reg.test(e)){if(this.isSupportAdvancedUi()){a+='\x3Clink href=\x22'+e.replace(R,"_script.css")+'\x22 rel=\x22stylesheet\x22 type=\x22text/css\x22 /\x3E';} if(s&&!is.ie&&!is.chrome&&!is.ff2&&!is.opera&&!(is.opera&&is.mac)){a+='\x3Clink href=\x22'+p[i].replace(R,s+".css")+'\x22 rel=\x22stylesheet\x22 type=\x22text/css\x22 /\x3E';}if(t&&this.isSupportAdvancedUi()&&!is.chrome&&!is.ff2&&!is.opera&&!(is.opera&&is.mac)){a+='\x3Clink href=\x22'+p[i].replace(R,"_script"+t+".css")+'\x22 rel=\x22stylesheet\x22 type=\x22text/css\x22 /\x3E';}}}document.write(a);};StylesheetPatcher.patch();

