var windowHeight = getWindowHeight();

function bodyLoad()
{
	setClient();	
}

function setClient()
{
	var content = $('content_div');
	var windowHeight = getWindowHeight();
	
	//content.style.height = (windowHeight-145-212) + "px"
}

function openImage(url, width, height)
{
	
var win = new Window(
					 {className: "casco", 
					 width:width, 
					 height:height, 
					 zIndex: 100, 
					 resizable: false, 
					 title: "Sample window", 
					 showEffect:Effect.Appear, 
					 hideEffect: Effect.Fade, 
					 draggable:true, 
					 wiredDrag: true}) 

win.getContent().innerHTML= "<img src='upload/photobook/" + url + "'/>";
win.showCenter(true);
	
}