
theVersion = navigator.appVersion.charAt(0);
theBrowser = navigator.appName;
if(theVersion < 4 && theBrowser == "Netscape"){
alert("Your Netscape Version 3x browser will\nnot display the layers properly.\nPlease upgrade as soon as possible!");
window.history.back();
}

var pictureDisplay=null;
var imgName;
var picHeight;
var picWidth
var comments;
var tableWidth

function openPic(imgName,comments,picWidth,picHeight){
// Written by Kelley Thompson - please use only with 
// permission, retaining this copyright notice
	if(comments=='undefined'){
	comments="";
	}

if(pictureDisplay && !pictureDisplay.closed){
pictureDisplay.close();
}
    tableWidth=picWidth;
	var attributes="width="+(picWidth+=10)+",height="+(picHeight+=50)+",resizable";

pictureDisplay=window.open('','imgName',attributes);

var content='<html>\n<head>\n<title>';
content+=imgName;
content+='</title>\n<link rel="stylesheet" href="../football.css" type="text/css">\n</head>';
content+='<body background="images/volsbg.gif" leftmargin="0" topmarginrginheight="0" topmargin="0" marginwidth="0" marginheight="0">\n';
content+='<center>\n<table border="0" width="'+tableWidth+'" cellpadding="0" cellspacing="0">\n\t<tr align="center">\n';
content+='\t\t<td colspan="2" valign="top"><img src="'+imgName+'"></td>\n\t</tr>\n';
content+='\t<tr>\n\t\t<td rowspan="2" width="'+(tableWidth-=50)+'" class="textWhtArial13">'+comments+'</td>\n';
content+='\t\t<td rowspan="2" align="right" valign="middle" width="60" nowrap>\n\t\t<a href="javascript:window.close();" class="openpic"><b>CLOSE</b></a></td>\n';
content+='\t</tr>\n</table>\n</center>\n</body>\n</html>';
pictureDisplay.document.write(content);

}
