			function blackout(){
					//set blackout div width and height
					var winWidth = document.documentElement.offsetWidth;
					var winHeight = document.documentElement.scrollHeight;
					$('blackout').style.display = 'block';
					$('blackout').style.height = winHeight + 'px';
					$('blackout').style.width = winWidth + 'px';
			}
			
			function windowsLoaderAdd(func) {
				windowsLoader[windowsLoader.length] = func;
			}
			function windowsLoadFunc() {
				for(i=0;i<windowsLoader.length;i++) {
					eval(windowsLoader[i]);
				}
			}
			function loadFunc() { window.onload = windowsLoadFunc;}
			windowsLoader = new Array();
			
			function setState(w,prefix) {
				if(prefix == null) {
					prefix = '';
				}
				if(w.value != 'US') {
					$(prefix + 'state').value = '99';
					$(prefix + 'state').disabled = true;
					$(prefix + 'state_outside').disabled = false;
				} else {
					$(prefix + 'state').value = '0';
					$(prefix + 'state').disabled = false;
					$(prefix + 'state_outside').disabled = true;
				}
					
			}