Javascript Issue

Any help would be greatly appreciated…

I have a webform…Scroll to the bottom and locate an icon…click the icon, popup1 comes up…popup1 contains an icon, click it and popup2 comes up…popup2 contains an icon, brings up popup3…popup3 is a hidden div tag (navtreewindow) located at the top of the form…Unless user scrolls up, looks like nothing happens…Once popup3 comes up, I need to have that visible in front of the user(make the screen scroll up to that div tag). I have tried .moveTo but that does not work. I have not used setattribute before but was told that that could work. Everything else works but the scrolling to the actual window.opener… code. Thanks in advance…

The code below is run from popup2 when you select the icon -

switch ( type ) {

	case 'Page' :

		if ( ctx == "ImageLink" ) {

			var wFrm = window.opener.document.forms[0] ;

			var pickType = ( wFrm.editLink == '[object]' && wFrm.editLink.value == 'editLink' ) ? 'editLinkPicker' : 'rtLinkPicker' ; 

			//.. reuse existing code on the content form

			window.opener.openNavWidget( pickType ) ;

			self.close() ;

			

			break ;

Subject: Javascript Issue

you can use window.scroll

window.scroll(0,0); // horizontal and vertical scroll increments

Subject: RE: Javascript Issue

Thank you for your response…I tried that option before as well and nothing happens…It doesn’t scroll