// JavaScript Document
function newWindow(largewin) {
	if (window.screen.width >= 1024){		
	largeWindow = window.open(largewin, "newWin", "width=660,height=460,left=150,top=150")
	largeWindow.focus()
	}
else {
	largeWindow = window.open(largewin, "newWin", "width=660,height=460,left=50,top=20")
	largeWindow.focus()
}
}

// 7-8 baseball
  var picURL = new Array()
  
  picURL[0] = "javascript:newWindow('pictures/baseball/7-8/1.htm')"
  picURL[1] = "javascript:newWindow('pictures/baseball/7-8/2.htm')"
  picURL[2] = "javascript:newWindow('pictures/baseball/7-8/3.htm')"
  picURL[3] = "javascript:newWindow('pictures/baseball/7-8/4.htm')"
  picURL[4] = "javascript:newWindow('pictures/baseball/7-8/5.htm')"
  picURL[5] = "javascript:newWindow('pictures/baseball/7-8/6.htm')"
  picURL[6] = "javascript:newWindow('pictures/baseball/7-8/7.htm')"
  picURL[7] = "javascript:newWindow('pictures/baseball/7-8/8.htm')"
  picURL[8] = "javascript:newWindow('pictures/baseball/7-8/9.htm')"
  picURL[9] = "javascript:newWindow('pictures/baseball/7-8/10.htm')"
  picURL[10] = "javascript:newWindow('pictures/baseball/7-8/11.htm')"
  picURL[11] = "javascript:newWindow('pictures/baseball/7-8/12.htm')"
  picURL[12] = "javascript:newWindow('pictures/baseball/7-8/13.htm')"
  picURL[13] = "javascript:newWindow('pictures/baseball/7-8/14.htm')"
  

function newLink(addone) {
	if (document.images) {
var thisURL = 0
		thisURL = thisURL + addone
		window.location = picURL[thisURL]
	}
}

// 9-10 baseball
  var imgURL = new Array()
  
  imgURL[0] = "javascript:newWindow('pictures/baseball/9-10/1.htm')"
  imgURL[1] = "javascript:newWindow('pictures/baseball/9-10/2.htm')"
  imgURL[2] = "javascript:newWindow('pictures/baseball/9-10/3.htm')"
  imgURL[3] = "javascript:newWindow('pictures/baseball/9-10/4.htm')"
  imgURL[4] = "javascript:newWindow('pictures/baseball/9-10/5.htm')"
  imgURL[5] = "javascript:newWindow('pictures/baseball/9-10/6.htm')"
  imgURL[6] = "javascript:newWindow('pictures/baseball/9-10/7.htm')"
  imgURL[7] = "javascript:newWindow('pictures/baseball/9-10/8.htm')"
  imgURL[8] = "javascript:newWindow('pictures/baseball/9-10/9.htm')"
  imgURL[9] = "javascript:newWindow('pictures/baseball/9-10/10.htm')"
  imgURL[10] = "javascript:newWindow('pictures/baseball/9-10/11.htm')"
  imgURL[11] = "javascript:newWindow('pictures/baseball/9-10/12.htm')"
  imgURL[12] = "javascript:newWindow('pictures/baseball/9-10/13.htm')"
  imgURL[13] = "javascript:newWindow('pictures/baseball/9-10/14.htm')"
  imgURL[14] = "javascript:newWindow('pictures/baseball/9-10/15.htm')"
  imgURL[15] = "javascript:newWindow('pictures/baseball/9-10/16.htm')"
  

function thisLink(addone) {
	if (document.images) {
var curURL = 0
		curURL = curURL + addone
		window.location = imgURL[curURL]
	}
}

// Basketball
  var bbURL = new Array()
  
  bbURL[0] = "javascript:newWindow('pictures/basketball/1.htm')"
  bbURL[1] = "javascript:newWindow('pictures/basketball/2.htm')"
  bbURL[2] = "javascript:newWindow('pictures/basketball/3.htm')"
  bbURL[3] = "javascript:newWindow('pictures/basketball/4.htm')"
  bbURL[4] = "javascript:newWindow('pictures/basketball/5.htm')"
  bbURL[5] = "javascript:newWindow('pictures/basketball/6.htm')"
  bbURL[6] = "javascript:newWindow('pictures/basketball/7.htm')"
  bbURL[7] = "javascript:newWindow('pictures/basketball/8.htm')"
  bbURL[8] = "javascript:newWindow('pictures/basketball/9.htm')"
  bbURL[9] = "javascript:newWindow('pictures/basketball/10.htm')"
  

function bbLink(addone) {
	if (document.images) {
var bballURL = 0
		bballURL = bballURL + addone
		window.location = bbURL[bballURL]
	}
}

