// JavaScript Document

	function select_phone(reff,Type,net)
	{
		var reffgo = reff.value;
//		alert(Type);
		//alert(reff);
		if (Type=='Contract')
		{
		window.location = "netphone_Deal.asp?Ph="+ reff+"&net="+net 
		}
		if (Type=='C')
		{
		window.location = "handset_gift_deal.asp?Ph="+ reff 
		}
		else if (Type=='SimFree')
		{
		window.location = "Phone_Dealsimfree.asp?Ph="+ reff 
		}
		else if (Type=='PAYG')
		{
		window.location = "Phone_Dealpayg.asp?Ph="+ reff 
		}
		else if (Type=='12MonthsFree')
		{
		window.location = "12phone_deal.asp?Ph="+ reff +"&t=1"
		}
		else if (Type=='Clearance')
		{
		window.location = "clearance-deals.asp?Ph="+ reff
		}
		
	}
		function select_phonenet(reff,Type)
	{
//		alert(reff,Type);
		window.location = "netphone_Deal.asp?Ph="+ reff +"&netid="+Type
		
	}
	function select_rsH(reff)
	{
			document.getElementById(50).action = "tariff_deal.asp?tariff="+ reff.value;
			document.getElementById(50).submit();
	}
		
	
	function select_qdf(reff)
	{
			document.getElementById(50).action = "QuickDealFinder.asp?id_value="+ reff.value;
			document.getElementById(50).submit();
	}

