function stateConfirm (field, evt, homepage) {
	var keyCode;
	if (self == top || self == parent){
		if (document.all){
			keyCode = event.keyCode;
		} else {
			if (evt.which){
				keyCode = evt.which;
			} else {
				if (evt.keyCode){
					keyCode = evt.keyCode
				} else {
					keyCode = evt.charcode;
				}
			}
		}
	
		if (document.all) {
			if (keyCode == 2){
				if (!homepage){
					//window.location.href = '../BOSS/default.asp?CenterFrameURL=' + window.location.href;
					window.open('/BOSS/bossLogin.asp?homepage=false', 'bossLogin', 'width=325,height=200,tollbar=no,scrollbar=yes,resizable=no');
				} else {
					//window.location.href = 'BOSS/default.asp?CenterFrameURL=' + window.location.href;
					window.open('/BOSS/bossLogin.asp?homepage=true', 'bossLogin', 'width=325,height=200,tollbar=no,scrollbar=yes,resizable=no');
				}
			}
		} 
		if (!document.all) {
			if (keyCode == 66 && evt.shiftKey && evt.ctrlKey && parseInt(navigator.appVersion) >= 5){
				if (!homepage){
					//window.location.href = '../BOSS/default.asp?CenterFrameURL=' + window.location.href;
					window.open('/BOSS/bossLogin.asp?homepage=false', 'bossLogin', 'width=325,height=200,tollbar=no,scrollbar=yes,resizable=no');
				} else {
					//window.location.href = 'BOSS/default.asp?CenterFrameURL=' + window.location.href;
					window.open('/BOSS/bossLogin.asp?homepage=true', 'bossLogin', 'width=325,height=200,tollbar=no,scrollbar=yes,resizable=no');
				}
			}
		} 
	}
}