function vIE(){return (navigator.appName=='Microsoft Internet Explorer')?parseFloat((new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})")).exec(navigator.userAgent)[1]):-1;}
version = vIE();

if ( version < 7 && version > 0)
{
  location.href = "http://old-browser.com";
}


