if ($.cookie("vaca_browsercheck")== null) {

   var teoud = false;

   if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
      var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
      if (ieversion<7)
        teoud = true; 
   }

   if (/Firefox\/(\d+\.\d+)/.test(navigator.userAgent)){ //test for Firefox/x.x;
      var ffversion=new Number(RegExp.$1) // capture x.x portion and store as a number
      if (ffversion<3)
         teoud = true;
   }

   if (teoud == true) {
      $.cookie("vaca_browsercheck", "X", { expires: 30 });
      window.location = '/?type=browsercontrole';
   }
}

