$(document).ready(function() { 
   $('.svwp').show(); 
   $('#smallimg2-noscript').hide();
   $('#smallimg3-noscript').hide();
   $('#smallimg4-noscript').hide();
   $('#smallimg5-noscript').hide();
   $('#smallimg6-noscript').hide();
   $(window).bind("load", function() { 
	    $("div#smallimg2").slideViewerPro({ 
	        thumbs: 4,  
	        autoslide: false,  
	        //asTimer: 3500,  
	        typo: true, 
	        galBorderWidth: 2,
	        thumbsTopMargin: 5, // the distance that separates the thumbnails and the buttons from the main images 
			thumbsRightMargin: 1,
	        thumbsBorderWidth: 2,
	        thumbsBorderColor: "#8FBDB3",
	        thumbsBorderOpacity: 1.0,  
	        buttonsTextColor: "#707070", 
	        buttonsWidth: 30,
	        leftButtonInner: "<img src='images/previousarrow.png' />",
			rightButtonInner: "<img src='images/nextarrow.png' />",
	        thumbsActiveBorderOpacity: 1.0, 
	        thumbsActiveBorderColor: "#f1a629", 
	        shuffle: false 
	    }); 
	});

	$(window).bind("load", function() { 
	    $("div#smallimg3").slideViewerPro({ 
	        thumbs: 2,  
	        autoslide: false,  
	        //asTimer: 3500,  
	        typo: true, 
	        galBorderWidth: 2,
	        thumbsTopMargin: 5, // the distance that separates the thumbnails and the buttons from the main images 
			thumbsRightMargin: 1,
	        thumbsBorderWidth: 2,
	        thumbsBorderColor: "#8FBDB3",
	        thumbsBorderOpacity: 1.0,  
	        buttonsTextColor: "#707070", 
	        buttonsWidth: 30, 
	        thumbsActiveBorderOpacity: 1.0, 
	        thumbsActiveBorderColor: "#f1a629", 
	        shuffle: false 
	    }); 
	});
	
	$(window).bind("load", function() { 
	    $("div#smallimg4").slideViewerPro({ 
	        thumbs: 3,  
	        autoslide: false,  
	        //asTimer: 3500,  
	        typo: true, 
	        galBorderWidth: 2,
	        thumbsTopMargin: 5, // the distance that separates the thumbnails and the buttons from the main images 
			thumbsRightMargin: 1,
	        thumbsBorderWidth: 2,
	        thumbsBorderColor: "#555555",
	        thumbsBorderOpacity: 1.0,  
	        buttonsTextColor: "#707070", 
	        buttonsWidth: 30, 
	        thumbsActiveBorderOpacity: 1.0, 
	        thumbsActiveBorderColor: "#f1a629", 
	        shuffle: false 
	    }); 
	});	 
    
    $(window).bind("load", function() { 
	    $("div#smallimg5").slideViewerPro({ 
	        thumbs: 6,  
	        autoslide: false,  
	        //asTimer: 3500,  
	        typo: true, 
	        galBorderWidth: 2,
	        thumbsTopMargin: 5, // the distance that separates the thumbnails and the buttons from the main images 
			thumbsRightMargin: 1,
	        thumbsBorderWidth: 2,
	        thumbsBorderColor: "#555555",
	        thumbsBorderOpacity: 1.0,  
	        buttonsTextColor: "#707070", 
	        buttonsWidth: 30, 
	        thumbsActiveBorderOpacity: 1.0, 
	        thumbsActiveBorderColor: "#f1a629", 
	        shuffle: false 
	    }); 
	});
    $(window).bind("load", function() { 
	    $("div#smallimg6").slideViewerPro({ 
	        thumbs: 4,  
	        autoslide: false,  
	        //asTimer: 3500,  
	        typo: true, 
	        galBorderWidth: 2,
	        thumbsTopMargin: 5, // the distance that separates the thumbnails and the buttons from the main images 
			thumbsRightMargin: 1,
	        thumbsBorderWidth: 2,
	        thumbsBorderColor: "#555555",
	        thumbsBorderOpacity: 1.0,  
	        buttonsTextColor: "#707070", 
	        buttonsWidth: 30, 
	        thumbsActiveBorderOpacity: 1.0, 
	        thumbsActiveBorderColor: "#f1a629", 
	        shuffle: false 
	    });
	});
   	// $(".contactform").validate({
   	// 	   debug: true
   	// 	})


}); 

// });
