// JavaScript Document
window.onload = function()
{
	var scrollbar = new Control.ScrollBar('content','scrollbar_track');

	var bx = $('bxtable').getElementsByClassName('xt');
	for (var index = 0, len = bx.length; index < len; ++index) {
	var item = bx[index];
    item.onmouseover = function (item) { this.setStyle({ border:"4px solid #DB214C" }); }
	item.onmouseout = function (item) { this.setStyle({ border:"4px solid #EEEDE9" }); }
	}
}

function getImage(imgSrc)
{
 var remote = 'win';
 var url = imgSrc;
 var width = 600;
 var height = 600;
 var wt =document.body.scrollTop+100;
 var wl =(document.body.clientWidth/2)-(width/2);
 var properties = "scrollbars=yes,resizable=no,top="+wt+",left="+wl+", innerWidth="+width+",innerHeight="+height+",width="+width+",height="+height;
 remote=window.open(url,remote,properties);
 remote.focus();
}
