function openDir( form ) { 
	var newIndex = form.hs.selectedIndex; 
	if ( newIndex == 0 ) { 
		alert( "Please select a Handset!" ); 
	} else { 
		var p = form.hs.options[ newIndex ].value;
	window.location.assign("handset.asp?hs=" + p +"&net=all" )
	} 
}


function openDir1( form ) { 
	var newIndex1 = form.tariff.selectedIndex; 
	if ( newIndex1 == 0 ) { 
		alert( "Please select a Tariff!" ); 
	} else { 
		
		var p = form.tariff.options[ newIndex1 ].value;

	window.location.assign("Tariff.asp?tariff=" + p)
	} 
}


function openDir2( form ) { 
	var newIndex2 = form.network.selectedIndex; 
	if ( newIndex2 == 0 ) { 
		alert( "Please select a Network!" ); 
	} else { 
		
		var p = form.network.options[ newIndex2 ].value;
		if (p == "Orange")
			{
			window.location.assign("Orange-Mobile-Deal/index.asp")
			}
		else if (p == "O2")
			{
			window.location.assign("O2-Mobile-Deal/index.asp")
			}
		else if (p == "Virgin")
			{
			window.location.assign("Virgin-Mobile-Deal/index.asp")
			}
		else if (p == "Vodafone")
			{
			window.location.assign("Vodafone-Mobile-Deal/index.asp")
			}
		else if (p == "T-Mobile")
			{
			window.location.assign("T-Mobile-Phone-Deal/index.asp")
			}
		else if (p == "Three")
			{
			window.location.assign("3-Mobile-Deal/index.asp")
			}
		else if (p == "Talkmobile")
			{
			window.location.assign("T-Mobile-Phone-Deal/index.asp")
			}
		else if (p == "_O2")
			{
			window.location.assign("O2-Mobile-Deal/index.asp")
			}
	}
}
	
function openDir3( form ) { 
	var newIndex3 = form.incentive.selectedIndex; 
	if ( newIndex3 == 0 ) { 
		alert( "Please select a Incentive!" ); 
	} else { 
		
		var p = form.incentive.options[ newIndex3 ].value;

	window.location.assign("Offer.asp?offer=" + p)
	}
}			

function openDir20( form ) { 
	var newIndex20 = form.linerental.selectedIndex; 
	if ( newIndex20 == 0 ) { 
		alert( "Please select a Line Rental!" ); 
	} else { 
		
		var p = form.linerental.options[ newIndex20 ].value;

	window.location.assign("Monthly-Line-Rental.asp?line=" + p)
	} 
}