		top.onOffClass = function (className) {
			if (typeof className == "string") {
				var tags = document.getElementsByTagName("A");
				for (var i = 0; i < tags.length; i++) {
					var tag = tags[i];
					if (tag.className.indexOf(className + '_') == 0) {
						tag.className = className;
					}
					else if (tag.className.indexOf(className) == 0) {
						tag.className = className + '_';
					}
				}
			}
			else {	
				for (var j = 0; j < className.length; j++) {
					var aClassName = className[j];
					var tags = document.getElementsByTagName("A");
					for (var i = 0; i < tags.length; i++) {
						var tag = tags[i];
						if (tag.className.indexOf(aClassName + '_') == 0) {
							tag.className = aClassName;
						}
						else if (tag.className.indexOf(aClassName) == 0) {
							tag.className = aClassName + '_';
						}
					}
				}
			}

			updateScrollPostion();	
		}
		 // **********************************************************************************************
		// Métodos para posicionamento da tela no mesmo local após o postback
	        // **********************************************************************************************		
		function updateScrollPostion() {
			try {
				var oScroll = document.getElementById("scrollPosition");
				
				if (oScroll != null) {
					oScroll.setAttribute("value",((document.all) ? document.body.scrollTop : window.pageYOffset))
				}
			}
			catch(e) {
			}
			finally {
				delete oScroll;
			}
		}
		// **********************************************************************************************
		// Métodos para posicionamento da tela no mesmo local após o postback
		// **********************************************************************************************
		function setScrollPosition() {
			try {
				var oScroll = document.getElementById("scrollPosition");
				
				var iCursorPostion = (oScroll != null) ? oScroll.getAttribute("value") : 0;
				window.scrollBy(0,iCursorPostion);
				window.setInterval("updateScrollPostion()",1000);
			}
			catch(e) {
			}
			finally {
				delete iCursorPostion;
				delete oScroll;
			}
		}