function spawnWindow(sURL, sName, iWidth, iHeight/* quadrant location using integer, boolean for scroll */) {
	if (spawnWindow.arguments.length > 4) {
		iQuadrantID = spawnWindow.arguments[4];
	} else {
		iQuadrantID = 5;
	}
	if (spawnWindow.arguments.length > 5) {
		bScroll = spawnWindow.arguments[5];
	} else {
		bScroll = false;
	}
	if (iHeight > screen.height) {
		if (bScroll){
			iHeight = screen.availHheight;
		} else {
			bScroll = true;
			iHeight = screen.availHeight;
			iWidth = iWidth + 20;
		}
	}
	if (iWidth > screen.width) {
		if (bScroll){
			iWidth = screen.availWidth;
		} else {
			iWidth = screen.availWidth;
			bScroll = true;
		}
	}
	iTopX = 0;
	iTopY = 0;
	switch(iQuadrantID){
		case 1:
			iTopX = 0;
			iTopY = 0;
			break;
		case 2:
			iTopX = (screen.width / 2) - (iWidth / 2);
			iTopY = 0;
			break;
		case 3:
			iTopX = screen.width - iWidth;
			iTopY = 0;
			break;
		case 4:
			iTopX = 0;
			iTopY = (screen.height / 2) - (iHeight / 2);
			break;
		case 5:
			iTopX = (screen.width / 2) - (iWidth / 2);
			iTopY = (screen.height / 2) - (iHeight / 2);
			break;
		case 6:
			iTopX = screen.width - iWidth;
			iTopY = (screen.height / 2) - (iHeight / 2);
			break;
		case 7:
			iTopX = 0
			iTopY = screen.height - iHeight;
			break;
		case 8:
			iTopX = (screen.width / 2) - (iWidth / 2);
			iTopY = screen.height - iHeight;
			break;
		case 9:
			iTopX = screen.width - iWidth;
			iTopY = screen.height - iHeight;
			break;
		default:
			iTopX = (screen.width / 2) - (iWidth / 2);
			iTopY = (screen.height / 2) - (iHeight / 2);
			break;
	}
	if (bScroll) {
		sScrollOption = "yes";
	} else {
		sScrollOption = "no";
	}
	void(mywin=window.open(sURL, sName,'width='+iWidth+',height='+iHeight+',top='+iTopY+',left='+iTopX+',toolbar=no,scrollbars='+sScrollOption+',resizable=no,menubar=no,status=no,directories=no,location=no'));
	mywin.focus();
}

function writeBVGftr() {
document.write('<table border="0" cellspacing="0" cellpadding="0"><tr>');

document.write('<td class="copyrightText" nowrap width="225">&copy; DISNEY.  ALL RIGHTS RESERVED.</td>');
					
document.write('<td><img alt="" border="0" height="45" hspace="18" src="http://buenavistagames.go.com/assets/images/footer/dots.gif" width="1"></td>');

document.write('<td><a href="http://disney.go.com/corporate/privacy/terms.html?ppLink=pp_bvg" target="_blank"><img alt="TERMS OF USE" border="0" height="10" src="http://buenavistagames.go.com/assets/images/footer/btnTermsOfUse.gif" width="68"></a></td>');

document.write('<td><img alt="" border="0" height="1" src="http://buenavistagames.go.com/assets/images/spacer.gif" width="15"></td>');

document.write('<td><a href="http://disney.go.com/corporate/privacy/pp_bvg.html" target="_blank"><img alt="PRIVACY POLICY/YOUR CALIFORNIA PRIVACY POLICY" border="0" height="10" src="http://buenavistagames.go.com/assets/images/footer/btnPrivacyPolicy.gif" width="247"></a></td>');

document.write('<td><img alt="" border="0" height="1" src="http://buenavistagames.go.com/assets/images/spacer.gif" width="18"><img alt="" border="0" height="45" src="http://buenavistagames.go.com/assets/images/footer/dots.gif" width="1"></td>');

document.write('<td><img alt="" border="0" height="1" src="http://buenavistagames.go.com/assets/images/spacer.gif" width="25"></td>');

document.write('<td><a href="../home.html"><img alt="BVG" border="0" height="48" src="http://buenavistagames.go.com/assets/images/footer/bvg.gif" width="84"></a></td>');

document.write('</tr></table>');
}

/*
function pressRelease() {
document.write('<div class="newsBarItem"><a href="javascript:openReadMore(\'20060208\');"><div class="newsBarDate">February 8, 2006</div>FINDING NEMO: ESCAPE TO THE BIG BLUE, A NEW UNDERWATER JOURNEY INSPIRED BY A DISNEY PRESENTATION OF A PIXAR FILM, FINDING NEMO, NOW AVAILABLE FOR NINTENDO DS&trade;</a></div><div class="newsBarItem"><a href="javascript:openReadMore(\'20060110\');"><div class="newsBarDate">January 11, 2006</div>GET READY FOR A WILD VIDEO GAME ADVENTURE THAT WILL TEST KIDS\' ANIMAL INSTINCTS IN WALT DISNEY PICTURES PRESENTS THE WILD</a></div><div class="newsBarItem"><a href="javascript:openReadMore(\'20051206\');"><div class="newsBarDate">December 6, 2005</div>BUENA VISTA GAMES SHIPS MORE THAN 2 MILLION UNITS OF THE CHRONICLES OF NARNIA VIDEO GAME TO RETAIL OUTLETS IN NORTH AMERICA AND EUROPE</a></div><div class="newsBarItem"><a href="javascript:openReadMore(\'20051117\');"><div class="newsBarDate">November 17, 2005</div>Live as Lizzie McGuire in Game Boy&reg; Advance Game Plus Episode from Popular Lizzie McGuire TV Show</a></div><div class="newsBarItem"><a href="javascript:openReadMore(\'20051115\');"><div class="newsBarDate">November 15, 2005</div>Buena Vista Games Ships the Highly Anticipated Multiplatform Video Game The Chronicles of Narnia: The Lion, The Witch and The Wardrobe to Retail Outlets Worldwide</a></div><div class="newsBarItem"><a href="javascript:openReadMore(\'20051111\');"><div class="newsBarDate">November 11, 2005</div>Disney Channel Favorite The Proud Family Premieres on Game Boy&reg; Advance</a></div><div class="newsBarItem"><a href="javascript:openReadMore(\'20051109\');"><div class="newsBarDate">November 9, 2005</div>BUENA VISTA GAMES EXTENDS ITS COMMITMENT TO GIRL GAMERS WITH RELEASE OF ACTION/ADVENTURE GAME ON NINTENDO DS TM,DISNEY\'S KIM POSSIBLE: KIMMUNICATOR</a></div><div class="newsBarItem"><a href="javascript:openReadMore(\'20051018\');"><div class="newsBarDate">October 18, 2005</div>One Little Chicken, One Big Video Game Adventure!</a></div>');
}
*/