
// Pop-up -------------------------------------------// from podLob + my own slight screen.availWidth modification
function popup(url,name,width,height,scroll){
	if (screen.availWidth < width) {
		width = screen.availWidth - 50;
		height = height + 20;
	}
	scroll = (scroll)?'yes':'no';
	popper = window.open(url,name,'toolbar=no,location=no,status=no,menubar=no,scrollbars='+scroll+',resizable='+scroll+',width='+width+',height='+height);
	setTimeout('popper.focus()',250);
}
