function InitCSS() {
//alert("InitCSS");

}

	function CheckDatasSpec() {	
		theTest=CheckDatas(document.FormEdit);
		//return CheckDatas(document.FormEdit);
		return theTest;
		//if (theTest==true){document.FormName.submit()}		
	}
	
	function affmenu(param) {
		hideallmenu();
		if (document.getElementById('smenu_'+param)) {
		if (document.getElementById('smenu_'+param).style.display=="none") {
			 $('#smenu_'+param).fadeIn(1000, function() {
		 	 // Animation complete
	      });
		} else {
			$('#smenu_'+param).fadeOut(200, function() {
		 	 // Animation complete
	      });
		}	
		}
	}
	function hideallmenu() {
		$('.smenu1').hide();
	}


  $(document).ready(function(){
  	$('a.gal1').lightbox();
    $('a.lightbox').lightbox();
    
 		jQuery('.btn').each(function(){
   		var b = jQuery(this);
  		var tt = b.text() || b.val();
	  	b.text('').css({cursor:'pointer'}).prepend('<i></i>').append(jQuery('<span>').text(tt).append('<i></i><span></span>'));
  	});    
    
    
   });


