function onclick_radio(value) {
	setDisabled(value);
}

function setDisabled(value) {
	if (value == "KIT"||value == "Component") {
		//if (false) {
	if (navigator.userAgent.indexOf('MSIE') != -1){
			var status = (value != "Component");
			var col = thisForm.elements;
			for (var i = 0; i < col.length; i++)
					if (col(i).type == "checkbox")
						if (col(i).name.indexOf("Component") == 0) col(i).disabled = status;
		}
	}
}

function hideScript() {
	//alert(navigator.userAgent.indexOf('MSIE'))
//if (false) {
	if (navigator.userAgent.indexOf('MSIE') != -1){
	var objMtrl = document.all("Material");
	if ((typeof(objMtrl) != "undefined")&&(objMtrl != null))
		if (objMtrl(0).checked)
			setDisabled("KIT")
		else
			setDisabled("Component");
}
}

function textarealimit(ta,maxlength)
	{
		val = ta.value;
		if (val.length > maxlength)
			{
			alert('Sorry, you are over the limit of ' + maxlength + ' characters');
			ta.value = val.substring(0,maxlength);
			ta.focus()
			}
	}

function UpdateCarrier(){
    // Change Carrier based on country choice                
    //alert("country is "+ document.thisForm.country.value) 
    //alert("carrier is "+ document.thisForm.carrier.value)
    if (document.thisForm.carrier){
        if (document.thisForm.country.value=="USA") {
        }else{
        }
    }
}