var filler = '<h1 style="margin-top:0;">Poi Straps</h1>\n<table>\n<tr>\n<td class="border_b top" style="vertical-align:top;width:300px;text-align:left;padding:10px;">\n<h2>Nylon Straps</h2>';
 filler += 'Straps are made from a soft, heavy duty nylon webbing. Choice of single or double loop strap. Double loop strap is designed for 2 finger use. Single loop can be used in many ways including a double finger wrap or as a wrist strap for safety. Straps are made with a D-Ring for Poi with Cord, or a Delta Quicklink for Poi with Ball Chain.</td>';
 filler += '<td class="border_b center middle"><img src="images/straps.jpg" alt="nylon straps" /><p /></td>';
 filler += '</tr>\n<tr>\n<td class="border_b top" style="vertical-align:top;text-align:left;padding:10px;">\n<h2>Leather Straps</h2>\n';
 filler += 'These leather straps can be configured as single or double finger loop. The slotted design allows the double loop to be tightened against fingers. Made from a durable oil-tanned leather. Brass grommet - attach to any poi or fire poi. Instruction sheet included. Note: Any of our Poi (standard, lighted, or fire) can be ordered with leather straps at no additional charge.</td>';
 filler += '<td class="border_b center middle"><img src="images/LeatherPoiStrap.jpg" alt="leather straps" /></td>';
 filler += '</tr>\n</table><p />\n';
// filler += '<a href="#" onclick="return hidexpop();">';
// filler += '<img src="../images/close_button.gif" alt="close" /></a>\n';

function xpopStrap()
{ var newdiv = document.createElement("div");
  document.getElementById("padxlert").innerHTML = "";
  newdiv.innerHTML = filler;
  var container = document.getElementById("padxlert");
  container.appendChild(newdiv);
  document.getElementById("xpop").style.display = "block";
  return false; }

function popStrap(s)
{ return popAlert(filler); }

var straps = ["Double Loop Nylon", "Single Loop Nylon", "Leather"];

function reProductStrap(o, s)
{ p = o.selectedIndex;
  f = getFline(o.value);
  var x = 'var op = document.fm.elements["pOption'+s+'[]"][f]'; eval(x);
  op.length = 1; var c = 0;
  if (p > 0)
  { i = p - 1;
    document.fm.elements["pNum[]"][f].value = pNums[i];
    document.fm.elements["pName[]"][f].value = pNames[i];
    document.fm.elements["pPrice[]"][f].value = pPrices[i];
    if (p==1)
    { var nOpt = new Option(straps[0]);
	op.options[1] = nOpt;
	op.options[1].value = straps[0]; }
    for (i=1; i < 3; i++)
    { c = op.length; op.length = (c+1);
	var nOpt = new Option(straps[i]);
	op.options[c] = nOpt;
	op.options[c].value = straps[i]; } }
  op.selectedIndex = 0; }

