A more flexible version:
var url = '
http://www.google.com';
var name = 'ubiq';
var width = 510;
var height = 400;
var top = window.screen.availHeight - height;
var left = window.screen.availWidth - width;
var features = 'width='+width+', height='+height+', top='+top+',
left='+left+', titlebar=no, dependent';
var data = {value: 'wow'}; // an object which can by accessed and
changed by both windows: parent - data, child - window.arguments[0]
win = window.openDialog(url, name, features, data);