

var count2 = 39;
var count3 = 25;



function showShot2(img)
{

var screenWidth2		=	(screen.width - 640) / 2;
var screenHeight2	=	(screen.height - 554) / 2;

page = "http://www.lucasarts.com/products/battlegrounds/screens.jsp?num=" + count2;
window.open(page,'','scrollbars=0,height=554,width=640,top='+screenHeight2+',left='+screenWidth2+'');
}

function forwardScreen2(img)
{
		count2 = count2 - 1;
		 if(count2 == 0)
			count2 = 39;

	document[img].src = "http://www.lucasarts.com/products/battlegrounds/images/screens/screen" + count2 + "s.jpg";

}

function backScreen2(img)
{
		count2 = count2 + 1;
		 if(count2 == 40)
			count2 = 1;

	document[img].src = "http://www.lucasarts.com/products/products/battlegrounds/images/screens/screen" + count2 + "s.jpg";

}

function showShot3(img)
{

var screenWidth3		=	(screen.width - 640) / 2;
var screenHeight3 	=	(screen.height - 554) / 2;

page = "http://www.lucasarts.com/products/battlegrounds/concepts.jsp?num=" + count3;
window.open(page,'','scrollbars=0,height=554,width=640,top='+screenHeight3+',left='+screenWidth3+'');
}

function forwardScreen3(img)
{
		count3 = count3 - 1;
		 if(count3 == 0)
			count3 = 25;

	document[img].src = "http://www.lucasarts.com/products/battlegrounds/images/concepts/screen" + count3 + "s.jpg";

}

function backScreen3(img)
{
		count3 = count3 + 1;
		 if(count3 == 26)
			count3 = 1;

	document[img].src = "http://www.lucasarts.com/products/products/battlegrounds/images/concepts/screen" + count3 + "s.jpg";

}
