/*$("ul.clientes li").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-20px',
			marginLeft: '-20px',
			top: '50%',
			left: '50%',
			width: '115px',
			height: '58px',
			padding: '10px'
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '105px', 
			height: '48px', 
			padding: '5px'
		}, 400);
});*/

$("ul.clientes li img").hover(function() {
	$(this).addClass('hover');	
	} , function() {
	$(this).removeClass('hover');	}
);

function msgbox(mensagem,classe,callback){
	callbackModal = callback;
	if(!classe)classe = "";
	var html = '<div class="'+classe+'" style="margin:0">'+mensagem+
	'<p><input style="cursor:hand" type="button" value="Ok" '+
	"onclick='fecharModal();'></p>"+
	'</div>';
	$.blockUI({ 
		message: html,		
		css: { 
			cursor:'default',
            border: 'none', 
            padding: '0',
            padding: '0',  
            backgroundColor: '#000', 
            opacity: .9
			

        }  }); 	
		
	
}
function fecharModal(){
		$.unblockUI({onUnblock: callbackModal });
}				
