This function is a helper to maskIP below.
1  | mask(bits, totalBits)
 | 
bits: | 
 number of bits in mask you're looking for  | 
totalBits: | 
 the total number of bits  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.