Ext.ns("Highline.erights");

Highline.erights.TopTextPanel=Ext.extend(Ext.Panel,{
    initComponent:function(){
        Ext.apply(this,
        {region:'center',frame:true
        }); 
        Highline.erights.TopTextPanel.superclass.initComponent.apply(this,arguments);
    }
});

Highline.erights.centerPanel=Ext.extend(Ext.Panel,{
    initComponent:function(){
        Ext.apply(this,
        {region:'center',id:'loginCenter',frame:false,border:false,bodyStyle:'padding:0px 0px 0px 0px; background: #FFFFFF;border-bottom:0px;',html:'<td><div style=\"height: 15px;\"></div><table width="620" border="0" align="center" cellpadding="0" cellspacing="0" class="tableborder"><tr></td></tr><tr><td valign="top"><a href=\"/\"><img src="/banking/images/header_fi.jpg" width="620" height="49" border="0" /></a></td></tr><tr><td valign="top">&nbsp;</td></tr><tr><td valign="top"><div align="center"><span class="style1">Welcome to HighlineFI. Please log in with your User Name and Password to continue.</span></div></td></tr><tr><td valign="top">&nbsp;</td></tr><tr><td valign="top"><div align="center"><iframe src="" height="450" width="620" frameborder="0" scrolling="auto"></iframe></div></td></tr><tr><td valign="top" class="footertext">For product information, support or general questions please call:<br />1-877-305-6656<br />Copyright &copy;'+(new Date()).format("Y")+' Highline Financial LLC</td></tr><tr><td valign="top" class="footertext">&nbsp;</td></tr></table>'
        }); 
        Highline.erights.centerPanel.superclass.initComponent.apply(this,arguments);
    }
});

Highline.erights.TopFormPanel=Ext.extend(Ext.form.FormPanel,{
    initComponent:function(){
        Ext.apply(this,
        {region:'center',frame:true
        }); 
        Highline.erights.TopFormPanel.superclass.initComponent.apply(this,arguments);
    }
});

Highline.erights.PaneHelp=Ext.extend(Ext.Panel,{
    initComponent:function(){
        Ext.apply(this,
        {region:'south',frame:true,align:'right',height:80
        }); 
        Highline.erights.PaneHelp.superclass.initComponent.apply(this,arguments);
    }
});
Highline.erights.PreviousPaneHelp=Ext.extend(Highline.erights.PaneHelp,{
    initComponent:function(){
        Ext.apply(this,
        {html:'<table cellpadding="0" cellspacing="0" class="outerframe"><tr><td colspan="2" style="text-align: left" class="loginhelp"><a href="javascript:history.go(-1)">&lt; Previous Page</a></td></tr></table>'
        }); 
        Highline.erights.PreviousPaneHelp.superclass.initComponent.apply(this,arguments);
    }
});
    Highline.erights.Previous2PaneHelp=Ext.extend(Highline.erights.PaneHelp,{
    initComponent:function(){
        Ext.apply(this,
        {html:'<table cellpadding="0" cellspacing="0" class="outerframe"><tr><td colspan="2" style="text-align: left" class="loginhelp"><a href="javascript:history.go(-2)">&lt; Return to Login</a></td></tr></table>'
        }); 
        Highline.erights.PreviousPaneHelp.superclass.initComponent.apply(this,arguments);
    }
});
    Highline.erights.ReturnLoginPaneHelp=Ext.extend(Highline.erights.PaneHelp,{
    initComponent:function(){
        Ext.apply(this,
        {html:'<table cellpadding="0" cellspacing="0" class="outerframe"><tr><td colspan="2" style="text-align: left" class="loginhelp"><a href="javascript:location.href=\'/erights/servlet/LoginPage?url='+this.url+'\'">&lt; Return to Login</a></td></tr></table>'
        }); 
        Highline.erights.PreviousPaneHelp.superclass.initComponent.apply(this,arguments);
    }
});
Highline.erights.FullPaneHelp=Ext.extend(Highline.erights.PaneHelp,{
    initComponent:function(){
        Ext.apply(this,
        {html:'<table cellpadding="0" cellspacing="0" class="outerframe"><tr><td colspan="2" style="text-align: right" class="loginhelp"><a href="/erights/Logon_Help.htm">Login Help &gt;</a><br/><a href="/erights/servlet/ChangePass?url='+this.url+'">Change your Password &gt;</a><br/><a href="/erights/servlet/RetrievePass?url='+this.url+'">Password Look-up &gt;</a><br/><a href="/erights/servlet/ChangeAccountInfo?url='+this.url+'">Change your Account Information &gt;</a></td></tr></table>'
        }); 
        Highline.erights.FullPaneHelp.superclass.initComponent.apply(this,arguments);
    }
});


Highline.erights.ErightsWindow=Ext.extend(Ext.Window,{
    initComponent:function(){
        Ext.apply(this,
        {layout:'border',closable:false,draggable:false,y:120,width:400,height:400,items:[this.toppanel,this.helptext]
        }); 
        Highline.erights.ErightsWindow.superclass.initComponent.apply(this,arguments);
    }
});



