	// LAUNCH MOVIE FUNCTION: showVideo
	function showVideo(filename,width,height) {
		// N.B: REQUIRES browsercheck_mine.js, WHICH MUST PRECEDE THIS FILE'S INCLUSION.

		// target dimensions
		var x=width;
		var y=height;

		x=adjustXDimensionForPop(x); // defined below
		y=adjustYDimensionForPop(y); // defined below
		
		if (browserVers>=4) {  // If the browser supports JavaScript 1.2, do it this way
			xpos=(screen.availWidth/2) - (x/2);
			ypos=(screen.availHeight/2) - (y/2);
		} else { // Else position is hardcoded
			xpos=200;
			ypos=100;
		}

		// launch console
		eval('movie=window.open("../album/'+filename+'/index.html","movie","left='+xpos+',top='+ypos+',screenX='+xpos+',screenY='+ypos+',toolbar=0,status=0,location=0,menubar=0,scrollbars=0,resizable=1,directories=0,width='+x+',height='+y+'")');
		
		// if Mac IE 4.x, the console window launched in the upper
		// corner.  move it.
		if (isMacIE4) {
			movie.moveTo(xpos,ypos)
		}
	}

	function adjustXDimensionForPop(x) {
		if (isMacIE5) 	{ x-=16 }
		if (isMacIE4) 	{ x+=0 }
		if (isMacNN)	{ x-=4 }
		if (isWinIE)	{ x-=5 }
		if (isWinNN)	{  }
		
		return x
	}

	// function adjustYDimensionForPop takes the given height and adjusts
	// it for the browser, returning the new height.

	function adjustYDimensionForPop(y) {
		if (isMacIE5) 	{ y-=16 }
		if (isMacIE4) 	{ y+=0 }
		if (isMacNN)	{  }
		if (isWinIE)	{  }
		if (isWinNN)	{  }
		
		return y
	}