function PriceCalculation() {
    Width=document.forms[0].prodopt4.options[document.forms[0].prodopt4.selectedIndex].text;
    Height=document.forms[0].prodopt5.options[document.forms[0].prodopt5.selectedIndex].text;
    Width=parseFloat(Width.replace(/\x22$/g,""));
    Height=parseFloat(Height.replace(/\x22$/g,""));
	if (!isNaN(Width) && !isNaN(Height)) {
		if ((Width==9 && Height>104) || 
            (Width==10 && Height>102) ||
			(Width==12 && Height>98) ||
			(Width==13 && Height>96) ||
			(Width==14.50 && Height>92) ||
			(Width==14.875 && Height>92) ||
			(Width==16.25 && Height>88) ||
			(Width==17.75 && Height>86) ||
			(Width==19 && Height>84) ||
			(Width==20.875 && Height>80) ||
			(Width==23.875 && Height>74) ||
			(Width==25.75 && Height>70) ||
			(Width==27.50 && Height>66) ||
			(Width==29 && Height>64)) {
            alert('Size is larger than standard, see + Size Chart. Shipping amounts for oversize panels are shown on the Shipping page.');
            //document.forms[0].prodopt2.value=document.forms[0].prodopt2.options[0].text;
            //document.forms[0].prodopt3.value=document.forms[0].prodopt3.options[0].text;
            document.forms[0].Price.value="$0.00";
			return false;
            }
		
		if (Width==7){
		Price=Math.round(1.94*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(1.94*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==9){
		Price=Math.round(1.94*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(1.94*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==10){
		Price=Math.round(1.94*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(1.94*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==12){
		Price=Math.round(1.94*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(1.94*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==14.50){
		Price=Math.round(1.98*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(1.98*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==16.25){
		Price=Math.round(2.05*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(2.05*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}	
		if (Width==17.75){
		Price=Math.round(2.10*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(2.10*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}				
		if (Width==13){
		Price=Math.round(4.20*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(4.20*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==14.875){
		Price=Math.round(4.20*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(4.20*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==19){
		Price=Math.round(4.20*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(4.20*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==20.875){
		Price=Math.round(4.20*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(4.20*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==23.875){
		Price=Math.round(4.20*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(4.20*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==25.75){
		Price=Math.round(4.20*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(4.20*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==27.50){
		Price=Math.round(4.20*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(4.20*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}
		if (Width==29){
		Price=Math.round(4.20*Height*100)/100;
				if (Height<"30"){
					Price=Math.round(4.20*30*100)/100;
					Price=Price.toString().replace(/(\.\d)$/g,"$10")
					document.forms[0].Price.value="$"+Price;}
				else {
				Price=Price.toString().replace(/(\.\d)$/g,"$10")
				document.forms[0].Price.value="$"+Price;}
		}		
/*    if (!isNaN(Width) && !isNaN(Height)) {
        Price=Math.round(Width*Height*0.140*100)/100;
        Price=Price.toString().replace(/(\.\d)$/g,"$10")
        document.forms[0].Price.value="$"+Price;
*/
        }
    else {
        document.forms[0].Price.value='$0.00';
        }
    return true;
    }
    
    
function PriceCalculationArch() {
    Width=document.forms[0].prodopt4.options[document.forms[0].prodopt4.selectedIndex].text;
    Height=document.forms[0].prodopt5.options[document.forms[0].prodopt5.selectedIndex].text;
    Width=parseFloat(Width.replace(/\x22$/g,""));
    Height=parseFloat(Height.replace(/\x22$/g,""));
	if (!isNaN(Width) && !isNaN(Height)) {
    		if 	((Width==9 && Height>104) || 
                	(Width==10 && Height>102) ||
    			(Width==12 && Height>98) ||
    			(Width==13 && Height>96) ||
    			(Width==14.50 && Height>92) ||
    			(Width==14.875 && Height>92) ||
    			(Width==16.25 && Height>88) ||
    			(Width==17.75 && Height>86) ||
    			(Width==19 && Height>84) ||
    			(Width==20.875 && Height>80) ||
    			(Width==23.875 && Height>74) ||
    			(Width==25.75 && Height>70) ||
    			(Width==27.50 && Height>66) ||
    			(Width==29 && Height>64)) {
                alert('Size is larger than standard, see + Size Chart. Shipping amounts for oversize panels are shown on the Shipping page.');
                //document.forms[0].prodopt2.value=document.forms[0].prodopt2.options[0].text;
                //document.forms[0].prodopt3.value=document.forms[0].prodopt3.options[0].text;
                document.forms[0].Price.value="$0.00";
    			return false;
                }
    		if (Width==7){
		Price=Math.round(((1.94*Height)+42)*100)/100;
    				if (Height<"30"){
    					Price=Math.round(((1.94*30)+42)*100)/100;
    					Price=Price.toString().replace(/(\.\d)$/g,"$10")
    					document.forms[0].Price.value="$"+Price;}
    				else {
    				Price=Price.toString().replace(/(\.\d)$/g,"$10")
    				document.forms[0].Price.value="$"+Price;}
    		}
    		if (Width==9){
    		Price=Math.round(((1.94*Height)+42)*100)/100;
    				if (Height<"30"){
    					Price=Math.round(((1.94*30)+42)*100)/100;
    					Price=Price.toString().replace(/(\.\d)$/g,"$10")
    					document.forms[0].Price.value="$"+Price;}
    				else {
    				Price=Price.toString().replace(/(\.\d)$/g,"$10")
    				document.forms[0].Price.value="$"+Price;}
    		}
    		if (Width==10){
    		Price=Math.round(((1.94*Height)+42)*100)/100;
    				if (Height<"30"){
    					Price=Math.round(((1.94*30)+42)*100)/100;
    					Price=Price.toString().replace(/(\.\d)$/g,"$10")
    					document.forms[0].Price.value="$"+Price;}
    				else {
    				Price=Price.toString().replace(/(\.\d)$/g,"$10")
    				document.forms[0].Price.value="$"+Price;}
    		}
    		if (Width==12){
    		Price=Math.round(((1.94*Height)+42)*100)/100;
    				if (Height<"30"){
    					Price=Math.round(((1.94*30)+42)*100)/100;;
    					Price=Price.toString().replace(/(\.\d)$/g,"$10")
    					document.forms[0].Price.value="$"+Price;}
    				else {
    				Price=Price.toString().replace(/(\.\d)$/g,"$10")
    				document.forms[0].Price.value="$"+Price;}
    		}
    		if (Width==14.50){
    		Price=Math.round(((1.98*Height)+42)*100)/100;
    				if (Height<"30"){
    					Price=Math.round(((1.98*30)+42)*100)/100;
    					Price=Price.toString().replace(/(\.\d)$/g,"$10")
    					document.forms[0].Price.value="$"+Price;}
    				else {
    				Price=Price.toString().replace(/(\.\d)$/g,"$10")
    				document.forms[0].Price.value="$"+Price;}
    		}
    		if (Width==16.25){
    		Price=Math.round(((2.05*Height)+42)*100)/100;
    				if (Height<"30"){
    					Price=Math.round(((2.05*30)+42)*100)/100;
    					Price=Price.toString().replace(/(\.\d)$/g,"$10")
    					document.forms[0].Price.value="$"+Price;}
    				else {
    				Price=Price.toString().replace(/(\.\d)$/g,"$10")
    				document.forms[0].Price.value="$"+Price;}
    		}		
    		if (Width==17.75){
    		Price=Math.round(((2.10*Height)+42)*100)/100;
    				if (Height<"30"){
    					Price=Math.round(((2.10*30)+42)*100)/100;
    					Price=Price.toString().replace(/(\.\d)$/g,"$10")
    					document.forms[0].Price.value="$"+Price;}
    				else {
    				Price=Price.toString().replace(/(\.\d)$/g,"$10")
    				document.forms[0].Price.value="$"+Price;}
    		}
    /*    if (!isNaN(Width) && !isNaN(Height)) {
            Price=Math.round(Width*Height*0.140*100)/100;
            Price=Price.toString().replace(/(\.\d)$/g,"$10")
            document.forms[0].Price.value="$"+Price;
    */
            }
        else {
            document.forms[0].Price.value='$0.00';
            }
        return true;
    	}
