/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Jim Stiles | www.jdstiles.com */
function startCalc(){
  interval = setInterval("calc()",1);
}
function calc(){
  one = document.comments_form.marquee1.value*140;
  two = document.comments_form.matting1.value*25; 
  three = document.comments_form.lining1.value*160; 
  four = document.comments_form.lighting1.value*28;
    five = document.comments_form.marquee2.value*245;
  six = document.comments_form.matting2.value*35; 
  seven = document.comments_form.lining2.value*170; 
  eight = document.comments_form.lighting2.value*28; 
    nine = document.comments_form.marquee3.value*290;
  ten = document.comments_form.matting3.value*45; 
  eleven = document.comments_form.lining3.value*180; 
  twelve = document.comments_form.lighting3.value*28; 
    thirteen = document.comments_form.marquee4.value*335;
  fourteen = document.comments_form.matting4.value*65; 
  fifteen = document.comments_form.lining4.value*190; 
  sixteen = document.comments_form.lighting4.value*42; 
    seventeen = document.comments_form.marquee5.value*360;
  eightteen = document.comments_form.matting5.value*80; 
  nineteen = document.comments_form.lining5.value*205; 
  twenty = document.comments_form.lighting5.value*56; 
    twentyone = document.comments_form.marquee6.value*390;
  twentytwo = document.comments_form.matting6.value*95; 
  twentythree = document.comments_form.lining6.value*215; 
  twentyfour = document.comments_form.lighting6.value*70; 
    twentyfive = document.comments_form.marquee7.value*420;
  twentysix = document.comments_form.matting7.value*110; 
  twentyseven = document.comments_form.lining7.value*225; 
  twentyeight = document.comments_form.lighting7.value*84; 
    twentynine = document.comments_form.marquee8.value*450;
  thirty = document.comments_form.matting8.value*125; 
  thirtyone = document.comments_form.lining8.value*235; 
  thirtytwo = document.comments_form.lighting8.value*98; 
    thirtythree = document.comments_form.marquee9.value*360;
  thirtyfour = document.comments_form.matting9.value*70; 
  thirtyfive = document.comments_form.lining9.value*210; 
  thirtysix = document.comments_form.lighting9.value*28; 
    thirtyseven = document.comments_form.marquee10.value*405;
  thirtyeight = document.comments_form.matting10.value*95; 
  thirtynine = document.comments_form.lining10.value*220; 
  forty = document.comments_form.lighting10.value*42; 
    fortyone = document.comments_form.marquee11.value*455;
  fortytwo = document.comments_form.matting11.value*115; 
  fortythree = document.comments_form.lining11.value*240; 
  fortyfour = document.comments_form.lighting11.value*56; 
    fortyfive = document.comments_form.marquee12.value*520;
  fortysix = document.comments_form.matting12.value*140; 
  fortyseven = document.comments_form.lining12.value*260; 
  fortyeight = document.comments_form.lighting12.value*70; 
    fortynine = document.comments_form.marquee13.value*585;
  fifty = document.comments_form.matting13.value*160; 
  fiftyone = document.comments_form.lining13.value*290; 
  fiftytwo = document.comments_form.lighting13.value*84; 
    fiftythree = document.comments_form.marquee14.value*660;
  fiftyfour = document.comments_form.matting14.value*180; 
  fiftyfive = document.comments_form.lining14.value*330; 
  fiftysix = document.comments_form.lighting14.value*98; 
    fiftyseven = document.comments_form.marquee15.value*775;
  fiftyeight = document.comments_form.matting15.value*205; 
  fiftynine = document.comments_form.lining15.value*380; 
  sixty = document.comments_form.lighting15.value*112; 
    sixtyone = document.comments_form.marquee16.value*850;
  sixtytwo = document.comments_form.matting16.value*225; 
  sixtythree = document.comments_form.lining16.value*420; 
  sixtyfour = document.comments_form.lighting16.value*126; 
      eightyfour = document.comments_form.marquee17.value*1000;
  eightyfive = document.comments_form.matting17.value*250; 
  eightysix = document.comments_form.lining17.value*480; 
  eightyseven = document.comments_form.lighting17.value*150; 
  
  
  sixtyfive = document.comments_form.walkway1.value*130; 
  sixtysix = document.comments_form.walkway2.value*90; 
  sixtyseven = document.comments_form.tables1.value*5.5; 
  sixtyeight = document.comments_form.tables3.value*6; 
  sixtynine = document.comments_form.tables.value*7.5; 
  seventy = document.comments_form.chairs1.value*1; 
  seventyone = document.comments_form.chairs2.value*2.75;  //  sdqwt1tgsegs 
  seventytwo = document.comments_form.chairs3.value*1.2;  //sgsegsegegseg
  seventythree = document.comments_form.dancefloor.value*6.66; 
  seventyfour = document.comments_form.stage.value*30; 
  seventyfive = document.comments_form.marqueepartition.value*60; 
  seventysix = document.comments_form.screening.value*18; 
  seventyseven = document.comments_form.marqueedoors.value*160; 
  seventyeight = document.comments_form.dimmercontrol.value*25; 
  seventynine = document.comments_form.coatrail.value*10; 
  eighty = document.comments_form.extensionlead1.value*5; 
  eightyone = document.comments_form.extensionleads2.value*8; 
  eightythree = document.comments_form.heaters.value*235; 
  eightyeight = document.comments_form.barsection.value*60;
  eightynine = document.comments_form.patiosets.value*25;
  


  document.comments_form.subTotal.value = (one * 1) + (two * 1)+ (three * 1)+ (four * 1)+ (five * 1)+ (six * 1)+ (seven * 1)+ (eight * 1)+ (nine * 1)+ (ten * 1)+ (eleven * 1)+ (twelve * 1)+ (thirteen * 1)+ (fourteen * 1)+ (fifteen * 1)+ (sixteen * 1)+ (seventeen * 1)+ (eightteen * 1)+ (nineteen * 1)+ (twenty * 1)+ (twentyone * 1)+ (twentytwo * 1)+ (twentythree * 1)+ (twentyfour * 1)+ (twentyfive * 1)+ (twentysix * 1)+ (twentyseven * 1)+ (twentyeight * 1)+ (twentynine * 1)+ (thirty * 1)+ (thirtyone * 1)+ (thirtytwo * 1)+ (thirtythree * 1)+ (thirtyfour * 1)+ (thirtyfive * 1)+ (thirtysix * 1)+ (thirtyseven * 1)+ (thirtyeight * 1)+ (thirtynine * 1)+ (forty * 1)+ (fortyone * 1)+ (fortytwo * 1)+ (fortythree * 1)+ (fortyfour * 1)+ (fortyfive * 1)+ (fortysix * 1)+ (fortyseven * 1)+ (fortyeight * 1)+ (fortynine * 1)+ (fifty * 1)+ (fiftyone * 1)+ (fiftytwo * 1)+ (fiftythree * 1)+ (fiftyfour * 1)+ (fiftyfive * 1)+ (fiftysix * 1)+ (fiftyseven * 1)+ (fiftyeight * 1)+ (fiftynine * 1)+ (sixty * 1)+ (sixtyone * 1)+ (sixtytwo * 1)+ (sixtythree * 1)+ (sixtyfour * 1)+ (eightyfour * 1)+ (eightyfive * 1)+ (eightysix * 1)+ (eightyseven * 1);
 
 	document.comments_form.Total.value = (document.comments_form.subTotal.value*1) + (sixtyfour * 1)+ (sixtyfive * 1)+ (sixtysix * 1)+ (sixtyseven * 1)+ (sixtyeight * 1)+ (sixtynine * 1)+ (seventy * 1)+ (seventyone * 1)+ (seventytwo * 1)+ (seventythree * 1)+ (seventyfour * 1)+ (seventyfive * 1)+ (seventysix * 1)+ (seventyseven * 1)+ (seventyeight * 1)+ (seventynine * 1)+ (eighty * 1)+ (eightyone * 1)+ (eightythree * 1)+ (eightyeight * 1)+ (eightynine * 1);
  
}

	
function stopCalc(){
  clearInterval(interval);
}