// Show alert if no cable is selected

var cablecache;
var nocable = 40;

function nocableselected(usewithdevice, formid) {
	// If user selects no cable option, show confirmation box and revert selection if cancelled
	if (document.getElementById(formid).value == nocable) {
		
		var c = confirm("You will need a cable to connect your headset to your " + usewithdevice + "!\n\n"
			+ "If you do not purchase a cable now, there may be an additional delivery charge if you require one later.\n\n"
			+ "If you need any assistance please call us on 0800 804 8771.\n\n"
			+ "Press OK to continue your order with no cable or CANCEL to go back.");
		
		if (c == false) {
			document.getElementById(formid).value = cablecache;
		}
	}
}

