rem: currForm = currForm || theForm; var pos = WebForm_GetElementPosition(currForm); var ScrollX = parseInt(currForm.elements['__SCROLLPOSITIONX'].value); var ScrollY = parseInt(currForm.elements['__SCROLLPOSITIONY'].value); 
add: var pos = this.WebForm_GetElementPosition(this._form); var ScrollX = parseInt(this._form.elements['__SCROLLPOSITIONX'].value); var ScrollY = parseInt(this._form.elements['__SCROLLPOSITIONY'].value); 
context: webForm.WebForm_RestoreScrollPosition = function (currForm){	currForm = currForm || theForm;	var pos = WebForm_GetElementPosition(currForm);	var ScrollX = parseInt(currForm.elements['__SCROLLPOSITIONX'].value);	var ScrollY = parseInt(currForm.elements['__SCROLLPOSITIONY'].value);	ScrollX = (isNaN(ScrollX)) ? pos.x : (ScrollX + pos.x);	ScrollY = (isNaN(ScrollY)) ? pos.y : (ScrollY + pos.y);	window.scrollTo(ScrollX, ScrollY);	if ((typeof(currForm.oldOnLoad) != "undefined") && (currForm.oldOnLoad != null)) {		return currForm.oldOnLoad();	}	return true;}
meta: 172	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/172/26e133c6499135531a32a75bf3bdc6876000f14d/webform.js/buggy/mcs/class/System.Web/resources/webform.js