
function changeImage(Id, NewImage) {
	var ImageTag = document.getElementById(Id);
	ImageTag.src = NewImage;
	return true;
}

function needToFixPng() {
	if(navigator.userAgent.indexOf("MSIE 6.0") != -1 || navigator.userAgent.indexOf("MSIE 5.5") != -1) {
		return true;
	}
	return false;
}

Array.prototype.contains = function(element) {
	for (var i = 0; i < this.length; i ++) {
        if (this[i] == element) {
            return true;
        }
    }
    return false;
}
