function dlnes(thisForm,origin) {
      downloadNowWZ('http://download.winzip.com/winzip100es.exe','downauto.cgi?file=winzip100es.exe&lang=ES&email=' + thisForm.email.value,'0');
}

function dlnmsi(thisForm,origin) {
      downloadNowWZ('http://download.winzip.com/winzip110.msi','downauto.cgi?file=winzip110.msi&lang=EN&email=' + thisForm.email.value,'0');
}

function downloadNow(file,redUrl,extUrl) {
   var isIe = (window.navigator.userAgent.toUpperCase().indexOf('MSIE') != -1);
   var isOpera = (window.navigator.userAgent.toUpperCase().indexOf('OPERA') != -1);   

   if (isIe && extUrl == 0 && !isOpera) {
      window.open(file,'_blank','toolbar=0,location=no,directories=0,status=0,scrollbars=no,resizable=0,width=0,height=0,top=0,left=0');
      window.focus(); 
      location.href = redUrl + '&idl=n';
   } else {
      location.href = redUrl;
   }
}

function downloadNowWZ(file,redUrl,extUrl) {
   var filepick=Math.floor(Math.random()*101);

   var isIe = (window.navigator.userAgent.toUpperCase().indexOf('MSIE') != -1);
   var isOpera = (window.navigator.userAgent.toUpperCase().indexOf('OPERA') != -1);

   if (isIe && extUrl == 0 && !isOpera) {
      window.open(file,'_blank','toolbar=0,location=no,directories=0,status=0,scrollbars=no,resizable=0,width=0,height=0,top=0,left=0');
      window.focus(); 
      location.href = redUrl + '&idl=n';
   } else {
      location.href = redUrl;
   }
}
