function openWindow(theUrl, winName, features) {
    secondWindow=window.open(theUrl, winName, features);
}

