<!--
//-- Copyright David Thomas http://www.jewels.co.uk email dave@jewels.co.uk

function SetLengths() {
 var k=1;
 while(category[k] != null)
  k++
 category.length = k;
 for (i=1; i<category.length; i++) {
  var j=1;
  while (category[i].product[j] != null)
   j++;
  category[i].product.length = j;
 }
}

SetLengths();


function writecurrency() {
 // you can change the values in the currency pop-up menu
 // by changing the values in the options array below
 // The first option adds no currency to the total.
 leng = 4;
 options = new createArray(leng);

options[0] = "Britain";
options[1] = "USA";
options[2] = "Europe";
options[3] = "Non of the Above";
 
 html_code2 = "";
 
 html_code2 += '<b>Select your Country&nbsp;:&nbsp;</b><select size=1 name="currency" '
  + 'onChange="update(1)">';
 for (o=0;o<leng;o++)
  html_code2 += '<option value="'+options[o]+'"'
   + ((o==0) ? ' selected>':'>') + options[o];
 html_code2 += '</select></td><td>';
 html_code2 += '<input type="hidden" name="display_currency" size=12 maxlength=12 value="0.00" onFocus="document.form1.display_currency.blur()">';
 return html_code2;
}

// -->















