
function win(url) {

  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width = 200,height = 200,screenX=0,screenY=0,top=0,left=0')
}

function confirmLink(theLink, theMessage)
{

    // Confirmation is not required in the configuration file
    // or browser is Opera (crappy js implementation)
    if (confirmMsg == '' || typeof(window.opera) != 'undefined') {
        return true;
    }

    var is_confirmed = confirm(confirmMsg + ' :\n' + theMessage);
    if (is_confirmed) {
        theLink.href += '&is_js_confirmed=1';
    }

    return is_confirmed;
} // end of the 'confirmLink()' function

function checkForm(theForm){
 if (theForm.elements['upload'].value == '') alert(theForm.elements);
 return false
}