 var agt=navigator.userAgent.toLowerCase(); 
 var appVer=navigator.appVersion.toLowerCase();
 
 if (parseInt(navigator.appVersion) <= 3) { var srcStr = "blank.html" }
 else { var srcStr = "about:blank" }
 
 function frameWriter() {
    
                if (agt.indexOf('mozilla')!=-1 && (navigator.vendor) &&
                            (navigator.vendor=="Netscape6") &&
                            parseFloat(navigator.appVersion) == 5 &&
                            (!window.opera)) {
                        location.href = '../../htm/balluchon-frameset.htm'
                }
                
                else if ((agt.indexOf("pera") !=-1) &&
                            agt.indexOf("pera/7") !=1) {
                        location.replace("http://www.chemins-rencontres.com/htm/balluchon-frameset.htm");
                }
                
                else {
                    document.write('<FRAMESET COLS="155,100%" FRAMESPACING="0"');
                        document.write(' FRAMEBORDER="0" BORDER="0" onLoad="FrameMe()">');
                    //document.write(' <FRAME SRC="../../htm/presentation_menu.htm" NAME="menuFrame" ');
                    document.write(' <FRAME SRC="../../presentation_menu.php" NAME="menuFrame" ');
                        document.write(' SCROLLING="no">');
                    document.write(' <FRAME SRC="'+ srcStr +'" NAME="contentFrame"');
                        document.write(' NORESIZE>');
                        document.write('<\/FRAMESET>');
                        document.write('<\/HTML>');
                }
}
                
function FrameMe() {
        if (document.images) {
            top.contentFrame.location.replace(self.location.href);
        }
        else {
            top.contentFrame.location.href = self.location.href;
        }
}


if (!(document.layers && (self.innerWidth == 0))) {
      if (top.frames.length != 2) {
            frameWriter()
        }
}