
		function opendialog(rootpath, url,size)
		{
			var obj = new Object();
			obj.url = url;
			obj.opener = window;
			window.showModalDialog( rootpath+"ModalWindow.html", obj, size);
		}
		function resizeImages()
		{
			if ( document.media != 'print')
			{
				if ( document.body.clientWidth > 775)
				{
					document.all('imgTopLeft').style.width = (document.body.clientWidth-3)*0.21;
					document.all('imgTopCenter').style.width = (document.body.clientWidth-3)*0.575;
					document.all('imgTopRight').style.width = (document.body.clientWidth-3)*0.21;
				} 
				else
				{
					document.all('imgTopLeft').style.width = 772*0.21;
					document.all('imgTopCenter').style.width = 772*0.575;
					document.all('imgTopRight').style.width = 772*0.21;
				}
			} 
		}
		function saveScroll()
		{
			if ( document.all('hidY') && document.all('hidX'))
			{
				document.all('hidY').value = window.document.body.scrollTop;
				document.all('hidX').value = window.document.body.scrollLeft;
			}
			if ( document.all('Listing1_hidY') && document.all('Listing1_hidX'))
			{
				document.all('Listing1_hidY').value = window.document.body.scrollTop;
				document.all('Listing1_hidX').value = window.document.body.scrollLeft;
			}
		}
		function loadScroll()
		{
			if ( document.all('hidY') && document.all('hidX'))
			{
				window.document.body.scrollTop = document.all('hidY').value;
				window.document.body.scrollLeft = document.all('hidX').value;
			}
			if ( document.all('Listing1_hidY') && document.all('Listing1_hidX'))
			{
				window.document.body.scrollTop = document.all('Listing1_hidY').value;
				window.document.body.scrollLeft = document.all('Listing1_hidX').value;
			}
		}		
		function topScroll()
		{
			window.document.body.scrollTop = 0;
			window.document.body.scrollLeft = 0;
		}		
		function disableSubmit()
		{
			if (typeof(Page_ClientValidate) == 'function')
			{
				if ( Page_ClientValidate() == true)
				{
					document.all('btnSubmit').style.visibility="hidden";
					document.all('divMainForm').style.display="none";
					document.all('divClock').style.display="inline";
				}
			}
		}
		function hideBullet( item)
		{
			document.all(item).style.visibility='hidden';
		}
		function showBullet( item)
		{
			document.all(item).style.visibility='visible';
		}
		