//opens pop up window for link
//file=html file name (e.g. "popUp.aspx"), x=window width, y=window height, name=window name (if req'd)
function popUp(file,x,y,name) {
	if(x!=="" && y!=="") { //determinge if width and height specified
			attr='width='+x+',height='+y+',scrollbars=yes,resizable=yes,status=no,menubar=no,toolbar=no,location=no';
	}else{ //no width and height specified, so use 300x400
			attr='width=300,height=400,scrollbars=yes,resizable=yes,status=no,menubar=no,toolbar=no,location=no';
	}
	window.open(file,name,attr);
}