function UltimateBox(file, largura, altura) {
	$("body").append("<div id='WJ-DT'></div>");
	$("body").append("<iframe id='iframe' name='iframe' scrolling='no' frameborder='0' allowtransparency='no' src='" + file + "' width='" + largura + "px' height='" + altura + "px' scrolling='auto'></iframe>");

	$("#iframe").css({zIndex: 999, position: 'absolute', left: (($(window).width()-largura)/2), top: reposition(altura)});

	$("#WJ-DT").width($(window).width());

	if( $(window).height() > $(document.getElementById('main')).height() ) {
		$("#WJ-DT").height( $(window).height() );
	} else {
		$("#WJ-DT").height( $(document.getElementById('main')).height() );
	}
	$("#WJ-DT").css({backgroundColor: '#000', position: 'absolute', left: 0, top: 0, opacity: 0.0, zIndex: 998});

	var i = setInterval(function(){
		$("#WJ-DT").width($(window).width());
//	$("#iframe").css({left: (($(window).width()-largura)/2), top: reposition(altura) });
		$("#iframe").stop();
		$("#iframe").animate({left: (($(window).width()-largura)/2), top: reposition(altura)},100);
	},1000);

	
	$("#WJ-DT").animate({opacity: 0.8},1000);
	$(document).mousedown(function(){
		clearInterval(i);
		$("#iframe").stop();
		$("#iframe").remove();
		$("#WJ-DT").animate({opacity: 0.0},100,function(){
			$("#WJ-DT").remove();
		})
		$("#iframe").fadeOut(100,function(){
			$("#iframe").remove();
		})
	});
	$(document).keyup(function(e){
		if(e.keyCode==27){
			clearInterval(i);
			$("#iframe").stop();
			$("#iframe").remove();
			$("#WJ-DT").animate({opacity: 0.0},100,function(){
				$("#WJ-DT").remove();
			});
			$("#iframe").fadeOut(100,function(){
				$("#iframe").remove();
			});
		}
	});
}
function reposition( hh ){
	if( navigator.appName == "Microsoft Internet Explorer" ) {
		pos = document.documentElement.scrollTop;
	} else {
		pos = window.pageYOffset;
	}
	pos = ( $(window).height()-hh ) / 2 + pos;
	return pos;
}
