function ShowBann (path, w, h, obj)
{
	var paddingWhite = 20;
	//$('body').css({overflow:'hidden'});
	obj = $(obj);
	var winDims = [$(window).width(),$(window).height()];
	var docDims = [$(document).width(),$(document).height()];
	var blocker = $('<div class="blocker"></div>');
	blocker.css({
		backgroundColor:'black',
		width: docDims[0]+'px',
		height: docDims[1]+'px',
		position:'absolute',
		zIndex: '50',
		top: '0px',
		left: '0px',
		display:'none'
	});
	var tnIMG = $('.tnimg',obj);
	var newEl = $('<div class="floatbox"></div>');
	var bIMG = $('<img src="'+path+'" style="width:100%;"/>');
	newEl.append(bIMG);
	var srcDims = [tnIMG.width(),tnIMG.height()];
	var srcPos = tnIMG.offset();
	newEl.css({
		padding: paddingWhite+'px',
		backgroundColor:'white',
		width:(srcDims[0])+'px',
		height:(srcDims[1])+'px',
		position:'absolute',
		zIndex:'100',
		top: (srcPos.top-paddingWhite)+'px',
		left: (srcPos.left-paddingWhite)+'px',
		cursor:'pointer'
	});
	$('.body').prepend(blocker);
	$('.body').prepend(newEl);

	var animProp = {
		width:w+'px',
		height:h+'px',
		left:((winDims[0]/2)-w/2)+'px',
		top:($(document).scrollTop()+20)+'px'
	};
	newEl.animate(animProp);
	blocker.fadeTo('fast', .7);
	blocker.click(function(){
		//$('body').css({overflow:'auto'});
		$(this).fadeOut('fast');
		var animProp = {
			width:(srcDims[0])+'px',
			height:(srcDims[1])+'px',
			left:(srcPos.left-paddingWhite)+'px',
			top:(srcPos.top-paddingWhite)+'px'
		};
		newEl.animate(animProp,function(){
			newEl.fadeOut('fast',function(){
				newEl.remove();
				blocker.remove();
			});
		});
	});
	newEl.click(function(){
		blocker.click();
	});
	//window.open(path,'ShowBann','width='+w+',height='+h+',status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,top='+ Math.round((screen.height/2)-(h/2)) +',left=' + Math.round((screen.width/2)-(w/2)));
}



