$(document).ready(function(){
	$("head").prepend('<style>.rounded, .top-bottom {position:relative;}.lt,.lb,.rt, .rb {position:absolute;z-index:100;display:block;text-indent:-9999px;height:6px;width:6px;background-repeat:no-repeat}.lt {left:0;top:0;background-position:left top}.lb {left:0;bottom:0;background-position:left bottom}.rt {right:0;top:0;background-position:right top}.rb {right:0;bottom:0;background-position:right bottom}.top, .bottom {position:absolute;display:block;left:0;z-index:100;text-indent:-9999px;height:10px;width:100%;background-repeat:no-repeat;}.top {top:0;background-position:left top;}.bottom {bottom:0;background-position:left bottom;}</style>');
    $(".rounded").append('<span class="lt" /><span class="rt" /><span class="rb" /><span class="lb" />');
	$(".top-bottom").append('<span class="top" /><span class="bottom" />');

	var abasProduto = $("ul.abas li a");
    abasProduto.click(function() {
        var css = $(this).attr("class").split(' ');

        $(".box-content").hide();
        $("." + css[1]).show();

        $.each(abasProduto, function(index, item) {
            var current = $(item).attr("class");
            $(item).attr("class", current.replace("on", "off"));
        });

        $(this).attr("class", css.join(" ").replace("off", "on"))
        return false;
    });

});


function addbookmark() {
bookmarkurl="http://www.bertollini.com.br/brindes/";
bookmarktitle="Bertollini :: Brindes";
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle);
}
