// function to pop-up windows & set attributes
function popWin(newURL, newName, w, h, x, y, tBar, mBar){
		newWin = open(newURL, newName, 'width='+w+',height='+h+',left='+x+',top='+y+',toolbar='+tBar+',menubar='+mBar+',scrollbars,resizable,location');
		newWin.focus();
}