function update() {

var costa = "";
var costb = "";
var costc = "";
var costd = "";
var coste = "";
var costp = "";
var costq = "";

var extraScrews = "";
var extraWNuts = "";
var extraYNuts = "";
var extraBNuts = "";
var extraPads = "";
var extraSpacers = "";
var brackets = "";
var frameA = "";
var frameB = "";
var frameC = "";

var qpc = document.bigForm.plateChoice.options[document.bigForm.plateChoice.selectedIndex].text;
var qbt = document.bigForm.borderType.options[document.bigForm.borderType.selectedIndex].text;

var qf1 = document.bigForm.fontType.options[document.bigForm.fontType.selectedIndex].text;
var qb1 = document.bigForm.badgeType.options[document.bigForm.badgeType.selectedIndex].text;

var qfp = document.bigForm.frontPlateSize.options[document.bigForm.frontPlateSize.selectedIndex].text;
var qrp = document.bigForm.rearPlateSize.options[document.bigForm.rearPlateSize.selectedIndex].text;

/*if (document.bigForm.screwPacks.options[document.bigForm.screwPacks.selectedIndex].text == "0") {extraScrews = 0;}
if (document.bigForm.screwPacks.options[document.bigForm.screwPacks.selectedIndex].text == "1") {extraScrews = 1;}
if (document.bigForm.screwPacks.options[document.bigForm.screwPacks.selectedIndex].text == "2") {extraScrews = 2;}
if (document.bigForm.screwPacks.options[document.bigForm.screwPacks.selectedIndex].text == "3") {extraScrews = 3;}
if (document.bigForm.screwPacks.options[document.bigForm.screwPacks.selectedIndex].text == "4") {extraScrews = 4;}
if (document.bigForm.screwPacks.options[document.bigForm.screwPacks.selectedIndex].text == "5") {extraScrews = 5;}
if (document.bigForm.screwPacks.options[document.bigForm.screwPacks.selectedIndex].text == "6") {extraScrews = 6;}


if (document.bigForm.nutBoltSetsWhite.options[document.bigForm.nutBoltSetsWhite.selectedIndex].text == "0") {extraWNuts = 0;}
if (document.bigForm.nutBoltSetsWhite.options[document.bigForm.nutBoltSetsWhite.selectedIndex].text == "1") {extraWNuts = 1;}
if (document.bigForm.nutBoltSetsWhite.options[document.bigForm.nutBoltSetsWhite.selectedIndex].text == "2") {extraWNuts = 2;}
if (document.bigForm.nutBoltSetsWhite.options[document.bigForm.nutBoltSetsWhite.selectedIndex].text == "3") {extraWNuts = 3;}
if (document.bigForm.nutBoltSetsWhite.options[document.bigForm.nutBoltSetsWhite.selectedIndex].text == "4") {extraWNuts = 4;}
if (document.bigForm.nutBoltSetsWhite.options[document.bigForm.nutBoltSetsWhite.selectedIndex].text == "5") {extraWNuts = 5;}
if (document.bigForm.nutBoltSetsWhite.options[document.bigForm.nutBoltSetsWhite.selectedIndex].text == "6") {extraWNuts = 6;}

if (document.bigForm.nutBoltSetsYellow.options[document.bigForm.nutBoltSetsYellow.selectedIndex].text == "0") {extraYNuts = 0;}
if (document.bigForm.nutBoltSetsYellow.options[document.bigForm.nutBoltSetsYellow.selectedIndex].text == "1") {extraYNuts = 1;}
if (document.bigForm.nutBoltSetsYellow.options[document.bigForm.nutBoltSetsYellow.selectedIndex].text == "2") {extraYNuts = 2;}
if (document.bigForm.nutBoltSetsYellow.options[document.bigForm.nutBoltSetsYellow.selectedIndex].text == "3") {extraYNuts = 3;}
if (document.bigForm.nutBoltSetsYellow.options[document.bigForm.nutBoltSetsYellow.selectedIndex].text == "4") {extraYNuts = 4;}
if (document.bigForm.nutBoltSetsYellow.options[document.bigForm.nutBoltSetsYellow.selectedIndex].text == "5") {extraYNuts = 5;}
if (document.bigForm.nutBoltSetsYellow.options[document.bigForm.nutBoltSetsYellow.selectedIndex].text == "6") {extraYNuts = 6;}

if (document.bigForm.nutBoltSetsBlack.options[document.bigForm.nutBoltSetsBlack.selectedIndex].text == "0") {extraBNuts = 0;}
if (document.bigForm.nutBoltSetsBlack.options[document.bigForm.nutBoltSetsBlack.selectedIndex].text == "1") {extraBNuts = 1;}
if (document.bigForm.nutBoltSetsBlack.options[document.bigForm.nutBoltSetsBlack.selectedIndex].text == "2") {extraBNuts = 2;}
if (document.bigForm.nutBoltSetsBlack.options[document.bigForm.nutBoltSetsBlack.selectedIndex].text == "3") {extraBNuts = 3;}
if (document.bigForm.nutBoltSetsBlack.options[document.bigForm.nutBoltSetsBlack.selectedIndex].text == "4") {extraBNuts = 4;}
if (document.bigForm.nutBoltSetsBlack.options[document.bigForm.nutBoltSetsBlack.selectedIndex].text == "5") {extraBNuts = 5;}
if (document.bigForm.nutBoltSetsBlack.options[document.bigForm.nutBoltSetsBlack.selectedIndex].text == "6") {extraBNuts = 6;}

if (document.bigForm.stickyPads.options[document.bigForm.stickyPads.selectedIndex].text == "0") {extraPads = 0;}
if (document.bigForm.stickyPads.options[document.bigForm.stickyPads.selectedIndex].text == "1") {extraPads = 1;}
if (document.bigForm.stickyPads.options[document.bigForm.stickyPads.selectedIndex].text == "2") {extraPads = 2;}
if (document.bigForm.stickyPads.options[document.bigForm.stickyPads.selectedIndex].text == "3") {extraPads = 3;}
if (document.bigForm.stickyPads.options[document.bigForm.stickyPads.selectedIndex].text == "4") {extraPads = 4;}
if (document.bigForm.stickyPads.options[document.bigForm.stickyPads.selectedIndex].text == "5") {extraPads = 5;}
if (document.bigForm.stickyPads.options[document.bigForm.stickyPads.selectedIndex].text == "6") {extraPads = 6;}

if (document.bigForm.stickySpacers.options[document.bigForm.stickySpacers.selectedIndex].text == "0") {extraSpacers = 0;}
if (document.bigForm.stickySpacers.options[document.bigForm.stickySpacers.selectedIndex].text == "1") {extraSpacers = 1;}
if (document.bigForm.stickySpacers.options[document.bigForm.stickySpacers.selectedIndex].text == "2") {extraSpacers = 2;}
if (document.bigForm.stickySpacers.options[document.bigForm.stickySpacers.selectedIndex].text == "3") {extraSpacers = 3;}
if (document.bigForm.stickySpacers.options[document.bigForm.stickySpacers.selectedIndex].text == "4") {extraSpacers = 4;}
if (document.bigForm.stickySpacers.options[document.bigForm.stickySpacers.selectedIndex].text == "5") {extraSpacers = 5;}
if (document.bigForm.stickySpacers.options[document.bigForm.stickySpacers.selectedIndex].text == "6") {extraSpacers = 6;}

if (document.bigForm.brackets.options[document.bigForm.brackets.selectedIndex].text == "0") {brackets = 0;}
if (document.bigForm.brackets.options[document.bigForm.brackets.selectedIndex].text == "1") {brackets = 1;}
if (document.bigForm.brackets.options[document.bigForm.brackets.selectedIndex].text == "2") {brackets = 2;}
if (document.bigForm.brackets.options[document.bigForm.brackets.selectedIndex].text == "3") {brackets = 3;}
if (document.bigForm.brackets.options[document.bigForm.brackets.selectedIndex].text == "4") {brackets = 4;}
if (document.bigForm.brackets.options[document.bigForm.brackets.selectedIndex].text == "5") {brackets = 5;}
if (document.bigForm.brackets.options[document.bigForm.brackets.selectedIndex].text == "6") {brackets = 6;}

document.bigForm.regPlate9.value = (((extraScrews)*1)+(((extraWNuts+extraYNuts+extraBNuts)*1)*0.75)+((extraPads)*1)+((extraSpacers)*2)+((brackets)*1.5));
*/
/*if (document.bigForm.slogan.value < " ") {document.bigForm.regNote.className='regNoteStyle'}
if (document.bigForm.slogan.value > " ") {document.bigForm.regNote.className='regNoteStyleW'}
if ((document.bigForm.slogan.value > " ") && (qpc == "Rear Only")) {document.bigForm.regNote.className='regNoteStyleY'}

if (document.bigForm.slogan.value > "") {coste = 2.50;}
if (document.bigForm.slogan.value == "www.chestnut-registrations.co.uk L23 2SZ") {coste = 0;}

document.bigForm.regNote.value = document.bigForm.slogan.value;
*/

//if (qfp == 'Std Car - 20.5x4.5"')    {costp = 0;}
if (qfp == 'Square - 11x8"')         {costp = 0;}
if(qfp == 'Standard oblong - 20 1/2 x 4 3/8"') {costp = 0;}
if (qfp == 'Car Import - 13x8"')     {costp = 4;}
if (qfp == 'Car Import - 13x7"')     {costp = 4;}
//if (qfp == 'Car Import - 14x7"')     {costp = 5.5;}
if (qfp == 'Car Import - 13x6.5"')  {costp = 4;}
if (qfp == 'Car Import - 13x6"')     {costp = 4;}
if (qfp == 'Car Import - 12x6"')     {costp = 4;}
/*if (qfp == 'Oversize - 20.5x5"')     {costp = 5.5;}
if (qfp == 'Oversize - 20.5x5.5"')   {costp = 5.5;}
if (qfp == 'Oversize - 22.25x7.25"') {costp = 5.5;}
if (qfp == 'Oversize - 20.5x6.5"')   {costp = 5.5;}*/
if (qfp == 'Oversize - 22x6"')       {costp = 5;}
if (qfp == 'Oversize - 21x6"')       {costp = 5;}
//if (qfp == 'Oversize - 20.5x6"')     {costp = 5.5;}
if (qfp == 'Std Bike - 9x7"')        {costp = 3;}
/*if (qfp == 'Bike - 8x6"')            {costp = 5.5;}
if (qfp == 'Bike - 7.5x6.5"')        {costp = 5.5;}
if (qfp == 'Bike - 7.5x6"')          {costp = 5.5;}
if (qfp == 'Bike - 7x6"')            {costp = 5.5;}
if (qfp == 'Bike - 7x5.5"')          {costp = 5.5;}
if (qfp == 'Bike - 7x5"')            {costp = 5.5;}
if (qfp == 'Bike - 7x4.75"')         {costp = 5.5;}
if (qfp == 'Bike - 7.25x4.25"')      {costp = 5.5;}
if (qfp == 'Bike - 6x4"')            {costp = 5.5;}
if (qfp == 'Bike - 9x3"')            {costp = 5.5;}
if (qfp == 'Bike - 9x2"')            {costp = 5.5;}
if (qfp == 'Bike - 8x2"')            {costp = 5.5;}
if (qfp == 'Bike - 12x3"')           {costp = 5.5;}*/

//if (qrp == 'Std Car - 20.5x4.5"')    {costq = 0;}
if (qrp == 'Square - 11x8"')         {costq = 0;}
if(qrp == 'Standard oblong - 20 1/2 x 4 3/8"') {costq = 0;}
if (qrp == 'Car Import - 13x8"')     {costq = 4;}
if (qrp == 'Car Import - 13x7"')     {costq = 4;}
//if (qrp == 'Car Import - 14x7"')     {costq = 5.5;}
if (qrp == 'Car Import - 13x6.75"')  {costq = 4;}
if (qrp == 'Car Import - 13x6"')     {costq = 4;}
if (qrp == 'Car Import - 12x6"')     {costq = 4;}
/*if (qrp == 'Oversize - 20.5x5"')     {costq = 5.5;}
if (qrp == 'Oversize - 20.5x5.5"')   {costq = 5.5;}
if (qrp == 'Oversize - 22.25x7.25"') {costq = 5.5;}
if (qrp == 'Oversize - 20.5x6.5"')   {costq = 5.5;}*/
if (qrp == 'Oversize - 22x6"')       {costq = 5;}
if (qrp == 'Oversize - 21x6"')       {costq = 5;}
//if (qrp == 'Oversize - 20.5x6"')     {costq = 5.5;}
if (qrp == 'Std Bike - 9x7"')        {costq = 3;}
/*if (qrp == 'Bike - 8x6"')            {costq = 5.5;}
if (qrp == 'Bike - 7.5x6.5"')        {costq = 5.5;}
if (qrp == 'Bike - 7.5x6"')          {costq = 5.5;}
if (qrp == 'Bike - 7x6"')            {costq = 5.5;}
if (qrp == 'Bike - 7x5.5"')          {costq = 5.5;}
if (qrp == 'Bike - 7x5"')            {costq = 5.5;}
if (qrp == 'Bike - 7x4.75"')         {costq = 5.5;}
if (qrp == 'Bike - 7.25x4.25"')      {costq = 5.5;}
if (qrp == 'Bike - 6x4"')            {costq = 5.5;}
if (qrp == 'Bike - 9x3"')            {costq = 5.5;}
if (qrp == 'Bike - 9x2"')            {costq = 5.5;}
if (qrp == 'Bike - 8x2"')            {costq = 5.5;}
if (qrp == 'Bike - 12x3"')           {costq = 5.5;}

if (qrp == 'TVR')		{costq = 11;}
if (qrp == 'Rover 75')          {costq = 11;}
if (qrp == 'Jaguar S-type')     {costq = 11;}
if (qrp == 'Jaguar X-type')     {costq = 11;}*/

if (qpc != "Rear Only") {document.bigForm.bsCode.className='BS1Style'}
if (qpc == "Rear Only") {document.bigForm.bsCode.className='BS2Style'}
if (document.bigForm.bsCode.value == "temp") {document.bigForm.bsCode.className='BS3Style'}

if (qpc == "Both")
 {
 costd = 1;
 newImage = "url(plate.png)";
 }

if (qpc == "Both") {document.bigForm.rearPlateSize.disabled = false;
                    document.bigForm.frontPlateSize.disabled = false;}
if (qpc == "Front Only") {document.bigForm.rearPlateSize.disabled = true;
                        document.bigForm.frontPlateSize.disabled = false;}
if (qpc == "Rear Only") {document.bigForm.frontPlateSize.disabled = true;
                         document.bigForm.rearPlateSize.disabled = false;}

if (qpc != "Both")
 {
 costd = 2;
  {
  if (qpc == "Front Only")  {newImage = "url(plate.png)";}

if (qpc == "Rear Only")     {newImage = "url(rearplate.png)";}
  }
 }



if (qb1 == "Not wanted")
	{
				costc = 0;

				document.bigForm.badgeSpace.src = "images/spacer.gif";
				document.bigForm.badgeGap.src='images/spacer3.gif';
				}



if (qb1 != "Not wanted")
	{
					{
					costc = 5;

					//document.bigForm.badgeGap.src='images/spacer2.gif';
					}
				if (qb1 == "Euro")          {document.bigForm.badgeSpace.src = "country/euro.jpg";}
				if (qb1 == "G.B")           {document.bigForm.badgeSpace.src = "country/gb.jpg";}
				if (qb1 == "England")       {document.bigForm.badgeSpace.src = "country/eng.jpg";}

				if (qb1 == "Scotland")      {document.bigForm.badgeSpace.src = "country/sco.jpg";}

				if (qb1 == "Wales")         {document.bigForm.badgeSpace.src = "country/wales.jpg";}
				if (qb1 == "Great Britain") {document.bigForm.badgeSpace.src = "country/gb.png";}

				if (qb1 == "Union Jack")    {document.bigForm.badgeSpace.src = "unionjack.jpg";}

				if (qb1 == "3 Lions")       {document.bigForm.badgeSpace.src = "3lions.jpg";}

				if (qb1 == "England Kit")   {document.bigForm.badgeSpace.src = "england-kit.jpg";}

				if (qb1 == "GB Map")        {document.bigForm.badgeSpace.src = "britain.jpg";}
				if (qb1 == "Naughty GB")    {document.bigForm.badgeSpace.src = "naughty.jpg";}

				if (qb1 == "Enlgand Rugby") {document.bigForm.badgeSpace.src = "rugby.jpg";}

				if (qb1 == "Playgirl")      {document.bigForm.badgeSpace.src = "playgirl.jpg";}
				if (qb1 == "Playboy")       {document.bigForm.badgeSpace.src = "playboy.jpg";}


				if (qb1 == "Arsenal")       {document.bigForm.badgeSpace.src = "badges/arsenal.jpg";}

				if (qb1 == "Aston Villa")   {document.bigForm.badgeSpace.src = "badges/aston_villa.jpg";}

				if (qb1 == "Birmingham")    {document.bigForm.badgeSpace.src = "badges/birmingham_city.jpg";}

				if (qb1 == "Blackburn")     {document.bigForm.badgeSpace.src = "badges/blackburn_rovers.jpg";}

				if (qb1 == "Bolton")        {document.bigForm.badgeSpace.src = "badges/bolton.jpg";}

				if (qb1 == "Charlton")      {document.bigForm.badgeSpace.src = "badges/charlton.jpg";}

				if (qb1 == "Chelsea")       {document.bigForm.badgeSpace.src = "badges/chelsea.jpg";}

				if (qb1 == "Crystal Palace"){document.bigForm.badgeSpace.src = "badges/crystal_palace.jpg";}

				if (qb1 == "Everton")       {document.bigForm.badgeSpace.src = "badges/everton.jpg";}

				if (qb1 == "Fulham")        {document.bigForm.badgeSpace.src = "badges/fulham.jpg";}

				if (qb1 == "Liverpool")     {document.bigForm.badgeSpace.src = "badges/liverpool.jpg";}

				if (qb1 == "Man City")      {document.bigForm.badgeSpace.src = "badges/manchester_city.jpg";}

				if (qb1 == "Man United")    {document.bigForm.badgeSpace.src = "badges/manchester_united.jpg";}

				if (qb1 == "Middlesborough"){document.bigForm.badgeSpace.src = "badges/middlesborough.jpg";}

				if (qb1 == "Newcastle")     {document.bigForm.badgeSpace.src = "badges/newcastle.jpg";}

				if (qb1 == "Norwich")       {document.bigForm.badgeSpace.src = "badges/norwich.jpg";}

				if (qb1 == "Portsmouth")    {document.bigForm.badgeSpace.src = "badges/portsmouth.jpg";}

				if (qb1 == "Tottenham")     {document.bigForm.badgeSpace.src = "badges/tottenham.jpg";}

				if (qb1 == "West Brom")     {document.bigForm.badgeSpace.src = "badges/west_brom.jpg";}


				if (qb1 == "BMW")           {document.bigForm.badgeSpace.src = "badges/bmw_black_bg.jpg";}

				if (qb1 == "Ford")          {document.bigForm.badgeSpace.src = "badges/ford_black_bg.jpg";}

				if (qb1 == "MG")            {document.bigForm.badgeSpace.src = "badges/mg_logo_green_bg.jpg";}


				}




if (qbt == "Not wanted")
 {
  {
  costb = 0;
  newImage = "url(plates/plate.png)";
  document.getElementById('regPlate').style.backgroundImage = newImage;
  document.getElementById('regPlate').style.backgroundRepeat = "no-repeat";

  }
  if (qpc == "Rear Only")
   {
   costd = 2;
   newImage = "url(plates/rearplate.png)";
   document.getElementById('regPlate').style.backgroundImage = newImage;
   document.getElementById('regPlate').style.backgroundRepeat = "no-repeat";
   }
 }

if (qbt != "Not wanted") {costb = 2.5;}

if (qbt == "Gold Trim")
 {
  {
  newImage = "url(plates/goldplates.png)";
  document.getElementById('regPlate').style.backgroundImage = newImage;
  document.getElementById('regPlate').style.backgroundRepeat = "no-repeat";
  }
  if (qpc == "Rear Only")
   {
   newImage = "url(plates/reargoldplates.png)";
   document.getElementById('regPlate').style.backgroundImage = newImage;
   }
 }

if (qbt == "Black Trim")
 {
  {
  newImage = "url(plates/blackplate.png)";
  document.getElementById('regPlate').style.backgroundImage = newImage;
  }
  if (qpc == "Rear Only")
   {
   newImage = "url(plates/rearblackplate.png)";
   document.getElementById('regPlate').style.backgroundImage = newImage;
   }
 }

if (qbt == "Purple Trim")
 {
  {
  newImage = "url(plates/purpleplates.png)";
  document.getElementById('regPlate').style.backgroundImage = newImage;
  }
  if (qpc == "Rear Only")
   {
   newImage = "url(plates/rearpurpleplates.png)";
   document.getElementById('regPlate').style.backgroundImage = newImage;
   }
 }

if (qbt == "Red Trim")
 {
  {
  newImage = "url(plates/redplate.png)";
  document.getElementById('regPlate').style.backgroundImage = newImage;
  }
  if (qpc == "Rear Only")
   {
   newImage = "url(plates/rearredplate.png)";
   document.getElementById('regPlate').style.backgroundImage = newImage;
   }
 }

if (qbt == "Light Green Trim")
 {
  {
  newImage = "url(plates/lightgreenplates.png)";
  document.getElementById('regPlate').style.backgroundImage = newImage;
  }
  if (qpc == "Rear Only")
   {
   newImage = "url(plates/rearlightgreenplates.png)";
   document.getElementById('regPlate').style.backgroundImage = newImage;
   }
 }

if (qbt == "Dark Green Trim")
 {
  {
  newImage = "url(plates/darkgreenplates.png)";
  document.getElementById('regPlate').style.backgroundImage = newImage;
  }
  if (qpc == "Rear Only")
   {
   newImage = "url(plates/reardarkgreenplates.png)";
   document.getElementById('regPlate').style.backgroundImage = newImage;
   }
 }

if (qbt == "Light Blue Trim")
 {
  {
  newImage = "url(plates/lightblueplates.png)";
  document.getElementById('regPlate').style.backgroundImage = newImage;
  }
  if (qpc == "Rear Only")
   {
   newImage = "url(plates/rearlightblueplates.png)";
   document.getElementById('regPlate').style.backgroundImage = newImage;
   }
 }

if (qbt == "Dark Blue Trim")
 {
  {
  newImage = "url(plates/darkblueplate.png)";
  document.getElementById('regPlate').style.backgroundImage = newImage;
  }
 if (qpc == "Rear Only")
  {
  newImage = "url(plates/reardarkblueplate.png)";
  document.getElementById('regPlate').style.backgroundImage = newImage;
  }
 }

if (qpc == "Rear Only") {costd = 2;}

{

s = document.bigForm.regText.value
charNumb = 0
font = document.bigForm.fontType.options[document.bigForm.fontType.selectedIndex].text

for (i=0;i<=(s.length-1);i++) {

{

if((s.charAt(i)=="A") || (s.charAt(i)=="a")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'A.gif\"')}
if((s.charAt(i)=="B") || (s.charAt(i)=="b")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'B.gif\"')}
if((s.charAt(i)=="C") || (s.charAt(i)=="c")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'C.gif\"')}
if((s.charAt(i)=="D") || (s.charAt(i)=="d")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'D.gif\"')}
if((s.charAt(i)=="E") || (s.charAt(i)=="e")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'E.gif\"')}
if((s.charAt(i)=="F") || (s.charAt(i)=="f")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'F.gif\"')}
if((s.charAt(i)=="G") || (s.charAt(i)=="g")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'G.gif\"')}
if((s.charAt(i)=="H") || (s.charAt(i)=="h")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'H.gif\"')}
if((s.charAt(i)=="I") || (s.charAt(i)=="i")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'I.gif\"')}
if((s.charAt(i)=="J") || (s.charAt(i)=="j")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'J.gif\"')}
if((s.charAt(i)=="K") || (s.charAt(i)=="k")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'K.gif\"')}
if((s.charAt(i)=="L") || (s.charAt(i)=="l")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'L.gif\"')}
if((s.charAt(i)=="M") || (s.charAt(i)=="m")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'M.gif\"')}
if((s.charAt(i)=="N") || (s.charAt(i)=="n")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'N.gif\"')}
if((s.charAt(i)=="O") || (s.charAt(i)=="o")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'O.gif\"')}
if((s.charAt(i)=="P") || (s.charAt(i)=="p")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'P.gif\"')}
if((s.charAt(i)=="Q") || (s.charAt(i)=="q")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'Q.gif\"')}
if((s.charAt(i)=="R") || (s.charAt(i)=="r")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'R.gif\"')}
if((s.charAt(i)=="S") || (s.charAt(i)=="s")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'S.gif\"')}
if((s.charAt(i)=="T") || (s.charAt(i)=="t")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'T.gif\"')}
if((s.charAt(i)=="U") || (s.charAt(i)=="u")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'U.gif\"')}
if((s.charAt(i)=="V") || (s.charAt(i)=="v")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'V.gif\"')}
if((s.charAt(i)=="W") || (s.charAt(i)=="w")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'W.gif\"')}
if((s.charAt(i)=="X") || (s.charAt(i)=="x")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'X.gif\"')}
if((s.charAt(i)=="Y") || (s.charAt(i)=="y")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'Y.gif\"')}
if((s.charAt(i)=="Z") || (s.charAt(i)=="z")) {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'Z.gif\"')}

if(s.charAt(i)=="0") {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'0.gif\"')}
if(s.charAt(i)=="1") {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'1.gif\"')}
if(s.charAt(i)=="2") {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'2.gif\"')}
if(s.charAt(i)=="3") {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'3.gif\"')}
if(s.charAt(i)=="4") {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'4.gif\"')}
if(s.charAt(i)=="5") {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'5.gif\"')}
if(s.charAt(i)=="6") {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'6.gif\"')}
if(s.charAt(i)=="7") {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'7.gif\"')}
if(s.charAt(i)=="8") {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'8.gif\"')}
if(s.charAt(i)=="9") {eval('document.images[\"letter'+i+'\"].src=\"fonts/'+font+'/'+font.substr(12,font.length)+'9.gif\"')}

if(s.charAt(0)==" ") {eval('document.images[\"letter0\"].src=\"fonts/spacer2.gif\"')}
if(s.charAt(1)==" ") {eval('document.images[\"letter1\"].src=\"fonts/spacer2.gif\"')}
if(s.charAt(2)==" ") {eval('document.images[\"letter2\"].src=\"fonts/spacer2.gif\"')}
if(s.charAt(3)==" ") {eval('document.images[\"letter3\"].src=\"fonts/spacer2.gif\"')}
if(s.charAt(4)==" ") {eval('document.images[\"letter4\"].src=\"fonts/spacer2.gif\"')}
if(s.charAt(5)==" ") {eval('document.images[\"letter5\"].src=\"fonts/spacer2.gif\"')}
if(s.charAt(6)==" ") {eval('document.images[\"letter6\"].src=\"fonts/spacer2.gif\"')}
if(s.charAt(7)==" ") {eval('document.images[\"letter7\"].src=\"fonts/spacer2.gif\"')}

if(s.charAt(0)=="") {eval('document.images[\"letter0\"].src=\"fonts/spacer3.gif\"')}
if(s.charAt(1)=="") {eval('document.images[\"letter1\"].src=\"fonts/spacer3.gif\"')}
if(s.charAt(2)=="") {eval('document.images[\"letter2\"].src=\"fonts/spacer3.gif\"')}
if(s.charAt(3)=="") {eval('document.images[\"letter3\"].src=\"fonts/spacer3.gif\"')}
if(s.charAt(4)=="") {eval('document.images[\"letter4\"].src=\"fonts/spacer3.gif\"')}
if(s.charAt(5)=="") {eval('document.images[\"letter5\"].src=\"fonts/spacer3.gif\"')}
if(s.charAt(6)=="") {eval('document.images[\"letter6\"].src=\"fonts/spacer3.gif\"')}
if(s.charAt(7)=="") {eval('document.images[\"letter7\"].src=\"fonts/spacer3.gif\"')}

if (font == "Plain") {costa = 18;}
if (font == "3D") {costa = 26;}
if (font != "Plain" && font != "3D") {costa = 28;}

}}

if (qpc == "Both") {
  {document.bigForm.regPlate5.value = ((( (1*costa)+(1*costb)+(1*costc)+(1*coste)+(1*costp)+(1*costq) )/ (1*costd) ) + (((extraScrews)*1)+(((extraWNuts+extraYNuts+extraBNuts)*1)*0.75)+((extraPads)*1)+((extraSpacers)*2)+((brackets)*1.50)+((frameA)*4.5)+((frameB)*7.5)+((frameC)*13.5)));}
 }

if (qpc == "Front Only") {
  {document.bigForm.regPlate5.value = (((( (1*costa)+(1*costb)+(1*costc)+(1*coste) )/ (1*costd) )+(1*costp) ) + (((extraScrews)*1)+(((extraWNuts+extraYNuts+extraBNuts)*1)*0.75)+((extraPads)*1)+((extraSpacers)*2)+((brackets)*1.50)+((frameA)*4.5)+((frameB)*7.5)+((frameC)*13.5)));}
 }

if (qpc == "Rear Only") {
  {document.bigForm.regPlate5.value = (((( (1*costa)+(1*costb)+(1*costc)+(1*coste) )/ (1*costd) )+(1*costq) ) + (((extraScrews)*1)+(((extraWNuts+extraYNuts+extraBNuts)*1)*0.75)+((extraPads)*1)+((extraSpacers)*2)+((brackets)*1.50)+((frameA)*4.5)+((frameB)*7.5)+((frameC)*13.5)));}
 }


}}

function checkColour () {

if (document.bigForm.borderType.options[document.bigForm.borderType.selectedIndex].text == "Light Green Trim")
  {
  alert('Please note: This colour will be very slightly darker on the rear plate.');
  }



if (document.bigForm.borderType.options[document.bigForm.borderType.selectedIndex].text == "Dark Green Trim")
  {
  alert('Please note: This colour will be very slightly darker on the rear plate.');
  }

if (document.bigForm.borderType.options[document.bigForm.borderType.selectedIndex].text == "Light Blue Trim")
 {
  alert('Please note: This colour appears green on the rear plate.');
 }

if (document.bigForm.borderType.options[document.bigForm.borderType.selectedIndex].text == "Dark Blue Trim")
 {
  alert('Please note: This colour appears black on the rear plate.');
 }

}

function checkEntry () {
if (event.keyCode > 33 && event.keyCode < 40) {
   alert("For an apostrophe please use the key left of the 1 on your keyboard.");
   event.returnValue = false;
 }
}




function part2 () {



var tempA = "";
var tempB = "";
var tempC = "";
var tempD = "";
var tempE = "";
var tempF = "";var tempG = "";

var tempH = "";var tempI = "";
var tempJ = "";
var tempK = "";
var tempL = "";var tempM = "";
var tempN = "";


var tempBF = "";var tempPB = "";



var tempPlate = (1 * document.bigForm.tempCost.value);



if ((document.bigForm.plainBlackABSLIP.options[document.bigForm.plainBlackABSLIP.selectedIndex].text) == "0") {tempA = 0;}

if ((document.bigForm.plainBlackABSLIP.options[document.bigForm.plainBlackABSLIP.selectedIndex].text) == "1") {tempA = 7.49;}

if ((document.bigForm.plainBlackABSLIP.options[document.bigForm.plainBlackABSLIP.selectedIndex].text) == "2") {tempA = 14.98;}

if ((document.bigForm.plainBlackABSLIP.options[document.bigForm.plainBlackABSLIP.selectedIndex].text) == "3") {tempA = 22.47;}

if ((document.bigForm.plainBlackABSLIP.options[document.bigForm.plainBlackABSLIP.selectedIndex].text) == "4") {tempA = 29.96;}

if ((document.bigForm.plainBlackABSLIP.options[document.bigForm.plainBlackABSLIP.selectedIndex].text) == "5") {tempA = 37.45;}

if ((document.bigForm.plainBlackABSLIP.options[document.bigForm.plainBlackABSLIP.selectedIndex].text) == "6") {tempA = 44.94;}



if ((document.bigForm.plainBlackABSNOLIP.options[document.bigForm.plainBlackABSNOLIP.selectedIndex].text) == "0") {tempB = 0;}

if ((document.bigForm.plainBlackABSNOLIP.options[document.bigForm.plainBlackABSNOLIP.selectedIndex].text) == "1") {tempB = 6.99;}

if ((document.bigForm.plainBlackABSNOLIP.options[document.bigForm.plainBlackABSNOLIP.selectedIndex].text) == "2") {tempB = 13.98;}

if ((document.bigForm.plainBlackABSNOLIP.options[document.bigForm.plainBlackABSNOLIP.selectedIndex].text) == "3") {tempB = 20.97;}

if ((document.bigForm.plainBlackABSNOLIP.options[document.bigForm.plainBlackABSNOLIP.selectedIndex].text) == "4") {tempB = 27.96;}

if ((document.bigForm.plainBlackABSNOLIP.options[document.bigForm.plainBlackABSNOLIP.selectedIndex].text) == "5") {tempB = 34.95;}

if ((document.bigForm.plainBlackABSNOLIP.options[document.bigForm.plainBlackABSNOLIP.selectedIndex].text) == "6") {tempB = 41.94;}



if ((document.bigForm.chromePlatedLIP.options[document.bigForm.chromePlatedLIP.selectedIndex].text) == "0") {tempC = 0;}
if ((document.bigForm.chromePlatedLIP.options[document.bigForm.chromePlatedLIP.selectedIndex].text) == "1") {tempC = 10.99;}
if ((document.bigForm.chromePlatedLIP.options[document.bigForm.chromePlatedLIP.selectedIndex].text) == "2") {tempC = 21.98;}
if ((document.bigForm.chromePlatedLIP.options[document.bigForm.chromePlatedLIP.selectedIndex].text) == "3") {tempC = 32.97;}
if ((document.bigForm.chromePlatedLIP.options[document.bigForm.chromePlatedLIP.selectedIndex].text) == "4") {tempC = 43.96;}
if ((document.bigForm.chromePlatedLIP.options[document.bigForm.chromePlatedLIP.selectedIndex].text) == "5") {tempC = 54.95;}
if ((document.bigForm.chromePlatedLIP.options[document.bigForm.chromePlatedLIP.selectedIndex].text) == "6") {tempC = 65.94;}

if ((document.bigForm.chromePlatedNOLIP.options[document.bigForm.chromePlatedNOLIP.selectedIndex].text) == "0") {tempD = 0;}
if ((document.bigForm.chromePlatedNOLIP.options[document.bigForm.chromePlatedNOLIP.selectedIndex].text) == "1") {tempD = 10.49;}
if ((document.bigForm.chromePlatedNOLIP.options[document.bigForm.chromePlatedNOLIP.selectedIndex].text) == "2") {tempD = 20.98;}
if ((document.bigForm.chromePlatedNOLIP.options[document.bigForm.chromePlatedNOLIP.selectedIndex].text) == "3") {tempD = 31.47;}
if ((document.bigForm.chromePlatedNOLIP.options[document.bigForm.chromePlatedNOLIP.selectedIndex].text) == "4") {tempD = 41.96;}
if ((document.bigForm.chromePlatedNOLIP.options[document.bigForm.chromePlatedNOLIP.selectedIndex].text) == "5") {tempD = 52.45;}
if ((document.bigForm.chromePlatedNOLIP.options[document.bigForm.chromePlatedNOLIP.selectedIndex].text) == "6") {tempD = 62.94;}

if ((document.bigForm.carbonFibreLIP.options[document.bigForm.carbonFibreLIP.selectedIndex].text) == "0") {tempE = 0;}
if ((document.bigForm.carbonFibreLIP.options[document.bigForm.carbonFibreLIP.selectedIndex].text) == "1") {tempE = 13.49;}
if ((document.bigForm.carbonFibreLIP.options[document.bigForm.carbonFibreLIP.selectedIndex].text) == "2") {tempE = 26.98;}
if ((document.bigForm.carbonFibreLIP.options[document.bigForm.carbonFibreLIP.selectedIndex].text) == "3") {tempE = 40.47;}
if ((document.bigForm.carbonFibreLIP.options[document.bigForm.carbonFibreLIP.selectedIndex].text) == "4") {tempE = 53.96;}
if ((document.bigForm.carbonFibreLIP.options[document.bigForm.carbonFibreLIP.selectedIndex].text) == "5") {tempE = 67.45;}
if ((document.bigForm.carbonFibreLIP.options[document.bigForm.carbonFibreLIP.selectedIndex].text) == "6") {tempE = 80.94;}

if ((document.bigForm.carbonFibreNOLIP.options[document.bigForm.carbonFibreNOLIP.selectedIndex].text) == "0") {tempF = 0;}
if ((document.bigForm.carbonFibreNOLIP.options[document.bigForm.carbonFibreNOLIP.selectedIndex].text) == "1") {tempF = 12.99;}
if ((document.bigForm.carbonFibreNOLIP.options[document.bigForm.carbonFibreNOLIP.selectedIndex].text) == "2") {tempF = 25.98;}
if ((document.bigForm.carbonFibreNOLIP.options[document.bigForm.carbonFibreNOLIP.selectedIndex].text) == "3") {tempF = 38.97;}
if ((document.bigForm.carbonFibreNOLIP.options[document.bigForm.carbonFibreNOLIP.selectedIndex].text) == "4") {tempF = 51.96;}
if ((document.bigForm.carbonFibreNOLIP.options[document.bigForm.carbonFibreNOLIP.selectedIndex].text) == "5") {tempF = 64.95;}
if ((document.bigForm.carbonFibreNOLIP.options[document.bigForm.carbonFibreNOLIP.selectedIndex].text) == "6") {tempF = 77.94;}

if ((document.bigForm.drilledAluminiumLIP.options[document.bigForm.drilledAluminiumLIP.selectedIndex].text) == "0") {tempG = 0;}
if ((document.bigForm.drilledAluminiumLIP.options[document.bigForm.drilledAluminiumLIP.selectedIndex].text) == "1") {tempG = 13.49;}
if ((document.bigForm.drilledAluminiumLIP.options[document.bigForm.drilledAluminiumLIP.selectedIndex].text) == "2") {tempG = 26.98;}
if ((document.bigForm.drilledAluminiumLIP.options[document.bigForm.drilledAluminiumLIP.selectedIndex].text) == "3") {tempG = 40.47;}
if ((document.bigForm.drilledAluminiumLIP.options[document.bigForm.drilledAluminiumLIP.selectedIndex].text) == "4") {tempG = 53.96;}
if ((document.bigForm.drilledAluminiumLIP.options[document.bigForm.drilledAluminiumLIP.selectedIndex].text) == "5") {tempG = 67.45;}
if ((document.bigForm.drilledAluminiumLIP.options[document.bigForm.drilledAluminiumLIP.selectedIndex].text) == "6") {tempG = 80.94;}

if ((document.bigForm.drilledAluminiumNOLIP.options[document.bigForm.drilledAluminiumNOLIP.selectedIndex].text) == "0") {tempH = 0;}
if ((document.bigForm.drilledAluminiumNOLIP.options[document.bigForm.drilledAluminiumNOLIP.selectedIndex].text) == "1") {tempH = 13.49;}
if ((document.bigForm.drilledAluminiumNOLIP.options[document.bigForm.drilledAluminiumNOLIP.selectedIndex].text) == "2") {tempH = 26.98;}
if ((document.bigForm.drilledAluminiumNOLIP.options[document.bigForm.drilledAluminiumNOLIP.selectedIndex].text) == "3") {tempH = 40.47;}
if ((document.bigForm.drilledAluminiumNOLIP.options[document.bigForm.drilledAluminiumNOLIP.selectedIndex].text) == "4") {tempH = 53.96;}
if ((document.bigForm.drilledAluminiumNOLIP.options[document.bigForm.drilledAluminiumNOLIP.selectedIndex].text) == "5") {tempH = 67.45;}
if ((document.bigForm.drilledAluminiumNOLIP.options[document.bigForm.drilledAluminiumNOLIP.selectedIndex].text) == "6") {tempH = 80.94;}



if ((document.bigForm.blueTintLIP.options[document.bigForm.blueTintLIP.selectedIndex].text) == "0") {tempI = 0;}

if ((document.bigForm.blueTintLIP.options[document.bigForm.blueTintLIP.selectedIndex].text) == "1") {tempI = 13.49;}

if ((document.bigForm.blueTintLIP.options[document.bigForm.blueTintLIP.selectedIndex].text) == "2") {tempI = 26.98;}

if ((document.bigForm.blueTintLIP.options[document.bigForm.blueTintLIP.selectedIndex].text) == "3") {tempI = 40.47;}

if ((document.bigForm.blueTintLIP.options[document.bigForm.blueTintLIP.selectedIndex].text) == "4") {tempI = 53.96;}

if ((document.bigForm.blueTintLIP.options[document.bigForm.blueTintLIP.selectedIndex].text) == "5") {tempI = 67.45;}

if ((document.bigForm.blueTintLIP.options[document.bigForm.blueTintLIP.selectedIndex].text) == "6") {tempI = 80.94;}



if ((document.bigForm.blueTintNOLIP.options[document.bigForm.blueTintNOLIP.selectedIndex].text) == "0") {tempJ = 0;}

if ((document.bigForm.blueTintNOLIP.options[document.bigForm.blueTintNOLIP.selectedIndex].text) == "1") {tempJ = 12.99;}

if ((document.bigForm.blueTintNOLIP.options[document.bigForm.blueTintNOLIP.selectedIndex].text) == "2") {tempJ = 25.98;}

if ((document.bigForm.blueTintNOLIP.options[document.bigForm.blueTintNOLIP.selectedIndex].text) == "3") {tempJ = 38.97;}

if ((document.bigForm.blueTintNOLIP.options[document.bigForm.blueTintNOLIP.selectedIndex].text) == "4") {tempJ = 51.96;}

if ((document.bigForm.blueTintNOLIP.options[document.bigForm.blueTintNOLIP.selectedIndex].text) == "5") {tempJ = 64.95;}

if ((document.bigForm.blueTintNOLIP.options[document.bigForm.blueTintNOLIP.selectedIndex].text) == "6") {tempJ = 77.94;}



if ((document.bigForm.redTintLIP.options[document.bigForm.redTintLIP.selectedIndex].text) == "0") {tempK = 0;}

if ((document.bigForm.redTintLIP.options[document.bigForm.redTintLIP.selectedIndex].text) == "1") {tempK = 13.49;}

if ((document.bigForm.redTintLIP.options[document.bigForm.redTintLIP.selectedIndex].text) == "2") {tempK = 26.98;}

if ((document.bigForm.redTintLIP.options[document.bigForm.redTintLIP.selectedIndex].text) == "3") {tempK = 40.47;}

if ((document.bigForm.redTintLIP.options[document.bigForm.redTintLIP.selectedIndex].text) == "4") {tempK = 53.96;}

if ((document.bigForm.redTintLIP.options[document.bigForm.redTintLIP.selectedIndex].text) == "5") {tempK = 67.45;}

if ((document.bigForm.redTintLIP.options[document.bigForm.redTintLIP.selectedIndex].text) == "6") {tempK = 80.94;}



if ((document.bigForm.redTintNOLIP.options[document.bigForm.redTintNOLIP.selectedIndex].text) == "0") {tempL = 0;}

if ((document.bigForm.redTintNOLIP.options[document.bigForm.redTintNOLIP.selectedIndex].text) == "1") {tempL = 12.99;}

if ((document.bigForm.redTintNOLIP.options[document.bigForm.redTintNOLIP.selectedIndex].text) == "2") {tempL = 25.98;}

if ((document.bigForm.redTintNOLIP.options[document.bigForm.redTintNOLIP.selectedIndex].text) == "3") {tempL = 38.97;}

if ((document.bigForm.redTintNOLIP.options[document.bigForm.redTintNOLIP.selectedIndex].text) == "4") {tempL = 51.96;}

if ((document.bigForm.redTintNOLIP.options[document.bigForm.redTintNOLIP.selectedIndex].text) == "5") {tempL = 64.95;}

if ((document.bigForm.redTintNOLIP.options[document.bigForm.redTintNOLIP.selectedIndex].text) == "6") {tempL = 77.94;}



if ((document.bigForm.goldTintLIP.options[document.bigForm.goldTintLIP.selectedIndex].text) == "0") {tempM = 0;}

if ((document.bigForm.goldTintLIP.options[document.bigForm.goldTintLIP.selectedIndex].text) == "1") {tempM = 13.49;}

if ((document.bigForm.goldTintLIP.options[document.bigForm.goldTintLIP.selectedIndex].text) == "2") {tempM = 26.98;}

if ((document.bigForm.goldTintLIP.options[document.bigForm.goldTintLIP.selectedIndex].text) == "3") {tempM = 40.47;}

if ((document.bigForm.goldTintLIP.options[document.bigForm.goldTintLIP.selectedIndex].text) == "4") {tempM = 53.96;}

if ((document.bigForm.goldTintLIP.options[document.bigForm.goldTintLIP.selectedIndex].text) == "5") {tempM = 67.45;}

if ((document.bigForm.goldTintLIP.options[document.bigForm.goldTintLIP.selectedIndex].text) == "6") {tempM = 80.94;}



if ((document.bigForm.goldTintNOLIP.options[document.bigForm.goldTintNOLIP.selectedIndex].text) == "0") {tempN = 0;}

if ((document.bigForm.goldTintNOLIP.options[document.bigForm.goldTintNOLIP.selectedIndex].text) == "1") {tempN = 12.99;}

if ((document.bigForm.goldTintNOLIP.options[document.bigForm.goldTintNOLIP.selectedIndex].text) == "2") {tempN = 25.98;}

if ((document.bigForm.goldTintNOLIP.options[document.bigForm.goldTintNOLIP.selectedIndex].text) == "3") {tempN = 38.97;}

if ((document.bigForm.goldTintNOLIP.options[document.bigForm.goldTintNOLIP.selectedIndex].text) == "4") {tempN = 51.96;}

if ((document.bigForm.goldTintNOLIP.options[document.bigForm.goldTintNOLIP.selectedIndex].text) == "5") {tempN = 64.95;}

if ((document.bigForm.goldTintNOLIP.options[document.bigForm.goldTintNOLIP.selectedIndex].text) == "6") {tempN = 77.94;}






if ((document.bigForm.budgetFrame.options[document.bigForm.budgetFrame.selectedIndex].text) == "0") {tempBF = 0;}

if ((document.bigForm.budgetFrame.options[document.bigForm.budgetFrame.selectedIndex].text) == "1") {tempBF = 6.49;}

if ((document.bigForm.budgetFrame.options[document.bigForm.budgetFrame.selectedIndex].text) == "2") {tempBF = 12.98;}

if ((document.bigForm.budgetFrame.options[document.bigForm.budgetFrame.selectedIndex].text) == "3") {tempBF = 19.47;}

if ((document.bigForm.budgetFrame.options[document.bigForm.budgetFrame.selectedIndex].text) == "4") {tempBF = 25.96;}

if ((document.bigForm.budgetFrame.options[document.bigForm.budgetFrame.selectedIndex].text) == "5") {tempBF = 32.45;}

if ((document.bigForm.budgetFrame.options[document.bigForm.budgetFrame.selectedIndex].text) == "6") {tempBF = 38.94;}





if ((document.bigForm.pbcans.options[document.bigForm.pbcans.selectedIndex].text) == "0") {tempPB = 0;}


if ((document.bigForm.pbcans.options[document.bigForm.pbcans.selectedIndex].text) == "1") {tempPB = 19.99;}


if ((document.bigForm.pbcans.options[document.bigForm.pbcans.selectedIndex].text) == "2") {tempPB = 35.00;}


if ((document.bigForm.pbcans.options[document.bigForm.pbcans.selectedIndex].text) == "3") {tempPB = 50.00;}


if ((document.bigForm.pbcans.options[document.bigForm.pbcans.selectedIndex].text) == "4") {tempPB = 65.00;}


if ((document.bigForm.pbcans.options[document.bigForm.pbcans.selectedIndex].text) == "5") {tempPB = 80.00;}


if ((document.bigForm.pbcans.options[document.bigForm.pbcans.selectedIndex].text) == "6") {tempPB = 90.00;}





document.bigForm.framesCost.value = Math.round((tempA+tempB+tempC+tempD+tempE+tempF+tempG+tempH+tempI+tempJ+tempK+tempL+tempM+tempN+tempBF+tempPB)*100)/100;




document.bigForm.platesFrames.value = Math.round(1*((1*document.bigForm.framesCost.value) + (1*tempPlate))*100)/100;

}
