jQuery(document).ready(
    function(){
        jQuery(".col").equalHeights();
        jQuery(".col").resize(function(){
             jQuery(".col").equalHeights();
        });
        jQuery("a[href^='http:']:not([href*='" + window.location.host + "'][target='_blank'])").live('click', function(){
                jQuery(this).attr('target','_blank');
            });

        jQuery("#header").corner("round bl 14px");
        jQuery("#footer").corner("round tr 14px");
        jQuery(".sidetitle").corner("round top");
        jQuery("#lavalamp").lavaLamp({
            fx: "swing",
            speed: 600,
            homeTop:30,
            homeLeft:220
            
            });
        jQuery("#normal1").click(
            function() {
                jQuery(this).parent().hide();
                jQuery("#opened").show();
                jQuery("#close1").hide();
                jQuery("#open1").show();
            });
        jQuery("#normal2").click(
            function() {
                jQuery(this).parent().hide();
                jQuery("#opened").show();
                jQuery("#close2").hide();
                jQuery("#open2").show();
            });

        jQuery("#normal3").click(
            function() {
                jQuery(this).parent().hide();
                jQuery("#opened").show();
                jQuery("#close3").hide();
                jQuery("#open3").show();
            });
        jQuery("#close1").click(
            function() {
            jQuery(this).hide();
            jQuery("#open2").hide();
            jQuery("#open3").hide();
            jQuery("#close2").show();
            jQuery("#close3").show();
            jQuery("#open1").show();
        });
        jQuery("#close2").click(
            function() {
            jQuery(this).hide();
            jQuery("#open1").hide();
            jQuery("#open3").hide();
            jQuery("#close1").show();
            jQuery("#close3").show();
            jQuery("#open2").show();
        });
        jQuery("#close3").click(
            function() {
            jQuery(this).hide();
            jQuery("#open2").hide();
            jQuery("#open1").hide();
            jQuery("#close2").show();
            jQuery("#close1").show();
            jQuery("#open3").show();
        });
        jQuery("#open1header").click(
            function() {
            jQuery(this).parent().hide();
            jQuery("#close1").show();
            jQuery(this).parent().parent().hide();
            jQuery("#closed").show();
        });
        jQuery("#open2header").click(
            function() {
            jQuery(this).parent().hide();
            jQuery("#close2").show();
            jQuery(this).parent().parent().hide();
            jQuery("#closed").show();
        });
        jQuery("#open3header").click(
            function() {
            jQuery(this).parent().hide();
            jQuery("#close3").show();
            jQuery(this).parent().parent().hide();
            jQuery("#closed").show();
        });

        $("#logintext a").click(function(){
            $("#signin").slideDown();
            return false;
        });
        $("#signin h1 span").click(function(){
            $("#signin").slideUp();
        });
    });
