<!--//


   function formCheck()
      {
          returntype = false;

          if((((((((((((((



      //    (document.payform.item_name_1900.checked == "0")
      //                   &&
      //   (document.payform.item_quantity_1900.selectedIndex == "0")
      //                           &&
         (document.payform.item_name_1901.selectedIndex == "0")
                         &&
         (document.payform.item_quantity_1901.selectedIndex == "0")
                         &&
      //   (document.payform.item_name_1902.checked == "0")
      //                   &&
      //   (document.payform.item_quantity_1902.selectedIndex == "0")
      //                   &&
      //  (document.payform.item_name_1903.selectedIndex == "0")
      //                   &&
      //   (document.payform.item_quantity_1903.selectedIndex == "0")
      //                     &&
      //   (document.payform.item_name_1904.checked == "0")
      //                   &&
      //   (document.payform.item_quantity_1904.selectedIndex == "0")
      //                    &&
      //   (document.payform.item_name_1905.checked == "0")
      //                   &&
      //  (document.payform.item_quantity_1905.selectedIndex == "0")
      //                       &&
         (document.payform.item_name_1906.selectedIndex == "0")
                         &&
         (document.payform.item_quantity_1906.selectedIndex == "0")
                          &&
        (document.payform.item_name_1907.selectedIndex == "0")
                         &&
         (document.payform.item_quantity_1907.selectedIndex == "0")
                            &&
         (document.payform.item_name_1908.selectedIndex == "0")
                         &&
        (document.payform.item_quantity_1908.selectedIndex == "0")
                           &&
      //   (document.payform.item_name_1909.checked == "0")
      //                   &&
      //   (document.payform.item_quantity_1909.selectedIndex == "0")
      //                     &&
         (document.payform.item_name_1910.checked == "0")
                         &&
         (document.payform.item_quantity_1910.selectedIndex == "0")
                            &&
         (document.payform.item_name_1911.checked == "0")
                         &&
         (document.payform.item_quantity_1911.selectedIndex == "0")
                              &&
       //  (document.payform.item_name_1912.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1912.selectedIndex == "0")
       //                    &&
         (document.payform.item_name_1913.checked == "0")
                         &&
         (document.payform.item_quantity_1913.selectedIndex == "0")
                         &&
         (document.payform.item_name_1914.checked == "0")
                         &&
         (document.payform.item_quantity_1914.selectedIndex == "0")
                           &&
       //  (document.payform.item_name_1915.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1915.selectedIndex == "0")
       //                     &&
       //  (document.payform.item_name_1916.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1916.selectedIndex == "0")
       //                   &&
       //  (document.payform.item_name_1917.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1917.selectedIndex == "0")
       //                    &&
       //  (document.payform.item_name_1918.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1918.selectedIndex == "0")
       //                         &&
       //  (document.payform.item_name_1919.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1919.selectedIndex == "0")
       //                        &&
      //   (document.payform.item_name_1920.checked == "0")
      //                   &&
      //   (document.payform.item_quantity_1920.selectedIndex == "0")
      //                      &&
      //   (document.payform.item_name_1921.checked == "0")
      //                   &&
     //    (document.payform.item_quantity_1921.selectedIndex == "0")
     //                     &&
      //   (document.payform.item_name_1922.checked == "0")
     //                    &&
    //     (document.payform.item_quantity_1922.selectedIndex == "0")
    //                      &&
         (document.payform.item_name_1923.checked == "0")
                         &&
         (document.payform.item_quantity_1923.selectedIndex == "0")
                          &&
         (document.payform.item_name_1924.checked == "0")
                         &&
         (document.payform.item_quantity_1924.selectedIndex == "0")
                          &&
         (document.payform.item_name_1925.checked == "0")
                         &&
         (document.payform.item_quantity_1925.selectedIndex == "0")

        // (document.payform.item_name_1926.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1926.selectedIndex == "0")
       //                   &&
       //  (document.payform.item_name_1927.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1927.selectedIndex == "0")
       //                  &&
       //  (document.payform.item_name_1928.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1928.selectedIndex == "0")
       //                  &&
       //  (document.payform.item_name_1929.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1929.selectedIndex == "0")
       //                   &&
       //  (document.payform.item_name_1930.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1930.selectedIndex == "0")
       //                  &&
       //  (document.payform.item_name_1931.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1931.selectedIndex == "0")
       //                  &&
       //  (document.payform.item_name_1932.checked == "0")
       //                  &&
       //  (document.payform.item_quantity_1932.selectedIndex == "0")


        ))))))))))))))


           {
       alert("Please select a product. (you have not selected any product to purchase.)");

       return false;

     }

    //Start of javascript for bargains

  //   if((document.payform.item_name_1900.checked != "0")
   //                   &&
   //      (document.payform.item_quantity_1900.selectedIndex == "0"))
   //       {
   //   alert("Please select a quantity for your telephone adapter.( you have not selected a quantity)");
   //   return false;

   // }
   //    if((document.payform.item_name_1900.checked == "0")
   //                     &&
   //     (document.payform.item_quantity_1900.selectedIndex != "0"))
     //   {
    //  alert("Please select a telephone adapter or cancel the quantity for your telephone adapter.");
    //    return false;

  //  }


      if((document.payform.item_name_1901.selectedIndex != "0")
                      &&
         (document.payform.item_quantity_1901.selectedIndex == "0"))
          {
      alert("Please select a quantity for your interface lead.( you have not selected a quantity)");
      return false;

    }
      if((document.payform.item_name_1901.selectedIndex == "0")
                        &&
        (document.payform.item_quantity_1901.selectedIndex != "0"))
        {
      alert("Please select a interface lead or cancel the quantity for your Interface lead.");
        return false;

   }

   //  if((document.payform.item_name_1902.checked != "0")
    //                  &&
    //     (document.payform.item_quantity_1902.selectedIndex == "0"))
    //      {
    //  alert("Please select a quantity for your selected Telephone adapter. (you have not selected a quantity)");
   //   return false;

   // }
   //    if((document.payform.item_name_1902.checked == "0")
    //                    &&
   //     (document.payform.item_quantity_1902.selectedIndex != "0"))
   //     {
   //   alert("Please cancel quantity for your telephone adapter. (you have selected quantity without selecting a telephone adapter.");
    //    return false;

    //    }



   //   if((document.payform.item_name_1903.selectedIndex != "0")
   //                   &&
   //      (document.payform.item_quantity_1903.selectedIndex == "0"))
   //       {
   //   alert("Please select a quantity for your Interface lead. (you have not selected a quantity)");
   //  return false;

  //  }
  //     if((document.payform.item_name_1903.selectedIndex == "0")
  //                      &&
   //     (document.payform.item_quantity_1903.selectedIndex != "0"))
   //     {
   //   alert("Please cancel quantity selected for your Interface lead. (you have selected quantity without selecting your Interface lead.");
   //     return false;

   // }

    //  if((document.payform.item_name_1904.checked != "0")
    //                  &&
    //     (document.payform.item_quantity_1904.selectedIndex == "0"))
    //      {
   //   alert("Please select a quantity for your Electrical travel plug adapter.(you have not selected a quantity)");
   //   return false;

   // }
   //    if((document.payform.item_name_1904.checked == "0")
   //                     &&
   //     (document.payform.item_quantity_1904.selectedIndex != "0"))
   //     {
   //   alert("Please cancel quantity selected for your Electrical travel plug adapter. (you have selected quantity without selecting a Electrical travel plug adapter.");
    //    return false;

   // }

    //  if((document.payform.item_name_1905.checked != "0")
    //                  &&
    //     (document.payform.item_quantity_1905.selectedIndex == "0"))
    //      {
    //  alert("Please select a quantity for Electrical travel plug adapter. (you have selected quantity without selecting a Electrical travel plug adapter).");
    //  return false;

   // }
   //    if((document.payform.item_name_1905.checked == "0")
   //                     &&
   //     (document.payform.item_quantity_1905.selectedIndex != "0"))
   //     {
   //   alert("Please cancel quantity selected for your Electrical travel plug adapter. (you have selected quantity without selecting a Electrical travel plug adapter).");
   //     return false;

   // }


     // Start of code for single Country adapters


        var chosen=document.payform.item_name_1906.selectedIndex;
        var chosen2=document.payform.item_name_1907.selectedIndex;
        var chosen3=document.payform.item_name_1908.selectedIndex;
        var chosenplug=document.payform.item_name_1909.selectedIndex;

    //Austrailian array

    var aust=new Array();

          aust[0]="6";
          aust[1]="26";
          aust[2]="34";
          aust[3]="49";
          aust[4]="51";
          aust[5]="77";
          aust[6]="84";
          aust[7]="86";
          aust[8]="114";
          aust[9]="122";
          aust[10]="135";
          aust[11]="142";
          aust[12]="152";
          aust[13]="153";
          aust[14]="183";


  //French Array

          var france=new Array();
france[0] = "22";
france[1] = "28";
france[2] = "29";
france[3] ="33";
france[4]= "35";
france[5]= "42";
france[6]= "48";
france[7]= "53";
france[8]= "54";
france[9]= "55";
france[10]= "57";
france[11]= "58";
france[12]= "66";
france[13]= "68";
france[14]= "81";
france[15]= "85";
france[16]= "87";
france[17]= "97";
france[18]= "101";
france[19]= "103";
france[20]= "104";
france[21]= "105";
france[22]= "108";
france[23]= "109";
france[24]= "117";
france[25]= "120";
france[26]= "133";
france[27]= "138";
france[28]= "143";
france[29]= "149";
france[30]= "158";
france[31]= "164";
france[32]= "167";
france[33]= "181";


// Russian Array


var russia =new Array();



 russia[0]="2";
russia[1]="4";
russia[2]="5";
russia[3]="8";
russia[4]="19";
russia[5]="38";
russia[6]="46";
russia[7]="59";
russia[8]="88";
russia[9]="89";
russia[10]="91";
russia[11]="96";
russia[12]="127";
russia[13]="132";
russia[14]="160";
russia[15]="169";
russia[16]="172";
russia[17]="176";




// South African Array


var safrica=new Array();



safrica[0]="20";
safrica[1]="27";
safrica[2]="32";
safrica[3]="93";
safrica[4]="111";
safrica[5]="144";
safrica[6]="177";
safrica[7]="182";
safrica[8]="188";


//United Kingdom Array


var uk=new Array();

uk[0]="10";
uk[1]="11";
uk[2]="17";
uk[3]="62";
uk[4]="102";
uk[5]="110";
uk[6]="115";
uk[7]="151";
uk[8]="155";
uk[9]="161";
uk[10]="165";
uk[11]="173";
uk[12]="186";
uk[13]="187";

//United States Array

var usa=new Array();

usa[0]="1";
usa[1]="3";
usa[2]="9";
usa[3]="12";
usa[4]="14";
usa[5]="15";
usa[6]="16";
usa[7]="18";
usa[8]="21";
usa[9]="23";
usa[10]="24";
usa[11]="25";
usa[12]="30";
usa[13]="31";
usa[14]="36";
usa[15]="39";
usa[16]="43";
usa[17]="44";
usa[18]="45";
usa[19]="56";
usa[20]="61";
usa[21]="65";
usa[22]="67";
usa[23]="69";
usa[24]="70";
usa[25]="71";
usa[26]="72";
usa[27]="73";
usa[28]="74";
usa[29]="76";
usa[30]="79";
usa[31]="82";
usa[32]="90";
usa[33]="92";
usa[34]="94";
usa[35]="95";
usa[36]="99";
usa[37]="100";
usa[38]="106";
usa[39]="107";
usa[40]="112";
usa[41]="116";
usa[42]="119";
usa[43]="121";
usa[44]="123";
usa[45]="124";
usa[46]="125";
usa[47]="126";
usa[48]="129";
usa[49]="131";
usa[50]="134";
usa[51]="137";
usa[52]="139";
usa[53]="145";
usa[54]="146";
usa[55]="147";
usa[56]="148";
usa[57]="149";
usa[58]="162";
usa[59]="163";
usa[60]="166";
usa[61]="170";
usa[62]="171";
usa[63]="174";
usa[64]="166";
usa[65]="179";
usa[66]="180";
usa[67]="184";

var item_name_1909=new Array();

 item_name_1909[0]="0";
 item_name_1909[1]="1";
 item_name_1909[2]="2";
// item_name_1909[3]="3";
// item_name_1909[4]="4";
// item_name_1909[5]="5";


           if((document.payform.item_name_1906.selectedIndex != "0")
                            &&
        (document.payform.item_quantity_1906.selectedIndex == "0"))

     {
      alert("Please select a quantity for your first destination Country adapter.");
      return false;

    }
        if((document.payform.item_name_1906.selectedIndex == "0")
                            &&
        (document.payform.item_quantity_1906.selectedIndex!= "0"))

     {
      alert("Please select your first destination Country.");
      return false;

    }


        // start of single country adapter for destination two

        if((document.payform.item_name_1907.selectedIndex != "0")
                            &&
        (document.payform.item_quantity_1907.selectedIndex == "0"))

  {
    alert("Please select a quantity for your second destination Country adapter.");
     return false;

   }
        if((document.payform.item_name_1907.selectedIndex == "0")
                            &&
       (document.payform.item_quantity_1907.selectedIndex != "0"))

     {
      alert("Please select your second destination Country.");
      return false;

    }

        // start of single country adapter for destination three

        if((document.payform.item_name_1908.selectedIndex != "0")
                            &&
        (document.payform.item_quantity_1908.selectedIndex == "0"))

     {
      alert("Please select a quantity for your third destination Country adapter.");
      return false;

    }
        if((document.payform.item_name_1908.selectedIndex == "0")
                            &&
        (document.payform.item_quantity_1908.selectedIndex != "0"))

     {
      alert("Please select your third destination Country.");
      return false;

    }


    //  Choose destination 1 before destination 2

        if((document.payform.item_name_1906.selectedIndex == "0")
                            &&
        (document.payform.item_name_1907.selectedIndex != "0"))

     {
      alert("You must select first destination one before selecting destination two.");
      return false;

    }


         // Choose destination 1 before destination 3

        if((document.payform.item_name_1906.selectedIndex == "0")
                            &&
       (document.payform.item_name_1908.selectedIndex != "0"))

     {
      alert("You must select first destination before selecting destination three.");
      return false;

    }


     //  Choose destination 2 before destination 3

        if((document.payform.item_name_1907.selectedIndex == "0")
                            &&
        (document.payform.item_name_1908.selectedIndex != "0"))

     {
      alert("You must select second destination before selecting destination three.");
      return false;
              }



    // start of code for additional leads

        if((document.payform.item_name_1908.selectedIndex != "0")
                            &&
        (document.payform.item_quantity_1908.selectedIndex == "0"))

     {
      alert("Please select a quantity for your connection lead.");
      return false;

    }
        if((document.payform.item_name_1908.selectedIndex == "0")
                            &&
        (document.payform.item_quantity_1908.selectedIndex != "0"))

     {
      alert("Please select from pull down menu your connecting lead.");
      return false;

    }




      // Checking australia for duplicate selection in single Country.

         var loop;

       for(loop=0; loop<aust.length; loop = loop +1)

           if(chosen == aust[loop])

          for(loop=0; loop<aust.length; loop = loop +1)

             if(chosen2 == aust[loop])

               {
               alert("The selections you have made for destination one and destination two share the same standard for telephone plugs and sockets with Australia. (Please cancel your selection for destination two).");
               return false;
                }


              for(loop=0; loop<aust.length; loop=loop+1)

        if(chosen2 == aust[loop])


          for(loop=0; loop<aust.length; loop=loop+1)

        if(chosen3 ==aust[loop])

        {

               alert("The selections you have made for destination two and destination three share the same standard for telephone plugs and sockets with Australia. (Please cancel your selection for destination three).");
               return false;

              }


              for(loop=0; loop<aust.length; loop=loop+1)


         if(chosen3 == aust[loop])


          for(loop=0; loop<aust.length; loop=loop+1)

        if(chosen==aust[loop])

        {

               alert("The selections you have made for destination one and destination three share the same standard for telephone plugs and sockets with Australia. (Please cancel your selection for destination three).");
               return false;

              }

         // Prevent duplication of France in single Country adapters

          var loop;


      for(loop=0; loop<france.length; loop=loop+1)

         if(chosen == france[loop])

         for(loop=0; loop<france.length; loop=loop+1)


           if(chosen2==france[loop])

          {

               alert("The selections you have made for destination one and destination two share the same standard for telephone plugs and sockets with France. (Please cancel your selection for destination two).");
               return false;

              }

              for(loop=0; loop<france.length; loop=loop+1)


         if(chosen2 == france[loop])

          for(loop=0; loop<france.length; loop=loop+1)

        if(chosen3 ==france[loop])

        {

               alert("The selections you have made for destination two and destination three share the same standard for telephone plugs and sockets with France. (Please cancel your selection for destination three).");
               return false;

              }


               for(loop=0; loop<france.length; loop=loop+1)


         if(chosen3 == france[loop])


          for(loop=0; loop<france.length; loop=loop+1)

        if(chosen==france[loop])

        {

               alert("The selections you have made for destination one and destination three share the same standard for telephone plugs and sockets with France. (Please cancel your selection for destination three).");
               return false;

              }

                 // Checking Russia for duplicate selection in single Country.

         var loop;

       for(loop=0; loop<russia.length; loop = loop +1)

           if(chosen == russia[loop])

          for(loop=0; loop<russia.length; loop = loop +1)

             if(chosen2 == russia[loop])

               {
               alert("The selections you have made for destination one and destination two share the same standard for telephone plugs and sockets with Russia. (Please cancel your selection for destination two).");
               return false;
                }


              for(loop=0; loop<russia.length; loop=loop+1)

        if(chosen2 == russia[loop])


          for(loop=0; loop<russia.length; loop=loop+1)

        if(chosen3 ==russia[loop])

        {

               alert("The selections you have made for destination two and destination three share the same standard for telephone plugs and sockets with Russia. (Please cancel your selection for destination three).");
               return false;

              }


              for(loop=0; loop<russia.length; loop=loop+1)


         if(chosen3 == russia[loop])


          for(loop=0; loop<russia.length; loop=loop+1)

        if(chosen==russia[loop])

        {

               alert("The selections you have made for destination one and destination three share the same standard for telephone plugs and sockets with Russia. (Please cancel your selection for destination three).");
               return false;

              }


                  //Check for duplication in South Africa

           var loop;

        for(loop=0; loop<safrica.length; loop=loop+1)


         if(chosen == safrica[loop])

         for(loop=0; loop<safrica.length; loop=loop+1)

           if(chosen2==safrica[loop])

          {

               alert("The selections you have made for destination one and destination two share the same standard for telephone plugs and sockets with South Africa. (Please cancel your selection for destination two).");
               return false;

              }

              for(loop=0; loop<safrica.length; loop=loop+1)


         if(chosen2 == safrica[loop])

          for(loop=0; loop<safrica.length; loop=loop+1)

        if(chosen3==safrica[loop])

        {

               alert("The selections you have made for destination two and destination three share the same standard for telephone plugs and sockets with South Africa. (Please cancel your selection for destination three).");
               return false;

              }


          for(loop=0; loop<safrica.length; loop=loop+1)


         if(chosen3 == safrica[loop])


          for(loop=0; loop<safrica.length; loop=loop+1)

        if(chosen==safrica[loop])

        {

               alert("The selections you have made for destination one and destination three share the same standard for telephone plugs and sockets with South Africa. (Please cancel your selection for destination three).");
               return false;

              }


                                 // Check for duplication of UK for single Country adapters

                var loop;

        for(loop=0; loop<uk.length; loop=loop+1)


         if(chosen == uk[loop])

         for(loop=0; loop<uk.length; loop=loop+1)

           if(chosen2==uk[loop])

          {

               alert("The selections you have made for destination one and destination two share the same standard for telephone plugs and sockets with United Kingdom. (Please cancel your selection for destination two).");
               return false;

              }




        if(chosen2 == uk[loop])

    for(loop=0; loop<uk.length; loop=loop+1)

        if(chosen3 ==uk[loop])

        {

               alert("The selections you have made for destination two and destination three share the same standard for telephone plugs and sockets with United Kingdom. (Please cancel your selection for destination three).");
               return false;

              }


               for(loop=0; loop<uk.length; loop=loop+1)


         if(chosen3 == uk[loop])


          for(loop=0; loop<uk.length; loop=loop+1)

        if(chosen==uk[loop])

        {

               alert("The selections you have made for destination three and destination one share the same standard for telephone plugs and sockets with United Kingdom. (Please cancel your selection for destination three).");
               return false;

              }


              // Start of check for duplication for USA when selecting single Country adapters.

                var loop;

        for(loop=0; loop<usa.length; loop=loop+1)


         if(chosen == usa[loop])

         for(loop=0; loop<usa.length; loop=loop+1)


           if(chosen2==usa[loop])

          {

               alert("The selections you have made for destination one and destination two share the same standard for telephone plugs and sockets with United States of America. (Please cancel your selection for destination two).");
               return false;

              }

              for(loop=0; loop<usa.length; loop=loop+1)


         if(chosen2 == usa[loop])

          for(loop=0; loop<usa.length; loop=loop+1)

        if(chosen3 ==usa[loop])

        {

               alert("The selections you have made for destination two and destination three share the same standard for telephone plugs and sockets with United States of America (Please cancel your selection for destination three).");
               return false;

              }

          for(loop=0; loop<usa.length; loop=loop+1)



         if(chosen3 == usa[loop])


          for(loop=0; loop<usa.length; loop=loop+1)

        if(chosen==usa[loop])

        {

               alert("The selections you have made for destination one and destination three share the same standard for telephone plugs and sockets with United States of America. (Please cancel your selection for destination three).");
               return false;

              }





             //Check destination ( any choice ) is not duplicated in destination two and three.



               for(loop=0; loop<usa.length; loop=loop+1)

                   if(chosen2== usa[loop])

      if(document.payform.item_name_1907.selectedIndex !="0")

             {
               alert("Your selection for destination one, this selection will equip you with the USA RJ11 plug to enable your web connection in Country selected for destination two.  Please cancel your selection for destination two");
               return false;
                          }

                  //Check destination ( any choice ) is not duplicated in destination two and three.



               for(loop=0; loop<usa.length; loop=loop+1)

                   if(chosen3== usa[loop])

      if(document.payform.item_name_1908.selectedIndex !="0")

             {
               alert("Your selection for destination one, this selection will equip you with the USA RJ11 plug to enable your web connection in Country selected for destination three.  Please cancel your selection for destination three");
               return false;
                          }


             // Check for plug type2 against single Country selection  (UK)


    //    var loop;

    //    for(loop=0; loop<uk.length; loop=loop+1)

     //      if(chosen == uk[loop])



      //    if(chosenplug=="2")

          //          {
      //   alert("You have selected from pull down menu the United Kingdom type telephone plug. (If you have a United Kingdom type telephone plug on your modem lead you do not require a telephone adapter for use in Country you have selected in Destination one.)");
        //       return false;
          //            }

    //  for(loop=0; loop<uk.length; loop=loop+1)

     //     if(chosen2 == uk[loop])


      //    if(chosenplug=="2")



        //            {
        //    alert("You have selected from pull down menu the United Kingdom type telephone plug. (If you have a United Kingdom tyoe telephone plug on your modem lead you do not require a telephone adapter for use in Country you have selected in Destination two.)");
          //     return false;
          //            }

         //     for(loop=0; loop<uk.length; loop=loop+1)

        //  if(chosen3 == uk[loop])


        //  if(chosenplug=="2")



         //              {
         //   alert("You have selected from pull down menu the United Kingdom type telephone plug. (If you have a United Kingdom tyoe telephone plug on your modem lead you do not require a telephone adapter for use in Country you have selected in Destination three,)");
           //       return false;
           //              }


           // Check for plug type2 against single Country selection  (USA)


        var loop;

        for(loop=0; loop<usa.length; loop=loop+1)

           if(chosen == usa[loop])


          if(chosenplug=="1")

                    {
         alert("You have selected a telephone socket to male rj11 plug. (If you have a this type telephone plug interface lead you do not require a telephone adapter for use in Country you have selected in Destination one. The selction for interface lead is not required.)");
               return false;
                         }

         for(loop=0;loop<usa.length; loop=loop+1)

          if(chosen2==usa[loop])


          if(chosenplug=="1")
                 {
         alert("You have selected a telephone socket to male rj11 plug. (If you have a this type telephone plug interface lead you do not require a telephone adapter for use in Country you have selected in Destination two. The selction for interface lead is not required.)");
               return false;
                      }

          for(loop=0;loop<usa.length; loop=loop+1)

          if(chosen3==usa[loop])


          if(chosenplug=="1")
                    {
            alert("You have selected a telephone socket to male rj11 plug. (If you have a this type telephone plug interface lead you do not require a telephone adapter for use in Country you have selected in Destination one.)");
               return false;
                      }

                         // Check for plug type2 against single Country selection  (USA)


       // var loop;

       // for(loop=0; loop<usa.length; loop=loop+1)

        //   if(chosen == usa[loop])


       //   if(chosenplug=="2")

              //      {
       //  alert("You have selected for destination 1 a country that shares the standard for telephone plugs with the USA.  You do not need to purchase the extra connecting lead for this country when you hava specified a UK telephone plug on end of your telephone modem/router ect;. The selction for interface lead is not required..");
          //     return false;
          //               }

       //  for(loop=0;loop<usa.length; loop=loop+1)

       //   if(chosen2==usa[loop])


       //   if(chosenplug=="2")
       //          {
       //  alert("You have selected for destination 1 a country that shares the standard for telephone plugs with the USA.  You do not need to purchase the extra connecting lead for this country when you hava specified a UK telephone plug on end of your telephone modem/router ect;. Please cancel your connecting lead.");
         //      return false;
         //             }

        //  for(loop=0;loop<usa.length; loop=loop+1)

        //  if(chosen3==usa[loop])


        //  if(chosenplug=="2")
            //        {
         //   alert("You have selected for destination 1 a country that shares the standard for telephone plugs with the USA.  You do not need to purchase the extra connecting lead for this country when you hava specified a UK telephone plug on end of your telephone modem/router ect;. Please cancel your connecting lead.");
            //   return false;
            //          }

               // Check correct sequence for plugs to avoid overcharging. ie destination 1 should not be RJ11 Country when destination 2 is france, aus, ect


      //  var loop;

     //   for(loop=0; loop<usa.length; loop=loop+1)

      //     if((chosen == usa[loop])
      //          &&
      //     (document.payform.item_name_1907.selectedIndex != 0 ))

      //     {
     //    alert("Please change your selection for Destination2 to Destination one, this will enable us to quote the best price for equipment ");
       //        return false;
       //               }





   //  if((document.payform.item_name_1909.checked != "0")
   //                     &&
   //     (document.payform.item_quantity_1909.selectedIndex == "0"))
   //     {
   //   alert("Please select a quantity for your interface lead.( you have not selected a quantity)");
    //    return false;

 //   }

    // if((document.payform.item_name_1909.checked == "0")
    //                    &&
     //   (document.payform.item_quantity_1909.selectedIndex != "0"))
     //   {
    //  alert("Please select a interface lead or cancel the quantity for your interface lead.");
    //    return false;

    //}

     if((document.payform.item_name_1910.checked != "0")
                        &&
        (document.payform.item_quantity_1910.selectedIndex == "0"))
        {
      alert("Please select a quantity for telephone adapter . (you have not selected quantity.");
        return false;

    }

     if((document.payform.item_name_1910.checked == "0")
                        &&
        (document.payform.item_quantity_1910.selectedIndex != "0"))
        {
      alert("Please cancel quantity selected for your telephone adapter. (you have selected quantity without selecting a telephone adapter");
        return false;

    }

     if((document.payform.item_name_1911.checked != "0")
                        &&
        (document.payform.item_quantity_1911.selectedIndex == "0"))
        {
      alert("Please select a quantity for telephone adapter . (you have not selected quantity.");
        return false;

    }

     if((document.payform.item_name_1911.checked == "0")
                        &&
        (document.payform.item_quantity_1911.selectedIndex != "0"))
        {
      alert("Please cancel quantity selected for your telephone adapter. (you have selected quantity without selecting a telephone adapter");
        return false;

    }

  //   if((document.payform.item_name_1912.checked != "0")
  //                      &&
  //      (document.payform.item_quantity_1912.selectedIndex == "0"))
  //      {
  //    alert("Please select a quantity for your interface lead.( you have not selected a quantity)");
   //     return false;

   // }

   //  if((document.payform.item_name_1912.checked == "0")
   //                     &&
   //     (document.payform.item_quantity_1912.selectedIndex != "0"))
   //     {
   //   alert("Please select a interface lead or cancel the quantity for your interface lead.");
   //     return false;

   // }


     if((document.payform.item_name_1913.checked != "0")
                        &&
        (document.payform.item_quantity_1913.selectedIndex == "0"))
        {
      alert("Please select a quantity for your electrical travel plug adapter you have not selected a quantity.");
        return false;

    }

     if((document.payform.item_name_1913.checked == "0")
                        &&
        (document.payform.item_quantity_1913.selectedIndex != "0"))
        {
      alert("Please select a electrical travel plug adapter or cancel the quantity for your travel plug adapter.");
        return false;

    }

     if((document.payform.item_name_1914.checked != "0")
                        &&
        (document.payform.item_quantity_1914.selectedIndex == "0"))
        {
      alert("Please select a quantity for your electrical travel plug adapter you have not selected a quantity.");
        return false;

    }

     if((document.payform.item_name_1914.checked == "0")
                        &&
        (document.payform.item_quantity_1914.selectedIndex != "0"))
        {
      alert("Please select a electrical travel plug adapter or cancel the quantity for your travel plug adapter.");
        return false;

    }

       if((document.payform.item_name_1923.checked != "0")
                         &&
          (document.payform.item_quantity_1923.selectedIndex == "0"))
          {
        alert("Please select a quantity for your miscellaneous lead.( you have not selected a quantity)");
          return false;

      }

       if((document.payform.item_name_1923.checked == "0")
                          &&
          (document.payform.item_quantity_1923.selectedIndex != "0"))
          {
        alert("Please select a miscellaneous lead or cancel the quantity for your miscellaneous lead.");
          return false;

      }

        if((document.payform.item_name_1924.checked != "0")
                          &&
         (document.payform.item_quantity_1924.selectedIndex == "0"))
         {
        alert("Please select a quantity for your adsl filter/splitter lead.(you have not selected a quantity)");
          return false;

      }

       if((document.payform.item_name_1924.checked == "0")
                          &&
          (document.payform.item_quantity_1924.selectedIndex != "0"))
          {
      alert("Please select a adsl filter/splitter lead or cancel the quantity for your adsl lead.");
          return false;

      }

         if((document.payform.item_name_1925.checked != "0")
                          &&
         (document.payform.item_quantity_1925.selectedIndex == "0"))
         {
        alert("Please select a quantity for your ring capacitor lead.(you have not selected a quantity)");
          return false;

      }

       if((document.payform.item_name_1925.checked == "0")
                          &&
          (document.payform.item_quantity_1925.selectedIndex != "0"))
          {
      alert("Please select ring capacitor or cancel the quantity for your ring capacitor lead.");
          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;
      }

   }

//-->

