var ns4=(document.layers)? true:false;var ie4=((document.all)&&(!document.getElementById))? true:false;var ope=(window.opera)? true:false;var ie=(document.all&&!ope)? true:false;var dom=document.getElementById;var tto;var thisDiv;var bookmarktitle="Le Moulin du Verger - Papier & reliure";
function addbookmark(){if((typeof window.sidebar=="object")&&(typeof window.sidebar.addPanel=="function")){window.sidebar.addPanel(bookmarktitle,"http://www.moulinduverger.com/panel.php","");}else{if(ie)window.external.AddFavorite("http://www.moulinduverger.com",bookmarktitle);}}
function gety(theitem){if(ns4){var obj=eval("document.layers[m_"+theitem+"]");}else{var obj=eval("document.getElementById('m_"+theitem+"')");}var curleft=0;if(obj.offsetParent){while(obj.offsetParent){curleft+=obj.offsetLeft;obj=obj.offsetParent;}}else if(obj.x)curleft+=obj.x;return(curleft);}
function getx(theitem){if(ns4){var obj=eval("document.layers[m_"+theitem+"]");}else{var obj=eval("document.getElementById('m_"+theitem+"')");}var curtop=0;if(obj.offsetParent){while(obj.offsetParent){curtop+=obj.offsetTop;obj=obj.offsetParent;}}else if(obj.x)curtop+=obj.x;return(curtop);}
function showMenu(theItem){if(ope){var y=gety(theItem)-1;var x=getx(theItem)+15;}else if(ie){var y=gety(theItem);var x=getx(theItem)+16;}else{var y=gety(theItem)-1;var x=getx(theItem)+15;};clearTimeout(tto);if(ns4){thisDiv=document.layers['mc_'+theItem];thisDiv.top=x;thisDiv.left=y;thisDiv.visibility="show";}else if(ie4){if((thisDiv)&&(thisDiv!=document.layers['mc_'+theItem])){thisDiv.visibility='hidden';};thisDiv=document.layers['mc_'+theItem];thisDiv.top=x;thisDiv.left=y;thisDiv.visibility="visible";}else{if((thisDiv)&&(thisDiv!=document.getElementById('mc_'+theItem).style)){thisDiv.visibility='hidden';}thisDiv=document.getElementById('mc_'+theItem).style;thisDiv.top=x;thisDiv.left=y;thisDiv.visibility="visible";}}
function hideMenu(theItem){var thetime=400;if(ns4){thisDiv=document.layers['mc_'+theItem];tto=setTimeout("thisDiv.visibility='hide'",thetime);}else if(ie4){thisDiv=document.layers['mc_'+theItem];tto=setTimeout("thisDiv.visibility='hidden'",thetime);}else{thisDiv=document.getElementById('mc_'+theItem).style;tto=setTimeout("thisDiv.visibility='hidden'",thetime);}}
function bgOn(qqc,nv_class){var t=document.getElementById(qqc);t.className="nav_h";t.style.cursor='pointer';}
function bgOff(qqc){var t=document.getElementById(qqc);t.className="nav";t.style.cursor='auto';}
function openCenter(theURL,winName,larg,haut,options){var top=(screen.height-haut)/2;var left=(screen.width-larg)/2;imp=window.open(theURL,winName,"top="+top+",left="+left+",width="+larg+",height="+haut+","+options);imp.focus();}
//if (parent != self) { top.location.href = self.location.href }
