
                var sChecked;

				function getScroll()
				{
					var X, Y;
					if(typeof window.pageXOffset != 'undefined')
					{
						X = window.pageXOffset;
						Y = window.pageYOffset;
					}
					else
					{
						if((!window.document.compatMode)|| (window.document.compatMode == 'BackCompat'))
						{
							X = window.document.body.scrollLeft;
							Y = window.document.body.scrollTop;
						}
						else
						{
							X = window.document.documentElement.scrollLeft;
							Y = window.document.documentElement.scrollTop;
						}
					}
					document.getElementById('lyrAlert').style.top = (screen.height / 2) - 300 + Y ;
				}
				
				function chkSubmit()
				{				    
					if(sChecked != true)
					{
						document.getElementById('lyrAlert').style.display = 'none';
						return false;
					}
					else
					{   
						var sTest = window.location + '';
						var array_URL = sTest.split("#");
						
						if(array_URL[0].indexOf('?') == -1)
						 {
						    window.location = array_URL[0] + "?checked=true";
						 }
						 else
						 {
						    window.location = array_URL[0] + "&checked=true";
						}

						return false;
					}
				}

				function setValue(oCheckBox)
				{
					sChecked = oCheckBox.checked;
				}

				window.onscroll = getScroll;