// JavaScript Document
function buildImgArray(num){
	this.length = num;
	for (var i = 0; i < num; i++){
		this[i] = new Image();
	}
	return this;
}

function luxView(u,w,h){
	winw = (screen.width < w) ? screen.width : w;
	winh = (screen.height < h) ? screen.height : h;
	xoff = (screen.width/2)-(winw/2);
	yoff = (screen.height/2)-(winh/2)-150;
	newWin="scrollbars=yes,menubar=no,resizable=yes,width="+winw+",height="+winh+",screenX="+xoff+",screenY="+yoff+",top="+yoff+",left="+xoff;
  	myWin=window.open(u,"Luxology",newWin);
	//myWin.resizeTo(winw,winh);
	//myWin.focus();
}