/* Name: windowpopups.js Version: 1.0 Date: 14 Dec 2006 Project: ECI Developer: Jonathan Tabone Description: Javascript include file which provides functionality for window popups */ function popitup(name, url ,wd, ht) { var remote = window.open(url,name,'width = ' + wd +' ,height= ' + ht +' ,scrollbars=1, resizable=yes'); remote.focus(); } function popitupWithAnchor(name, url ,wd, ht, anchor ) { var urlWithAnchor = url + "#" + anchor; var remote = window.open(urlWithAnchor,name,'width = ' + wd +' ,height= ' + ht +' ,scrollbars=1,resizable=yes'); remote.focus(); }