// JavaScript Document
function hide() {
	document.getElementById('bottom').style.visibility = "hidden";	
	document.getElementById('bottom').style.display = "none";	
	document.plate.two.options[0].selected=true;
	document.plate.box6.src = 'orderimg/two.gif';		
}
function require() {	
		//setVisibility('toptwo', 'visible');
		//setDisplay('toptwo', 'block');		
		document.plate.two.options[0].selected=true
}
function number() {		
			plateTypeValue = $F("two");
			if (plateTypeValue == "") {
				setVisibility('bottom', 'hidden');
				setDisplay('bottom', 'none');
			} else {
				setVisibility('bottom', 'visible');
				setDisplay('bottom', 'block');
			}
			background();
			//setDisplay('front', 'none');			
			//setDisplay('frontlabel', 'none');
			//setDisplay('selflabel', 'none');		
}
function background() {
	setVisibility('bottomtwo', 'visible');
	document.getElementById('bottomtwo').style.color = "#333333";
	document.getElementById('bottomtwo').style.border = "1px solid #D90000";
	document.getElementById('head6').style.backgroundColor = "#D90000";
	document.getElementById('head6').style.border = "1px solid #D90000";
	document.plate.eight[0].disabled = false;
	document.plate.eight[1].disabled = false;	
	document.plate.Submit2.disabled = false;
	document.getElementById("head6-radio").style.display = "";
	document.getElementById("head6-caption").style.display = "";
	document.getElementById("bike-eight").innerHTML = '';
	document.plate.box6.src = 'orderimg/two.gif';
	/*var metal = document.getElementById('seven2');
	if (metal.checked == true) {
		document.getElementById("head6-radio").style.display = "none";
		document.getElementById("head6-caption").style.display = "none";
		document.getElementById("bike-eight").innerHTML = '<input type="hidden" name="eight" value="black" />';
	}*/
}

function greybottom() {
	document.getElementById('bottomtwo').style.color = "#999999";
	document.getElementById('bottomtwo').style.border = "1px solid #999999";
	document.getElementById('head6').style.backgroundColor = "#999999";
	document.getElementById('head6').style.border = "1px solid #999999";
	document.plate.eight[0].disabled = true;
	document.plate.eight[1].disabled = true;	
	document.plate.Submit2.disabled = true;	
	document.plate.box6.src = 'images/grey3.gif';
	var metal = document.getElementById('seven2');
	if (metal.checked == true) {
		alert ("Pressed Metal Plates are delivered in 10 working days.");
	}
}
function enable() {
	document.plate.five[0].disabled = false;
	document.plate.five[1].disabled = false;
}
function disable() {
	document.plate.five[0].disabled = true;
	document.plate.five[1].disabled = true;
}
function clickone() {
	setVisibility('bottom', 'hidden');
	setDisplay('bottom', 'none');
	document.plate.two.options[0].selected=true
}
function popupInit() {
	if (document.getElementById('condwrap').style.visibility != 'visible') {
		Effect.toggle('condwrap', 'blind', {duration: 0.1}); 
		Effect.toggle('selectblank', 'blind', {duration: 0.1}); 
		setTimeout("popupSim()", 200);
	} else {
		popupSim();
	}
}
function popupSim() {
	document.getElementById('condwrap').style.visibility = 'visible';
	document.getElementById('selectblank').style.visibility = 'visible';
	Effect.toggle('condwrap', 'blind');
	Effect.toggle('selectblank', 'blind');
}
function closePopup() {	
	Effect.toggle('condwrap', 'blind');
	Effect.toggle('selectblank', 'blind');
}
function artInit() {
	if (document.getElementById('artwhat').style.visibility != 'visible') {
		Effect.toggle('artwhat', 'appear', {duration: 0.1});	
		setTimeout("togArt()", 200);
	} else {
		togArt();
	}
}
function togArt() {	
	document.getElementById('artwhat').style.visibility = 'visible';
	Effect.toggle('artwhat', 'appear');
}
