//open and expand galleries window
if (document.all) {
	var wide = window.screen.availWidth;
	var high = window.screen.availHeight;}

function galleryOpen() {
	if (document.all)	{
		var expWin = window.open("","BoomWindow","fullscreen");
		expWin.document.write('<html><body bgcolor=whitesmoke scroll=no><font face=verdana color=navy size=-1><p>&nbsp;<p><b>optimizing browser for douglasjames.net galleries<p> this will take but a moment<p></b></font></body></html>');
		expWin.focus();
		for (H = 1; H < high; H += 8)	{
		      expWin.resizeTo(1,H)	}
		for (W = 1; W < wide; W += 8)	{
			expWin.resizeTo(W,H)	}
	expWin.location = "h/gallery/frames/portraits.htm"	}

	else	{
		window.open("h/gallery/frames/portraits.htm","BoomWindow","")	}}
