var styleArray = new Array(2);
styleArray[0] = new Array("");
styleArray[1] = new Array("Thin XSmall","Thin Small","Thin Medium");

function updateSize0(n) {
    var arr = styleArray[n];
    var current = document.forms[0].size.options.length;
    for (var j=current;j>0;j--) document.forms[0].size.options[j] = null;
    for (var i=0;i<arr.length;i++) document.forms[0].size.options[document.forms[0].size.options.length] = new Option(arr[i],arr[i]);
}


function changed(what) {
var basePrice = null;
var selectedOptionValue = null;
var selectedOptionName = null;
var selectedOptionTotal = null;

    selectedOptionValue = what.options[what.selectedIndex].value;
    selectedOptionName = what.options[what.selectedIndex].name;
	
	switch(selectedOptionValue)
	{
	case(selectedOptionValue="Thin XSmall"):
	basePrice = "25";
	break
	case(selectedOptionValue="Thin Small"):
	basePrice = "25";
	break
	case(selectedOptionValue="Thin Medium"):
	basePrice = "25";
	break
	default:
	basePrice = "25";
	}

	document.getElementById("price").innerHTML = "$" + basePrice + ".00"

}

function docheck1() {
eval("a=document.order.DogName.value");
if (eval('a!=""')) eval("document.order.AddNameLabel.checked=true");
else eval("document.order.AddNameLabel.checked=false");
}

function docheck2() {
eval("a=document.order.DogPhone.value");
if (eval('a!=""')) eval("document.order.AddPhoneLabel.checked=true");
else eval("document.order.AddPhoneLabel.checked=false");
}