var myVarWindow;
function openSmallWindow(url, width, height) {
   var left = parseInt((screen.availWidth / 2) - (width / 2));
   var top = parseInt((screen.availHeight / 2) - (height / 2));
   var windowFeatures;
   if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) {
      var ieversion = new Number(RegExp.$1) // capture x.x portion and store as a number
      if (ieversion >= 7) {
         windowFeatures =
         'width=' + width + ',height=' + height + ',location=yes,scrollbars=1,status,resizable=yes,align=center,left=' + left + ',top=' +
         top + 'screenX=' + left + ',screenY=' + top;
      } else {
         windowFeatures =
         'width=' + width + ',height=' + height + ',location=yes,toolbar=yes,scrollbars=1,status,resizable=yes,align=center,left=' + left +
         ',top=' + top + 'screenX=' + left + ',screenY=' + top;
      }
   } else {
      windowFeatures =
      'width=' + width + ',height=' + height + ',toolbar=yes,scrollbars=1,status,resizable=yes,align=center,left=' + left + ',top=' + top +
      'screenX=' + left + ',screenY=' + top;
   }
   myVarWindow = window.open(url, "Travel", windowFeatures);
   myVarWindow.focus();
   return false;
}


