// <![CDATA[
var nReload = 5;

function NewVerifyImage2()
{
    if (nReload <= 2)
        if (nReload <= 0)
        {
            alert("Sorry, too many reloads.");
            return;
        }
        else
            alert("Only " + nReload + " more reloads are allowed");
    nReload--;

        //
        // This code now works in both IE and FireFox
        //
    var         e_img;

    e_img = document.getElementById("vimg2");
    if (e_img)
                //
                // FireFox attempts to "optimize" by not reloading
                // the image if the URL value doesn't actually change.
                // So, we make it change by adding a different
                // count parameter for each reload.
                //
        e_img.setAttribute("src",e_img.src+'?count='+nReload);
}
// ]]>

// <![CDATA[
var nReload = 5;

function NewVerifyImage()
{
    if (nReload <= 2)
        if (nReload <= 0)
        {
            alert("Sorry, too many reloads.");
            return;
        }
        else
            alert("Only " + nReload + " more reloads are allowed");
    nReload--;

        //
        // This code now works in both IE and FireFox
        //
    var         e_img;

    e_img = document.getElementById("vimg");
    if (e_img)
                //
                // FireFox attempts to "optimize" by not reloading
                // the image if the URL value doesn't actually change.
                // So, we make it change by adding a different
                // count parameter for each reload.
                //
        e_img.setAttribute("src",e_img.src+'?count='+nReload);
}
// ]]>

// <![CDATA[
var nReload = 5;

function NewVerifyImage3()
{
    if (nReload <= 2)
        if (nReload <= 0)
        {
            alert("Sorry, too many reloads.");
            return;
        }
        else
            alert("Only " + nReload + " more reloads are allowed");
    nReload--;

        //
        // This code now works in both IE and FireFox
        //
    var         e_img;

    e_img = document.getElementById("vimg3");
    if (e_img)
                //
                // FireFox attempts to "optimize" by not reloading
                // the image if the URL value doesn't actually change.
                // So, we make it change by adding a different
                // count parameter for each reload.
                //
        e_img.setAttribute("src",e_img.src+'?count='+nReload);
}
// ]]>

<!--
// NEW PRODUCT
function checkform1 ( form )
{



  // ** START **
  if (form.realname.value == "") {
    alert( "Before submitting this form you must enter a URL to Your Website" );
    form.realname.focus();
    return false ;
  }
  // ** END **
    // ** START **
  if (form.email.value == "") {
    alert( "Before submitting this form you must enter Your Email Address" );
    form.realname.focus();
    return false ;
  }
  // ** END **
  // ** START **
  if (form.ProductCategory.value == "") {
    alert( "Before submitting this form you must enter a Product Category" );
    form.ProductCategory.focus();
    return false ;
  }
  // ** END **
  // ** START **
  if (form.ProductNumber.value == "") {
    alert( "Before submitting this form you must enter a Product Number" );
    form.ProductNumber.focus();
    return false ;
  }
  // ** END **
    // ** START **
  if (form.ProductName.value == "") {
    alert( "Before submitting this form you must enter a Product Name" );
    form.ProductName.focus();
    return false ;
  }
  // ** END **
    // ** START **
  if (form.Price.value == "") {
    alert( "Before submitting this form you must enter a Price" );
    form.Price.focus();
    return false ;
  }
  // ** END **
      // ** START **
  if (form.Weight.value == "") {
    alert( "Before submitting this form you must enter a Weight" );
    form.Weight.focus();
    return false ;
  }
  // ** END **
        // ** START **
  if (form.Taxable.value == "") {
    alert( "Before submitting this form you must enter if the item is Taxable" );
    form.Taxable.focus();
    return false ;
  }
  // ** END **
        // ** START **
  if (form.LongDescription.value == "") {
    alert( "Before submitting this form you must enter a Long Description" );
    form.LongDescription.focus();
    return false ;
  }
  // ** END **
  return true ;
  } // ENDS IF STATEMENT ON BROWSER CHECK
  
  // EXISTING PRODUCT
function checkform2 ( form )
{

  // ** START **
  if (form.realname.value == "") {
    alert( "Before submitting this form you must enter a URL to Your Website" );
    form.realname.focus();
    return false ;
  }
  // ** END **
  // ** START **
  if (form.email.value == "") {
    alert( "Before submitting this form you must enter Your Email Address" );
    form.realname.focus();
    return false ;
  }
  // ** END **
  // ** START **
  if (form.ProductCategory.value == "") {
    alert( "Before submitting this form you must enter a Product Category" );
    form.ProductCategory.focus();
    return false ;
  }
  // ** END **
  // ** START **
  if (form.ProductNumber.value == "") {
    alert( "Before submitting this form you must enter a Product Number" );
    form.ProductNumber.focus();
    return false ;
  }
  // ** END **
    // ** START **
  if (form.ProductName.value == "") {
    alert( "Before submitting this form you must enter a Product Name" );
    form.ProductName.focus();
    return false ;
  }
  // ** END **
  return true ;
  } // ENDS IF STATEMENT ON BROWSER CHECK

// REPORT PROBLEMS
function checkform3 ( form )
{


  // ** START **
  if (form.realname.value == "") {
    alert( "Before submitting this form you must enter a URL to Your Website" );
    form.realname.focus();
    return false ;
  }
  // ** END **
  // ** START **
  if (form.email.value == "") {
    alert( "Before submitting this form you must enter Your Email Address" );
    form.realname.focus();
    return false ;
  }
  // ** END **
  // ** START **
  if (form.ProductCategory.value == "") {
    alert( "Before submitting this form you must enter a Product Category" );
    form.ProductCategory.focus();
    return false ;
  }
  // ** END **
  // ** START **
  if (form.ProductNumber.value == "") {
    alert( "Before submitting this form you must enter a Product Number" );
    form.ProductNumber.focus();
    return false ;
  }
  // ** END **
    // ** START **
  if (form.ReportProblem.value == "") {
    alert( "Before submitting this form you must enter a Report Problem" );
    form.ReportProblem.focus();
    return false ;
  }
  // ** END **
  return true ;
} // ENDS IF STATEMENT ON BROWSER CHECK

//-->
