	/*<![CDATA[*/
		function initPopups() {
			if (!document.getElementById) return
			
			var aLinks = document.getElementsByTagName('a');
		
			for (var i = 0; i < aLinks.length; i++) {		
				if (aLinks[i].className == 'popup') {
					
					aLinks[i].onclick = function() {
						var url = this.href;
						openPopup(url);
						return false;
					}	
				}
			}
		}
		
		// popupWindow function
		
		function openPopup(url) {	
			window.open(url, 'popupwindow'/*, 'width=680,height=560,scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0'*/); 
			return false;
		}
		
		// Piggy-back fucntion onto onLoad event
		
		function addLoadEvent(func) {
			var oldonload = window.onload;
			if (typeof window.onload != 'function') {
				window.onload = func;
			} else {
				window.onload = function() {
					oldonload();
					func();
				}
			}
		}
		
		function preparePrint() {
		if (!document.getElementsByTagName) return false;
		if (!document.getElementById) return false;
		var printRadio = document.getElementById('printAlert');
		var onlineRadio = document.getElementById('onlineSubmit');
		var submitButton = document.getElementById('myBtn');
		if (onlineRadio) {
			onlineRadio.onclick = function() {
				submitButton.value = 'Submit Page';
				submitButton.disabled = false;
				submitButton.onclick = function() {
					return true;
				}
			}
		}
		if (printRadio) {
			printRadio.onclick = function() {
				alert("When you have completed the claim form please print the page and sign the areas that require a signature. You can then mail the claim form to the address provided on the printed page. Thank you.");
				submitButton.value = 'Print Page';
				//submitButton.disabled = true;
				submitButton.onclick = function() {
					window.print();
					return false;
				}
			}
		}
	}
		
		addLoadEvent(initPopups);
		addLoadEvent(preparePrint);
	/*]]>*/