function _showVideo ( name ) {
	document.getElementById( 'frame' ).style.visibility = 'hidden';

	nWide = 362;
	xPosition = ( screen.width - nWide ) / 2 - 10;
	if ( screen.width <= ( nWide + 20 )) {
		nWide = screen.width - 40;
		xPosition = 0;
	}
	nHigh = 352;
	yPosition = ( screen.height - nHigh ) / 2 - 10;
	if ( screen.height <= ( nHigh + 20 )) {
		nHigh = screen.height - 40;
		yPosition = 0;
	}

	args = "width=" + nWide + "," 
	+ "height=" + nHigh + "," 
	+ "location=no," 
	+ "menubar=no,"
	+ "resizable=yes,"
	+ "scrollbars=yes,"
	+ "status=mo," 
	+ "titlebar=no,"
	+ "toolbar=no,"
	+ "hotkeys=no,"
	+ "screenx=" + xPosition + ","  //NN Only
	+ "screeny=" + yPosition + ","  //NN Only
	+ "left=" + xPosition + ","     //IE Only
	+ "top=" + yPosition;           //IE Only
	
	url = "video.php?" + name;
	movieWindow = window.open( url, 'audio', args );
	movieWindow.focus();
}

function _popUp() {
	if ( navigator.appName == "Netscape" || navigator.appName == "Opera" ) {
		windowWidth = window.innerWidth;
		windowHeight = window.innerHeight;
		windowOffset = window.pageYOffset;
	} else if ( document.documentElement.clientWidth ) {
		windowWidth = document.documentElement.clientWidth;
		windowHeight = document.documentElement.clientHeight;
		windowOffset = document.documentElement.scrollTop;
	} else {
		windowWidth = document.body.clientWidth;
		windowHeight = document.body.clientHeight;
		windowOffset = document.body.scrollTop;
	}
	showDiv = document.getElementById( 'frame' );
	offset = Math.floor (( windowWidth - showDiv.offsetWidth ) / 2 );
	offset < 0 ? offset = 10 : offset;
	showDiv.style.left = offset + 'px';
	offset = Math.floor (( windowHeight - showDiv.offsetHeight ) / 2 );
	offset < 0 ? offset = 10 : offset;
	showDiv.style.top = eval( windowOffset + offset ) + 'px';
	showDiv.style.visibility = "visible";
}

function _showWindow ( url ) {
	recipeWindow = window.open( "http://www." + url + ".com" );
	recipeWindow.focus();
}
