var veil = new Array();
var veil_colour = new Array();
var veil_desc = new Array();

  veil[0] = 'Veil_White.jpg';
  veil[1] = 'Veil_Ivory.jpg';
  veil[2] = 'Veil_Diamond_White.jpg';
  veil[3] = 'Veil_Sparkle_White.jpg';
  veil[4] = 'Veil_Sparkle_Ivory.jpg';
  veil[5] = 'Veil_Sparkle_Diamond_White.jpg';
  veil[6] = 'Veil_Cafe.jpg';
  veil[7] = 'Veil_Sparkle_Cafe.jpg';
  veil[8] = 'Veil_Oyster.jpg';
  veil[9] = 'Veil_Beige.jpg';
  veil[10] = 'Veil_Pink.jpg';
  veil[11] = 'Veil_Blush_Pink.jpg';
  veil[12] = 'Veil_Gold.jpg';
  veil[13] = 'Veil_Silver.jpg';
  veil[14] = 'Veil_Glimmer.jpg';
  
  veil_colour[0] = 'White';
  veil_colour[1] = 'Ivory';
  veil_colour[2] = 'Diamond White';
  veil_colour[3] = 'Sparkle White';
  veil_colour[4] = 'Sparkle Ivory';
  veil_colour[5] = 'Sparkle Diamond White';
  veil_colour[6] = 'Cafe';
  veil_colour[7] = 'Sparkle Cafe';
  veil_colour[8] = 'Oyster';
  veil_colour[9] = 'Beige';
  veil_colour[10] = 'Pink';
  veil_colour[11] = 'Blush Pink';
  veil_colour[12] = 'Gold';
  veil_colour[13] = 'Silver';
  veil_colour[14] = 'Glimmer';
  
  veil_desc[0] = 'A brilliant snow white shade.';
  veil_desc[1] = 'Ivory shade that matches medium to dark ivory or cream dresses.';
  veil_desc[2] = "An off white shade that will match any pale ivory coloured dresses. It's also a good match to Maggie Sottero dresses in Diamond White.";
  veil_desc[3] = 'Same colour as White but also has a sparkling shimmer to enhance the material.';
  veil_desc[4] = 'Same colour as Ivory but also has a sparkling shimmer to enhance the material.';
  veil_desc[5] = 'Same colour as Diamond White but also has a sparkling shimmer to enhance the material.';
  veil_desc[6] = 'A light coffee coloured shade.';
  veil_desc[7] = 'Same colour as Cafe but also has a sparkling shimmer to enhance the material.';
  veil_desc[8] = 'A darker colour than ivory that also has pink shades to it.';
  veil_desc[9] = 'A medium cream colour that is lighter than cafe coloured veil. A great colour to go with medium gold dresses.';
  veil_desc[10] = 'A lovely shade of pink that would obviously suit pink dresses.';
  veil_desc[11] = 'A paler shade of pink.';
  veil_desc[12] = 'Darker shade of Gold that would suit most gold dresses.';
  veil_desc[13] = 'A pale silver shade.';
  veil_desc[14] = 'A silver shade with glimmering sparkle.';  

function DisplayVeils(columns) 
{
  //columns = 14;
  var count = 0;
  var l_c;
  //var strOutput = "<table border=0>";
  var strOutput = '<tr align="center" valign="top">';
  
  for (l_c = 0; l_c < veil.length; l_c++) {
    strOutput += '<td class="main" width="186"><br/><img src="./images/Illusion_Veils/'  + veil[l_c] + '" height="95" width="180" class="productimg" /><br /> '; 
    strOutput += '<strong>' + veil_colour[l_c] + '</strong><br />';
    strOutput += veil_desc[l_c];
    strOutput += '</td>';
    count++;
    if (count > columns) {
       strOutput += "</tr> <tr align=center valign=top>";
       count = 0;
    }
    else {
      strOutput += "<td>&nbsp;</td>";
    }
  }
  strOutput += "</tr>";
  // strOutput += "</table>";
  document.write(strOutput);
  document.close();

}

