function preLoad(imageUrl)
{
	var imgPreload = new Image();
	imgPreload.src = imageUrl;
}

function changeImage(targetImageTag, newSrcValue)
{
	targetImageTag.src = newSrcValue;
}

(function() {
    // Ensure console object
    var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"],
        i = 0,
        j = 0;

    if (!window.console) {
        window.console = {};
        for (i = 0, j = names.length; i < j; i++) {
            window.console[names[i]] = function() {};
        }
    } else {
        for (i = 0, j = names.length; i < j; i++) {
            if (!names[i] in window.console) {
                window.console[names[i]] = function() {};
            }
        }
    }
}());
