//intual values

function BqBrTest()
{
	var agt=navigator.userAgent.toLowerCase();
	if (agt.indexOf("opera") != -1 || agt.indexOf("firefox") != -1 || agt.indexOf("msie") != -1) 
		{
		//alert("OK");
		}
	else
		{
		document.write("<hr>");
		document.write("<h1>This Page Only works in <a href=\"http://www.microsoft.com/windows/ie/default.mspx\">Microsoft Internet Explorer 5.5</a>+, <a href=\"http://www.opera.com\">Opera 7></a>+ and  <a href=\"http://www.mozilla.org/products/firefox/\">Mozilla  FireFox 1.0</a>+</h1>");
		document.write("You will be redirected to Vanquish <a href=\"/products/products_personal_antispam.shtml\">Vanquish Personal Anti-Spam Page</a> in 15 seconds");
		document.write("<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"15; URL=/products/products_personal_antispam.shtml\">");
		document.write("<hr>");
		}
}
	function got()
	{
		vqme_buy_function();
		document.order.submit();
		AddToCart(document.order);
		return true;
	}
	//verify what the sub window selection
	function whichChoice(YesNo)
	{
		vqme_buy_function();
		if(YesNo)
		{
			this.location.href="\/re\/re_vqme_buy.shtml";
		}
		else
		{
			got();
		}
	}
	
	//new style
	function vqme_buy_function()
	{
		var vqme_price				= 39.95;
		var vqme_option				= "(activation)";
		var vqme_name				= "Personal Anti-Spam vqME";
		var vqme_id_num				= "vqme_new";
		var vqme_personalization	= 0.00;
		var vqme_shipping			= 0.00;
		
		//subscription years
		vqme_subscription 			= vqme_subscription_function();
		vqme_personalization		= vqme_personalization_function();
		vqme_cd_manual				= vqme_cd_manual_function();
		
		if (vqme_subscription == "1")
		{
			vqme_price = 39.95;
			vqme_option	= vqme_option + "(time=1y)(bond=1500)";
			vqme_id_num	= vqme_id_num + "_1y";
			vqme_name	= vqme_name + "; 1 Year Service";
		}
		else
		{
			vqme_price = 64.95;
			vqme_option	= vqme_option + "(time=2y)(bond=2500)";
			vqme_id_num	= vqme_id_num + "_2y";
			vqme_name	= vqme_name + "; 2 Year Service";
		}
		//Personalization
		if (vqme_personalization == "1")
		{
			vqme_personalization = 0.00;
		}
		else
		{
			vqme_option = vqme_option + "(personalization)";
			vqme_id_num = vqme_id_num + "_p";
			vqme_name = vqme_name + "; Personalization";
			
			if (vqme_subscription == "1")
			{
				vqme_personalization = 50.00;
			}
			else
			{
				vqme_personalization = 50.00;
				
				
			}
		}
		if (vqme_cd_manual == 11.00)
		{
			vqme_id_num	= vqme_id_num + "_cd";
			vqme_option	= vqme_option + "(cd)";
			vqme_name	= vqme_name + "; CD + Manual";
		}
		
		vqme_total_price					= vqme_total_price_function(vqme_price+vqme_personalization+vqme_cd_manual);
		document.order.OPTION.value			= vqme_option;
		document.all.total_price.innerHTML	= vqme_total_price;
		document.order.ID_NUM.value			= vqme_id_num;
		document.order.PRICE.value			= vqme_price+vqme_personalization;
		document.order.SHIPPING.value		= vqme_cd_manual;
		document.order.NAME.value			= vqme_name;
		
		
	}
	function vqme_total_price_function(total_price)
	{
		x = "$" + total_price;
		return x;
	}
	function vqme_subscription_function()
	{
		x = "1";
		if (document.vqme_buy.subscription.options[document.vqme_buy.subscription.selectedIndex].value == "1")
		{
			x = "1";
			return x; 
		}
		else
		{
			x = "2";
			return x; 
		}
	}
	function vqme_personalization_function()
	{
		x = "1";
		if (document.vqme_buy.personalization.options[document.vqme_buy.personalization.selectedIndex].value == "1")
		{
			x = "1";
			return x; 
		}
		else
		{
			x = "2";
			return x; 
		}
	}
	function vqme_cd_manual_function()
	{
		x = 0.00;
		if (document.vqme_buy.cd_manual.options[document.vqme_buy.cd_manual.selectedIndex].value == "1")
		{
			x = 0.00;
			return x; 
		}
		else
		{
			x = 11.00;
			return x; 
		}
	}
	
	
