$(document).ready(function(){
	$("a[rel^='prettyPhoto']").prettyPhoto({
			animation_speed: 'normal', /* fast/slow/normal */
			autoplay_slideshow: true,
			slideshow: 8000,
			show_title: true,
			counter_separator_label: '/',
			deeplinking: false,
			social_tools: false,
			overlay_gallery: false,
			theme: 'pp_default', /* light_rounded / dark_rounded / light_square / dark_square / facebook */
			horizontal_padding: 20, /* The padding on each side of the picture */
			modal: false, /* If set to true, only the close button will close the window */
			keyboard_shortcuts: true, /* Set to false if you open forms inside prettyPhoto */
  });

	$("a[rel^='single']").prettyPhoto({
			show_title: true,
			counter_separator_label: '/',
			deeplinking: false,
			social_tools: false,
			overlay_gallery: false,
			theme: 'pp_default', /* light_rounded / dark_rounded / light_square / dark_square / facebook */
			horizontal_padding: 20, /* The padding on each side of the picture */
			modal: false, /* If set to true, only the close button will close the window */
			keyboard_shortcuts: true, /* Set to false if you open forms inside prettyPhoto */
  });

  setTimeout(function() {
    $('ul.roktabs-bottom').width(940);
  }, 1000);
});

