//ConfiguraA§ALo do movimento do menu
$(document).ready(function(){
    $('.replace').flash(
        { 
            src: 'http://becasa.com.br/fonts/myriadpro.swf', 
            flashvars: { 
                css: [
                    '* { color: #ffffff; }',
					'a { color: #ffffff; text-decoration: none;}',
                    'a:hover { color: #ffffff;}'
                ].join(' ')
            }
        },
        { version: 7 },
        function(htmlOptions) {
            htmlOptions.flashvars.txt = this.innerHTML;
            this.innerHTML = '<div>'+this.innerHTML+'</div>';
            var $alt = $(this.firstChild);
            htmlOptions.height = '26px';
            htmlOptions.width = $alt.width();
            $alt.addClass('alt');
            $(this)
                .addClass('flash-replaced')
                .prepend($.fn.flash.transform(htmlOptions));						
        }
    );//
});

$(document).ready(function() {
	anchor.init()
});

anchor = {
	init : function()  {
		$("a.top").click(function () {	
			elementClick = $(this).attr("href")
			destination = $(elementClick).offset().top;
			$("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination}, 1500 );
		  	return false;
		})
	}
}

