<!--
function browserOK()
// checks users browser for compatibility with shopping cart
{
	var bName = navigator.appName;
	var bVer = parseInt(navigator.appVersion);
	var NS4 = (bName == "Netscape" && bVer >= 3);
	var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
	if (!(IE4 || NS4))
	{
		alert("Sorry. Your current browser version does not support our online ordering system.\n\n Currently, Netscape 3.x or 4.x and MSIE 4.x browsers are supported. AOL users please download the newest version of your software.\n\n Please call us at 1-888-613-7446 to order.");
		return false;
	}
	return true;
}

function checkCookie()
{

	if(!browserOK())
		return false;
	
	// checks if users cookies are enabled
		setCookie('cookiesEnabled','yes')
		checkThis = getCookie('cookiesEnabled');
		if (checkThis != 'yes')	{
			alert("We're sorry, but this function requires cookies be enabled on your browser. To generate a shopping cart and allow you to place an order, temporary cookies must be assigned and your browser is currently set to not accept cookies.\n\n They are temporary and will be deleted as soon as you close your broswer.\n\n To continue with your online order, please reset your browser to accept cookies for this session.");
			delCookie('cookiesEnabled');
			return false; 
		}	else
			{ delCookie('cookiesEnabled')
			  return true;
			}
}


/*  These functions were disabled when we changed to Online Store to use
    images instead of buttons.

function orderName()
{
	check = checkCookie();
	if (!check) { return; }
	else { self.location.href='shop_name_riders.htm' }
}

function orderPhoto()
{
	check = checkCookie();
	if (!check) { return; }
	else { self.location.href='shop_photo_riders.htm' }
}

function orderMessage()
{
	check = checkCookie();
	if (!check) { return; }
	else { self.location.href='shop_message_riders.htm' }
}

function orderMagnetic()
{
	check = checkCookie();
	if (!check) { return; }
	else { self.location.href='shop_mag_riders.htm' }
}

function orderBP()
{
	check = checkCookie();
	if (!check) { return; }
	else { self.location.href='shop_commercial.htm' }
}

function orderDirection()
{
	check = checkCookie();
	if (!check) { return; }
	else { self.location.href='shop_direction.htm' }
}

function orderAccess()
{
	check = checkCookie();
	if (!check) { return; }
	else { self.location.href='shop_accessories.htm' }
}

*/
// -->