function pad( n ) {
	return String("0000000" + n).slice(-7);
}
Used as a reference to the global object.

The `this` value is used if it's the global object to avoid Greasemonkey's
restricted `window` object, otherwise the `window` object is used.