<!--

// Good Faith Estimate (C) Copyright 2005 Your Fiesta & Co.
// www.yourfiesta.com

function figureItOut()
{
var guests = document.estimator.guestslistbox.selectedIndex
var hours = document.estimator.hourslistbox.selectedIndex
var lights = document.estimator.lightslistbox.selectedIndex
var ceremony = document.estimator.ceremonylistbox.selectedIndex
var location = document.estimator.locationlistbox.selectedIndex
var access = document.estimator.stairslistbox.selectedIndex
var date = document.estimator.datelistbox.selectedIndex
if (guests == 0)
{UserAnswers = "For 100 guests or less, 4 Hours is plenty of time"}
if (guests == 1)
{UserAnswers = "For 100-150 guests, you need a DJ for Four and a Half Hours"}
if (guests == 2)
{UserAnswers = "For 150-200 guests, you need a DJ for Five Hours"}
if (guests == 3)
{UserAnswers = "For 200-250 guests, you need a DJ for Five and a Half Hours"}
if (guests == 4)
{UserAnswers = "For more than 250 guests, you need Six Hours of DJ Services!"}
if (hours == 0)
{cost = 1195}
if (hours == 1)
{cost = 1295}
if (hours == 2)
{cost = 1395}
if (hours == 3)
{cost = 1495}
if (hours == 4)
{cost = 1595}
if (lights == 0)
{cost2 = 0}
if (lights == 1)
{cost2 = 350}
if (ceremony == 0)
{cost5 = 0}
if (ceremony == 1)
{cost5 = 300}
if (location == 0)
{cost3 = 0}
if (location == 1)
{cost3 = 150}
if (location == 2)
{cost3 = 0}
if (access == 0)
{cost4 = 0}
if (access == 1)
{cost4 = 150}
if (date == 1)
{cost = cost * 2}
if (date == 1)
{cost2 = 0}
if (date == 1)
{cost3 = cost3 * 2}
if (date == 1)
{cost4 = cost4 * 2}
if (date == 1)
{cost5 = cost5 * 2}
total = cost + cost2 + cost3 + cost4 + cost5
document.estimator.results1.value = cost + cost2 + cost3 + cost4 + cost5
document.estimator.results2.value = UserAnswers
document.estimator.results3.value = total * .20
document.estimator.results4.value = total * .80
}
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
//-->
