/* author: footsie1@prodigy.net */
/* Generated by AceHTML Freeware http://freeware.acehtml.com */
/* Creation date: 10/9/04 */


  

 function maxAL() 
 { 
  if  ((document.Alabamaresult.Alabamatotal.value -0) < (document.Alabamaresult.Alabamanum1.value - 0))
   document.Alabamaresult.Alabamatext1.value = "you need to add" + " " + ((document.Alabamaresult.Alabamanum1.value - 0) - (document.Alabamaresult.Alabamatotal.value -0)) + " " + "votes"; 
  else if ((document.Alabamaresult.Alabamatotal.value -0) > document.Alabamaresult.Alabamanum1.value)
   document.Alabamaresult.Alabamatext1.value =  "you have" + " " + ((document.Alabamaresult.Alabamatotal.value -0) - (document.Alabamaresult.Alabamanum1.value - 0)) + " " + "votes too many"; 
  else 
   document.Alabamaresult.Alabamatext1.value = "thank you"; 
 } 

 function maxAK() 
 { 
  if  ((document.Alaskaresult.Alaskatotal.value -0) < (document.Alaskaresult.Alaskanum1.value - 0))
   document.Alaskaresult.Alaskatext1.value = "you need to add" + " " + ((document.Alaskaresult.Alaskanum1.value - 0) - (document.Alaskaresult.Alaskatotal.value -0)) + " " + "votes"; 
  else if ((document.Alaskaresult.Alaskatotal.value -0) > document.Alaskaresult.Alaskanum1.value)
   document.Alaskaresult.Alaskatext1.value =  "you have" + " " + ((document.Alaskaresult.Alaskatotal.value -0) - (document.Alaskaresult.Alaskanum1.value - 0)) + " " + "votes too many"; 
  else 
   document.Alaskaresult.Alaskatext1.value = "thank you"; 
 } 
 
  function maxAZ() 
 { 
  if  ((document.Arizonaresult.Arizonatotal.value -0) < (document.Arizonaresult.Arizonanum1.value - 0))
   document.Arizonaresult.Arizonatext1.value = "you need to add" + " " + ((document.Arizonaresult.Arizonanum1.value - 0) - (document.Arizonaresult.Arizonatotal.value -0)) + " " + "votes"; 
  else if ((document.Arizonaresult.Arizonatotal.value -0) > document.Arizonaresult.Arizonanum1.value)
   document.Arizonaresult.Arizonatext1.value =  "you have" + " " + ((document.Arizonaresult.Arizonatotal.value -0) - (document.Arizonaresult.Arizonanum1.value - 0)) + " " + "votes too many"; 
  else 
   document.Arizonaresult.Arizonatext1.value = "thank you"; 
 } 
   function maxAR() 
 { 
  if  ((document.Arkansasresult.Arkansastotal.value -0) < (document.Arkansasresult.Arkansasnum1.value - 0))
   document.Arkansasresult.Arkansastext1.value = "you need to add" + " " + ((document.Arkansasresult.Arkansasnum1.value - 0) - (document.Arkansasresult.Arkansastotal.value -0)) + " " + "votes"; 
  else if ((document.Arkansasresult.Arkansastotal.value -0) > document.Arkansasresult.Arkansasnum1.value)
   document.Arkansasresult.Arkansastext1.value =  "you have" + " " + ((document.Arkansasresult.Arkansastotal.value -0) - (document.Arkansasresult.Arkansasnum1.value - 0)) + " " + "votes too many"; 
  else 
   document.Arkansasresult.Arkansastext1.value = "thank you"; 
 } 
 
    function maxCA() 
 { 
  if  ((document.Californiaresult.Californiatotal.value -0) < (document.Californiaresult.Californianum1.value - 0))
   document.Californiaresult.Californiatext1.value = "you need to add" + " " + ((document.Californiaresult.Californianum1.value - 0) - (document.Californiaresult.Californiatotal.value -0)) + " " + "votes"; 
  else if ((document.Californiaresult.Californiatotal.value -0) > document.Californiaresult.Californianum1.value)
   document.Californiaresult.Californiatext1.value =  "you have" + " " + ((document.Californiaresult.Californiatotal.value -0) - (document.Californiaresult.Californianum1.value - 0)) + " " + "votes too many"; 
  else 
   document.Californiaresult.Californiatext1.value = "thank you"; 
 } 
 
     function maxCO() 
 { 
  if  ((document.Coloradoresult.Coloradototal.value -0) < (document.Coloradoresult.Coloradonum1.value - 0))
   document.Coloradoresult.Coloradotext1.value = "you need to add" + " " + ((document.Coloradoresult.Coloradonum1.value - 0) - (document.Coloradoresult.Coloradototal.value -0)) + " " + "votes"; 
  else if ((document.Coloradoresult.Coloradototal.value -0) > document.Coloradoresult.Coloradonum1.value)
   document.Coloradoresult.Coloradotext1.value =  "you have" + " " + ((document.Coloradoresult.Coloradototal.value -0) - (document.Coloradoresult.Coloradonum1.value - 0)) + " " + "votes too many"; 
  else 
   document.Coloradoresult.Coloradotext1.value = "thank you"; 
 } 
 
      function maxCT() 

 { 
  if  ((document.Connecticutresult.Connecticuttotal.value -0) < (document.Connecticutresult.Connecticutnum1.value - 0))
   document.Connecticutresult.Connecticuttext1.value = "you need to add" + " " + ((document.Connecticutresult.Connecticutnum1.value - 0) - (document.Connecticutresult.Connecticuttotal.value -0)) + " " + "votes"; 
  else if ((document.Connecticutresult.Connecticuttotal.value -0) > document.Connecticutresult.Connecticutnum1.value)
   document.Connecticutresult.Connecticuttext1.value =  "you have" + " " + ((document.Connecticutresult.Connecticuttotal.value -0) - (document.Connecticutresult.Connecticutnum1.value - 0)) + " " + "votes too many"; 
  else 
   document.Connecticutresult.Connecticuttext1.value = "thank you"; 
 } 
 
       function maxHI() 

 { 
  if  ((document.Hawaiiresult.Hawaiitotal.value -0) < (document.Hawaiiresult.Hawaiinum1.value - 0))
   document.Hawaiiresult.Hawaiitext1.value = "you need to add" + " " + ((document.Hawaiiresult.Hawaiinum1.value - 0) - (document.Hawaiiresult.Hawaiitotal.value -0)) + " " + "votes"; 
  else if ((document.Hawaiiresult.Hawaiitotal.value -0) > document.Hawaiiresult.Hawaiinum1.value)
   document.Hawaiiresult.Hawaiitext1.value =  "you have" + " " + ((document.Hawaiiresult.Hawaiitotal.value -0) - (document.Hawaiiresult.Hawaiinum1.value - 0)) + " " + "votes too many"; 
  else 
   document.Hawaiiresult.Hawaiitext1.value = "thank you"; 
 } 
 
 
        function maxME() 

 { 
  if  ((document.Maineresult.Mainetotal.value -0) < (document.Maineresult.Mainenum1.value - 0))
   document.Maineresult.Mainetext1.value = "you need to add" + " " + ((document.Maineresult.Mainenum1.value - 0) - (document.Maineresult.Mainetotal.value -0)) + " " + "votes"; 
  else if ((document.Maineresult.Mainetotal.value -0) > document.Maineresult.Mainenum1.value)
   document.Maineresult.Mainetext1.value =  "you have" + " " + ((document.Maineresult.Mainetotal.value -0) - (document.Maineresult.Mainenum1.value - 0)) + " " + "votes too many"; 
  else 
   document.Maineresult.Mainetext1.value = "thank you"; 
 } 
 
 
 
        function maxMD() 

 { 
  if  ((document.Marylandresult.Marylandtotal.value -0) < (document.Marylandresult.Marylandnum1.value - 0))
   document.Marylandresult.Marylandtext1.value = "you need to add" + " " + ((document.Marylandresult.Marylandnum1.value - 0) - (document.Marylandresult.Marylandtotal.value -0)) + " " + "votes"; 
  else if ((document.Marylandresult.Marylandtotal.value -0) > document.Marylandresult.Marylandnum1.value)
   document.Marylandresult.Marylandtext1.value =  "you have" + " " + ((document.Marylandresult.Marylandtotal.value -0) - (document.Marylandresult.Marylandnum1.value - 0)) + " " + "votes too many"; 
  else 
   document.Marylandresult.Marylandtext1.value = "thank you"; 
 }  
 
 
 function computeVanAuken() {
top.frames['main001'].document.totalresults.VanAukentotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.VanAukenAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.VanAukenAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.VanAukenArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.VanAukenArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.VanAukenCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.VanAukenColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.VanAukenConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.VanAukenDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.VanAukenDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.VanAukenFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.VanAukenGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.VanAukenHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.VanAukenIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.VanAukenIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.VanAukenIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.VanAukenIowa.value -0)
+	(top.frames['main001'].document.KansasI1.VanAukenKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.VanAukenKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.VanAukenLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.VanAukenMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.VanAukenMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.VanAukenMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.VanAukenMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.VanAukenMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.VanAukenMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.VanAukenMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.VanAukenMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.VanAukenNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.VanAukenNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.VanAukenNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.VanAukenNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.VanAukenNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.VanAukenNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.VanAukenNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.VanAukenNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.VanAukenOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.VanAukenOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.VanAukenOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.VanAukenPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.VanAukenRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.VanAukenSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.VanAukenSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.VanAukenTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.VanAukenTexas.value -0)
+	(top.frames['main001'].document.UtahI1.VanAukenUtah.value -0)
+	(top.frames['main001'].document.VermontI1.VanAukenVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.VanAukenVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.VanAukenWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.VanAukenWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.VanAukenWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.VanAukenWyoming.value -0);

top.frames['main001'].document.totalresults.VanAukentotalneed.value=
(270)-(top.frames['main001'].document.totalresults.VanAukentotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.VanAukentotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.VanAukentotalvoted2.value = 
 top.frames['main001'].document.totalresults.VanAukentotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.VanAukentotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.VanAukentotalneed.value=
(270)-(top.frames['main001'].document.totalresults.VanAukentotalvoted.value -0);


}

function computePeltier() {
top.frames['main001'].document.totalresults.Peltiertotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.PeltierAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.PeltierAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.PeltierArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.PeltierArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.PeltierCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.PeltierColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.PeltierConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.PeltierDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.PeltierDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.PeltierFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.PeltierGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.PeltierHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.PeltierIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.PeltierIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.PeltierIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.PeltierIowa.value -0)
+	(top.frames['main001'].document.KansasI1.PeltierKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.PeltierKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.PeltierLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.PeltierMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.PeltierMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.PeltierMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.PeltierMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.PeltierMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.PeltierMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.PeltierMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.PeltierMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.PeltierNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.PeltierNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.PeltierNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.PeltierNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.PeltierNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.PeltierNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.PeltierNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.PeltierNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.PeltierOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.PeltierOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.PeltierOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.PeltierPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.PeltierRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.PeltierSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.PeltierSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.PeltierTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.PeltierTexas.value -0)
+	(top.frames['main001'].document.UtahI1.PeltierUtah.value -0)
+	(top.frames['main001'].document.VermontI1.PeltierVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.PeltierVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.PeltierWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.PeltierWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.PeltierWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.PeltierWyoming.value -0);

top.frames['main001'].document.totalresults.Peltiertotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Peltiertotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Peltiertotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Peltiertotalvoted2.value = 
 top.frames['main001'].document.totalresults.Peltiertotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Peltiertotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Peltiertotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Peltiertotalvoted.value -0);


}

function computePeroutka() {
top.frames['main001'].document.totalresults.Peroutkatotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.PeroutkaAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.PeroutkaAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.PeroutkaArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.PeroutkaArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.PeroutkaCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.PeroutkaColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.PeroutkaConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.PeroutkaDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.PeroutkaDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.PeroutkaFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.PeroutkaGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.PeroutkaHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.PeroutkaIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.PeroutkaIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.PeroutkaIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.PeroutkaIowa.value -0)
+	(top.frames['main001'].document.KansasI1.PeroutkaKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.PeroutkaKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.PeroutkaLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.PeroutkaMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.PeroutkaMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.PeroutkaMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.PeroutkaMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.PeroutkaMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.PeroutkaMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.PeroutkaMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.PeroutkaMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.PeroutkaNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.PeroutkaNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.PeroutkaNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.PeroutkaNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.PeroutkaNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.PeroutkaNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.PeroutkaNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.PeroutkaNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.PeroutkaOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.PeroutkaOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.PeroutkaOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.PeroutkaPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.PeroutkaRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.PeroutkaSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.PeroutkaSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.PeroutkaTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.PeroutkaTexas.value -0)
+	(top.frames['main001'].document.UtahI1.PeroutkaUtah.value -0)
+	(top.frames['main001'].document.VermontI1.PeroutkaVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.PeroutkaVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.PeroutkaWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.PeroutkaWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.PeroutkaWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.PeroutkaWyoming.value -0);

top.frames['main001'].document.totalresults.Peroutkatotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Peroutkatotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Peroutkatotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Peroutkatotalvoted2.value = 
 top.frames['main001'].document.totalresults.Peroutkatotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Peroutkatotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Peroutkatotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Peroutkatotalvoted.value -0);



}


function computeNadar() {
top.frames['main001'].document.totalresults.Nadartotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.NadarAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.NadarAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.NadarArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.NadarArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.NadarCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.NadarColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.NadarConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.NadarDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.NadarDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.NadarFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.NadarGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.NadarHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.NadarIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.NadarIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.NadarIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.NadarIowa.value -0)
+	(top.frames['main001'].document.KansasI1.NadarKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.NadarKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.NadarLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.NadarMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.NadarMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.NadarMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.NadarMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.NadarMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.NadarMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.NadarMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.NadarMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.NadarNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.NadarNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.NadarNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.NadarNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.NadarNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.NadarNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.NadarNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.NadarNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.NadarOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.NadarOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.NadarOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.NadarPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.NadarRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.NadarSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.NadarSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.NadarTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.NadarTexas.value -0)
+	(top.frames['main001'].document.UtahI1.NadarUtah.value -0)
+	(top.frames['main001'].document.VermontI1.NadarVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.NadarVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.NadarWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.NadarWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.NadarWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.NadarWyoming.value -0);
top.frames['main001'].document.totalresults.Nadartotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Nadartotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Nadartotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Nadartotalvoted2.value = 
 top.frames['main001'].document.totalresults.Nadartotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Nadartotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Nadartotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Nadartotalvoted.value -0);


}


function computeJay() {
top.frames['main001'].document.totalresults.Jaytotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.JayAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.JayAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.JayArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.JayArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.JayCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.JayColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.JayConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.JayDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.JayDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.JayFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.JayGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.JayHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.JayIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.JayIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.JayIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.JayIowa.value -0)
+	(top.frames['main001'].document.KansasI1.JayKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.JayKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.JayLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.JayMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.JayMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.JayMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.JayMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.JayMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.JayMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.JayMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.JayMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.JayNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.JayNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.JayNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.JayNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.JayNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.JayNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.JayNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.JayNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.JayOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.JayOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.JayOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.JayPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.JayRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.JaySouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.JaySouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.JayTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.JayTexas.value -0)
+	(top.frames['main001'].document.UtahI1.JayUtah.value -0)
+	(top.frames['main001'].document.VermontI1.JayVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.JayVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.JayWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.JayWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.JayWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.JayWyoming.value -0);

top.frames['main001'].document.totalresults.Jaytotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Jaytotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Jaytotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Jaytotalvoted2.value = 
 top.frames['main001'].document.totalresults.Jaytotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Jaytotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Jaytotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Jaytotalvoted.value -0);



}


function computeDodge() {
top.frames['main001'].document.totalresults.Dodgetotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.DodgeAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.DodgeAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.DodgeArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.DodgeArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.DodgeCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.DodgeColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.DodgeConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.DodgeDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.DodgeDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.DodgeFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.DodgeGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.DodgeHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.DodgeIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.DodgeIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.DodgeIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.DodgeIowa.value -0)
+	(top.frames['main001'].document.KansasI1.DodgeKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.DodgeKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.DodgeLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.DodgeMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.DodgeMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.DodgeMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.DodgeMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.DodgeMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.DodgeMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.DodgeMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.DodgeMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.DodgeNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.DodgeNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.DodgeNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.DodgeNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.DodgeNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.DodgeNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.DodgeNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.DodgeNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.DodgeOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.DodgeOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.DodgeOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.DodgePennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.DodgeRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.DodgeSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.DodgeSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.DodgeTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.DodgeTexas.value -0)
+	(top.frames['main001'].document.UtahI1.DodgeUtah.value -0)
+	(top.frames['main001'].document.VermontI1.DodgeVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.DodgeVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.DodgeWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.DodgeWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.DodgeWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.DodgeWyoming.value -0);



top.frames['main001'].document.totalresults.Dodgetotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Dodgetotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Dodgetotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Dodgetotalvoted2.value = 
 top.frames['main001'].document.totalresults.Dodgetotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Dodgetotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Dodgetotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Dodgetotalvoted.value -0);


}


function computeCobb() {
top.frames['main001'].document.totalresults.Cobbtotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.CobbAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.CobbAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.CobbArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.CobbArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.CobbCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.CobbColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.CobbConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.CobbDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.CobbDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.CobbFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.CobbGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.CobbHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.CobbIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.CobbIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.CobbIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.CobbIowa.value -0)
+	(top.frames['main001'].document.KansasI1.CobbKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.CobbKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.CobbLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.CobbMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.CobbMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.CobbMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.CobbMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.CobbMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.CobbMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.CobbMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.CobbMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.CobbNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.CobbNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.CobbNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.CobbNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.CobbNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.CobbNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.CobbNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.CobbNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.CobbOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.CobbOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.CobbOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.CobbPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.CobbRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.CobbSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.CobbSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.CobbTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.CobbTexas.value -0)
+	(top.frames['main001'].document.UtahI1.CobbUtah.value -0)
+	(top.frames['main001'].document.VermontI1.CobbVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.CobbVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.CobbWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.CobbWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.CobbWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.CobbWyoming.value -0);


top.frames['main001'].document.totalresults.Cobbtotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Cobbtotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Cobbtotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Cobbtotalvoted2.value = 
 top.frames['main001'].document.totalresults.Cobbtotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Cobbtotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Cobbtotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Cobbtotalvoted.value -0);



}

function computeCalero() {
top.frames['main001'].document.totalresults.Calerototalvoted.value=
	(top.frames['main001'].document.AlabamaI1.CaleroAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.CaleroAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.CaleroArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.CaleroArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.CaleroCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.CaleroColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.CaleroConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.CaleroDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.CaleroDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.CaleroFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.CaleroGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.CaleroHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.CaleroIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.CaleroIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.CaleroIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.CaleroIowa.value -0)
+	(top.frames['main001'].document.KansasI1.CaleroKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.CaleroKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.CaleroLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.CaleroMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.CaleroMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.CaleroMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.CaleroMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.CaleroMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.CaleroMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.CaleroMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.CaleroMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.CaleroNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.CaleroNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.CaleroNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.CaleroNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.CaleroNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.CaleroNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.CaleroNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.CaleroNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.CaleroOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.CaleroOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.CaleroOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.CaleroPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.CaleroRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.CaleroSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.CaleroSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.CaleroTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.CaleroTexas.value -0)
+	(top.frames['main001'].document.UtahI1.CaleroUtah.value -0)
+	(top.frames['main001'].document.VermontI1.CaleroVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.CaleroVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.CaleroWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.CaleroWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.CaleroWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.CaleroWyoming.value -0);


top.frames['main001'].document.totalresults.Calerototalneed.value=
(270)-(top.frames['main001'].document.totalresults.Calerototalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Calerototalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Calerototalvoted2.value = 
 top.frames['main001'].document.totalresults.Calerototalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Calerototalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Calerototalneed.value=
(270)-(top.frames['main001'].document.totalresults.Calerototalvoted.value -0);


}

function computeBrown() {
top.frames['main001'].document.totalresults.Browntotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.BrownAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.BrownAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.BrownArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.BrownArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.BrownCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.BrownColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.BrownConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.BrownDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.BrownDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.BrownFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.BrownGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.BrownHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.BrownIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.BrownIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.BrownIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.BrownIowa.value -0)
+	(top.frames['main001'].document.KansasI1.BrownKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.BrownKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.BrownLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.BrownMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.BrownMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.BrownMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.BrownMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.BrownMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.BrownMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.BrownMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.BrownMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.BrownNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.BrownNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.BrownNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.BrownNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.BrownNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.BrownNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.BrownNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.BrownNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.BrownOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.BrownOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.BrownOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.BrownPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.BrownRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.BrownSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.BrownSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.BrownTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.BrownTexas.value -0)
+	(top.frames['main001'].document.UtahI1.BrownUtah.value -0)
+	(top.frames['main001'].document.VermontI1.BrownVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.BrownVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.BrownWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.BrownWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.BrownWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.BrownWyoming.value -0);

top.frames['main001'].document.totalresults.Browntotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Browntotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Browntotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Browntotalvoted2.value = 
 top.frames['main001'].document.totalresults.Browntotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Browntotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Browntotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Browntotalvoted.value -0);



}

function computeBadnarik() {
top.frames['main001'].document.totalresults.Badnariktotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.BadnarikAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.BadnarikAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.BadnarikArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.BadnarikArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.BadnarikCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.BadnarikColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.BadnarikConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.BadnarikDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.BadnarikDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.BadnarikFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.BadnarikGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.BadnarikHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.BadnarikIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.BadnarikIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.BadnarikIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.BadnarikIowa.value -0)
+	(top.frames['main001'].document.KansasI1.BadnarikKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.BadnarikKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.BadnarikLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.BadnarikMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.BadnarikMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.BadnarikMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.BadnarikMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.BadnarikMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.BadnarikMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.BadnarikMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.BadnarikMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.BadnarikNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.BadnarikNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.BadnarikNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.BadnarikNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.BadnarikNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.BadnarikNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.BadnarikNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.BadnarikNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.BadnarikOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.BadnarikOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.BadnarikOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.BadnarikPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.BadnarikRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.BadnarikSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.BadnarikSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.BadnarikTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.BadnarikTexas.value -0)
+	(top.frames['main001'].document.UtahI1.BadnarikUtah.value -0)
+	(top.frames['main001'].document.VermontI1.BadnarikVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.BadnarikVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.BadnarikWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.BadnarikWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.BadnarikWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.BadnarikWyoming.value -0);

top.frames['main001'].document.totalresults.Badnariktotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Badnariktotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Badnariktotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Badnariktotalvoted2.value = 
 top.frames['main001'].document.totalresults.Badnariktotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Badnariktotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Badnariktotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Badnariktotalvoted.value -0);
 
    
 }

 
 function computeAmondson() {
 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) <= (8))
top.frames['main001'].document.totalresults.Amondsontotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.AmondsonAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.AmondsonAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.AmondsonArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.AmondsonArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.AmondsonCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.AmondsonColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.AmondsonConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.AmondsonDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.AmondsonDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.AmondsonFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.AmondsonGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.AmondsonHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.AmondsonIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.AmondsonIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.AmondsonIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.AmondsonIowa.value -0)
+	(top.frames['main001'].document.KansasI1.AmondsonKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.AmondsonKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.AmondsonLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.AmondsonMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.AmondsonMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.AmondsonMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.AmondsonMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.AmondsonMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.AmondsonMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.AmondsonMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.AmondsonMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.AmondsonNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.AmondsonNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.AmondsonNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.AmondsonNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.AmondsonNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.AmondsonNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.AmondsonNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.AmondsonNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.AmondsonOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.AmondsonOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.AmondsonOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.AmondsonPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.AmondsonRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.AmondsonSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.AmondsonSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.AmondsonTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.AmondsonTexas.value -0)
+	(top.frames['main001'].document.UtahI1.AmondsonUtah.value -0)
+	(top.frames['main001'].document.VermontI1.AmondsonVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.AmondsonVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.AmondsonWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.AmondsonWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.AmondsonWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.AmondsonWyoming.value -0);

top.frames['main001'].document.totalresults.Amondsontotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Amondsontotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Amondsontotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Amondsontotalvoted2.value = 
 top.frames['main001'].document.totalresults.Amondsontotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Amondsontotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Amondsontotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Amondsontotalvoted.value -0);


}


function computeKerry () {
if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) <= (8))
top.frames['main001'].document.totalresults.Kerrytotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.KerryAlabama.value -0) 
+	(top.frames['main001'].document.AlaskaI1.KerryAlaska.value -0) 
+	(top.frames['main001'].document.ArizonaI1.KerryArizona.value -0) 
+	(top.frames['main001'].document.ArkansasI1.KerryArkansas.value -0) 
+	(top.frames['main001'].document.CaliforniaI1.KerryCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.KerryColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.KerryConnecticutt.value -0) 
+	(top.frames['main001'].document.DelawareI1.KerryDelaware.value -0) 
+	(top.frames['main001'].document.DistrictI1.KerryDistrict.value -0) 
+	(top.frames['main001'].document.FloridaI1.KerryFlorida.value -0) 
+	(top.frames['main001'].document.GeorgiaI1.KerryGeorgia.value -0) 
+	(top.frames['main001'].document.HawaiiI1.KerryHawaii.value -0) 
+	(top.frames['main001'].document.IdahoI1.KerryIdaho.value -0) 
+	(top.frames['main001'].document.IllinoisI1.KerryIllinois.value -0) 
+	(top.frames['main001'].document.IndianaI1.KerryIndiana.value -0) 
+	(top.frames['main001'].document.IowaI1.KerryIowa.value -0) 
+	(top.frames['main001'].document.KansasI1.KerryKansas.value -0) 
+	(top.frames['main001'].document.KentuckyI1.KerryKentucky.value -0) 
+	(top.frames['main001'].document.LouisianaI1.KerryLouisiana.value -0) 
+	(top.frames['main001'].document.MaineI1.KerryMaine.value -0) 
+	(top.frames['main001'].document.MarylandI1.KerryMaryland.value -0) 
+	(top.frames['main001'].document.MassachussettsI1.KerryMassachussetts.value -0) 
+	(top.frames['main001'].document.MichiganI1.KerryMichigan.value -0) 
+	(top.frames['main001'].document.MinnesotaI1.KerryMinnesota.value -0) 
+	(top.frames['main001'].document.MississippiI1.KerryMississippi.value -0) 
+	(top.frames['main001'].document.MissouriI1.KerryMissouri.value -0) 
+	(top.frames['main001'].document.MontanaI1.KerryMontana.value -0) 
+	(top.frames['main001'].document.NebraskaI1.KerryNebraska.value -0) 
+	(top.frames['main001'].document.NevadaI1.KerryNevada.value -0) 
+	(top.frames['main001'].document.NewHampshireI1.KerryNewHampshire.value -0) 
+	(top.frames['main001'].document.NewJerseyI1.KerryNewJersey.value -0) 
+	(top.frames['main001'].document.NewMexicoI1.KerryNewMexico.value -0) 
+	(top.frames['main001'].document.NewYorkI1.KerryNewYork.value -0) 
+	(top.frames['main001'].document.NorthCarolinaI1.KerryNorthCarolina.value -0) 
+	(top.frames['main001'].document.NorthDakotaI1.KerryNorthDakota.value -0) 
+	(top.frames['main001'].document.OhioI1.KerryOhio.value -0) 
+	(top.frames['main001'].document.OklahomaI1.KerryOklahoma.value -0) 
+	(top.frames['main001'].document.OregonI1.KerryOregon.value -0) 
+	(top.frames['main001'].document.PennsylvaniaI1.KerryPennsylvania.value -0) 
+	(top.frames['main001'].document.RhodeIslandI1.KerryRhodeIsland.value -0) 
+	(top.frames['main001'].document.SouthCarolinaI1.KerrySouthCarolina.value -0) 
+	(top.frames['main001'].document.SouthDakotaI1.KerrySouthDakota.value -0) 
+	(top.frames['main001'].document.TennesseeI1.KerryTennessee.value -0) 
+	(top.frames['main001'].document.TexasI1.KerryTexas.value -0) 
+	(top.frames['main001'].document.UtahI1.KerryUtah.value -0) 
+	(top.frames['main001'].document.VermontI1.KerryVermont.value -0) 
+	(top.frames['main001'].document.VirginiaI1.KerryVirginia.value -0) 
+	(top.frames['main001'].document.WashingtonI1.KerryWashington.value -0) 
+	(top.frames['main001'].document.WestVirginiaI1.KerryWestVirginia.value -0) 
+	(top.frames['main001'].document.WisconsinI1.KerryWisconsin.value -0) 
+	(top.frames['main001'].document.WyomingI1.KerryWyoming.value -0);

top.frames['main001'].document.totalresults.Kerrytotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Kerrytotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Kerrytotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Kerrytotalvoted2.value = 
 top.frames['main001'].document.totalresults.Kerrytotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Kerrytotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Kerrytotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Kerrytotalvoted.value -0);
 

}

function computeBush() {
if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) <= (8))
top.frames['main001'].document.totalresults.Bushtotalvoted.value=
	(top.frames['main001'].document.AlabamaI1.BushAlabama.value -0)
+	(top.frames['main001'].document.AlaskaI1.BushAlaska.value -0)
+	(top.frames['main001'].document.ArizonaI1.BushArizona.value -0)
+	(top.frames['main001'].document.ArkansasI1.BushArkansas.value -0)
+	(top.frames['main001'].document.CaliforniaI1.BushCalifornia.value -0) 
+	(top.frames['main001'].document.ColoradoI1.BushColorado.value -0) 
+	(top.frames['main001'].document.ConnecticuttI1.BushConnecticutt.value -0)
+	(top.frames['main001'].document.DelawareI1.BushDelaware.value -0)
+	(top.frames['main001'].document.DistrictI1.BushDistrict.value -0)
+	(top.frames['main001'].document.FloridaI1.BushFlorida.value -0)
+	(top.frames['main001'].document.GeorgiaI1.BushGeorgia.value -0)
+	(top.frames['main001'].document.HawaiiI1.BushHawaii.value -0)
+	(top.frames['main001'].document.IdahoI1.BushIdaho.value -0)
+	(top.frames['main001'].document.IllinoisI1.BushIllinois.value -0)
+	(top.frames['main001'].document.IndianaI1.BushIndiana.value -0)
+	(top.frames['main001'].document.IowaI1.BushIowa.value -0)
+	(top.frames['main001'].document.KansasI1.BushKansas.value -0)
+	(top.frames['main001'].document.KentuckyI1.BushKentucky.value -0)
+	(top.frames['main001'].document.LouisianaI1.BushLouisiana.value -0)
+	(top.frames['main001'].document.MaineI1.BushMaine.value -0)
+	(top.frames['main001'].document.MarylandI1.BushMaryland.value -0)
+	(top.frames['main001'].document.MassachussettsI1.BushMassachussetts.value -0)
+	(top.frames['main001'].document.MichiganI1.BushMichigan.value -0)
+	(top.frames['main001'].document.MinnesotaI1.BushMinnesota.value -0)
+	(top.frames['main001'].document.MississippiI1.BushMississippi.value -0)
+	(top.frames['main001'].document.MissouriI1.BushMissouri.value -0)
+	(top.frames['main001'].document.MontanaI1.BushMontana.value -0)
+	(top.frames['main001'].document.NebraskaI1.BushNebraska.value -0)
+	(top.frames['main001'].document.NevadaI1.BushNevada.value -0)
+	(top.frames['main001'].document.NewHampshireI1.BushNewHampshire.value -0)
+	(top.frames['main001'].document.NewJerseyI1.BushNewJersey.value -0)
+	(top.frames['main001'].document.NewMexicoI1.BushNewMexico.value -0)
+	(top.frames['main001'].document.NewYorkI1.BushNewYork.value -0)
+	(top.frames['main001'].document.NorthCarolinaI1.BushNorthCarolina.value -0)
+	(top.frames['main001'].document.NorthDakotaI1.BushNorthDakota.value -0)
+	(top.frames['main001'].document.OhioI1.BushOhio.value -0)
+	(top.frames['main001'].document.OklahomaI1.BushOklahoma.value -0)
+	(top.frames['main001'].document.OregonI1.BushOregon.value -0)
+	(top.frames['main001'].document.PennsylvaniaI1.BushPennsylvania.value -0)
+	(top.frames['main001'].document.RhodeIslandI1.BushRhodeIsland.value -0)
+	(top.frames['main001'].document.SouthCarolinaI1.BushSouthCarolina.value -0)
+	(top.frames['main001'].document.SouthDakotaI1.BushSouthDakota.value -0)
+	(top.frames['main001'].document.TennesseeI1.BushTennessee.value -0)
+	(top.frames['main001'].document.TexasI1.BushTexas.value -0)
+	(top.frames['main001'].document.UtahI1.BushUtah.value -0)
+	(top.frames['main001'].document.VermontI1.BushVermont.value -0)
+	(top.frames['main001'].document.VirginiaI1.BushVirginia.value -0)
+	(top.frames['main001'].document.WashingtonI1.BushWashington.value -0)
+	(top.frames['main001'].document.WestVirginiaI1.BushWestVirginia.value -0)
+	(top.frames['main001'].document.WisconsinI1.BushWisconsin.value -0)
+	(top.frames['main001'].document.WyomingI1.BushWyoming.value -0);
top.frames['main001'].document.totalresults.Bushtotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Bushtotalvoted.value -0);

 if ((top.frames['statedisplay'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Bushtotalvoted.value=(0);

if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) <= (8))
 top.frames['main001'].document.totalresults.Bushtotalvoted2.value = 
 top.frames['main001'].document.totalresults.Bushtotalvoted.value;
 else if ((top.frames['main001'].document.Coloradoresult.Coloradototal.value -0) > (8))
top.frames['main001'].document.totalresults.Bushtotalvoted2.value = "too many votes";
top.frames['main001'].document.totalresults.Bushtotalneed.value=
(270)-(top.frames['main001'].document.totalresults.Bushtotalvoted.value -0);



}