");
var junkDT=new Date();
setTimeout("goBack()",300000);
var pressedLogon=false
function goBack() {
location.href='/index.html';
}
if( document.layers ) {
setTimeout( 'window.onresize=regenerate', 400 );
}
function regenerate() {
window.self.location.reload();
}
if( top != self ) {
top.location = location;
}
var slash=location.pathname.lastIndexOf('/')
var backslash=location.pathname.lastIndexOf('\\')
if( slash < backslash ) {
slash=backslash
}
var filename=location.pathname.substring(slash+1,location.pathname.length)
var url="" + window.location;
// Ignore any current frames.
if( top != self ) {
top.location = location;
}
function testpopups( ) {
var myhigh=150;
var mywide=250;
var url='/public/poptest.html'
var myOpen1=popup( mywide, myhigh, url, 'test_popup', resizable )
}
function UserIdRetrieval( which ) {
var myhigh=400;
var mywide=700;
var url=''
if( which ) {
url='/public/activate.cgi?pwrtvl=1'
} else {
myhigh=400;
mywide=750;
url='/public/activate.cgi?uidrtvl=1'
}
myOpen=popup( mywide, myhigh, url, 'csh_popup', resizable )
return;
}
function doLogon1() {
var frm=document.forms[0]
// don't allow multiple Logons or no input
if( pressedLogon || isBlank(frm.UserId.value) || isBlank(frm.xPassword.value) ) {
frm.action='/logon?FAT=1&Failed=T';
return( false )
}
pressedLogon=true
if( frm.ckRememberMe.checked ) {
RememberMe( true );
}
var junkDT=new Date();
if( !CheckUserCapabilities1() ) {
return( false );
}
//frm.submit();
return( true )
}
function CheckUserCapabilities1() {
var frm=document.forms[0]
frm.Script.value='1'
createCookie( 'TestSessionCookie', '1' )
if( readCookie('TestSessionCookie') == '1' ) {
frm.Cookies.value='1'
eraseCookie('TestSessionCookie');
}
else {
frm.Cookies.value='0'
//window.location='/public/logon_notification_001.html' // need to enable cookies
return( false )
}
// Note: Do not test for Persistent cookies for now. Messes up on older versions ( Netscape 4.05 Mac )
frm.PCookies.value='1'
if( screen == null ) {
window.location='/public/logon_notification_007.html' // 'update your browser'
return( false )
}
if( IE4 && !IE5 ) {
alert( 'FLiCA.Net is best viewed with the latest version of Internet Explorer.' )
}
frm.ScreenWidth.value=screen.width
frm.ScreenHeight.value=screen.height
frm.SilverlightInstalled.value=SLLoaded;
var sidval=createsession( Trim2(frm.xPassword.value) );
frm.xPassword.value='';
var date=new Date;
frm.Timezone.value=date.getTimezoneOffset();
frm.UserId.focus()
frm.action='/logon';
frm.action+='?FAT=1&UserId='+frm.UserId.value+'&nocache='+junkDT.getTime();
frm.action+='&Script='+frm.Script.value+'&Cookies='+frm.Cookies.value+'&PCookies='+frm.PCookies.value+'&Sid='+sidval+'&SilverlightInstalled='+frm.SilverlightInstalled.value;
frm.action+='&ScreenWidth='+frm.ScreenWidth.value+'&ScreenHeight='+frm.ScreenHeight.value+'&Timezone='+frm.Timezone.value;
return( true );
}
function setNewAcct() {
var myhigh=350;
var mywide=450;
var myurl='/public/selectAirline.html';
var myOpen=popup( mywide, myhigh, myurl, 'selAirline', resizable );
if ( myOpen && !myOpen.closed ) {
myOpen.focus();
}
}
function logNew( airline ) {
var frm=document.forms[0]
frm.action='/lognew?airline='+airline
frm.submit()
}
function helpMe() {
var myhigh=550;
var mywide=750;
var myurl='/public/activationhelp.html';
var myOpen=popup( mywide, myhigh, myurl, 'activateHelp', resizable );
if ( myOpen && !myOpen.closed ) {
myOpen.focus();
}
}
function isBlank( strValue ) {
for( var i=0; i