<!--

function jlOpenWindow(theURL,winName,features) { //v2.0
 return window.open(theURL,winName,features);
}
   
// global var to hold name of new uri
var gUriOfPopup;

// function to put the uri in the picture window
function openPictureWin(uri, width, height, left, top ) {

	width += 50;
	height += 60;

	gUriOfPopup = uri;

	// build the parameters for the window
	// var winParms = 'width=500,height=500,left=50,top=50,scrollbars');
	var winParms = 'width=' + width + ',height=' + height + ',left=' + left + ',top=' + top + ',scrollbars,resizable';
	previewWindow = jlOpenWindow('loading.htm', 'PictureWindow', winParms);
	
	// set the size of the window to the specified width and length
	previewWindow.resizeTo(width, height);


}			

//-->
