// JavaScript Document
(function($) {
	$.fn.inputDefualts = function(options) {
		// Values by default
		var defaults = {
 			text: this.val()   // take the value of the input
  		}, 	opts = $.extend(defaults, options);	
  		
  		this.val(opts['text']);			// set the deffault value
  		
  		// handlling focus event on the field
  		this.focus(function() {
  			if($(this).val() == opts['text']) $(this).val(''); // remove default text on focus
  		});
  		
  		// handling blur (unfocus) event
  		this.blur(function() {
  			if($(this).val() == '') {
  				$(this).val(opts['text']); 			// set the default value back
  			}
  		});
	};
	
})(jQuery);



$(document).ready(function(){
		    //$('#txt_head').corner("round 10px").parent().css('padding', '1px').corner("round 10px")
			jQuery('#navigation').accordion({
				active: '.selected', 
				navigation: true, 
				header: '.head', 
				event: 'mouseover'
				
			});
});
$("a[rel^='prettyPhoto']").prettyPhoto();
/*$("a.lightbox").lightbox({
    fitToScreen: true
});

/*$('a.lightbox').lightBox();*/
/*$(function() {
   $('a.lightbox').lightBox({
	txtImage: '',
	txtOf: ' - '
   });
});*/
