//Activate Immediately
$(function(){
    if($.browser.version < 7){
        pngfix();
    }
    Cufon.replace("#navigation ul li.navi a, li.ui-state-default, .title, .subtitle, .post-title, .posts h2.main_title", {
        fontFamily: 'Century Gothic',
        hover : true
    });
    
	$(".delme").focus(function(){
        if ($(this).is('input')) {
            var orival = $(this).val();
            $(this).val("");
        }else{
            var orival = $(this).html();
            $(this).html("");
        }

        $(this).blur(function(){
            if($(this).is('input')){
                if ($(this).val() != "" && $(this).val() != orival) {
                    $(this).removeClass('delme').unbind('blur').unbind('focus');
                }else{
                    $(this).val(orival);
                }
            }else{
                if ($(this).html() != "" && $(this).html() != orival) {
                    $(this).removeClass('delme').unbind('blur').unbind('focus');
                }else if ($.browser.safari && $(this).val() != "" && $(this).val() != orival) {
                    $(this).removeClass('delme').unbind('blur').unbind('focus');
                }else{
                    $(this).html(orival);
                }
            }

        });
    });
	
	$('#header_slider').cycle()
	
});

function toggle_div(target_div){
	$('#'+target_div).toggle("slow");
}

