PhotoGallery = {
	
	Init : function()
		{
			$('input[name=photoGallery]').each( function( index, elem ) 
													{ 
														new PhotoViewer( "PhotoViewer_" + $(elem).val() ); 
													});
		}	
};

$(document).ready( PhotoGallery.Init );
