/*
 * Mambo - core js 
 *
 * Copyright (c) 2008 Thomas Goetz (getconfused.net)
 *
 * $Date: $
 * $Rev: 4663 $
 */

 /*
 	copyright 2008 getconfused.net
 */
SGL2.namespace("mambo.Cart2");

SGL2.mambo.Main = { };
SGL2.mambo.Main.init = function()
{

    $(".rounded-small").corner("round 5px");
    $(".rounded-medium").corner("round 15px");
    $("#contactLink").click(function() {
		var offset = $("#contactLink").offset({ scroll: false });
        var top = offset.top + 20;
        var left = offset.left - 250;
        if ($.browser.msie && $.browser.version < 7) {
            left = offset.left - 200;
        }
        $("#tooltip").css({top: top + 'px', left: left + 'px'})
        $("#tooltip").toggle();        
    });
}

SGL2.register("mambo", SGL2.mambo.Main);
