var $j = jQuery.noConflict();
$j(document).ready(function(){
    try{init();}catch(err){};
    $j('#nav ul').superfish({
        delay:       0,
        animation:   {opacity:'show',height:'show'},
        speed:       100,
        autoArrows:  false,
        dropShadows: false
    });
    $j("#email_signup h4 a").click(function(){
        $j('#email_form .buttons').show();
        $j("#email_signup .wrapper").slideToggle("fast");
        return false;
    });
    $j(".buttons img").click(function(){
        $j("#email_signup .wrapper").slideUp("fast");
    });
    $j("#email_form").validate({
        submitHandler:function(form){
            $j(form).ajaxSubmit({url:'/signup/submit/', beforeSubmit:function(){
                $j('#email_form .buttons').hide();
            },complete:function(response){
                $j("#email_signup h4 a").click();
            }});
        }
    });
});
var addthis_config = {services_compact: 'email, facebook, twitter, aim, myspace', username: "POLARMAX", data_use_flash:false};