﻿Object.prototype.Equals = function(other) {
    if (this.length != other.length) 
        return false;
    for (var i = 0; i < other.length; i++)
        if (this[i] != other[i]) 
            return false;
    return true;
}

function topChange() {
    var paramList = arguments;
	for(i = 0; i < paramList.length; i++) {
            document.getElementById("toproot" + paramList[i]).className = 'on';
		}
}