<!--//


   function formCheck()
      {
          returntype = false; if(((


           (document.payform.item_name_1700.checked == "0")
                        &&
          (document.payform.item_quantity_1700.selectedIndex == "0")
                               &&
         (document.payform.item_name_1701.checked == "0")
                       &&
          (document.payform.item_quantity_1701.selectedIndex == "0")


         )))


           {
       alert("Please select a product. (you have not selected any product to purchase.)");
       return false;

     }



        //  Start of Javascript for web camera products

     if((document.payform.item_name_1700.checked == "0")
         &&
    (document.payform.item_quantity_1700.selectedIndex != "0"))

     {
      alert("Please select the webcam. (you have not selected  a webcam or cancel the selected quantity)");
      return false;

    }


        if((document.payform.item_name_1700.checked != "0")
                     &&
    (document.payform.item_quantity_1700.selectedIndex == "0"))

     {
      alert("Please select a Quantity for webcams. (you have not selected  a Quantity)");
      return false;
   
    }
          if((document.payform.item_name_1701.checked == "0")
                                  &&
    (document.payform.item_quantity_1701.selectedIndex != "0"))

     {
      alert("Please select a webcam (you have not selected  a Webcam or cancel the selected quantity)");
      return false;

    }


        if((document.payform.item_name_1701.checked != "0")
                         &&
    (document.payform.item_quantity_1701.selectedIndex == "0"))

     {
      alert("Please select a Quantity for webcam. (you have not selected  a Quantity)");
      return false;

    }


   // Start of code for IP Phones

  // if((document.payform.item_name_100.checked == "0")
  //                      &&
  //  (document.payform.item_quantity_100.selectedIndex != "0"))

    // {
    //  alert("Please select your Ethernet IP Phone (you have not selected  a IP Phone or cancel the selected quantity)");
    //  return false;

   // }


   //     if((document.payform.item_name_100.checked != "0")
    //                       &&
   // (document.payform.item_quantity_100.selectedIndex == "0"))

   //  {
  //    alert("Please select a Quantity for your Ethernet IP Phone. (you have not selected  a Quantity)");
    //  return false;

  // }

     //Start of script for Ethernet dualphone power plug.


 //  if((((((document.payform.item_name_100.checked != "0")
  //                                    &&
  //  (document.payform.item_quantity_100.selectedIndex != "0")
  //                            &&
  //    (document.payform.ipdualetherpowerplug[0].checked == "0")
  //                        &&
  //   (document.payform.ipdualetherpowerplug[1].checked == "0")
  //            &&
  //    (document.payform.ipdualetherpowerplug[2].checked == "0")
  //                       &&
  //   (document.payform.ipdualetherpowerplug[3].checked == "0"))))))


   //  {
   //   alert("Please select electrical power plug for your ethernet phone charge lead. You should select Country you are resident or have a permanent base.");
    //  return false;
    //        }
  // Start of code for ipphone ethernet handset

   //   if((document.payform.item_name_101.checked == "0")
   //                         &&
   // (document.payform.item_quantity_101.selectedIndex != "0"))

  //   {
   //   alert("Please select your IP Phone handset (you have not selected  a IP Phone handset or cancel the selected quantity)");
   //   return false;

  //  }


  //   if((document.payform.item_name_101.checked != "0")
  //                              &&
  //  (document.payform.item_quantity_101.selectedIndex == "0"))

   //  {
   //   alert("Please select a Quantity for your IP Phone handset. (you have not selected  a Quantity)");   return false;

   // }

//Start of script for Ethernet dualphonehs power plug.


 //  if((((((document.payform.item_name_101.checked != "0")
  //                                    &&
  //  (document.payform.item_quantity_101.selectedIndex != "0")
  //                            &&
  //    (document.payform.ipdualetherpowerplughs[0].checked == "0")
  //                        &&
  //   (document.payform.ipdualetherpowerplughs[1].checked == "0")
  //            &&
  //    (document.payform.ipdualetherpowerplughs[2].checked == "0")
  //                        &&
   //  (document.payform.ipdualetherpowerplughs[3].checked == "0"))))))

   //   {
   //   alert("Please select a power plug Phone handset. (you have not selected  a power plug)");   return false;

  //  }
//  Start of Javascript for IP Phones products

   //  if((document.payform.item_name_102.checked == "0")
   //                     &&
  //  (document.payform.item_quantity_102.selectedIndex != "0"))

    // {
    //  alert("Please select your IP Phone (you have not selected  a IP Phone or cancel the selected quantity)");
    //  return false;

   // }


    //    if((document.payform.item_name_102.checked != "0")
    //                       &&
   // (document.payform.item_quantity_102.selectedIndex == "0"))

   //  {
   //   alert("Please select a Quantity for your IP Phone. (you have not selected  a Quantity)");
     // return false;

   // }

      //  Check selection of ipphone dual electrical power plug on end of lead

    //  if((((document.payform.item_name_102.checked != "0")
     //                   &&
     //   (document.payform.item_quantity_102.selectedIndex != "0")
     //                        &&
     // (document.payform.ipdualpowerplug[0].checked == "0")
     //                         &&
     // (document.payform.ipdualpowerplug[1].checked == "0"))))
    // {
    //  alert("Please select electrical power plug for your dual phone base station. You should select Country you are resident in or are likely to use DUALphone.  If you travel in Europe and wish to use your DUALphone you can purchase the electrical power adapters and telephone plugs on this page.");
     // return false;
       //     }


     // if((document.payform.item_name_103.checked == "0")
     //                       &&
   // (document.payform.item_quantity_103.selectedIndex != "0"))

   //  {
   //   alert("Please select your IP Phone handset (you have not selected  a IP Phone handset or cancel the selected quantity)");
    //  return false;

   // }


     //   if((document.payform.item_name_103.checked != "0")
     //                           &&
   // (document.payform.item_quantity_103.selectedIndex == "0"))

    // {
    //  alert("Please select a Quantity for your IP Phone handset. (you have not selected  a Quantity)");
     // return false;

  //  }


    //start of code for ipphone

      //    if((((document.payform.item_name_103.checked != "0")
      //                                &&
   // (document.payform.item_quantity_103.selectedIndex != "0")
    //                          &&
    //  (document.payform.ippowerplughs[0].checked == "0")
    //                      &&
   //  (document.payform.ippowerplughs[1].checked == "0"))))


   //  {
   //   alert("Please select electrical power plug for your handset charge lead.");
   //   return false;
    //        }




     //Start of javascript code for cyber phone

   // if((document.payform.item_name_104.checked == "0")
   //      &&
   // (document.payform.item_quantity_104.selectedIndex != "0"))

  //   {
   //   alert("Please select your IP Phone (you have not selected an IP Phone or cancel the selected quantity)");
   //   return false;

   // }


    //    if((document.payform.item_name_104.checked != "0")
    //     &&
   // (document.payform.item_quantity_104.selectedIndex == "0"))

   //  {
    //  alert("Please select a Quantity for your IP Phone. (you have not selected  a Quantity)");
    //  return false;
    //        }





       // start of script for elec plugs

      //    if((document.payform.item_name_400.checked != "0")
      //      &&
      //     (document.payform.item_quantity_400.selectedIndex == "0"))
      //   {
    // alert("Please select a quantity for Power Adaptors  for use in Great Britain.(you have not selected  a quantity)");
    //  return false;
    //  }

    //   if((document.payform.item_name_400.checked == "0")
     //                  &&
    //   (document.payform.item_quantity_400.selectedIndex != "0"))
     //    {
    // alert("Please select a model for electrical plug Adaptors  for use in Great Britain (you have not selected  a model)");
  //   return false;

  // }

     //  if((document.payform.item_name_401.checked != "0")
     //                  &&
     //  (document.payform.item_quantity_401.selectedIndex == "0"))
     //    {
    // alert("Please select a quantity for Power Adaptors for use in Europe and Scandinavia. (you have not selected  a quantity");
    // return false;
     //          }
     //  if((document.payform.item_name_401.checked == "0")
     //                  &&
     //   (document.payform.item_quantity_401.selectedIndex != "0"))
     //    {
    // alert("Please select a Model for Power Adaptors for use in Europe and Scandinavia.Travellers from USA, Australia, Japan (you have not selected a Model");
   //  return false;
    //           }
    //     if((document.payform.item_name_402.checked != "0")
    //                      &&
    //     (document.payform.item_quantity_402.selectedIndex  == "0"))
    //     {
    //  alert("Please select a quantity for Power adaptors for use in Europe/Scandinavia, travellers from U.K. (you have not selected  a quantity)");
    //  return false;

    //            }
    //   if((document.payform.item_name_402.checked == "0")
    //                   &&
    //    (document.payform.item_quantity_402.selectedIndex != "0"))
     //     {
    //  alert("Please cancel quantity selected for Power adaptors for use in Europe/Scandinavia, travellers from U.K. (you have selected  quantity without choosing a model)");
     //   return false;

   // }

     //  if((document.payform.item_name_403.checked != "0")
      //                  &&
     //    (document.payform.item_quantity_403.selectedIndex == "0"))
     //      {
    //  alert("Please select a quantity for Power Adaptors for Travellers from United Kingdom/Europe to U.S.A/Japan  Australia/New Zealand (you have not selected  a quantity)");
    //  return false;

   // }
    //    if((document.payform.item_name_403.checked == "0")
    //                    &&
    //    (document.payform.item_quantity_403.selectedIndex != "0"))
    //      {
    //     alert("Please cancel quantity selected for Power adaptors for Travellers from United Kingdom/Europe for use in U.S.A/Japan/Australia. (you have selected quantity without choosing a model)");

   //   return false;
   //    }
   // if((document.payform.item_name_404.checked != "0")
   //                     &&
   //      (document.payform.item_name_404.selectedIndex == "0"))
   //        {
    //  alert("Please select a quantity for Power Adaptors for Travellers from United Kingdom/Europe to U.S.A/Japan  Australia/New Zealand (you have not selected  a quantity)");
    //  return false;

   // }
      //  if((document.payform.item_name_404.checked == "0")
      //                  &&
      //  (document.payform.item_quantity_404.selectedIndex != "0"))
      //    {
      //   alert("Please cancel quantity selected for Power adaptors for Travellers from United Kingdom/Europe for use in U.S.A/Japan/Australia. (you have selected quantity without choosing a model)");

    //  return false;

   // }


        // start of miscellaneous telephone items

    //  if((document.payform.item_name_500.selectedIndex == 0)
     //                   &&
     //   (document.payform.item_quantity_500.selectedIndex !="0"))
     //     {
    //  alert("Please choose a lead");
   //  return false;

   // }
   // if((document.payform.item_name_500.selectedIndex != "0")
    //                     &&
    //     (document.payform.item_quantity_500.selectedIndex == "0"))

     //    {
     // alert("Please select a Quantity for your telephone lead. (you have not selected  a Quantity)");
   //  return false;

   // }



   // if((document.payform.item_name_501.checked != "0")
     //                  &&
      //   (document.payform.item_quantity_501.selectedIndex == "0"))
      //    {
    //  alert("Please select a quantity for your ADSL filter. (you have not selected  a quantity)");
     // return false;

   // }
    //   if((document.payform.item_name_501.checked == "0")
    //                    &&
    //    (document.payform.item_quantity_501.selectedIndex != "0"))
    //    {
     //   alert("Please cancel quantity selected for ADSL filter. (you have selected quantity without choosing a model)");
    //    return false;

   // }

   //  if((document.payform.item_name_502.checked != "0")
   //                    &&
    //     (document.payform.item_quantity_502.selectedIndex == "0"))
     //     {
   //   alert("Please select a quantity for ring capacitor. (you have not selected  a quantity)");
     // return false;

   // }
    //   if((document.payform.item_name_502.checked == "0")
   //                     &&
    //    (document.payform.item_quantity_502.selectedIndex != "0"))
       // {
      //  alert("Please cancel quantity selected for ring capacitor. (you have selected quantity without choosing a model)");
      //  return false;

   // }




     // start of address javascript  for address

     if (document.payform.name.value == "")
    {
      alert("Please enter your name. The address fields are at bottom of this page. ");
      return false;
    }

    if (document.payform.address2.value == "")
    {
      alert("Please enter  address (you have not entered anything for your Street address)");
      return false;
    }
    if (document.payform.address3.value == "")
    {
      alert("Please enter your Town ( you do need to  fill in this box)");
      return false;
     }
      if (document.payform.City.value == "")
      {
       alert("Please enter City and/or state/county (you have not entered anything for your City/State/County)");
        return false;
      } 
        if (document.payform.zip.value == "")
      {
        alert("Please enter your postcode/zip code");
        return false;
      }
      if (document.payform.Country.selectedIndex == "0")
     {
       alert("Please enter the Name of your Country (you have not entered anything for your Country in the address)");
        return false;
      }


// start of address javascript  for address

     if (document.payform.name.value == "")
    {
      alert("Please enter your name. The address fields are at bottom of this page. ");
      return false;
    }

    if (document.payform.address2.value == "")
    {
      alert("Please enter  address (you have not entered anything for your Street address)");
      return false;
    }
    if (document.payform.address3.value == "")
    {
      alert("Please enter your Town ( you do need to  fill in this box)");
      return false;
     }
      if (document.payform.City.value == "")
      {
       alert("Please enter City and/or state/county (you have not entered anything for your City/State/County)");
        return false;
      } 
        if (document.payform.zip.value == "")
      {
        alert("Please enter your postcode/zip code");
        return false;
      }
      if (document.payform.Country.selectedIndex == "0")
     {
       alert("Please enter the Name of your Country (you have not entered anything for your Country in the address)");
        return false;
      }

   }

//-->

