function hideIt(table1){if(document.getElementById){document.getElementById(table1).style.visibility="hidden"}else if(document.all){document.all[layer].style.visibility="hidden"}else if(document.layers){document.layers[table2].visibility="hide"}}function hideAll(nbTop){for(i=1;i<=nbTop;i++){var name="table"+i;if(document.getElementById){document.getElementById(name).style.visibility="hidden"}else if(document.all){document.all[name].style.visibility="hidden"}else if(document.layers){document.layers[name].visibility="hide"}}}function showIt(table2){if(document.getElementById){document.getElementById(table2).style.visibility="visible"}else if(document.all){document.all[table2].style.visibility="visible"}else if(document.layers){document.layers[table2].visibility="show"}}var origWidth,origHeight;if(document.layers){origWidth=window.innerWidth;origHeight=window.innerHeight;window.onresize=function(){if(window.innerWidth!=origWidth||window.innerHeight!=origHeight)history.go(0)}}var cur_lyr;function swapLayers(id,indice){if(cur_lyr)hideLayer(cur_lyr,cur_indice);showLayer(id,indice);cur_lyr=id;cur_indice=indice}function showLayer(id,indice){var a=getElemRefs("ongleta"+indice);var span=getElemRefs("ongletspan"+indice);var lyr=getElemRefs(id);if(lyr&&lyr.css){lyr.css.visibility="visible";lyr.css.height="auto"}a.css.backgroundPosition="0% -150px";a.css.color="#FFFFFF";span.css.backgroundPosition="100% -150px";span.css.color="#FFFFFF"}function hideLayer(id,indice){var a=getElemRefs("ongleta"+indice);var span=getElemRefs("ongletspan"+indice);var lyr=getElemRefs(id);if(lyr&&lyr.css){lyr.css.visibility="hidden";lyr.css.height="0"}a.css.backgroundPosition="0% 0px";a.css.color="#666666";span.css.backgroundPosition="100% 0px";span.css.color="#666666"}function getElemRefs(id){var el=(document.getElementById)?document.getElementById(id):(document.all)?document.all[id]:(document.layers)?document.layers[id]:null;if(el)el.css=(el.style)?el.style:el;return el}function hide_div_menu(menu){try{if(menu!='menu_panier'){document.getElementById('menu_panier').style.display='none';if(menu!="mdp_ap"){document.getElementById('menu_panier_plus').src='http://aka.fotovista.com/dev/gui_web/grafx/multipays/pixme/plus.gif';}}}catch(e){};try{if(menu!='menu_articles'){document.getElementById('menu_articles').style.display='none';if(menu!="mdp_ap"){document.getElementById('menu_articles_plus').src='http://aka.fotovista.com/dev/gui_web/grafx/multipays/pixme/plus.gif';}}}catch(e){}}function display_div(id){var objet=document.getElementById(id);if(objet.style.display=='none'){objet.style.display='';if(id!="mdp_ap"){document.getElementById(id+'_plus').src='http://aka.fotovista.com/dev/gui_web/grafx/multipays/pixme/moins.gif'}}else{objet.style.display='none';if(id!="mdp_ap"){document.getElementById(id+'_plus').src='http://aka.fotovista.com/dev/gui_web/grafx/multipays/pixme/plus.gif';}}}function hintIndex(text,x,y){delay=1;return showOverlay(text,x,y)}function resize(x,y){parent.window.resizeTo(x,y)} (function($j){function slideBanner(){var banner=$j("#home-slide-banner").slideDown(1000).find("p.close a").click(function(e){e.preventDefault();banner.slideUp(300)}).end();window.setTimeout(function(){banner.find("p.close a").click()},10000)};$j(window).load(function(){window.setTimeout(function(){slideBanner()},1000)})})(jQuery)