jQuery.fn.inputHints=function() {
    // hides the input display text stored in the title on focus
    // and sets it on blur if the user hasn't changed it.

    // show the display text
    jQuery(this).each(function(i) {
        jQuery(this).addClass('hint');
    });

    // hook up the blur & focus
    return jQuery(this).focus(function() {
        if (jQuery(this).val() == '')
            jQuery(this).removeClass('hint');
    }).blur(function() {
        if (jQuery(this).val() == '') {
            jQuery(this).addClass('hint');
          } else {
            jQuery(this).removeClass('hint');
          }
    });
};

jQuery(document).ready(function() {
	jQuery('input[title]').inputHints();
	var profiles ={windowCenter:{height:591,width:450,center:1}};
   	jQuery(function(){jQuery(".popupwindow").popupwindow(profiles);});
	jQuery(function() {jQuery('.gigPhoto').lightBox({fixedNavigation:true});});
	
}); 
