var chasm = screen.availWidth;
var mount = screen.availHeight;
var width = 0;
var height = 0;

var aux = null;
function activityWindow(width,height) {
if (aux != null && aux.open) aux.close();
aux = window.open('','activity','toolbar=yes,scrollbars=yes,width=' + width + ',height=' + height + ',left=' + ((chasm - width - 10) * .5) + ',top=' + ((mount - height - 30) * .5));
}

function eradic() {
if (aux != null && aux.open) aux.close();
}
