<!--
var winChar= ""
var newWind
var isIE3 = (navigator.appVersion.indexOf("MSIE 3") != -1) ? true : false
function winControl(x, y, z, tool){
	//close window if open
	cWin(x);
	//do we see the tool bars or not
	if (tool == "tools" || tool == "tool"){winChar= "location=yes,scrollbars=yes,width="+y+",height="+z+",resizable=yes,status=yes,menubar=yes,toolbar=yes, screen x=2, screen y=350, top=2, left=350";}
	else{winChar= "scrollbars=no,width="+y+",height="+z+",resizable=no,status=no,menubar=no,toolbar=no, screen x=2, screen y=350, top=2, left=350";}
	//open the new window
	nWin(x, y, z);
	//stop the page from changing only the pop up window
	return false;
}

function winControlC(x, y, z, tool){
cWin(x);

//sets up variables for centering window
if (document.all){
	var xMax = screen.width, yMax = screen.height;
}else{
	if (document.layers){
		var xMax = window.outerWidth, yMax = window.outerHeight;
	}else{
		var xMax = 640, yMax=480;
	}
}




var xOffset = (xMax - y)/2, yOffset = (yMax - z)/2;
//are tools turned on or off
if (tool == "tools" || tool == "tool"){winChar= "scrollbars=yes,width="+y+",height="+z+",resizable=yes,status=yes,menubar=yes,toolbar=yes, screenX="+xOffset+",screenY="+yOffset+",top="+yOffset+",left="+xOffset}
else{winChar= "scrollbars=no,width="+y+",height="+z+",resizable=no,status=no,menubar=no,toolbar=no, screenX="+xOffset+",screenY="+yOffset+",top="+yOffset+",left="+xOffset}

nWin(x, y, z);
return false;
}

function nWin(x,y,z) {
	var winLoc = x
	var output = ""
	newWind = window.open(winLoc,"subwindow",winChar) //subwindow is the name of the new window
	// take care of Navigator 2
	if (newWind.opener == null) {
		newWind.opener = window
	}

	//newWind.document.close()//not sure why the error occurs here in IE
}
// close subwindow, including workaround for IE3
function cWin(x) {
	var winLoc = x
	var winChar =''
	if (isIE3) {
		// if window is already open, nothing appears to happen
		// but if not, the subwindow flashes momentarily
		newWind = window.open(winLoc,"subwindow",winChar)
	}
	if (newWind && !newWind.closed) {
		newWind.close()
	}
}

//the following code needs to be inserted in the link
//<a href="../index.htm" onClick="return winControl(href, '200', '400', '');">link</a>
//or to center the window
//<a href="../index.htm" onClick="return winControlC(href, '200', '400', 'tools');">link</a>
//#hold is used to prevent the window from jumping to the top of the page
//NOTE: #hold it will show up in dreamweaver as a broken link
//if you don't want to center the window replace nWinC with nWin






//-->