/*
----------- FundSys.net(TM) Copyright SySys(R) Corp 2002 ------------
====================================================================
  Created By: BH
  Last Edited By: BH
  Inception Date: 1/1/2002
  Last Edited Date: 1/1/2002
  Description:  None
  File Dependencies: None
===================================================================''*/

/*'''---------------------------------
'' IsAttributeInCombination(Attr, Combination)
--------------------------------------
 Created By: SySys:bh/cg
 Compatibility: IE6
 Description: Returns true or false if the attribute is in the combination
 Parameters:
   Attr: Any long integer attribute that you wish to test for inside of the given comination
   Combination: the total long integer value of the combined attributes that are true
 Return: Returns true if the attribute is in the combination where the attribute is
         in the series 1,2,4,8,...,2^x and the combination is any positive integer
----------------------------------'''*/ 
function IsAttributeInCombination(Attr, Combination){
  return ((Attr & Combination) == Attr);
}

