

	


jQuery(document).ready(function() {
	
	sB = $("input[type='submit']").each( function (index){
		$(this).wrap('<div class="new_submit" />');
		$(this).parent().prepend('<div class="news_read_more">'
				+ '<div class="news_read_more_left"></div>'
				+ '<div class="news_read_more_text">'
				+ '	<a>' + $(this).val() + '</a>'
				+ '</div>'
				+ '<div class="news_read_more_right"></div>'
				+ '</div>')
		$(this).css('display','none');
		$(this).parent().click(function() {
			$(this).submit();
			});
	});
	
	// make gallery background white to cover the red line		- at the begining must be seen the background
	$('#header_gallery').css('background-color','#fff');
	
	// leftMenu hover
	$('#leftmenu_nav li:has(ul)').hover(
		function(){$('li[id="'+$(this).attr('id')+'"] ul').fadeIn(500);},
		function(){$('li[id="'+$(this).attr('id')+'"] ul').fadeOut(1000)}
		);
	
	$('ul#gallery img').css('display','block'); 

	
  
});
/*

*/
