// Java Documentvar s="result7"function designCost(){	i=document.cform.pages.value*1	document.cform.result1.value=i	if (i>0) {    s=0;   }  	if (i>.99) {    s=100;   }	if (i>1) {    s=92.95;   }		if (i>19) {    s=81.9;   }		if (i>29) {    s=58.83;   }  if (i>49) {    s=45.00;   }if (i>74) {    s=45.00;  }if (i>99) {    s=44.00;  }if (i>124) {    s=44.00;  }if (i>149) {    s=44.00;  }if (i>174) {    s=44.00;  }if (i>200) {    s=44.00;  }if (i>249) {    s=41.00;  }if (i>299) {    s=41.00;  }if (i>349) {    s=41.00;  }if (i>399) {    s=41.00;  }if (i>449) {    s=41.00;  }if (i>499) {    s=35.80;  }if (i>599) {    s=35.80;  }if (i>699) {    s=35.80;  }if (i>749) {    s=34.86;  }if (i>9000) {    s=34.28;  }		  if (i<1) {    s=0;  }	   	  j=document.cform.logo1.checked;    if (document.cform.logo1.checked) {      j=100;    }      else {      j=0    }  document.cform.result2.value=j;        //Calculate poster prices - k=price or nothing  k=document.cform.logo2.checked;    if (document.cform.logo2.checked) {      k=160;    }      else {      k=0    }  document.cform.result3.value=k;  //l=document.cform.photos.value*10;  //document.cform.result4.value=l;          m=document.cform.checkbox1.checked;                if(document.cform.checkbox1.checked) {                        m=100;                }                else {                        m=0;        }        document.cform.result5.value=m;		      n=document.cform.feedback.value*75;  document.cform.result6.value=n;      // cost of order co=(i*10)*s/10 var cor=Math.round(co*100)/100  document.cform.result7.value=k+m+co;     // cost per 1000  cp1000=0+(i*10)*(s/i)/10  var cpr=Math.round(cp1000*100)/100  document.cform.result8.value=cpr;    //shipping cost  sh=((i*10)*(s/10)*.13818)+(k*.13818)  var shr=Math.round(sh*100)/100  document.cform.result9.value=shr;   ct=(i*10)*s/10+sh  //document.cform.result10.value=sh    // total cost of order  var tc=Math.round(ct*100)/100 document.cform.result10.value=m+j+k+tc;   // check sum for email sec=Math.round(ct*100)/100 document.cform.res12.value=m+j+k+sec;  // total cost of order  var tc=Math.round(ct*100)/100 document.cform.result10.value=(j+k+m)+tc;   // check sum for email sec=Math.round(ct*100)/100 document.cform.res12.value=(j+k+m)+sec;   //calculate commision com=(i*10)*s/10*.02 document.cform.res11.value=com;  }//-- end hiding -->