function open_window(link,w,h)
{
	var win = "width="+w+",height="+h+",menubar=no,location=no,resizable=yes,scrollbars=yes";
	newWin = window.open(link,'newWin',win);
	newWin.focus();
}

function imgBig_show(img_src, width, height)
{
 $("#imgContainer_td").html("<img id=imgBig src='"+img_src+"' width="+width+" height="+height+">");
 $("#imgBig").click(imgBig_hide);
 //alert(document.getElementById('body').offsetHeight);
 //alert(document.documentElement.clientHeight);
 scr = document.getElementById('body').scrollTop;
 leftPx = $('#body').width()/2 - width/2;
 topPx = $('#body').height()/2 - height/2 + scr;
 $('#opacity_back').css("height",$('#body').height() + scr);
 $('#opacity_back').css("display", "block");
 $('#imgContainer').css("left", leftPx);
 $('#imgContainer').css("top", topPx);
 $('select').animate({opacity: 'hide'}, 'fast');
 $('#imgContainer').animate({opacity: 'show'}, 'slow');
}

function imgBig_hide()
{
 $('#imgContainer').animate({opacity: 'hide'}, 'slow');
 $('select').animate({opacity: 'show'}, 'fast');
 $('#opacity_back').css("display", "none");
}