<!--
function showGalleryImage(lID, lID1, lID2, lID3, lImageIndex, bLarge){
	if (bLarge){
		popupFullScreenWindow('gallerypop.asp?id=' + lID + '&id1=' + lID1 + '&id2=' + lID2 + '&id3=' + lID3 + '&imageindex=' + lImageIndex, 'premier_gallery', 0, 0);
	}else{
		popupCenteredWindow('gallerypop.asp?id=' + lID + '&id1=' + lID1 + '&id2=' + lID2 + '&id3=' + lID3 + '&imageindex=' + lImageIndex, 800, 600, 'premier_gallery', 0, 0, 1);
	}
}
function popupCenteredWindow(sUrl, lWidth, lHeight, sName, bScroll, bStatus, bResize){
	//	sURL	(URL of the page to open)
	//	lWidth	(width of the popup)
	//	lHeight	(height of the popup)
	//	sName	(name given to the window)
	//	bScroll	(allow scroll bars [yes|no|1|0])
	//	bStatus	(allow status bar [yes|no|1|0])
	//	bResize	(allow screen resize [yes|no|1|0])
	lLeft = (window.screen.width/2) - ((lWidth/2) + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
	lTop = (window.screen.height/2) - ((lHeight/2) + 30); //half the screen height minus half the new window height (plus title and status bars).
	newWin = window.open(sUrl, sName, "height=" + lHeight + ", width=" + lWidth + ", left=" + lLeft + ", top=" + lTop + ", screenX=" + lLeft + ", screenY=" + lTop + ", scrollbars=" + bScroll + ", status=" + bStatus + ", resizable=" + bResize);
	newWin.focus();
}
function popupFullScreenWindow(sUrl, sName, bScroll, bStatus){
	//	sURL	(URL of the page to open)
	//	sName	(name given to the window)
	//	bScroll	(allow scroll bars [yes|no|1|0])
	//	bStatus	(allow status bar [yes|no|1|0])
	lLeft = 20
	lTop = 20
	lWidth = window.screen.width - 40
	lHeight = window.screen.height - 90
	newWin = window.open(sUrl, sName, "height=" + lHeight + ", width=" + lWidth + ", left=" + lLeft + ", top=" + lTop + ", screenX=" + lLeft + ", screenY=" + lTop + ", scrollbars=" + bScroll + ", status=" + bStatus + ", resizable=1");
	newWin.focus();
}
//-->