common.js

series of common functions relied on by dragmate.js