
//define the base document object 

var doc = "document."
 
/* basic rollover function. */ 

function swapImg(imgName,obj) {
imgObj = eval(doc + imgName);
imgObj.src = eval(imgName + obj + '.src');
 }

var newWin;

function fullScreenWindow(url,winname) {
	windowHeight = screen.height;
	windowWidth = screen.width;
	settings = '"toolbar=no,directories=no,menubar=no,status=no,width='+windowWidth+',height='+windowHeight+',screenX=0,left=0,screenY=0,top=0"';
	closeWindow();
	newWin = window.open(url, winname, settings);
	newWin.focus();
}
	

function MM_openBrWindow(theURL,winName,features) { //v2.0
  var newWin = window.open(theURL,winName,features);
  newWin.focus();
}

function closeWindow() {
	if (newWin && !newWin.closed) {
			newWin.close();
	}
}