// JavaScript Document  12/07/06 rnf

 function setFt()
   {
		//	alert("1itemSet= "+itemSet +"quanSet= "+quanSet)
      var j = d.getElementById("selectFt").selectedIndex;
		//		alert(" setQuan j ="+j)
      if ( j != 0 )
	  {
       ft =  d.getElementById("selectFt").options[j].text					//quan is a string....
       fts = 1
		//	alert("1itemSet= "+itemSet +"quanSet= "+quanSet+"quan= "+quan)
      }
	  q = fts && iins
	  	  alert( "ft= "+ ft + "  iin= "+iin) 
checkCCInputs()
		//	alert("2itemSet= "+itemSet +"quanSet= "+quanSet)

   }
   
   function setIn()
   {
		//	alert("1itemSet= "+itemSet +"quanSet= "+quanSet)
      var j = d.getElementById("selectIn").selectedIndex;
		//		alert(" setQuan j ="+j)
      if ( j != 0 )
	  {
       iin =  d.getElementById("selectIn").options[j].text					//quan is a string....
       iins = 1
		//	alert("1itemSet= "+itemSet +"quanSet= "+quanSet+"quan= "+quan)
      }
	  q = fts && iins
	  alert( "ft= "+ ft + "  iin= "+iin) 
checkCCInputs()
		//	alert("2itemSet= "+itemSet +"quanSet= "+quanSet)

   }