﻿        // Firefox check	
        if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)) { //test for Firefox/x.x or Firefox x.x (ignoring remaining digits);
        	var ffversion = new Number(RegExp.$1) // capture x.x portion and store as a number
        	if (ffversion < 2) window.location = "http://www.yowinner.com/AncientBrowser.html";
        }

        // Chrome check
        if (/Chrome[\/\s](\d+\.\d+)/.test(navigator.userAgent)) { //test for Chrome/x.x or Chrome x.x (ignoring remaining digits);
            var cversion = new Number(RegExp.$1) // capture x.x portion and store as a number
            //if (cversion < 1) window.location = "http://www.yowinner.com/AncientBrowser.html";
        }

        // IE check
        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) window.location = "http://www.yowinner.com/AncientBrowser.html";
        }