/*
                                  Javascript for
                          Vision Plus - Software pages
                              javascript functions
--------------------------------------------------------------------------------
*/


$(document).ready(function() {			
	
	// Show current page's subnav items
	$('#Secondary_Navigation li.Secondary_Navigation-Software').show();

	// Initialize the slideshow when the DOM is ready
    $('#Software-Screenshots').cycle({
		speed:    800,
		timeout:  3000,
		fx:       'fade'
	});

	// Set PrettyPhoto to appear for any images that can be clicked
	$("a[rel^='prettyPhoto']").prettyPhoto({
		animation_speed: 'normal', /* fast/slow/normal */
		slideshow: 5000, /* false OR interval time in ms */
		autoplay_slideshow: false, /* true/false */
		opacity: 0.75, /* Value between 0 and 1 */
		show_title: true, /* true/false */
		allow_resize: true, /* Resize the photos bigger than viewport. true/false */
		overlay_gallery: true,
		default_width: 500,
		default_height: 344,
		counter_separator_label: '/', /* The separator for the gallery counter 1 'of' 2 */
		theme: 'dark_rounded', /* light_rounded / dark_rounded / light_square / dark_square / facebook */
		social_tools: false,
		keyboard_shortcuts: true /* Set to false if you open forms inside prettyPhoto */
	});			
	


});


