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==6.875 && Height>108) || 
            (Width==7.625 && Height>108) ||
			(Width==10.25 && Height>98) ||
			(Width==12 && Height>98) ||
			(Width==13.875 && Height>90) ||
			(Width==16 && Height>90) ||
			(Width==17.25 && Height>82) ||
			(Width==20 && Height>82) ||
			(Width==20.75 && Height>72) ||
			(Width==23.875 && Height>72) ||
			(Width==24.375 && Height>64) ||
			(Width==27.25 && Height>64) ||
			(Width==28.625 && Height>56) ||
			(Width==33 && Height>56)) {
            alert('Size not available, see + Size Chart');
            //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==6.875){
		Price=Math.round(1.72*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(1.72*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==7.625){
		Price=Math.round(1.72*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(1.72*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.25){
		Price=Math.round(1.80*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(1.80*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.80*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(1.80*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.875){
		Price=Math.round(2.06*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(2.06*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){
		Price=Math.round(2.06*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(2.06*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.25){
		Price=Math.round(2.35*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(2.35*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){
		Price=Math.round(2.35*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(2.35*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.75){
		Price=Math.round(2.85*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(2.85*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(3.38*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(3.38*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==24.375){
		Price=Math.round(2.85*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(2.85*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.25){
		Price=Math.round(3.91*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(3.91*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==28.625){
		Price=Math.round(3.38*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(3.38*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==33.00){
		Price=Math.round(3.91*Height*100)/100;
		if (Height<"30"){
					Price=Math.round(3.91*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 PriceCalculation2() {
    Width=document.forms[0].prodopt2.options[document.forms[0].prodopt2.selectedIndex].text;
    Height=document.forms[0].prodopt3.options[document.forms[0].prodopt3.selectedIndex].text;
    Width=parseFloat(Width.replace(/\x22$/g,""));
    Height=parseFloat(Height.replace(/\x22$/g,""));
    if (!isNaN(Width) && !isNaN(Height)) {
        if ((Width>14 && Width<=15 && Height>76) || 
            (Width>15 && Width<=16 && Height>74) || 
            (Width>16 && Width<=17 && Height>72) || 
            (Width>17 && Width<=18 && Height>70) || 
            (Width>18 && Width<=19 && Height>68) || 
            (Width>19 && Width<=20 && Height>66) || 
            (Width>20 && Width<=21 && Height>64) || 
            (Width>21 && Width<=22 && Height>62) || 
            (Width>22 && Width<=24 && Height>60)) {
            alert('Size not available, see Available height chart');
            //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="";
            return false;
            }
        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='';
        }
    //document.forms[0].index1.value=document.forms[0].prodopt2.selectedIndex;
    //document.forms[0].index2.value=document.forms[0].prodopt3.selectedIndex;
    return true;
    }

