function setSiteOption (option)
{
	if (document.Form.Save.checked)
	{
 		var expDate = new Date ();

			// The expDate is the date when the cookie should
			// expire, we will keep it for a year
		expDate.setTime (expDate.getTime () + (365 * 24 * 60 * 60 * 1000));

		SetCookie ('SiteOption', option, expDate, "/");
	}
}

function setSiteOption2 (option)
{
	var expDate = new Date ();

	// The expDate is the date when the cookie should
	// expire, we will keep it for a year
	expDate.setTime (expDate.getTime () + (365 * 24 * 60 * 60 * 1000));

	SetCookie ('SiteOption', option, expDate, "/");
}

function setShippingOption (option)
{
	var expDate = new Date ();

	// The expDate is the date when the cookie should
	// expire, we will keep it for a year
	expDate.setTime (expDate.getTime () + (365 * 24 * 60 * 60 * 1000));

	SetCookie ('Shipping', option, expDate, "/");
}

function setSFSFWMembership (option)
{
	var expDate = new Date ();

	// The expDate is the date when the cookie should
	// expire, we will keep it for a year
	expDate.setTime (expDate.getTime () + (365 * 24 * 60 * 60 * 1000));

	SetCookie ('SFSFW', option, expDate, "/");
}

function checkMainCookieOption ()
{
	option = GetCookie ('SiteOption');

	if (option == "Frames")
	{
		window.location = "Frames/index.html";
	}
	else if (option == "NoFrames")
	{
		window.location = "NoFrames/index.html";
	}
	else if (option == "TextOnly")
	{
		window.location = "gone.html";
	}
}

function checkShippingOption ()
{
	option = GetCookie ('Shipping');

	if (option == "UK")
	{
		window.location = "UK/index.html";
	}
	else if (option == "Europe")
	{
		window.location = "Europe/index.html";
	}
	else if (option == "RoWAir")
	{
		window.location = "RoWAir/index.html";
	}
}

