function get_product_number()
{
   if(shipdest == "usa") { productno = (productno*1) + 1; }
   else if(shipdest == "can") { productno = (productno*1) + 2; }
   else if(shipdest == "intl") { productno = (productno*1) + 3; }
   else if(shipdest == "nowhere") { productno = (productno*1) + 1; }

   //non-shipped product (lifetime membership)
   if((productno == 111)||(productno == 112)||(productno == 113)) { productno = 110; }


   //is membership order?

   if( (productno == 110) || (productno == 191) || (productno == 192) || (productno == 193) || (productno == 211) || (productno == 212) || (productno == 213) || (productno == 231) || (productno == 232) || (productno == 233) )
   {
      ptmem = "_";
   }

   return productno;
}

var ptmem = "";


ProductArray = new Array();

//                           3digit   ifulfill  SubTotal     TOTAL     Description
//Lifetime membership
ProductArray[110] = new Array( "110",  "639004",  "1 Lifetime site membership." );
//PT book & CD
ProductArray[131] = new Array( "131",  "695660",  "1 PageTutor Manual & Companion CD." );
ProductArray[132] = new Array( "132",  "134381",  ProductArray[131][2] );
ProductArray[133] = new Array( "133",  "780682",  ProductArray[131][2] );
//JS book
ProductArray[151] = new Array( "151",  "306194",  "1 Javascript Tutor book." );
ProductArray[152] = new Array( "152",  "585003",  ProductArray[151][2] );
ProductArray[153] = new Array( "153",  "613644",  ProductArray[151][2] );
//PT book & CD + JS book
ProductArray[171] = new Array( "171",  "694424",  "1 PageTutor Manual & CD and 1 Javascript Tutor book." );
ProductArray[172] = new Array( "172",  "453651",  ProductArray[171][2] );
ProductArray[173] = new Array( "173",  "688362",  ProductArray[171][2] );
//PT book & CD + Membership
ProductArray[191] = new Array( "191",  "489269",  "1 PageTutor Manual & CD and Lifetime Membership." );
ProductArray[192] = new Array( "192",  "669029",  ProductArray[191][2] );
ProductArray[193] = new Array( "193",  "999111",  ProductArray[191][2] );
//JS book + Membership
ProductArray[211] = new Array( "211",  "475491",  "1 Javascript Tutor book and Lifetime Membership." );
ProductArray[212] = new Array( "212",   "98156",  ProductArray[211][2] );
ProductArray[213] = new Array( "213",  "445141",  ProductArray[211][2] );
//PT book & CD + JS book + Membership
ProductArray[231] = new Array( "231",  "506878",  "1 PageTutor Manual & CD, 1 Javascript Tutor book and Lifetime Membership." );
ProductArray[232] = new Array( "232",  "978497",  ProductArray[231][2] );
ProductArray[233] = new Array( "233",   "48866",  ProductArray[231][2] );




//template
ProductArray[000] = new Array( "000",  "000000",  "whatitis" );
ProductArray[000] = new Array( "000",  "000000",  ProductArray[000][2] );
ProductArray[000] = new Array( "000",  "000000",  ProductArray[000][2] );







