Cufon.replace('h1');
Cufon.replace('.content_container .Plans_main .header .understand .top h2');
//Cufon.replace('.content_container .left_column .secondary_nav h2');
    var timer;
$(function() {
    $("input:text").focus(function() {
        if ($(this).val() == 0) {
            $(this).val("");
        }
    });

    $(".nav_content").find(".navigation_container").hide();
    $(".navigation .nav_content li:not(:first), .navigation_container").mouseenter(function() {
		$(".black_overlay").show();
        clearTimeout(timer);
        var el = $(this);
        timer = setTimeout(function(){showHideMenu(el,true);}, 100);
    });
	
	$(".navigation ul.nav_content>li").mouseleave(function() {
        clearTimeout(timer);
        var el = $(this);
		$(".black_overlay").hide();
		showHideMenu(el, false);
    });
	
/*	$(".navigation ul.nav_content li#menu1").mouseenter(function() {
		$(".black_overlay").hide();
    });*/


});
    function showHideMenu(elem, show) {
        if (show) {
			if($(".login_black_overlay").css("display") == "none")
			{
				$(".black_overlay").show();
			}
	           $("body").find(".videoframe").css({"height" : $("body").find(".videoframe").children("iframe").outerHeight()});
	           elem.find(".navigation_container").show();
			   $("iframe").hide();
        }
        else {
            $(".black_overlay").hide();
            elem.find(".navigation_container").hide();
			$("iframe").show();
        }
    }

    function SetDropOut(Id) {
        var strPrefix = "http://www.maxnewyorklife.com/dropout.aspx";
        my_window = window.open(strPrefix + "?Id=" + Id, "mywindow", "status=1,width=500,height=500");
    }
