
var currentUrl=String(window.location),searchbox=document.getElementById("cse-search-box"),searchBox_input=document.getElementById("q");$(document).ready(function(e){if(searchbox)setTimeout(function(){searchbox.style.visibility="visible";},1500);});var clickTracker=function(nom){try{pageTracker._trackPageview('/marketing/_vclick/'+nom);}catch(err){}
var now=new Date();var end=now.getTime()+300;while(now.getTime()<end){now=new Date();}}
var fileTracker=function(lien){try{pageTracker._trackPageview('/marketing/fichiers/'+lien.href.substring(lien.href.lastIndexOf('/')+1))}catch(err){}
var now=new Date();var end=now.getTime()+300;while(now.getTime()<end){now=new Date();}}
try{google.load('search','1',{language:'fr'});google.setOnLoadCallback(function(){google.search.CustomSearchControl.attachAutoCompletion('005250113850527427556:27om5mploxw',document.getElementById('q'),'cse-search-box');});}
catch(e){}
if('undefined'==typeof ING)ING={};ING.fenetres={popup:function(url,titre,parametres){var expression=/[^*]width=([0-9]*)[^*]/;expression.exec(parametres);var popup_width=RegExp.$1;expression=/[^*]height=([0-9]*)[^*]/;expression.exec(parametres);var popup_height=RegExp.$1;var left=(screen.width-popup_width)/2;var top=(screen.height-popup_height)/2;var params=parametres+',top='+top+',left='+left;var win=window.open(url,titre,params)}}
var g="Rechercher";if($('#cse-search-box')){var $q=$('#q');var qBlurColor=$q.css('color');var qFocusColor='#006';$q.bind({focus:function(){$q.css('color',qFocusColor);},blur:function(){$q.css('color',qBlurColor);}});$('#cse-search-box').submit(function(e){if($('#q').attr('value')=='Rechercher')e.preventDefault();});}
var s="Saisissez votre email";var v="Veuillez entrer un email valide";var resultFunction=function(msgretour){$("#email").val(msgretour);if(msgretour!=v){$("#contactEmail").empty().append("<span>"+msgretour+"</span><a id=\"link-info\" href=\"/ing-direct/infos-legales/index.jsp#3\"><img src=\"/img/common/pictos/encadre/picto_info.png\" /></a>").removeClass("standard").addClass("highlight");try{pageTracker._trackPageview("/marketing/contact/newsletter/home/ok");}catch(err){}}
else if(msgretour=v){$(".contactEmail").css('visibility','hidden');}};$(document).ready(function(){$("#q").val(g);$("#q").bind({focus:function(){if(this.value==g)this.value="";},blur:function(){if(this.value=="")this.value=g;}});$("#email").val(s);$("#email").bind({focus:function(){if(this.value==s||this.value==v)this.value="";},blur:function(){if(this.value=="")this.value=s;}});$("form#contactEmail").bind("submit",function(){if($("#email").val()!=s){if($('#distantscript')){$('#distantscript').remove();}
var script=document.createElement('script');script.src='/formsecure?command=registerEmailProspect&ope=6&email='+$("#email").val();script.id='distantscript';script.type='text/javascript';document.body.appendChild(script);window.setTimeout(function(){if(typeof isDown=="undefined")$("#contactEmail").empty().append("<span>Service momentan&eacute;ment indisponible, merci de r&eacute;-essayer ult&eacute;rieurement</span>").removeClass("standard").addClass("errorbox");;},3500);}
return false;})});var fonctionJS;var ing={cs:function(bodyClassName){return document.body.className.indexOf(bodyClassName)!=-1;},cSection:function(){var num,db=document.body.className.split(" ");(arguments[0])?num=arguments[0]:num=0;return db[num];},hasFlash:function(){return swfobject.getFlashPlayerVersion().major!=0;},tracker:function(tracker){clickTracker(tracker);if(arguments[1])document.location.replace(arguments[1]);},getStyle:function(oElm,strCssRule){var strValue="";if(document.defaultView&&document.defaultView.getComputedStyle){strValue=document.defaultView.getComputedStyle(oElm,"").getPropertyValue(strCssRule);}
else if(oElm.currentStyle){strCssRule=strCssRule.replace(/\-(\w)/g,function(strMatch,p1){return p1.toUpperCase();});strValue=oElm.currentStyle[strCssRule];}
return strValue;},dialog:function(clickLinkId,divContentId){$(clickLinkId).click(function(e){e.preventDefault();var largeur=650;if(arguments[2])largeur=arguments[2];$(divContentId).dialog({width:largeur,modal:true});$('.ui-widget-overlay').live("click",function(){$(divContentId).dialog("close");});});},swfDialog:function(divContentId,largeur){$(divContentId).dialog({width:largeur,modal:true});$('.ui-widget-overlay').live("click",function(){$(divContentId).dialog("close");});},introspect:function(obj){for(n in obj)console.log(n+": "+obj[n]);}}
if($(".secretS"))
ing.secretS=function()
{{var $secret=$(".secretS");var $sId;var $secretContent="Non non, ce n&rsquo;est pas une faute d&rsquo;orthographe ! <br /> Aucun est un adjectif et le mot frais ne s&rsquo;utilise qu&rsquo;au pluriel. Il faut donc accorder l&rsquo;adjectif aucun et lui ajouter un &rsquo;s&rsquo;.";var secretWrapper=document.createElement('span');secretWrapper.id='secretWrapper';$secret.hover(function(){$secret.css({'color':'#f60','cursor':'pointer'});$secret.append(secretWrapper);$sId=$("#secretWrapper");$sId.parent().append("<span class='picto_info'>&nbsp;</span>");$sInfo=$(".secretS .picto_info");$sId.addClass('encadre round');$sId.parent().css('position','relative');$sId.html($secretContent);},function(){$sInfo.remove();$sId.remove();$secret.css('color','#323232');});}}
var goPopUp=(function(){var mlID="";(ing.cSection(1)=="faq")?mlID=ing.cSection(2):mlID=ing.cSection(1);if(mlID&&document.getElementById("mentions_"+mlID)&&$(".mentions"))
{var mlDiv=document.getElementById("mentions_"+mlID),mlCta=$(".mentions");$(mlDiv).removeClass("mentions_legales");ing.dialog(mlCta,mlDiv);}})()
if(ing.cs("fonds"))
{if(document.getElementById('nivRisque')){ing.dialog("#nivRisque","div.echelleRisque",650);}
if(document.getElementById('lien_valeurs')){ing.dialog("#lien_valeurs","#valeurs",650);}}
$(document).ready(function(e){if(ing.cs("recherche"))searchBox_input.style.padding="4px";});var fonctionJS;if(ing.cs("leo")&&ing.hasFlash()&&document.getElementById('headerLEO')){swfobject.createCSS("#headerLEOBackup","visibility:hidden;");fonctionJS=function(){ing.swfDialog('#mentions_leo',650);};var params={wmode:"transparent",bgcolor:"#FFFFFF",scale:"noscale",menu:"false"};var flashVars={};swfobject.embedSWF("/img/leo/livret_epargne_lp_02.14.swf","headerLEO","980","150","10.1","/Scripts/expressInstall.swf",false,params);}
else(!ing.hasFlash()&&document.getElementById('headerLEO'))
{$('#headerLEO').css('cursor','pointer');ing.dialog('#headerLEO','#mentions_leo',650)}
if(ing.cs("asv")&&ing.hasFlash()&&document.getElementById('headerASV')){swfobject.createCSS("#headerASVBackup","visibility:hidden;");fonctionJS=function(){ing.swfDialog('#mentions_asv',650);};var params={wmode:"opaque",bgcolor:"#FFFFFF",scale:"noscale",menu:"false"};var flashVars={};swfobject.embedSWF("/swf/asv/Assurance-vie-offre-bandeau.swf","headerASV","980","170","10.1","/Scripts/expressInstall.swf",false,params);}
else(!ing.hasFlash()&&document.getElementById('headerASV'))
{$('#headerASV').css('cursor','pointer');ing.dialog('#headerASV','#mentions_asv',650)}
$("#ing a.dailymotion").attr("href","http://www.dailymotion.com/video/k4XAePrf8ZGM9o2qzuB");if(ing.cs("homepage")){$("#marque1, #marque2, #marque3, #tabitems li a").click(function(e){if($(this).attr("id")){clickTracker($(this).attr("id"));}
else{var $class=$(this).attr("class");clickTracker($class.replace($class,"pave_"+$class));}});}
$("a.facebook, a.twitter, a.dailymotion").click(function(e){var $class=$(this).attr("class").replace(" img","");clickTracker($class);});;if(!document.getElementsByClassName){document.getElementsByClassName=function(className,tag,elm){var testClass=new RegExp("(^|\\s)"+className+"(\\s|$)");var tag=tag||"*";var elm=elm||document;var elements=(tag=="*"&&elm.all)?elm.all:elm.getElementsByTagName(tag);var returnElements=[];var current;var length=elements.length;for(var i=0;i<length;i++){current=elements[i];if(testClass.test(current.className)){returnElements.push(current);}}
return returnElements;}}
var nav={"main":{nav:document.getElementsByTagName("a")[3]},"nos-produits":{nav:document.getElementsByTagName("a")[4],subNav:document.getElementById("ing-produits")},"ing-etre-client":{nav:document.getElementsByTagName("a")[6],subNav:document.getElementById("ing-etre-client")},"ing-direct":{nav:document.getElementsByTagName("a")[5],subNav:document.getElementById("ing-direct")},header:document.getElementsByTagName("header")[0],active:ing.cSection(),subNavOn:(ing.cs("main"))?false:true,setNavIng:function(on){var ingNav=document.getElementById("ing"),ingAnchorOn=document.getElementById("ing").childNodes[1].childNodes[1],ingAnchorOff=document.getElementById("ing").childNodes[1].childNodes[3],ingOn=$("a.main img.on"),ingOff=$("a.main img.off"),ingOnOpacity;ingNav.style.backgroundColor=(on)?"#f60":"#EFEFEF";ingNav.style.color=(on)?"#fff":"888";ingNav.style.borderRadius=(on)?"8px":"8px 8px 0 0";ingAnchorOn.style.display=(on)?"inline-block":"none";for(n in nav){for(m in nav[n]){if(nav[n].nav){nav[n].nav.style.color=(on)?"#fff":"#888";nav[n].nav.style.backgroundColor=(on)?"#f60":"#EFEFEF";}}}},setSubNav:function(target,activate){nav[target].subNav.style.visibility=(activate)?"visible":"hidden";nav[target].subNav.style.color=(activate)?"#FFFFFF":"#888888";nav[target].subNav.style.backgroundColor=(activate)?"#FF6600":"#FF9955";nav[target].nav.style.color=(activate)?"#FFFFFF":"#888888";nav[target].nav.style.backgroundColor=(activate)?"#FF6600":"#EFEFEF";}};if(jQuery.support.opacity){$('#ing a.main, #ing a.nos-produits,#ing a.ing-direct, #ing a.ing-etre-client, nav#ing-produits, nav#ing-direct, nav#ing-etre-client').hover(function(e){var ct=e.currentTarget,ctClass=(ct.tagName=="A")?e.currentTarget.className:e.currentTarget.id;if(ctClass=="ing-produits")ctClass="nos-produits";else if(ctClass=="main img")ctClass="main";if(ctClass==nav.active){return;}
if(ctClass!="main"){if(nav.active!="main"){nav.setSubNav(ctClass,true);nav.setSubNav(nav.active,false);}else{nav.setNavIng(false);nav.setSubNav(ctClass,true);}}else{if(nav.active!="main"){nav.setSubNav(nav.active,false);nav.setNavIng(true);}}
nav.active=ctClass;},function(e){var ct=e.currentTarget,ctClass=(ct.tagName=="A")?e.currentTarget.className:e.currentTarget.id;if(ctClass=="ing-produits")ctClass="nos-produits";else if(ctClass=="main img")ctClass="main";if(ctClass==ing.cSection())return;if(ctClass!="main"){if(ing.cSection()!="main"){nav.setSubNav(ing.cSection(),true);nav.setSubNav(nav.active,false);}else{nav.setNavIng(true);nav.setSubNav(nav.active,true);nav[nav.active].subNav.style.visibility="hidden";}}else{if(ing.cSection()!="main"){nav.setNavIng(false);nav.setSubNav(ing.cSection(),true);}else{nav.setNavIng(true);nav.setSubNav(ctClass,false);}}
nav.active=ing.cSection();})}
$(document).ready(function(e){var fbIframeHtml="<iframe  src=\"http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fingdirectfrance&amp;width=333&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false&amp;height=68\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"false\" id=\"fbFace\" class=\"fb face\"></iframe>";$("a.facebook").hover(hoverIn,hoverOut);function hoverIn(e){if(!document.getElementById('fbFace')){$("header").append(fbIframeHtml);$("#fbFace").hover(hoverIn,hoverOut);}
$("#fbFace").css("display","block").animate({opacity:1});};function hoverOut(e){$("#fbFace").css("display","none");};});
