function checkOut(menu){
	var thePage = menu.getElementById("thePage").value;
	window.top.location = thePage;
}

function checkOut2(menu){
	var thePage = menu.getElementById("thePage2").value;
	window.top.location = thePage;
}

function addAssurance_3(thedoc){
	
	var theForm = thedoc.getElementById("cartForm");
	var thecheck = thedoc.getElementById("assurance");

	if (thecheck == null){
	
		var nodehtml = document.createElement("fieldset");
		nodehtml.setAttribute("id","assurance");
		nodehtml.setAttribute("style", "border:0px; background-color:white; display: none; ");
		

		var inputnode = document.createElement("input");
		inputnode.setAttribute("type","hidden");
		inputnode.setAttribute("name","Describe");
		inputnode.setAttribute("value","Software Assurance - 12 Months of Upgrade Rights");

		var inputnode2 = document.createElement("input");
		inputnode2.setAttribute("type","hidden");
		inputnode2.setAttribute("name","Price");
		inputnode2.setAttribute("value","75.00");

		var inputnode3 = document.createElement("input");
		inputnode3.setAttribute("type","hidden");
		inputnode3.setAttribute("name","ID");
		inputnode3.setAttribute("value","A^1");

		var inputnode4 = document.createElement("input");
		inputnode4.setAttribute("type","hidden");
		inputnode4.setAttribute("name","ReturnLink");
		inputnode4.setAttribute("value","http://www.ejschart.com/addons_3.php");

		var inputnode5 = document.createElement("input");
		inputnode5.setAttribute("type", "hidden");
		inputnode5.setAttribute("name", "QtyMax");
		inputnode5.setAttribute("value", "1");

		nodehtml.appendChild(inputnode);
		nodehtml.appendChild(inputnode2);
		nodehtml.appendChild(inputnode3);
		nodehtml.appendChild(inputnode4);
		nodehtml.appendChild(inputnode5);
		
		theForm.appendChild(nodehtml);
	}
	if (thecheck != null){
		theForm.removeChild(thecheck);
	}
}





function addSupport_3(thedoc){

	var theForm = thedoc.getElementById("cartForm");
	var thecheck = thedoc.getElementById("support");

	if (thecheck == null){

		var nodehtml = document.createElement("fieldset");
		nodehtml.setAttribute("id","support");
		nodehtml.setAttribute("style", "border:0px; background-color:white; display: none;");


		var inputnode = document.createElement("input");
		inputnode.setAttribute("type","hidden");
		inputnode.setAttribute("name","Describe");
		inputnode.setAttribute("value","Extended Priority Support - 12 Months or 12 Incidents");

		var inputnode2 = document.createElement("input");
		inputnode2.setAttribute("type","hidden");
		inputnode2.setAttribute("name","Price");
		inputnode2.setAttribute("value","300.00");

		var inputnode3 = document.createElement("input");
		inputnode3.setAttribute("type","hidden");
		inputnode3.setAttribute("name","ID");
		inputnode3.setAttribute("value","A^2");

		var inputnode4 = document.createElement("input");
		inputnode4.setAttribute("type","hidden");
		inputnode4.setAttribute("name","ReturnLink");
		inputnode4.setAttribute("value","http://www.ejschart.com/addons_3.php");
		
		var inputnode5 = document.createElement("input");
		inputnode5.setAttribute("type", "hidden");
		inputnode5.setAttribute("name", "QtyMax");
		inputnode5.setAttribute("value", "1");

		nodehtml.appendChild(inputnode);
		nodehtml.appendChild(inputnode2);
		nodehtml.appendChild(inputnode3);
		nodehtml.appendChild(inputnode4);
		nodehtml.appendChild(inputnode5);
		
		theForm.appendChild(nodehtml);
	}
	
	if (thecheck != null){
		theForm.removeChild(thecheck);
	}
}






function addAssurance_4(thedoc){
	
	var theForm = thedoc.getElementById("cartForm");
	var thecheck = thedoc.getElementById("assurance");

	if (thecheck == null){
	
		var nodehtml = document.createElement("fieldset");
		nodehtml.setAttribute("id","assurance");
		nodehtml.setAttribute("style", "border:0px; background-color:white; display: none;");

		var inputnode = document.createElement("input");
		inputnode.setAttribute("type","hidden");
		inputnode.setAttribute("name","Describe");
		inputnode.setAttribute("value","Software Assurance - 12 Months of Upgrade Rights");

		var inputnode2 = document.createElement("input");
		inputnode2.setAttribute("type","hidden");
		inputnode2.setAttribute("name","Price");
		inputnode2.setAttribute("value","300.00");

		var inputnode3 = document.createElement("input");
		inputnode3.setAttribute("type","hidden");
		inputnode3.setAttribute("name","ID");
		inputnode3.setAttribute("value","A^1");

		var inputnode4 = document.createElement("input");
		inputnode4.setAttribute("type","hidden");
		inputnode4.setAttribute("name","ReturnLink");
		inputnode4.setAttribute("value","http://www.ejschart.com/addons_4.php");
		
		var inputnode5 = document.createElement("input");
		inputnode5.setAttribute("type", "hidden");
		inputnode5.setAttribute("name", "QtyMax");
		inputnode5.setAttribute("value", "1");

		nodehtml.appendChild(inputnode);
		nodehtml.appendChild(inputnode2);
		nodehtml.appendChild(inputnode3);
		nodehtml.appendChild(inputnode4);
		nodehtml.appendChild(inputnode5);
		
		theForm.appendChild(nodehtml);
	}
	if (thecheck != null){
		theForm.removeChild(thecheck);
	}
}





function addSupport_4(thedoc){

	var theForm = thedoc.getElementById("cartForm");
	var thecheck = thedoc.getElementById("support");

	if (thecheck == null){

		var nodehtml = document.createElement("fieldset");
		nodehtml.setAttribute("id","support");
		nodehtml.setAttribute("style", "border:0px; background-color:white; display: none;");


		var inputnode = document.createElement("input");
		inputnode.setAttribute("type","hidden");
		inputnode.setAttribute("name","Describe");
		inputnode.setAttribute("value","Extended Priority Support - 12 Months or 12 Incidents");

		var inputnode2 = document.createElement("input");
		inputnode2.setAttribute("type","hidden");
		inputnode2.setAttribute("name","Price");
		inputnode2.setAttribute("value","300.00");

		var inputnode3 = document.createElement("input");
		inputnode3.setAttribute("type","hidden");
		inputnode3.setAttribute("name","ID");
		inputnode3.setAttribute("value","A^2");

		var inputnode4 = document.createElement("input");
		inputnode4.setAttribute("type","hidden");
		inputnode4.setAttribute("name","ReturnLink");
		inputnode4.setAttribute("value","http://www.ejschart.com/addons_4.php");
		
		var inputnode5 = document.createElement("input");
		inputnode5.setAttribute("type", "hidden");
		inputnode5.setAttribute("name", "QtyMax");
		inputnode5.setAttribute("value", "1");

		nodehtml.appendChild(inputnode);
		nodehtml.appendChild(inputnode2);
		nodehtml.appendChild(inputnode3);
		nodehtml.appendChild(inputnode4);
		nodehtml.appendChild(inputnode5);
		
		theForm.appendChild(nodehtml);
	}
	
	if (thecheck != null){
		theForm.removeChild(thecheck);
	}
}