function doWindowOpen(win_url,switchem,win_name,win_width,win_height,scrollbars) {
	
	var LeftPosition=(screen.width/2)-(win_width/2);
	var TopPosition=(screen.height/2)-(win_height/2);
  	
  	new_win = window.open(win_url, 'newWin', 'width='+win_width+', height='+win_height+',menubar=0,toolbar=0,scrollbars='+scrollbars+',status=0,location=0,resizable=0,top='+TopPosition+',left='+LeftPosition+'');

  new_win.focus();
  return false;
}

// usage
// ---------------
// standard window:
// <a href="/tools/blio.cfm" onClick="return doWindowOpen('/tools/blio.cfm', 0);" title="Blio">Blio!</a>

// custom window:
// <a href="http://www.wired.com/" onClick="return doWindowOpen('http://www.wired.com/', 1, 'mine','width=300,height=300,menubar=0,toolbar=0,scrollbars=0,status=0,location=0,resizable=0')" title="Wired">Wired!</a>
