
                        //non affichage des erreurs (ie)
                        var curvyCornersVerbose = false; 
            
                        function checkInternetExplorer() {
                            var rv = -1; // Return value assumes failure.
                            if (navigator.appName == 'Microsoft Internet Explorer') {
                                return true;
                                /*var ua = navigator.userAgent;
                                var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
                                if (re.exec(ua) != null)
                                    rv = parseFloat(RegExp.$1);*/
                            }else{
                                return false;
                            }
                            //return rv;
                        }

                        var IE6 = false;
                        var IE7 = false;
                        var IE8 = false;
                        var IE9 = false;
                        var IE = false;
                        if (window.navigator.appName == 'Microsoft Internet Explorer') IE = true;

                        var strChUserAgent = navigator.userAgent;
                        var intSplitStart = strChUserAgent.indexOf("(",0);
                        var intSplitEnd = strChUserAgent.indexOf(")",0);
                        var strChMid = strChUserAgent.substring(intSplitStart, intSplitEnd);

                        if(strChMid.indexOf("MSIE 6") != -1) IE6 = true;
                        if(strChMid.indexOf("MSIE 7") != -1) IE7 = true;
                        if(strChMid.indexOf("MSIE 8") != -1) IE8 = true;
                        if(strChMid.indexOf("MSIE 9") != -1) IE9 = true;

            $(function(){
                        if( $('.menutop').css("display")=="block" ){


                                var settings = {
                                    tl : { radius : 0},
                                    tr : { radius : 0},
                                    bl : { radius : 8},
                                    br : { radius : 8},
                                    antiAlias : true,
                                    autoPad : true,
                                    validTags : ["div"]
                                };
                                if(!IE6){
                                    curvyCorners(settings, ".menutop");

                                }

                       }});

                    
                    var settingsBottom = {
                        tl : { radius : 0},
                        tr : { radius : 0},
                        bl : { radius : 12},
                        br : { radius : 12},
                        antiAlias : true,
                        autoPad : true,
                        validTags : ["div"]
                    }
                    if(!IE6){
                        $(function(){
                            setTimeout(function(){
                                curvyCorners(settingsBottom, "bottompage");

                            }, 3);
                        });
                    }
                 
                     $(function(){
                        setTimeout(function(){
                            $('div.personal1').wrap("<div class='extrapersonal1'></div>");
                            $('.accueilautodiv').wrap("<div class='extrapersonal1'></div>");
                            $('div.extrapersonal1').css("padding", "3px").css("background-color", "#218db7");
                        }, 1);
                    });
                    if( !IE6 ){
                        $(function(){
                            setTimeout(function(){
                                $('div.personal1').corner("round  tr bl  12px");
                                if( checkInternetExplorer() && (!IE6) && (!IE9) ){
                                    $('div.extrapersonal1').corner("round  tr bl  12px");
                                }else{
                                    $('div.extrapersonal1').corner("round  tr bl  12px");
                                }
                            }, 1);
                        });
                    }
                
                            if( !IE6 ){
                                $(function(){
                                    setTimeout(function(){
                                        $('.accueilautocontent').corner("round bl  12px");
                                        $('.accueilautotitle').corner("round  tr 12px");
                                        $('.accueilautodiv').corner("round 12px");
                                        if( checkInternetExplorer() && (!IE6) && (!IE9) ){
                                            $('div.extrapersonal1').corner("round  tr bl  12px");
                                        }else{
                                            $('div.extrapersonal1').corner("round  tr bl  12px");
                                        }
                                    }, 1);
                                });
                            }
                        
