/*
function reloadPrettyPhoto() {
	jQuery(".pp_pic_holder").remove();
	jQuery(".pp_overlay").remove();
	jQuery(".ppt").remove();
	init_pretty();
};
*/
function init_pretty(){
	jQuery('a[rel^="prettyPhoto"]').prettyPhoto({
	animationSpeed: 'normal',
	theme: 'facebook',
	slideshow: 5000,
	autoplay_slideshow: false,
	default_width: 800,
	default_height: 800,
	opacity: 0.35,
	show_title: true,
	allow_resize: true,
	counter_separator_label: '/'
	});
};

jQuery(document).ready(function($){
// Image Preload
/*
	$('a.gall').preloader({
		delay:300,
		check_timer:100,
		ondone: init_pretty(),
		oneachload:function(image){ },
		fadein:300
	});
*/	
	init_pretty();
});

/*
jQuery(document).ready(function(){
 jQuery("a[rel^='prettyPhoto']").prettyPhoto({
  animationSpeed: 'normal',
  theme: 'facebook',
  slideshow: 5000,
  autoplay_slideshow: false,
  default_width: 800,
  default_height: 800,
  opacity: 0.35,
  show_title: true,
  allow_resize: true,
  counter_separator_label: '/'
});
});
*/
