/// Umbraco.Sys.registerNamespace("Umbraco.Utils"); Umbraco.Utils.generateRandom = function() { /// Returns a random integer for use with URLs day = new Date() z = day.getTime() y = (z - (parseInt(z / 1000, 10) * 1000)) / 10 return y }