$(function(){
	/*var option = {
		resizeLgImages: true,
		displayNav: true,
		handleUnsupported : 'remove',
		keysClose: ['c', 27], 
		players:  ['img', 'html', 'iframe', 'qt', 'wmp', 'swf', 'flv']
	};
	Shadowbox.init(option);*/
	
	if($('#n_over').length) {
		if($.browser.msie) $('#n_noti .fondo').css("zoom",1).css("display","block").css("background-image","url('js/x.gif')").css("background","transparent").css("filter","progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src=js/over.png)");
		
		$('#n_noti').css('left',($(window).width()-$('#n_noti').outerWidth())/2).css('top',($(window).height()-$('#n_noti').outerHeight())/2).fadeTo(0,0);		
		$('#n_cnt').css('left',($(window).width()-$('#n_cnt').outerWidth())/2).css('top',($(window).height()-$('#n_noti').outerHeight())/2).fadeTo(0,0);	
		$('#n_over').fadeTo(0,0);
		
		$('#n_noti').css('visibility','visible');
		$('#n_cnt').css('visibility','visible');
		$('#n_over').css('visibility','visible');
		
		$('#n_over').fadeTo(300,0.7,function() {
			$('#n_noti').fadeTo(1000,1);
			$('#n_cnt').fadeTo(1000,1);
		});
		
		$('#n_bcerrar').click(function() {
			$('#n_over').fadeTo(500,0);
			$('#n_cnt').fadeTo(500,0);
			$('#n_noti').fadeTo(500,0,function() {
				$('#n_over').remove();
				$('#n_noti').remove();
				$('#n_cnt').remove();
			});
		});
	}
	
	
});
