 
 $(function(){
     
     if($('#result'))
        {
            
            $.ajax({
                url: '/_templates/js/parser.php',
                success: function(msg){
                    msg = msg.split('.');
                    $('.cours').text(msg[0]);
                    
                    msg = parseInt(msg[0].replace(/\D+/g,""));
                    
                    $('#result tr td:odd').each(function(el){
                        $(this).html(Math.round(parseInt($(this).html())/msg));
                    });        
                }
            });
        }    
        });
