var browserName=navigator.appName;if(browserName=="Microsoft Internet Explorer") {               function HandleResize() {                                                                if (self.innerWidth)                        {                                frameWidth = self.innerWidth;                                frameHeight = self.innerHeight;                        }                        else if (document.documentElement && document.documentElement.clientWidth)                        {                                frameWidth = document.documentElement.clientWidth;                                frameHeight = document.documentElement.clientHeight;                        }                        else if (document.body)                        {                                frameWidth = document.body.clientWidth;                                frameHeight = document.body.clientHeight;                        }                                        seqHeight = (frameHeight - 30 - texteTop )                                               //conHeight = (frameHeight - 20 - 110)                                        if(seqHeight > 0) {                               document.getElementById('texte').style.height =  seqHeight+"px";                               document.getElementById('contexte').style.height =  seqHeight+"px";                               document.getElementById('fond').style.height =  (frameHeight-10)+"px";                               document.getElementById('bordure').style.height =  frameHeight+"px";                               document.getElementById('bas').style.top =  frameHeight-15+"px";                       }                                                        }        window.onresize =  HandleResize;                function doall() {                HandleResize();        }                window.onload = doall;        doscroll = false;         function fixScroll(div) {          doscroll = false;        } }else {         function fixScroll(div) {                 if(doscroll && browserName!="Microsoft Internet Explorer") {                         var s = div.scrollTop;         div.childNodes[1].focus();         div.scrollTop = s;         }                 }       }function randthis() {return (Math.round(Math.random()*10000));}function doblank(a) {        window.open(a.href,randthis());        return false;}function popup(a) {        window.open(a.href,randthis(),'width=500,height=570');        return false;}function popupTournee(a) {        window.open(a.href,randthis(),'width=400,height=240');        return false;}function popupMailing(email) {        formu = "http://www.lagorce.org/cgi-bin/pg-mlpro.cgi";        window.open(formu+"?liste=1&action=inscription&email="+email,"mailing",'width=400,height=300,scrollbars=yes');       // formu.target = "mailing";        return false;        }realRemovePrg = false;function popupCarnet(a) {                               lid = a.id;        lid = lid.split('_');        iid = "img_carnet_"+lid[2];        iil = "prg_carnet_"+lid[2];                if(document.getElementById(iid)) {            iid = document.getElementById(iid);            iil = document.getElementById(iil);            if(iid.src.indexOf('plus.gif') > 0) {                iid.src = "img/prg.moins.gif";            } else {                if(realRemovePrg && iil)                    iil.style.display = "none";                else                    iid.src = "img/prg.plus.gif";            }        }                         window.open(a.href,randthis(),'width=400,height=200');        return false;}activeImage = 1;function activateImage(nb) {if(document.getElementById('img_diapo_'+activeImage) && document.getElementById('img_diapo_'+nb)) {        document.getElementById('img_diapo_'+activeImage).style.display = "none";        document.getElementById('img_diapo_'+nb).style.display = "block";        if(document.getElementById('lien_img_diapo_'+activeImage)) {            /*            document.getElementById('lien_img_diapo_'+activeImage).style.backgroundColor = "transparent";            document.getElementById('lien_img_diapo_'+nb).style.backgroundColor = "#cccccc";                  document.getElementById('lien_img_diapo_'+activeImage).style.border = "1px solid #cccccc";                        document.getElementById('lien_img_diapo_'+activeImage).style.color = "#aaaaaa";            document.getElementById('lien_img_diapo_'+nb).style.color = "#000000";            */            document.getElementById('lien_img_diapo_'+activeImage).className = "diapo_lien_vu";            document.getElementById('lien_img_diapo_'+nb).className = "diapo_lien_on";        }                activeImage = nb;        }     }function inputFocus() {    doscroll = 0;}function inputBlur() {    doscroll = 1;}doscroll = 1;
