Merge with keyboard shortcuts r2897
authorAsier Lostalé <asier.lostale@openbravo.com>
Thu, 13 Mar 2008 14:33:37 +0000
changeset 528 7aa737db257f
parent 527 bedaea3fed99
child 529 543466316cfe
Merge with keyboard shortcuts r2897
.settings/org.eclipse.wst.common.component
src-wad/.settings/org.eclipse.wst.validation.prefs
src-wad/src/org/openbravo/wad/Configuration_Edition.xmlxml
src-wad/src/org/openbravo/wad/Fields_data.xsql
src-wad/src/org/openbravo/wad/Template_Edition.html
src-wad/src/org/openbravo/wad/Template_Relation.html
src-wad/src/org/openbravo/wad/Wad.java
src-wad/src/org/openbravo/wad/WadUtility.java
src-wad/src/org/openbravo/wad/controls/WADButton.html
src-wad/src/org/openbravo/wad/controls/WADButton.java
src-wad/src/org/openbravo/wad/controls/WADButton.xml
src-wad/src/org/openbravo/wad/controls/WADFieldButton.html
src-wad/src/org/openbravo/wad/controls/WADGrid.java
src-wad/src/org/openbravo/wad/controls/WADSearch.html
src-wad/src/org/openbravo/wad/controls/WADYesNo.html
src-wad/src/org/openbravo/wad/datasource.xsqlxml
src-wad/src/org/openbravo/wad/javasource.javaxml
src-wad/src/org/openbravo/wad/javasource.xml
src/org/openbravo/erpCommon/ad_actionButton/ChangeProjectStatus.html
src/org/openbravo/erpCommon/ad_actionButton/ClearSession.html
src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.html
src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.html
src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_F1.html
src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_F2.html
src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.html
src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F1.html
src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F2.html
src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F3.html
src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F4.html
src/org/openbravo/erpCommon/ad_actionButton/CreateCloseFactAcct.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFile.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_F2.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_CRemittance.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_DPManagement.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_F2.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Response.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Response.xml
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Settlement.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment.html
src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.html
src/org/openbravo/erpCommon/ad_actionButton/DocAction.html
src/org/openbravo/erpCommon/ad_actionButton/DropCloseFactAcct.html
src/org/openbravo/erpCommon/ad_actionButton/DropRegFactAcct.html
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_F1.html
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_F2.html
src/org/openbravo/erpCommon/ad_actionButton/EncryptedButtons.html
src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.html
src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java
src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.xml
src/org/openbravo/erpCommon/ad_actionButton/ImportProduct.html
src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.html
src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.java
src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.xml
src/org/openbravo/erpCommon/ad_actionButton/Posted.html
src/org/openbravo/erpCommon/ad_actionButton/ProjectClose.html
src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.html
src/org/openbravo/erpCommon/ad_actionButton/ProjectSetType.html
src/org/openbravo/erpCommon/ad_actionButton/RequestAction.html
src/org/openbravo/erpCommon/ad_actionButton/Test_In.html
src/org/openbravo/erpCommon/ad_actionButton/UpdateMaintenanceScheduled_F1.html
src/org/openbravo/erpCommon/ad_actionButton/UpdateMaintenanceScheduled_F2.html
src/org/openbravo/erpCommon/ad_forms/About.html
src/org/openbravo/erpCommon/ad_forms/AlertManagement.html
src/org/openbravo/erpCommon/ad_forms/AlertManagement.java
src/org/openbravo/erpCommon/ad_forms/AlertManagement.xml
src/org/openbravo/erpCommon/ad_forms/BackgroundProcessList.html
src/org/openbravo/erpCommon/ad_forms/BackgroundProcessList.java
src/org/openbravo/erpCommon/ad_forms/BackgroundProcessList.xml
src/org/openbravo/erpCommon/ad_forms/CallAcctServer.html
src/org/openbravo/erpCommon/ad_forms/DebtPaymentUnapply.html
src/org/openbravo/erpCommon/ad_forms/DebtPaymentUnapply.java
src/org/openbravo/erpCommon/ad_forms/DebtPaymentUnapply.xml
src/org/openbravo/erpCommon/ad_forms/EdiFileImport.html
src/org/openbravo/erpCommon/ad_forms/EdiFileImport.java
src/org/openbravo/erpCommon/ad_forms/EdiFileImport.xml
src/org/openbravo/erpCommon/ad_forms/FileImport.html
src/org/openbravo/erpCommon/ad_forms/FileImport.xml
src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.html
src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.java
src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.xml
src/org/openbravo/erpCommon/ad_forms/GenerateShipmentsmanual.html
src/org/openbravo/erpCommon/ad_forms/GenerateShipmentsmanual.java
src/org/openbravo/erpCommon/ad_forms/GenerateShipmentsmanual.xml
src/org/openbravo/erpCommon/ad_forms/InformeInOut.html
src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.html
src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.xml
src/org/openbravo/erpCommon/ad_forms/InvoiceVendorMultiline.html
src/org/openbravo/erpCommon/ad_forms/InvoiceVendorMultiline.xml
src/org/openbravo/erpCommon/ad_forms/InvoiceVendorMultiline_Lines.html
src/org/openbravo/erpCommon/ad_forms/MatchingPO-Receipt-Invoice_F1.html
src/org/openbravo/erpCommon/ad_forms/MatchingPO-Receipt-Invoice_F2.html
src/org/openbravo/erpCommon/ad_forms/MatchingPO-Receipt-Invoice_F3.html
src/org/openbravo/erpCommon/ad_forms/MatchingPO-Receipt-Invoice_F4.html
src/org/openbravo/erpCommon/ad_forms/MatchingPO-Receipt-Invoice_F5.html
src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.html
src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.java
src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.xml
src/org/openbravo/erpCommon/ad_forms/MaterialTransactions.html
src/org/openbravo/erpCommon/ad_forms/MaterialTransactions.java
src/org/openbravo/erpCommon/ad_forms/MaterialTransactions.xml
src/org/openbravo/erpCommon/ad_forms/MaterialTransactions_F1.html
src/org/openbravo/erpCommon/ad_forms/MaterialTransactions_F2.html
src/org/openbravo/erpCommon/ad_forms/MaterialTransactions_F3.html
src/org/openbravo/erpCommon/ad_forms/RemittanceCancel.html
src/org/openbravo/erpCommon/ad_forms/RemittanceCancel.java
src/org/openbravo/erpCommon/ad_forms/RemittanceCancel.xml
src/org/openbravo/erpCommon/ad_forms/Resultado.html
src/org/openbravo/erpCommon/ad_forms/Resultado.xml
src/org/openbravo/erpCommon/ad_forms/Role.html
src/org/openbravo/erpCommon/ad_forms/SQLExecutor.html
src/org/openbravo/erpCommon/ad_forms/SQLExecutor.java
src/org/openbravo/erpCommon/ad_forms/SQLExecutor.xml
src/org/openbravo/erpCommon/ad_forms/SQLExecutor_Excel.xml
src/org/openbravo/erpCommon/ad_forms/ShowSession.html
src/org/openbravo/erpCommon/ad_forms/ShowSession.xml
src/org/openbravo/erpCommon/ad_forms/ShowSessionPreferences.html
src/org/openbravo/erpCommon/ad_forms/ShowSessionPreferences.xml
src/org/openbravo/erpCommon/ad_forms/Translation.html
src/org/openbravo/erpCommon/ad_forms/Translation.java
src/org/openbravo/erpCommon/ad_forms/Translation.xml
src/org/openbravo/erpCommon/ad_help/DisplayHelp.html
src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_Element_F1.html
src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_Element_F2.html
src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_F1.html
src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_F2.html
src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_Field_F1.html
src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_Field_F2.html
src/org/openbravo/erpCommon/ad_process/CashBankOperations.html
src/org/openbravo/erpCommon/ad_process/CashBankOperations.java
src/org/openbravo/erpCommon/ad_process/CashBankOperations.xml
src/org/openbravo/erpCommon/ad_process/ChangeOrderOrg.html
src/org/openbravo/erpCommon/ad_process/ChangeOrderOrg.java
src/org/openbravo/erpCommon/ad_process/ChangeOrderOrg.xml
src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal_F1.html
src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal_F2.html
src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal_F3.html
src/org/openbravo/erpCommon/ad_process/CreateAccountingReport.html
src/org/openbravo/erpCommon/ad_process/CreateAccountingReport.java
src/org/openbravo/erpCommon/ad_process/CreateAccountingReport.xml
src/org/openbravo/erpCommon/ad_process/CreateCashFlowStatement.html
src/org/openbravo/erpCommon/ad_process/CreateCashFlowStatement.java
src/org/openbravo/erpCommon/ad_process/CreateCashFlowStatement.xml
src/org/openbravo/erpCommon/ad_process/CreateTaxReport.html
src/org/openbravo/erpCommon/ad_process/CreateTaxReport.java
src/org/openbravo/erpCommon/ad_process/CreateTaxReport.xml
src/org/openbravo/erpCommon/ad_process/DeleteClient.html
src/org/openbravo/erpCommon/ad_process/DeleteClient.java
src/org/openbravo/erpCommon/ad_process/DeleteClient.xml
src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.html
src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java
src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.xml
src/org/openbravo/erpCommon/ad_process/GenerateHelp.html
src/org/openbravo/erpCommon/ad_process/GenerateHelp.java
src/org/openbravo/erpCommon/ad_process/GenerateHelp.xml
src/org/openbravo/erpCommon/ad_process/ImportAccountServlet.html
src/org/openbravo/erpCommon/ad_process/ImportBPartnerServlet.html
src/org/openbravo/erpCommon/ad_process/ImportBudgetServlet.html
src/org/openbravo/erpCommon/ad_process/ImportOrderServlet.html
src/org/openbravo/erpCommon/ad_process/ImportProductServlet.html
src/org/openbravo/erpCommon/ad_process/ImportTaxServlet.html
src/org/openbravo/erpCommon/ad_process/PriceListCreateAll.html
src/org/openbravo/erpCommon/ad_process/PriceListCreateAll.java
src/org/openbravo/erpCommon/ad_process/PriceListCreateAll.xml
src/org/openbravo/erpCommon/ad_process/PrintInvoices.html
src/org/openbravo/erpCommon/ad_process/PrintInvoices.java
src/org/openbravo/erpCommon/ad_process/PrintInvoices.xml
src/org/openbravo/erpCommon/ad_process/RequestReOpen.html
src/org/openbravo/erpCommon/ad_process/SendMailText.html
src/org/openbravo/erpCommon/ad_process/SendMailText.java
src/org/openbravo/erpCommon/ad_process/SendMailText.xml
src/org/openbravo/erpCommon/ad_reports/ABCbPartner.html
src/org/openbravo/erpCommon/ad_reports/ABCbPartner.java
src/org/openbravo/erpCommon/ad_reports/ABCbPartner.xml
src/org/openbravo/erpCommon/ad_reports/ABCproduct.html
src/org/openbravo/erpCommon/ad_reports/ABCproduct.java
src/org/openbravo/erpCommon/ad_reports/ABCproduct.xml
src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.html
src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java
src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.xml
src/org/openbravo/erpCommon/ad_reports/GenerateModel347.html
src/org/openbravo/erpCommon/ad_reports/GenerateModel347.java
src/org/openbravo/erpCommon/ad_reports/GenerateModel347.xml
src/org/openbravo/erpCommon/ad_reports/MInOutTraceReports.html
src/org/openbravo/erpCommon/ad_reports/MInOutTraceReports.java
src/org/openbravo/erpCommon/ad_reports/MInOutTraceReports.xml
src/org/openbravo/erpCommon/ad_reports/ReportAccountingCountDimensionalAnalyses.java
src/org/openbravo/erpCommon/ad_reports/ReportAccountingCountDimensionalAnalysesEdit.html
src/org/openbravo/erpCommon/ad_reports/ReportAccountingCountDimensionalAnalysesEdition.html
src/org/openbravo/erpCommon/ad_reports/ReportAccountingCountDimensionalAnalysesFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportAccountingCountDimensionalAnalysesFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportBank.html
src/org/openbravo/erpCommon/ad_reports/ReportBank.java
src/org/openbravo/erpCommon/ad_reports/ReportBank.xml
src/org/openbravo/erpCommon/ad_reports/ReportBankJR.html
src/org/openbravo/erpCommon/ad_reports/ReportBankJR.java
src/org/openbravo/erpCommon/ad_reports/ReportBankJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportBudgetGenerateExcel.html
src/org/openbravo/erpCommon/ad_reports/ReportBudgetGenerateExcel.java
src/org/openbravo/erpCommon/ad_reports/ReportBudgetGenerateExcel.xml
src/org/openbravo/erpCommon/ad_reports/ReportBudgetGenerateExcelXLS.html
src/org/openbravo/erpCommon/ad_reports/ReportCash.html
src/org/openbravo/erpCommon/ad_reports/ReportCash.java
src/org/openbravo/erpCommon/ad_reports/ReportCash.xml
src/org/openbravo/erpCommon/ad_reports/ReportCashEdit.html
src/org/openbravo/erpCommon/ad_reports/ReportCashFlow.html
src/org/openbravo/erpCommon/ad_reports/ReportCashFlow.java
src/org/openbravo/erpCommon/ad_reports/ReportCashFlow.xml
src/org/openbravo/erpCommon/ad_reports/ReportCashFlow_F1.html
src/org/openbravo/erpCommon/ad_reports/ReportCashFlow_F1.xml
src/org/openbravo/erpCommon/ad_reports/ReportCashJR.html
src/org/openbravo/erpCommon/ad_reports/ReportCashJR.java
src/org/openbravo/erpCommon/ad_reports/ReportCashJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportCashflowForecast.html
src/org/openbravo/erpCommon/ad_reports/ReportCashflowForecast.java
src/org/openbravo/erpCommon/ad_reports/ReportCashflowForecast.xml
src/org/openbravo/erpCommon/ad_reports/ReportDebtPayment.html
src/org/openbravo/erpCommon/ad_reports/ReportDebtPayment.java
src/org/openbravo/erpCommon/ad_reports/ReportDebtPayment.xml
src/org/openbravo/erpCommon/ad_reports/ReportDebtPaymentTrack.html
src/org/openbravo/erpCommon/ad_reports/ReportDebtPaymentTrack.java
src/org/openbravo/erpCommon/ad_reports/ReportDebtPaymentTrack.xml
src/org/openbravo/erpCommon/ad_reports/ReportExpense.html
src/org/openbravo/erpCommon/ad_reports/ReportExpense.java
src/org/openbravo/erpCommon/ad_reports/ReportExpense.xml
src/org/openbravo/erpCommon/ad_reports/ReportExpenseEdit.html
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.xml
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.html
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.xml
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalDetail.html
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalDetail.java
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalDetail.xml
src/org/openbravo/erpCommon/ad_reports/ReportGuaranteeDateJR.html
src/org/openbravo/erpCommon/ad_reports/ReportGuaranteeDateJR.java
src/org/openbravo/erpCommon/ad_reports/ReportGuaranteeDateJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportInventory.html
src/org/openbravo/erpCommon/ad_reports/ReportInventory.java
src/org/openbravo/erpCommon/ad_reports/ReportInventory.xml
src/org/openbravo/erpCommon/ad_reports/ReportInventoryEdit.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalyses.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerEdition.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerFilterJR.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerFilterJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscount.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscount.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscount.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscountEdit.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscountJR.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscountJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscountJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorFilterJR.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorFilterJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoices.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoices.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoices.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoicesEdit.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoicesJR.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoicesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoicesJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportMaterialDimensionalAnalysesFilterJR.html
src/org/openbravo/erpCommon/ad_reports/ReportMaterialDimensionalAnalysesFilterJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportMaterialDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportMaterialTransactionEdition.java
src/org/openbravo/erpCommon/ad_reports/ReportMaterialTransactionEditionJR.html
src/org/openbravo/erpCommon/ad_reports/ReportMaterialTransactionEditionJR.java
src/org/openbravo/erpCommon/ad_reports/ReportMaterialTransactionEditionJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportMaterialTransactionFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportMaterialTransactionFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportNotPosted.html
src/org/openbravo/erpCommon/ad_reports/ReportNotPosted.java
src/org/openbravo/erpCommon/ad_reports/ReportNotPosted.xml
src/org/openbravo/erpCommon/ad_reports/ReportOffer.html
src/org/openbravo/erpCommon/ad_reports/ReportOffer.java
src/org/openbravo/erpCommon/ad_reports/ReportOffer.xml
src/org/openbravo/erpCommon/ad_reports/ReportOrderNotInvoiceFilterJR.html
src/org/openbravo/erpCommon/ad_reports/ReportOrderNotInvoiceFilterJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportPendingProductionEditJr.html
src/org/openbravo/erpCommon/ad_reports/ReportPendingProductionJr.html
src/org/openbravo/erpCommon/ad_reports/ReportPendingProductionJr.java
src/org/openbravo/erpCommon/ad_reports/ReportPendingProductionJr.xml
src/org/openbravo/erpCommon/ad_reports/ReportPricelist.html
src/org/openbravo/erpCommon/ad_reports/ReportPricelist.java
src/org/openbravo/erpCommon/ad_reports/ReportPricelist.xml
src/org/openbravo/erpCommon/ad_reports/ReportProductMovement.html
src/org/openbravo/erpCommon/ad_reports/ReportProductMovement.java
src/org/openbravo/erpCommon/ad_reports/ReportProductMovement.xml
src/org/openbravo/erpCommon/ad_reports/ReportProduction.html
src/org/openbravo/erpCommon/ad_reports/ReportProduction.java
src/org/openbravo/erpCommon/ad_reports/ReportProduction.xml
src/org/openbravo/erpCommon/ad_reports/ReportProductionCost.html
src/org/openbravo/erpCommon/ad_reports/ReportProductionCost.java
src/org/openbravo/erpCommon/ad_reports/ReportProductionCost.xml
src/org/openbravo/erpCommon/ad_reports/ReportProductionJR.html
src/org/openbravo/erpCommon/ad_reports/ReportProductionJR.java
src/org/openbravo/erpCommon/ad_reports/ReportProductionJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportProductionRunJR.html
src/org/openbravo/erpCommon/ad_reports/ReportProductionRunJR.java
src/org/openbravo/erpCommon/ad_reports/ReportProductionRunJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSite.html
src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSite.java
src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSite.xml
src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSiteJR.html
src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSiteJR.java
src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSiteJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitabilityJR.html
src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitabilityJR.java
src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitabilityJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportPurchaseDimensionalAnalysesFilterJR.html
src/org/openbravo/erpCommon/ad_reports/ReportPurchaseDimensionalAnalysesFilterJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportPurchaseDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportRefundInvoiceCustomerDimensionalAnalysesFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportRefundInvoiceCustomerDimensionalAnalysesFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.java
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.html
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportSalesDimensionalAnalyzeJR.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesDimensionalAnalyzeJRFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportSalesDimensionalAnalyzeJRFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderFilterJR.html
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderFilterJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoicedJasper.html
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoicedJasper.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoicedJasper.xml
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderJR.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItem.html
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItem.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItem.xml
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItemJR.html
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItemJR.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItemJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderProvidedJR.html
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderProvidedJR.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderProvidedJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportShipmentDimensionalAnalyzeJR.java
src/org/openbravo/erpCommon/ad_reports/ReportShipmentDimensionalAnalyzeJRFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportShipmentDimensionalAnalyzeJRFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportShipmentEditionJR.java
src/org/openbravo/erpCommon/ad_reports/ReportShipmentFilterJR.html
src/org/openbravo/erpCommon/ad_reports/ReportShipmentFilterJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportShipper.html
src/org/openbravo/erpCommon/ad_reports/ReportShipper.java
src/org/openbravo/erpCommon/ad_reports/ReportShipper.xml
src/org/openbravo/erpCommon/ad_reports/ReportStandardCostJR.java
src/org/openbravo/erpCommon/ad_reports/ReportStandardCostJRFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportStandardCostJRFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoice.html
src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoice.java
src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoice.xml
src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceEdit.html
src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceJR.java
src/org/openbravo/erpCommon/ad_reports/ReportToInvoiceConsignment.html
src/org/openbravo/erpCommon/ad_reports/ReportToInvoiceConsignment.java
src/org/openbravo/erpCommon/ad_reports/ReportToInvoiceConsignment.xml
src/org/openbravo/erpCommon/ad_reports/ReportToInvoiceConsignmentJR.html
src/org/openbravo/erpCommon/ad_reports/ReportToInvoiceConsignmentJR.java
src/org/openbravo/erpCommon/ad_reports/ReportToInvoiceConsignmentJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportTotalProductTemplate.html
src/org/openbravo/erpCommon/ad_reports/ReportTotalProductTemplate.java
src/org/openbravo/erpCommon/ad_reports/ReportTotalProductTemplate.xml
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.java
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.xml
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalanceDetail.html
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalanceDetail.java
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalanceDetail.xml
src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html
src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.java
src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.xml
src/org/openbravo/erpCommon/ad_reports/ReportWarehouseControl.html
src/org/openbravo/erpCommon/ad_reports/ReportWarehouseControl.java
src/org/openbravo/erpCommon/ad_reports/ReportWarehouseControl.xml
src/org/openbravo/erpCommon/ad_reports/ReportWarehouseDetailInventoryJR.html
src/org/openbravo/erpCommon/ad_reports/ReportWarehouseDetailInventoryJR.java
src/org/openbravo/erpCommon/ad_reports/ReportWarehouseDetailInventoryJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportWarehousePartnerJR.html
src/org/openbravo/erpCommon/ad_reports/ReportWarehousePartnerJR.java
src/org/openbravo/erpCommon/ad_reports/ReportWarehousePartnerJR.xml
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDaily.html
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDaily.java
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDaily.xml
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDailyEnv.html
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDailyEnv.java
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDailyEnv.xml
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementJR.html
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementJR.java
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementJR.xml
src/org/openbravo/erpCommon/ad_reports/Rpt_Etiquetas.java
src/org/openbravo/erpCommon/ad_reports/Rpt_Etiquetas_Config.html
src/org/openbravo/erpCommon/ad_reports/Rpt_Etiquetas_Config.xml
src/org/openbravo/erpCommon/ad_workflow/WorkflowControl.html
src/org/openbravo/erpCommon/businessUtility/Buscador.html
src/org/openbravo/erpCommon/businessUtility/Buscador.java
src/org/openbravo/erpCommon/businessUtility/Buscador.xml
src/org/openbravo/erpCommon/businessUtility/TabAttachments_Edition.html
src/org/openbravo/erpCommon/businessUtility/TabAttachments_F1.html
src/org/openbravo/erpCommon/businessUtility/TabFilter.html
src/org/openbravo/erpCommon/info/Account_F1.html
src/org/openbravo/erpCommon/info/Account_F2.html
src/org/openbravo/erpCommon/info/Account_F3.html
src/org/openbravo/erpCommon/info/AttributeSetInstance_F1.html
src/org/openbravo/erpCommon/info/AttributeSetInstance_F2.html
src/org/openbravo/erpCommon/info/BusinessPartnerMultiple_F1.html
src/org/openbravo/erpCommon/info/BusinessPartnerMultiple_F2.html
src/org/openbravo/erpCommon/info/BusinessPartnerMultiple_F3.html
src/org/openbravo/erpCommon/info/BusinessPartner_F1.html
src/org/openbravo/erpCommon/info/BusinessPartner_F2.html
src/org/openbravo/erpCommon/info/BusinessPartner_F3.html
src/org/openbravo/erpCommon/info/CashJournal_F1.html
src/org/openbravo/erpCommon/info/CashJournal_F2.html
src/org/openbravo/erpCommon/info/CashJournal_F3.html
src/org/openbravo/erpCommon/info/DebtPayment_F1.html
src/org/openbravo/erpCommon/info/DebtPayment_F2.html
src/org/openbravo/erpCommon/info/DebtPayment_F3.html
src/org/openbravo/erpCommon/info/ImageInfo_F1.html
src/org/openbravo/erpCommon/info/ImageInfo_F2.html
src/org/openbravo/erpCommon/info/ImageInfo_F3.html
src/org/openbravo/erpCommon/info/InvoiceLine_F1.html
src/org/openbravo/erpCommon/info/InvoiceLine_F2.html
src/org/openbravo/erpCommon/info/InvoiceLine_F3.html
src/org/openbravo/erpCommon/info/Invoice_F1.html
src/org/openbravo/erpCommon/info/Invoice_F2.html
src/org/openbravo/erpCommon/info/Invoice_F3.html
src/org/openbravo/erpCommon/info/Location_F1.html
src/org/openbravo/erpCommon/info/Locator.html
src/org/openbravo/erpCommon/info/Locator_F1.html
src/org/openbravo/erpCommon/info/Locator_F2.html
src/org/openbravo/erpCommon/info/Locator_F3.html
src/org/openbravo/erpCommon/info/ProductComplete_F1.html
src/org/openbravo/erpCommon/info/ProductComplete_F2.html
src/org/openbravo/erpCommon/info/ProductComplete_F3.html
src/org/openbravo/erpCommon/info/ProductMultiple_F1.html
src/org/openbravo/erpCommon/info/ProductMultiple_F2.html
src/org/openbravo/erpCommon/info/ProductMultiple_F3.html
src/org/openbravo/erpCommon/info/Product_F1.html
src/org/openbravo/erpCommon/info/Product_F2.html
src/org/openbravo/erpCommon/info/Product_F3.html
src/org/openbravo/erpCommon/info/Project_F1.html
src/org/openbravo/erpCommon/info/Project_F2.html
src/org/openbravo/erpCommon/info/Project_F3.html
src/org/openbravo/erpCommon/info/Requests_F1.html
src/org/openbravo/erpCommon/info/Requests_F2.html
src/org/openbravo/erpCommon/info/Requests_F3.html
src/org/openbravo/erpCommon/info/SalesOrderLine_F1.html
src/org/openbravo/erpCommon/info/SalesOrderLine_F2.html
src/org/openbravo/erpCommon/info/SalesOrderLine_F3.html
src/org/openbravo/erpCommon/info/SalesOrder_F1.html
src/org/openbravo/erpCommon/info/SalesOrder_F2.html
src/org/openbravo/erpCommon/info/SalesOrder_F3.html
src/org/openbravo/erpCommon/info/ShipmentReceiptLine_F1.html
src/org/openbravo/erpCommon/info/ShipmentReceiptLine_F2.html
src/org/openbravo/erpCommon/info/ShipmentReceiptLine_F3.html
src/org/openbravo/erpCommon/info/ShipmentReceipt_F1.html
src/org/openbravo/erpCommon/info/ShipmentReceipt_F2.html
src/org/openbravo/erpCommon/info/ShipmentReceipt_F3.html
src/org/openbravo/erpCommon/info/UserContact_F1.html
src/org/openbravo/erpCommon/info/UserContact_F2.html
src/org/openbravo/erpCommon/info/UserContact_F3.html
src/org/openbravo/erpCommon/security/Login_F1.html
src/org/openbravo/erpCommon/security/Login_FS.html
src/org/openbravo/erpCommon/security/Login_Options_F1.html
src/org/openbravo/erpCommon/utility/Home.html
src/org/openbravo/erpCommon/utility/LeftTabsBar.java
src/org/openbravo/erpCommon/utility/NavigationBar.java
src/org/openbravo/erpCommon/utility/PoolStatus.html
src/org/openbravo/erpCommon/utility/PoolStatus.xml
src/org/openbravo/erpCommon/utility/SetPriority.html
src/org/openbravo/erpCommon/utility/SetPriority.xml
src/org/openbravo/erpCommon/utility/UsedByLink.html
src/org/openbravo/erpCommon/utility/UsedByLink_Detail.html
src/org/openbravo/erpCommon/utility/Utility_data.xsql
src/org/openbravo/erpCommon/utility/VerticalMenu.html
src/org/openbravo/erpCommon/utility/VerticalMenu.java
src/org/openbravo/erpCommon/utility/WindowTree.html
web/js/default/DateTextBox.js
web/js/menuKeyboard.js
web/js/openbravo/widget/DataGrid.js
web/js/shortcuts.js
web/js/utils.js
web/js/windowKeyboard.js
web/skins/Default/Main/Client/Button/Button.css
web/skins/Default/Main/Client/Button/buttonBody.focused.png
web/skins/Default/Main/Client/Button/buttonLeft.focused.png
web/skins/Default/Main/Client/Button/buttonRight.focused.png
web/skins/Default/Main/Client/Button_TwoLines/Button_TwoLines.css
web/skins/Default/Main/Client/Button_TwoLines/buttonBody.focused.png
web/skins/Default/Main/Client/Button_TwoLines/buttonLeft.focused.png
web/skins/Default/Main/Client/Button_TwoLines/buttonRight.focused.png
web/skins/Default/Main/Client/Checkbox/Checkbox.css
web/skins/Default/Main/Client/Combo/Combo.css
web/skins/Default/Main/Client/DataGrid/DataGrid.css
web/skins/Default/Main/Client/Dimension/Dimension.css
web/skins/Default/Main/Client/Dimension/dimensionButtonLRBottom.focused.png
web/skins/Default/Main/Client/Dimension/dimensionButtonLRTop.focused.png
web/skins/Default/Main/Client/Dimension/dimensionButtonUDBottom.focused.png
web/skins/Default/Main/Client/Dimension/dimensionButtonUDTop.focused.png
web/skins/Default/Main/Client/FieldButton/FieldButton.css
web/skins/Default/Main/Client/FieldButton/fieldButton.focused.png
web/skins/Default/Main/Client/Label/Label.css
web/skins/Default/Main/Client/Label/link.focused.png
web/skins/Default/Main/Client/List/List.css
web/skins/Default/Main/Client/List/listButtonBottom.focused.png
web/skins/Default/Main/Client/List/listButtonMiddle.focused.png
web/skins/Default/Main/Client/List/listButtonTop.focused.png
web/skins/Default/Main/Client/TableEdition/TableEdition.css
web/skins/Default/Main/Client/TextBox/TextBox.css
web/skins/Default/Main/Tabs/Tabs.css
web/skins/Default/Menu/Client/Client.css
web/skins/Default/Menu/Client/bigbutton.focused.png
web/skins/Default/Popup/Client/Help/Help.css
web/skins/Default/Popup/Client/UserOps/UserOps.css
--- a/.settings/org.eclipse.wst.common.component	Thu Mar 13 10:27:24 2008 +0000
+++ b/.settings/org.eclipse.wst.common.component	Thu Mar 13 14:33:37 2008 +0000
@@ -9,7 +9,7 @@
 <dependent-module deploy-path="/WEB-INF/lib" handle="module:/resource/OpenbravoCore/OpenbravoCore">
 <dependency-type>uses</dependency-type>
 </dependent-module>
+<property name="java-output-path" value="build/classes"/>
 <property name="context-root" value="openbravo"/>
-<property name="java-output-path" value="build/classes"/>
 </wb-module>
 </project-modules>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-wad/.settings/org.eclipse.wst.validation.prefs	Thu Mar 13 14:33:37 2008 +0000
@@ -0,0 +1,6 @@
+#Tue Feb 26 15:24:43 GMT+01:00 2008
+DELEGATES_PREFERENCE=delegateValidatorListorg.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator\=org.eclipse.wst.xsd.core.internal.validation.eclipse.Validator;org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator\=org.eclipse.wst.wsdl.validation.internal.eclipse.Validator;
+USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.jst.jsf.validation.internal.appconfig.AppConfigValidator;org.eclipse.wst.dtd.core.internal.validation.eclipse.Validator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;org.eclipse.jst.jsp.core.internal.validation.JSPContentValidator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator;org.eclipse.jst.jsf.validation.internal.JSPSemanticsValidator;org.eclipse.jst.jsp.core.internal.validation.JSPBatchValidator;org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;org.eclipse.wst.html.internal.validation.HTMLValidator;org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator;
+USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.jst.jsf.validation.internal.appconfig.AppConfigValidator;org.eclipse.wst.dtd.core.internal.validation.eclipse.Validator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;org.eclipse.jst.jsp.core.internal.validation.JSPContentValidator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator;org.eclipse.jst.jsf.validation.internal.JSPSemanticsValidator;org.eclipse.jst.jsp.core.internal.validation.JSPBatchValidator;org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;org.eclipse.wst.html.internal.validation.HTMLValidator;org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator;
+USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationtrueversion1.1.102.v200709122200
+eclipse.preferences.version=1
--- a/src-wad/src/org/openbravo/wad/Configuration_Edition.xmlxml	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/Configuration_Edition.xmlxml	Thu Mar 13 14:33:37 2008 +0000
@@ -45,7 +45,7 @@
   <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
   <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
   <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
-
+  <PARAMETER id="scriptOnLoad" name = "scriptOnLoad" default=" "/>
 
   <FIELDS_TMP id="paramHiddenColumns"></FIELDS_TMP>
 
--- a/src-wad/src/org/openbravo/wad/Fields_data.xsql	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/Fields_data.xsql	Thu Mar 13 14:33:37 2008 +0000
@@ -782,4 +782,38 @@
       ]]>
     </Sql>
     <Parameter name="tab"/>
-  </SqlMethod></SqlClass>
+  </SqlMethod>
+  <SqlMethod name="hasButtonList" type="preparedStatement" return="String" default="0">
+    <SqlMethodComment>Checks if the tab has action buttons</SqlMethodComment>
+    <Sql>
+      <![CDATA[
+          select count(*) as total
+        from ad_field f,
+             ad_column c
+       where f.ad_tab_id = to_number(?)
+         and f.ad_column_id = c.ad_column_id
+         and ad_reference_id = 28
+         and ad_reference_value_id is not null
+         and f.isdisplayed = 'Y'
+         and f.isactive='Y'
+      ]]>
+    </Sql>
+    <Parameter name="tab"/>
+  </SqlMethod>
+  <SqlMethod name="hasButtonFixed" type="preparedStatement" return="String" default="0">
+    <SqlMethodComment>Checks if the tab has action buttons</SqlMethodComment>
+    <Sql>
+      <![CDATA[
+          select count(*) as total
+        from ad_field f,
+             ad_column c
+       where f.ad_tab_id = to_number(?)
+         and f.ad_column_id = c.ad_column_id
+         and ad_reference_id = 28
+         and f.isdisplayed = 'Y'
+         and f.isactive='Y'
+      ]]>
+    </Sql>
+    <Parameter name="tab"/>
+  </SqlMethod>
+  </SqlClass>
--- a/src-wad/src/org/openbravo/wad/Template_Edition.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/Template_Edition.html	Thu Mar 13 14:33:37 2008 +0000
@@ -33,7 +33,9 @@
 <script language="JavaScript" type="text/javascript" id="paramLanguage">
   LNG_POR_DEFECTO = "en_US";
 </script>
+<SCRIPT language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<SCRIPT language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
 <FIELD_TMP id="importJS"></FIELD_TMP>
@@ -45,10 +47,48 @@
 }
 </script>
 <script language="JavaScript" type="text/javascript" id="selectedColumn"></script>
+<!-- START OLD KEY DEFINITION
+
 <script language="JavaScript" type="text/javascript" id="keyMap"></script>
+
+END OLD KEY DEFINITION -->
 <script language="JavaScript" type="text/javascript" id="fieldScript"></script>
+
+
+<SCRIPT language="JavaScript" id="scriptOnLoad" type="text/javascript">
+ function buttonListShorcuts() {
+   return true;
+ }
+</SCRIPT>
+<script language="JavaScript" type="text/javascript">
+  function onLoadDo() {
+    this.windowTables = new Array(
+      new windowTableId('client')
+    );
+    setWindowTableParentElement();
+    this.tabsTables = new Array(
+      new tabTableId('tdtopTabs')
+    );
+    setTabTableParentElement();
+    enableShortcuts('edition');
+    resizeArea();
+    updateMenuIcon('buttonMenu');
+    try {
+      onloadClient();
+    } catch (e) {}
+    setWindowElementFocus('firstElement');
+    buttonListShorcuts();
+    xx();
+    
+  }
+
+  function onResizeDo() {
+    resizeArea();
+  }
+</script>
+
 </head>
-<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="resizeArea();updateMenuIcon('buttonMenu');onloadClient();xx();zz" onresize="resizeArea();" id="paramMessageAlert">
+<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="onLoadDo(); zz" onresize="onResizeDo();" id="paramMessageAlert">
 <form id="form" method="POST" action="Window_Edition.html" name="frmMain">
   <input type="hidden" name="Command">
   <input type="hidden" name="inpCommandType" value="" id="paramCommandType">
--- a/src-wad/src/org/openbravo/wad/Template_Relation.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/Template_Relation.html	Thu Mar 13 14:33:37 2008 +0000
@@ -33,7 +33,9 @@
 <script language="JavaScript" type="text/javascript" id="paramLanguage">
 	LNG_POR_DEFECTO = "en_US";
 </script>
+<SCRIPT language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<SCRIPT language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
 <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
@@ -109,13 +111,41 @@
 </script>
 <script language="JavaScript" type="text/javascript" id="selectedColumn"></script>
 <script language="JavaScript" type="text/javascript" id="fieldScript"></script>
+<!-- START OLD KEY DEFINITION
+
 <script language="JavaScript" type="text/javascript" id="keyMap"></script>
+
+END OLD KEY DEFINITION -->
 <script language="JavaScript" type="text/javascript">
   //all dojo.require above this line
   dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
 </script>
+
+<script language="JavaScript" type="text/javascript">
+  function onLoadDo() {
+    this.windowTables = new Array(
+      new windowTableId('client')
+    );
+    setWindowTableParentElement();
+    this.tabsTables = new Array(
+      new tabTableId('tdtopTabs')
+    );
+    setTabTableParentElement();
+    enableShortcuts('relation');
+
+    resizeArea();
+    updateMenuIcon('buttonMenu');
+    setWindowElementFocus('firstElement');
+  }
+
+  function onResizeDo() {
+    resizeArea(true);
+    calculateMsgBoxWidth();
+  }
+</script>
+
 </head>
-<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="resizeArea();calculateMsgBoxWidth();updateMenuIcon('buttonMenu');" onresize="resizeArea(true);calculateMsgBoxWidth();">
+<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <form id="form" method="POST" action="Window_Edition.html" name="frmMain">
 <input type="hidden" name="Command">
 <input type="hidden" name="inpTabId" value="" id="fieldTabId">
--- a/src-wad/src/org/openbravo/wad/Wad.java	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/Wad.java	Thu Mar 13 14:33:37 2008 +0000
@@ -32,6 +32,8 @@
 import java.io.*;
 import javax.servlet.*;
 
+import java.util.HashMap;
+import java.util.Iterator;
 import java.util.StringTokenizer;
 import java.util.Vector;
 import java.util.Enumeration;
@@ -1393,6 +1395,7 @@
     String hasTree = TableLinkData.hasTree(pool, strTab);
     boolean noPInstance = (ActionButtonRelationData.select(pool, strTab).length == 0);
     boolean noActionButton = FieldsData.hasActionButton(pool, strTab).equals("0");
+    HashMap<String, String> shortcuts = new HashMap<String, String>();
     StringBuffer dl = new StringBuffer();
     StringBuffer readOnlyLogic = new StringBuffer();
     //Auxiliary fields of the window
@@ -1446,7 +1449,7 @@
       }
     }
     
-    String[] discard = {"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "hasReference", "", "", ""};
+    String[] discard = {"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "hasReference", "", "", "", "", ""};
     if (parentsFieldsData==null || parentsFieldsData.length == 0) {
       discard[0] = "parent";  // remove the parent tags
       hasParentsFields=false;
@@ -1480,6 +1483,9 @@
     if (!editReference.equals("")) discard[21]="NothasReference";
     if ((noPInstance)&&(noActionButton)) discard[22]="hasAdPInstance";
     if (noActionButton) discard[23]="hasAdActionButton";
+    if (FieldsData.hasButtonList(pool, strTab).equals("0")) discard[25]="buttonList";
+    if (FieldsData.hasButtonFixed(pool, strTab).equals("0")) discard[26]="buttonFixed";
+    
     
     xmlDocument = xmlEngine.readXmlTemplate("org/openbravo/wad/javasource", discard).createXmlDocument();
     
@@ -1850,7 +1856,21 @@
         controlsJavaSource.append("    try {\n      ComboTableData comboTableData = null;\n");
       }
       controlsJavaSource.append(auxControl.toJava()).append((auxControl.toJava().equals("")?"":"\n"));
+      
+      if ((auxControl instanceof WADButton) && (auxControl.getData("IsDisplayed").equals("Y"))) {
+        ((WADButton)auxControl).setShortcuts(shortcuts);
+      } 
     }
+    
+    //Shorcuts for buttons
+    FieldsData[] shortcutsAux = new FieldsData[shortcuts.size()];
+    Iterator<String> ik = shortcuts.keySet().iterator();
+    for (int i=0; i<shortcuts.size();i++) {
+      shortcutsAux[i] = new FieldsData();
+      if (ik.hasNext()) shortcutsAux[i].name = ik.next(); 
+    }
+    xmlDocument.setData("structure37", shortcutsAux);
+    
     if (needsComboTableData) controlsJavaSource.append("    } catch (Exception ex) {\n      ex.printStackTrace();\n      throw new ServletException(ex);\n    }\n");
     xmlDocument.setParameter("controlsJavaCode", controlsJavaSource.toString());
     xmlDocument.setParameter("defaultValues", strDefaultValues.toString());
@@ -2803,6 +2823,9 @@
    */
   private void processTabHtmlEdition(FieldProvider[] efd, FieldProvider[] efdauxiliar, File fileDir, String strTab, String tabName, String keyColumnName, String tabNamePresentation, String windowId, FieldsData[] parentsFieldsData, Vector<Object> vecFields, boolean isreadonly, String isSOTrx, String strTable, double pixelSize, String strLanguage) throws ServletException, IOException {
     if (log4j.isDebugEnabled()) log4j.debug("Procesig edition html" + (strLanguage.equals("")?"":" translated") + ": " + strTab + ", " + tabName);
+    
+    HashMap<String, String> shortcuts = new HashMap<String, String>();
+    
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate("org/openbravo/wad/Template_Edition").createXmlDocument();
     xmlDocument.setParameter("tab", tabNamePresentation);
     xmlDocument.setParameter("form", tabName+ "_Relation.html");
@@ -2871,6 +2894,7 @@
       WADControl auxControl = null;
       try {
         auxControl = WadUtility.getControl(pool, efd[i], isreadonly, tabName, strLanguage, xmlEngine, (WadUtility.isInVector(vecDisplayLogic, efd[i].getField("columnname"))), WadUtility.isInVector(vecReloads, efd[i].getField("columnname")), WadUtility.isInVector(vecReadOnlyLogic, efd[i].getField("columnname")));
+        
       } catch (Exception ex) {
         throw new ServletException(ex);
       }
@@ -2917,6 +2941,9 @@
       if (auxControl.getData("IsDisplayed").equals("N")) {
         htmlHidden.append(auxControl.toString()).append("\n");
       } else {
+        if (auxControl instanceof WADButton){
+          ((WADButton)auxControl).setShortcuts(shortcuts);
+        }
         if (auxControl.getData("IsSameLine").equals("Y")) {
           columnType = COLUMN_2_OF_2;
           html.append("<td");
@@ -3035,6 +3062,8 @@
       String _name = (String)e.nextElement();
       script.append(javaScriptFunctions.getProperty(_name)).append("\n");
     }
+    
+    String buttonShorcuts =  WadUtility.getbuttonShortcuts(shortcuts);
     script.append("\nfunction reloadComboReloads").append(strTab).append("(changedField) {\n");
     script.append("  submitCommandForm(changedField, false, null, '../ad_callouts/ComboReloads' + document.frmMain.inpTabId.value + '.html', 'frameOculto', null, null, true);\n");
     script.append("  return true;\n");
@@ -3061,6 +3090,7 @@
     script.append(onload);
     script.append("  displayLogic();\n");
     script.append("  readOnlyLogic();\n");
+    script.append(buttonShorcuts);
 //    script.append("  setInputValue(frm.inpLastFieldChanged, \"\");\n");
     script.append("  return true;\n");
     script.append("}\n");
--- a/src-wad/src/org/openbravo/wad/WadUtility.java	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/WadUtility.java	Thu Mar 13 14:33:37 2008 +0000
@@ -23,6 +23,7 @@
 import java.io.*;
 import javax.servlet.*;
 import java.util.*;
+
 import org.openbravo.database.ConnectionProvider;
 import org.openbravo.wad.controls.*;
 import org.openbravo.data.FieldProvider;
@@ -1862,6 +1863,7 @@
     _myClass.setInfo(prop);
     _myClass.initialize();
     _myClass.setConnection(null);
+    
     return _myClass;
   }
 
@@ -1883,6 +1885,17 @@
 
     return _displayLogic.toString();
   }
+  
+  public static String getbuttonShortcuts(HashMap<String, String> sc) {
+    StringBuffer shortcuts = new StringBuffer();
+    Iterator<String> ik = sc.keySet().iterator();
+    Iterator<String> iv = sc.values().iterator();
+    while(ik.hasNext() && iv.hasNext()){
+      //shortcuts.append("keyArray[keyArray.length] = new keyArrayItem(\"").append(ik.next()).append("\", \"").append(iv.next()).append("\", null, \"altKey\", false, \"onkeydown\");\n");
+      shortcuts.append("keyArray[keyArray.length] = new keyArrayItem(\"").append(ik.next()).append("\", \"").append(iv.next()).append("\", null, \"altKey\", false, \"onkeydown\");\n");
+    }
+    return shortcuts.toString();
+  }
   public static String getDisplayLogicForGroups(String strFieldGroup, StringBuffer code) {
     if ((code == null)||(code.length()==0)) return "";
     StringBuffer _displayLogic = new StringBuffer();
--- a/src-wad/src/org/openbravo/wad/controls/WADButton.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/controls/WADButton.html	Thu Mar 13 14:33:37 2008 +0000
@@ -24,11 +24,11 @@
 <div id="xx_inp">
   <input type="hidden" name="inpxx" value="" onchange="logChanges(this.inputNode);xx();return true;" id="xx"/>
   <a class="ButtonLink" href="#"
-    onfocus="this.className='ButtonLink_hover'; window.status='xx'; return true;"
-    onblur="this.className='ButtonLink'; window.status=''; return true;"
+    onfocus="setWindowElementFocus(this); window.status='xx'; return true;"
+    onblur="window.status=''; return true;"
     onkeypress="this.className='ButtonLink_active'; return true;"
-    onkeyup="this.className='ButtonLink_hover'; return true;"
-    onclick="xx();return false;" id="fieldLink">
+    onkeyup="this.className='ButtonLink_focus'; return true;"
+    onclick="xx();return false;" id="xx_linkBTN">
     <table class="Button"
       onmousedown="this.className='Button_active'; return true;"
       onmouseup="this.className='Button'; return true;"
@@ -37,7 +37,7 @@
       id="fieldTable">
       <tr>
         <td class="Button_left"><img class="Button_Icon Button_Icon_process" alt="xx" title="xx" src="../../../../../web/images/blank.gif" border=0 id="fieldButton"/></td>
-      <td class="Button_text" id="xx_BTN">xx</td>
+      <td class="Button_text" id="xx_BTNname">xx</td>
         <td class="Button_right"></td>
       </tr>
     </table>
--- a/src-wad/src/org/openbravo/wad/controls/WADButton.java	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/controls/WADButton.java	Thu Mar 13 14:33:37 2008 +0000
@@ -19,11 +19,12 @@
 package org.openbravo.wad.controls;
 
 import java.util.*;
+
 import org.openbravo.utils.FormatUtilities;
 import org.openbravo.xmlEngine.XmlDocument;
 
 public class WADButton extends WADControl {
-
+  private String shortcut="";
   public WADButton() {
   }
 
@@ -31,6 +32,10 @@
     setInfo(prop);
     initialize();
   }
+  
+  public void setShortcuts(HashMap<String, String> sc){
+    setData("nameButton", getNameButton(sc));
+  }
 
   public void initialize() {
     generateJSCode();
@@ -40,19 +45,49 @@
     setValidation("");
     setCalloutJS();
   }
+  
+  private String getNameButton(HashMap<String, String> sc){
+    String name = getData("Name");
+    String retVal = "";
+    String buttonId = getData("ColumnName")+"_linkBTN";
+    
+    if (!(getData("IsDisplayed").equals("Y") && !getData("AD_Reference_Value_ID").equals("") && !getData("ColumnName").equalsIgnoreCase("ChangeProjectStatus"))) {
+      int i = 0;
+      while ((i<name.length()) && sc.containsKey(name.substring(i, i+1).toUpperCase())) { 
+        retVal += name.substring(i, i+1);
+        i++;
+      }
+      if (i==name.length()) {
+        i = 1;
+        while (i<=10 && sc.containsKey(new Integer(i).toString())) i++;
+        if (i<10) {
+          retVal +="<span>(<u>"+i+"</u>)</span>";
+          sc.put(new Integer(i).toString(), "executeWindowButton('"+buttonId+"');");
+          shortcut=new Integer(i).toString();
+        }
+      } else {
+        sc.put(name.substring(i,i+1).toUpperCase(), "executeWindowButton('"+buttonId+"');");
+        shortcut=name.substring(i,i+1).toUpperCase();
+        retVal += "<u>"+name.substring(i,i+1)+"</u>"+name.substring(i+1);
+      }
+    } /*else {
+      int i = 1;
+      while (i<=10 && sc.containsKey(new Integer(i).toString())) i++;
+      retVal=name;
+      if (i<10) {
+        retVal +="<span>(<u>"+i+"</u>)</span>";
+        sc.put(new Integer(i).toString(), "executeWindowButton('"+buttonId+"');"); 
+      }
+    }*/
+      
+    return retVal;
+  }
 
   public String getType() {
     return "Button_CenterAlign";
   }
 
-  public String editMode() {
-    XmlDocument xmlDocument = getReportEngine().readXmlTemplate("org/openbravo/wad/controls/WADButton").createXmlDocument();
-
-    xmlDocument.setParameter("columnName", getData("ColumnName"));
-    xmlDocument.setParameter("columnNameInp", getData("ColumnNameInp"));
-    xmlDocument.setParameter("name", getData("Name"));
-
-    xmlDocument.setParameter("callout", getOnChangeCode());
+  private StringBuffer getAction(){
     StringBuffer text = new StringBuffer();
     if (getData("MappingName").equals("")) {
       text.append("openServletNewWindow('BUTTON").append(FormatUtilities.replace(getData("ColumnName"))).append(getData("AD_Process_ID"));
@@ -66,9 +101,20 @@
       text.append(getData("MappingName")).append("', 'BUTTON', '").append(getData("AD_Process_ID")).append("', true");
       text.append(",600, 900);");
     }
-    /*if (getData("IsReadOnly").equals("Y") || getData("IsReadOnlyTab").equals("Y") || getData("IsUpdateable").equals("N")) {
-      xmlDocument.setParameter("action", "");
-    } else */xmlDocument.setParameter("action", text.toString());
+    return text;
+  }
+  
+  public String editMode() {
+    XmlDocument xmlDocument = getReportEngine().readXmlTemplate("org/openbravo/wad/controls/WADButton").createXmlDocument();
+
+    xmlDocument.setParameter("columnName", getData("ColumnName"));
+    xmlDocument.setParameter("columnNameInp", getData("ColumnNameInp"));
+    xmlDocument.setParameter("nameHTML", getData("nameButton"));
+    xmlDocument.setParameter("name", getData("Name"));
+
+    xmlDocument.setParameter("callout", getOnChangeCode());
+    
+    xmlDocument.setParameter("action", getAction().toString());
     return replaceHTML(xmlDocument.print());
   }
 
@@ -77,25 +123,13 @@
 
     xmlDocument.setParameter("columnName", getData("ColumnName"));
     xmlDocument.setParameter("columnNameInp", getData("ColumnNameInp"));
+    xmlDocument.setParameter("nameHTML", getData("nameButton"));
     xmlDocument.setParameter("name", getData("Name"));
+    
 
     xmlDocument.setParameter("callout", getOnChangeCode());
-    StringBuffer text = new StringBuffer();
-    if (getData("MappingName").equals("")) {
-      text.append("openServletNewWindow('BUTTON").append(FormatUtilities.replace(getData("ColumnName"))).append(getData("AD_Process_ID"));
-      text.append("', false, '").append(getData("TabName")).append("_Edition.html', 'BUTTON', null, true");
-      if (getData("ColumnName").equalsIgnoreCase("CreateFrom")) text.append(",600, 900");
-      else text.append(", 600, 900");
-      text.append(");");
-    } else {
-      text.append("openServletNewWindow('DEFAULT', false, '..");
-      if (!getData("MappingName").startsWith("/")) text.append('/');
-      text.append(getData("MappingName")).append("', 'BUTTON', '").append(getData("AD_Process_ID")).append("', true");
-      text.append(",600, 900);");
-    }
-    /*if (getData("IsReadOnly").equals("Y") || getData("IsReadOnlyTab").equals("Y")) {
-      xmlDocument.setParameter("action", "");
-    } else */xmlDocument.setParameter("action", text.toString());
+    
+    xmlDocument.setParameter("action", getAction().toString());
     return replaceHTML(xmlDocument.print());
   }
 
@@ -111,6 +145,9 @@
         text.append("_BTN\" replaceCharacters=\"htmlPreformated\"/>");
       }
     } else {
+      if (getData("IsDisplayed").equals("Y") && !getData("AD_Reference_Value_ID").equals("") && !getData("ColumnName").equalsIgnoreCase("ChangeProjectStatus")) {
+        text.append("<PARAMETER id=\"").append(getData("ColumnName")).append("_BTNname\" name=\"").append(getData("ColumnName")).append("_BTNname\" default=\"\"/>\n");
+      }
       text.append("<FIELD id=\"").append(getData("ColumnName"));
       text.append("\" attribute=\"value\">").append(getData("ColumnName")).append("</FIELD>");
       if (getData("IsDisplayed").equals("Y") && !getData("AD_Reference_Value_ID").equals("") && !getData("ColumnName").equalsIgnoreCase("ChangeProjectStatus")) {
@@ -122,6 +159,9 @@
   }
 
   public String toJava() {
-    return "";
+    if (getData("IsDisplayed").equals("Y") && !getData("AD_Reference_Value_ID").equals("") && !getData("ColumnName").equalsIgnoreCase("ChangeProjectStatus"))
+      return "xmlDocument.setParameter(\""+getData("ColumnName")+"_BTNname\", getButtonName(vars, \""+getData("AD_Reference_Value_ID")+"\", (dataField==null?data[0].getField(\""+getData("ColumnNameInp")+"\"):dataField.getField(\""+getData("ColumnNameInp")+"\")), \""+getData("ColumnName")+"_linkBTN\"));";
+    else
+      return "";
   }
 }
--- a/src-wad/src/org/openbravo/wad/controls/WADButton.xml	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/controls/WADButton.xml	Thu Mar 13 14:33:37 2008 +0000
@@ -23,10 +23,11 @@
   <PARAMETER id="xx" name="columnName" attribute="id" replace="xx"/>
   <PARAMETER id="xx" name="columnNameInp" attribute="name" replace="xx"/>
   <PARAMETER id="xx" name="callout" attribute="onchange" replace="xx();"/>
-  <PARAMETER id="xx_BTN" name="columnName" attribute="id" replace="xx"/>
-  <PARAMETER id="xx_BTN" name="name"/>
-  <PARAMETER id="fieldLink" name="action" attribute="onclick" replace="xx();"/>
-  <PARAMETER id="fieldLink" name="name" attribute="onfocus" replace="xx"/>
+  <PARAMETER id="xx_BTNname" name="columnName" attribute="id" replace="xx"/>
+  <PARAMETER id="xx_BTNname" name="nameHTML"/>
+  <PARAMETER id="xx_linkBTN" name="action" attribute="onclick" replace="xx();"/>
+  <PARAMETER id="xx_linkBTN" name="name" attribute="onfocus" replace="xx"/>
+  <PARAMETER id="xx_linkBTN" name="columnName" attribute="id" replace="xx"/>
   <PARAMETER id="fieldTable" name="name" attribute="onmouseover" replace="xx"/>
   <PARAMETER id="fieldButton" name="name" attribute="alt"/>
   <PARAMETER id="fieldButton" name="name" attribute="title"/>
--- a/src-wad/src/org/openbravo/wad/controls/WADFieldButton.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/controls/WADFieldButton.html	Thu Mar 13 14:33:37 2008 +0000
@@ -20,10 +20,10 @@
 
 
 <a class="FieldButtonLink" href="#"
-  onfocus="this.className='FieldButtonLink_hover'; window.status='xx'; return true;"
-  onblur="this.className='FieldButtonLink'; window.status=''; return true;"
+  onfocus="setWindowElementFocus(this); window.status='xx'; return true;"
+  onblur="window.status=''; return true;"
   onkeypress="this.className='FieldButtonLink_active'; return true;"
-  onkeyup="this.className='FieldButtonLink_hover'; return true;"
+  onkeyup="this.className='FieldButtonLink_focus'; return true;"
   onclick="xx();return false;" id="fieldLink">
   <table class="FieldButton"
     onmousedown="this.className='FieldButton_active'; return true;"
--- a/src-wad/src/org/openbravo/wad/controls/WADGrid.java	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/controls/WADGrid.java	Thu Mar 13 14:33:37 2008 +0000
@@ -119,7 +119,7 @@
 
   public String toString() {
     StringBuffer text = new StringBuffer();
-    text.append("<TABLE width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" class=\"Main_Client_TableRelation\"><TR><TD>");
+    text.append("<TABLE width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" class=\"Main_Client_TableRelation\" id=\"grid_table\"><TR><TD>");
     text.append("<div id=\"").append(getData("id")).append("\" dojoType=\"openbravo:DataGrid\"\n");
     text.append("      structureUrl=\"../utility/DataGrid.html?Command=STRUCTURE&inpadTabId=");
     text.append(getData("AD_Tab_ID")).append("&inpadWindowId=");
--- a/src-wad/src/org/openbravo/wad/controls/WADSearch.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/controls/WADSearch.html	Thu Mar 13 14:33:37 2008 +0000
@@ -28,7 +28,7 @@
         <TR>
           <TD style="padding-top: 0px;">
             <FIELD_TMP id="fieldHiddens"/>
-            <input type="text" class="dojoValidateValidxx TextBox_yy_width" maxlength="xx" name="inpxx_R" id="xx_R" value="" required="false" onkeyup="validateTextBox(this.id);"/>
+            <input type="text" class="dojoValidateValidxx TextBox_yy_width" maxlength="xx" name="inpxx_R" id="xx_R" value="" required="false" onchange="validateTextBox(this.id);"/>
           </td>
         </tr>
       </table>
--- a/src-wad/src/org/openbravo/wad/controls/WADYesNo.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/controls/WADYesNo.html	Thu Mar 13 14:33:37 2008 +0000
@@ -20,6 +20,6 @@
 
 <FIELD_TMP>
   <div id="xx_inp">
-    <input type="checkbox" name="inpxx" id="xx" value="Y" onclick="logChanges(this.inputNode);xx();return true;" required="false"/>
+    <span class="Checkbox_container_NOT_Focused"><input type="checkbox" name="inpxx" id="xx" value="Y" onclick="logChanges(this.inputNode);xx();return true;" required="false"/></span>
   </div>
 </FIELD_TMP>
--- a/src-wad/src/org/openbravo/wad/datasource.xsqlxml	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/datasource.xsqlxml	Thu Mar 13 14:33:37 2008 +0000
@@ -27,7 +27,7 @@
     <SqlMethodComment>Select for relation</SqlMethodComment>
     <Sql>&#60;&#33;[CDATA[
         SELECT <PARAMETER_TMP id="fields">field</PARAMETER_TMP> 
-        '' AS TR_BGCOLOR , 
+        '' AS TR_BGCOLOR,
         <PARAMETER_TMP id="table">table</PARAMETER_TMP>.Created, 
         <PARAMETER_TMP id="table">table</PARAMETER_TMP>.CreatedBy, 
         <PARAMETER_TMP id="table">table</PARAMETER_TMP>.Updated, 
@@ -234,4 +234,6 @@
     <Parameter name="param1"/>
     <PARAMETER_TMP id="parent">    <Parameter name="param1" id="paramKeyParent"/></PARAMETER_TMP>
   </SqlMethod>
+  
+
 </SqlClass>
--- a/src-wad/src/org/openbravo/wad/javasource.javaxml	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/javasource.javaxml	Thu Mar 13 14:33:37 2008 +0000
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2008 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -40,9 +40,14 @@
 import java.io.*;
 import javax.servlet.*;
 import javax.servlet.http.*;
+import java.util.*;
 
 public class <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP> extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
+  private HashMap&#60;String, String&#62; usedButtonShortCuts;
+  <PARAMETER_TMP id="buttonFixed">
+  private HashMap&#60;String, String&#62; reservedButtonShortCuts;
+  </PARAMETER_TMP>
   protected static final String windowId = "<PARAMETER_TMP id="windowId">Almacen</PARAMETER_TMP>";
   protected static final String tabId = "<PARAMETER_TMP id="tabId">Almacen</PARAMETER_TMP>";
   protected static final String defaultTabView = "<PARAMETER_TMP id="defaultView">RELATION</PARAMETER_TMP>";
@@ -780,6 +785,15 @@
   void printPageEdit(HttpServletResponse response, HttpServletRequest request, VariablesSecureApp vars,boolean boolNew, String str<KEY_TMP id="key">PosicionAlmacen</KEY_TMP><PARAMETER_TMP id="parent">, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP></PARAMETER_TMP>)
     throws IOException, ServletException {
     if (log4j.isDebugEnabled()) log4j.debug("Output: edit");
+    
+    usedButtonShortCuts = new HashMap&#60;String, String&#62;();
+    <PARAMETER_TMP id="buttonFixed">
+    reservedButtonShortCuts = new HashMap&#60;String, String&#62;();
+    </PARAMETER_TMP>
+    <PARAMETERS_TMP id="sectionButtonShorcuts">
+    reservedButtonShortCuts.put("<FIELD_TMP id="fieldButtonSCName"/>","");
+    </PARAMETERS_TMP>
+    
     String strOrderByFilter = vars.getSessionValue(tabId + "|orderby");
     String orderClause = "<PARAMETER_TMP id="order">orderByClause</PARAMETER_TMP>";
     if (strOrderByFilter==null || strOrderByFilter.equals("")) strOrderByFilter = orderClause;
@@ -918,6 +932,8 @@
       xmlDocument.setData("structure1",dataAux);
     }
 <PARAMATER_TMP id="fieldControlsJavaCode"></PARAMATER_TMP>
+    xmlDocument.setParameter("scriptOnLoad", getShortcutScript());
+    
     response.setContentType("text/html; charset=UTF-8");
     PrintWriter out = response.getWriter();
     out.println(xmlDocument.print());
@@ -959,6 +975,7 @@
       }
 
       <FIELD_TMP id="JavaCode2">javaCode</FIELD_TMP>
+      
       out.println(xmlDocument.print());
       out.close();
     }
@@ -1010,6 +1027,57 @@
     }
 </FIELDS_TMP>
 
+<PARAMETER_TMP id="buttonList">
+  private String getButtonName(VariablesSecureApp vars, String reference, String currentValue, String buttonId) {
+    try {
+      UtilityData[] data= UtilityData.selectReference(this, vars.getLanguage(), reference);
+      String retVal="";
+      if (currentValue.equals("--")) currentValue="CL";
+      if (data==null) return retVal;
+      for (int j=0; j&lt;data.length; j++) {
+        int i = 0;
+        String name = data[j].name;
+        while ((i&lt;name.length()) &amp;&amp;(name.substring(i,i+1).equals(" ") || reservedButtonShortCuts.containsKey(name.substring(i, i+1).toUpperCase()))) { 
+          if (data[j].value.equals(currentValue)) retVal += name.substring(i, i+1);
+          i++;
+        }
+        if ((i==name.length()) &amp;&amp; (data[j].value.equals(currentValue))) {
+          i = 1;
+          while (i&lt;=10 &amp;&amp; reservedButtonShortCuts.containsKey(new Integer(i).toString())) i++;
+          if (i&lt;10) {
+            if (data[j].value.equals(currentValue)) retVal +="&lt;span&gt;(&lt;u&gt;"+i+"&lt;/u&gt;)&lt;/span&gt;";
+            reservedButtonShortCuts.put(new Integer(i).toString(), "");
+            usedButtonShortCuts.put(new Integer(i).toString(), "executeWindowButton('"+buttonId+"');");
+          }
+        } else {
+          if (i&lt;name.length()) reservedButtonShortCuts.put(name.substring(i,i+1).toUpperCase(), "");
+          if (data[j].value.equals(currentValue)) {
+            usedButtonShortCuts.put(name.substring(i,i+1).toUpperCase(),  "executeWindowButton('"+buttonId+"');");
+            retVal += "&lt;u&gt;"+name.substring(i,i+1)+"&lt;/u&gt;"+name.substring(i+1);
+          }
+        }
+      }
+      
+      return retVal;
+    } catch(Exception e) {
+      log4j.error(e.toString());
+      return currentValue;
+    }
+  }
+ </PARAMETER_TMP>
+ 
+  private String getShortcutScript(){
+    StringBuffer shortcuts = new StringBuffer();
+    shortcuts.append(" function buttonListShorcuts() {\n");
+    Iterator&lt;String&gt; ik = usedButtonShortCuts.keySet().iterator();
+    Iterator&lt;String&gt; iv = usedButtonShortCuts.values().iterator();
+    while(ik.hasNext() &amp;&amp; iv.hasNext()){
+      shortcuts.append("  keyArray[keyArray.length] = new keyArrayItem(\"").append(ik.next()).append("\", \"").append(iv.next()).append("\", null, \"altKey\", false, \"onkeydown\");\n");
+    }
+    shortcuts.append(" return true;\n}");
+    return shortcuts.toString();
+  }
+
   public String getServletInfo() {
     return "Servlet <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>. This Servlet was made by Wad constructor";
   } // End of getServletInfo() method
--- a/src-wad/src/org/openbravo/wad/javasource.xml	Thu Mar 13 10:27:24 2008 +0000
+++ b/src-wad/src/org/openbravo/wad/javasource.xml	Thu Mar 13 14:33:37 2008 +0000
@@ -268,4 +268,9 @@
   <SECTION id="sectionButtonText"/>
 </structure>
 
+<structure name="structure37">
+  <FIELD id="fieldButtonSCName">name</FIELD>
+  <SECTION id="sectionButtonShorcuts"/>
+</structure>
+
 </REPORT>
--- a/src/org/openbravo/erpCommon/ad_actionButton/ChangeProjectStatus.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ChangeProjectStatus.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
     <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
     <script language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</script>
+    <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+    <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
-    <script language="JavaScript" type="text/javascript" id="keyMap"></script>
     <script type="text/javascript">
       dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
     </script>
@@ -62,10 +63,23 @@
         return true;
       }
     </script>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
 
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </head>
 
-<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
   <form id="form" method="POST" action="Window_Edition.html" name="frmMain">
     <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -127,7 +141,7 @@
 
       <tr>
         <td>
-          <div class="Popup_ContentPane_Client" style="overflow: auto;">
+          <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
             <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
               <tr>
@@ -153,7 +167,7 @@
                 <td></td>
                 <td class="Button_RightAlign_ContentCell">
                   <div>
-                    <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE_BUTTONChangeProjectStatusxx');return false;" id="linkButtonOk">
+                    <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE_BUTTONChangeProjectStatusxx');return false;" id="linkButtonOk">
                     <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                       <tr>
                         <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -166,7 +180,7 @@
                 </td>
                 <td class="Button_LeftAlign_ContentCell">
                   <div>
-                    <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                    <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
                     <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                       <tr>
                         <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/ClearSession.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ClearSession.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -41,9 +42,23 @@
         return true;
     }
   </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>  
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" id="paramMessage">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();" id="paramMessage">
 <FORM id="form" method="POST" action="ClearSession.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -107,7 +122,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
@@ -123,7 +138,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitCommandForm('CLEAR', false);return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('CLEAR', false);return false;">
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0 id="buttonOk"/></td>
@@ -136,7 +151,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
                   <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0 id="buttonCancel"/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.html	Thu Mar 13 14:33:37 2008 +0000
@@ -27,9 +27,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -48,9 +49,25 @@
     return true;
   }
   </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		xx();
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" id="paramMessage" onload="xx();">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" id="paramMessage" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="CopyFromInvoice.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -111,7 +128,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
@@ -159,7 +176,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
                   <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -172,7 +189,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -46,9 +47,23 @@
     return true;
   }
   </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>    
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="CopyFromOrder.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -109,7 +124,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
@@ -158,7 +173,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;">
             <table class="Button" onclick="submitThisPage('SAVE');return false;" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -171,7 +186,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -202,7 +217,7 @@
       <td align="center"> <TABLE cellspacing="0" cellpadding="0" border="0">
           <TR> 
             <TD > <SPAN >Order:</SPAN>&nbsp;</TD>
-            <TD  > <INPUT type="hidden" name="inpcOrderId" value=""></INPUT> 
+            <TD > <INPUT type="hidden" name="inpcOrderId" value=""></INPUT> 
               <INPUT type="text" name="inpcOrderId_D" size="20" maxlength="20" value=""></INPUT>
             </td>
             <td>&nbsp;</td>
@@ -216,15 +231,15 @@
   <BR></BR>
   <TABLE cellspacing="0" cellpadding="0" border="0">
     <TR> 
-      <TD  id="question">&nbsp;</TD>
+      <TD id="question">&nbsp;</TD>
     </TR>
   </TABLE>
   <TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
     <TR> 
       <td>&nbsp;</td>
-      <TD  width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
         <img width="16" height="16" src="../../../../../web/images/Cancel.jpg"  alt="Cancel" title="Cancel" border="0" id="buttonCancel"></IMG></A></TD>
-      <TD  width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
         <img width="16" height="16" src="../../../../../web/images/Ok.jpg"  alt="Accept" title="Accept" border="0" id="buttonOk"></IMG></A></TD>
       <td>&nbsp;</td>
     </TR>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_F1.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_F1.html	Thu Mar 13 14:33:37 2008 +0000
@@ -29,12 +29,13 @@
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
   <SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
-<SCRIPT language="JavaScript" type="text/javascript">
+  <SCRIPT language="JavaScript" type="text/javascript">
 
-enableShortcuts();
+
 
 function marcarTodosDatos(chk, bolMarcar)
 {
@@ -109,10 +110,32 @@
   </script>
 
 
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('client', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		this.tabsTables = new Array(
+		  new tabTableId('tdtopTabs')
+		);
+		setTabTableParentElement();
+		enableShortcuts('popup');
+		
+		resizeArea();
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+		resizeArea();
+	}
+	</SCRIPT>
 </HEAD>
 
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="resizeArea();" onresize="resizeArea();">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="../ad_actionButton/CopyFromOrder_F1.html" name="frmMain">
 <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -370,7 +393,7 @@
                     <DIV id="sectionDetail">
                       <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" onclick="selectActual(this); return true;" ondblclick="checkActual(this); return true;" id="funcEvenOddRowxx"> 
                         <TD width="2%" class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_CheckBox">
-                          <INPUT type="checkbox" name="inpRownumId" onclick="loadData(this.value, this.checked);return true;" id="CheckNumxx" value="xx"></INPUT>
+                          <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpRownumId" onclick="loadData(this.value, this.checked);return true;" id="CheckNumxx" value="xx"></INPUT></SPAN>
                         </TD>
                         <TD width="20%" class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id=""><INPUT type="hidden" name="inpmProductIdxx" id="fieldProductid" value=""></INPUT><span id="fieldProductname">xxPimientos de vinagre</span></TD>
                         <TD width="9%" class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);"><INPUT type="hidden" name="inpmAttributesetinstanceIdxx" id="fieldmAttributesetinstanceId" value=""></INPUT><span id="fieldDescription">xxExtraLarge</span></TD>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_F2.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_F2.html	Thu Mar 13 14:33:37 2008 +0000
@@ -27,10 +27,11 @@
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
-<SCRIPT language="JavaScript" type="text/javascript">
+  <SCRIPT language="JavaScript" type="text/javascript">
 function closeThisPage() {
   top.close();
   return true;
@@ -44,12 +45,25 @@
   return true;
 }
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('client', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>  
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <table cellspacing="0" cellpadding="0" width="100%">
   <tr>
     <td>
-      <div class="Popup_ContentPane_Client" style="overflow: auto;">
+      <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
         <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
           <tr>
             <td class="TableEdition_OneCell_width"></td>
@@ -61,7 +75,7 @@
             <td></td>
             <td class="Button_RightAlign_ContentCell">
               <div>
-                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                   <tr>
                     <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -74,7 +88,7 @@
             </td>
             <td class="Button_LeftAlign_ContentCell">
               <div>
-                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                   <tr>
                     <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -46,9 +47,23 @@
     return true;
   }
   </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>    
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="CopyFromPOOrder.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -109,7 +124,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
@@ -157,7 +172,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -170,7 +185,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -196,9 +211,9 @@
 <!--<TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
     <TR> 
       <td>&nbsp;</td>
-      <TD  width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
         <img width="16" height="16" src="../../../../../web/images/Cancel.jpg"  alt="Cancel" title="Cancel" border="0" id="buttonCancel"></IMG></A></TD>
-      <TD  width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
         <img width="16" height="16" src="../../../../../web/images/Ok.jpg"  alt="Accept" title="Accept" border="0" id="buttonOk"></IMG></A></TD>
       <td>&nbsp;</td>
     </TR>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F1.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F1.html	Thu Mar 13 14:33:37 2008 +0000
@@ -25,7 +25,9 @@
     <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
     <script language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></script>
     <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-    <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+    <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+    <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+    <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
     <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
     <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
     <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
@@ -36,7 +38,6 @@
     <script language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
-    <script language="JavaScript" type="text/javascript" id="keyMap"></script>
     <script type="text/javascript">
       dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
     </script>
@@ -82,8 +83,25 @@
       }
     </script>
 
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client1', 'superior'),
+		  new windowTableId('client2', 'inferior')
+		);
+		setWindowTableParentElement();
+
+		enableShortcuts('popup');
+		
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="setFocusFirstControl();">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM name="frmMain" method="POST" action="CopyFromSettlement_F1.html" target="superior">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -120,7 +138,7 @@
   </TR>
   <TR>
     <TD>
-      <DIV class="Popup_ContentPane_Client" style="overflow: auto;">
+      <DIV class="Popup_ContentPane_Client" style="overflow: auto;" id="client1">
                             <!-- MessageBox -->
                             <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
                               <TBODY>
@@ -215,7 +233,7 @@
             <TD class="TableEdition_OneCell_width"></TD>
           </TR>
           <TR>
-            <TD class="TitleCell"> <SPAN class="LabelText">From Date</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">From Date</SPAN></TD>
             <TD class="TextBox_btn_ContentCell">
               <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                 <TR>
@@ -223,7 +241,7 @@
                     <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width required" required="true" type="text" name="inpDateFrom" id="paramDateFrom" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramDateFrom");</script>                    
                   </TD>
                   <TD class="FieldButton_bg">
-                    <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='xx'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onclick="showCalendar('frmMain.inpDateFrom', document.frmMain.inpDateFrom.value, false);return false;" >
+                    <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='xx'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="showCalendar('frmMain.inpDateFrom', document.frmMain.inpDateFrom.value, false);return false;" >
                     <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
                       <TR>
                         <TD class="FieldButton_bg">
@@ -236,7 +254,7 @@
                 </TR>
               </TABLE>
             </TD>
-            <TD class="TitleCell"> <SPAN class="LabelText">To Date</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">To Date</SPAN></TD>
             <TD class="TextBox_btn_ContentCell">
               <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                 <TR>
@@ -244,7 +262,7 @@
                     <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width required" required="true" type="text" name="inpDateTo" id="paramDateTo" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramDateTo");</script>
                   </TD>
                   <TD class="FieldButton_bg">
-                    <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='xx'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onclick="showCalendar('frmMain.inpDateTo', document.frmMain.inpDateTo.value, false);return false;" >
+                    <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='xx'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="showCalendar('frmMain.inpDateTo', document.frmMain.inpDateTo.value, false);return false;" >
                      <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
                      <TR>
                         <TD class="FieldButton_bg">
@@ -257,19 +275,19 @@
                 </TR>
               </TABLE>
             </TD>
-            <TD class="TitleCell"> <SPAN class="LabelText">Document No.</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">Document No.</SPAN></TD>
             <TD class="TextBox_ContentCell"><INPUT type="text" name="inpDocumentNo" id="paramDocumentNo" size="10" maxlength="10" value="" class="dojoValidateValid TextBox_OneCell_width"></INPUT>
 </TD>
           </TR>
           <TR> 
-            <TD class="TitleCell"> <SPAN class="LabelText">Description:</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">Description:</SPAN></TD>
             <TD class="ContentCell" colspan="5"> <TEXTAREA class="TextArea_FiveCells_width" cols="70" rows="2" name="inpDescription" id="paramDescription" onclick="logChanges(this);return true;"></TEXTAREA></TD>
           </TR>
           <tr>
             <TD></TD>
             <TD class="Button_CenterAlign_ContentCell">
               <div>
-                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Results'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitCommandForm('FIND', true, null, null, 'superior');return false;">
+                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Results'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('FIND', true, null, null, 'superior');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Results';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                   <tr>
                     <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="View Results in a New Window" title="View Results in a New Window" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -302,7 +320,7 @@
       </TR>
       <DIV id="sectionDetail"> 
         <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="funcEvenOddRowxx" onclick="selectActual(this); submitCommandFormParameter('FRAME4',document.frmMain.inpcSettlementFromFrame4, 'xx', false, null, null, 'superior');">
-          <TD width="25px" class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_RadioButton"><INPUT type="radio" name="inpcSettlementFromId" value="xx" class="CheckBox" id="CheckNumxx"></INPUT>
+          <TD width="25px" class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_RadioButton"><SPAN class="Radio_container_NOT_Focused"><INPUT type="radio" name="inpcSettlementFromId" value="xx" class="CheckBox" id="CheckNumxx"></INPUT></SPAN>
           </TD>
           <TD width="122px" class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDocumentNo">&nbsp;</TD>
           <TD width="419px" class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDescription">&nbsp;</TD>
@@ -357,7 +375,7 @@
               <INPUT dojotype="openbravo:DateTextbox" displayformat="DD-MM-YYYY" saveformat="DD-MM-YYYY" class="dojoValidateValid TextBox_btn_OneCell_width" type="text" name="inpDatexx"  id="paramfieldDate" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><SCRIPT>djConfig.searchIds.push("paramfieldDate");</SCRIPT>                       
               </TD>
               <TD class="FieldButton_bg">
-                <a id="dynamicDate" class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Calendar';return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onclick="showCalendar('frmMain.inpDatexx', document.frmMain.inpDateyy.value, false);return false;">
+                <a id="dynamicDate" class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Calendar';return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="showCalendar('frmMain.inpDatexx', document.frmMain.inpDateyy.value, false);return false;">
 			    <TABLE class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
                   <TR>
                     <TD class="FieldButton_bg">
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F2.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F2.html	Thu Mar 13 14:33:37 2008 +0000
@@ -33,7 +33,7 @@
       </TR>
       <DIV id="sectionDetail"> 
         <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="inpRecord10000003">
-          <TD width="24px"><INPUT type="radio" name="inpcSettlementFromId" value="xx" class="CheckBox" id="fieldcSettlementFromId" onclick="submitCommandFormParameter('FRAME4',document.frmSelector.inpcSettlementFromFrame4, 'xx', false, null, null, 'medioInferior');"></INPUT>
+          <TD width="24px"><SPAN class="Radio_container_NOT_Focused"><INPUT type="radio" name="inpcSettlementFromId" value="xx" class="CheckBox" id="fieldcSettlementFromId" onclick="submitCommandFormParameter('FRAME4',document.frmSelector.inpcSettlementFromFrame4, 'xx', false, null, null, 'medioInferior');"></INPUT></SPAN>
           </TD>
           <TD width="16%" class="cell" id="fieldDocumentNo">&nbsp;</TD>
           <TD width="58%" class="cell" id="fieldDescription">&nbsp;</TD>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F3.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F3.html	Thu Mar 13 14:33:37 2008 +0000
@@ -25,7 +25,9 @@
       <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
       <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
       <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" type="text/javascript">
   function enviarDatos() {
     if (parent.superior) {
@@ -38,12 +40,25 @@
         return true;
   }
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client1', 'superior'),
+		  new windowTableId('client2', 'inferior')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <table cellspacing="0" cellpadding="0" width="100%">
   <tr>
     <td>
-      <div class="Popup_ContentPane_Client" style="overflow: auto;">
+      <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client2">
         <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
 
           <tr>
@@ -61,7 +76,7 @@
             <td></td>
             <td class="Button_RightAlign_ContentCell">
               <div>
-                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="enviarDatos();return false;">
+                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="enviarDatos();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Accept';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                   <tr>
                     <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -74,7 +89,7 @@
             </td>
             <td class="Button_LeftAlign_ContentCell">
               <div>
-                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                   <tr>
                     <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F4.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement_F4.html	Thu Mar 13 14:33:37 2008 +0000
@@ -22,7 +22,9 @@
 <LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
       <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
+      <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
       <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+      <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
       <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
       <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
       <script type="text/javascript">
@@ -35,8 +37,24 @@
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">
 LNG_POR_DEFECTO="en_US";
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'superior'),
+		  new windowTableId('client2', 'medio'),
+		  new windowTableId('client3', 'inferior')
+		);
+		enableShortcuts('popup');
+		
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM name="frmMain" method="POST" action="CopyFromSettlement_F4.html">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -45,7 +63,7 @@
 <font size="-2">
 <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;">
   <tr><td>
-  <div class="Popup_ContentPane_Client" style="overflow: auto;">
+  <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client3">
     <TABLE cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector_Grid">
       <TR class="Popup_Client_Selector_DataGrid_HeaderRow"> 
         <TH width="18%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">Debt Payment</TH>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateCloseFactAcct.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateCloseFactAcct.html	Thu Mar 13 14:33:37 2008 +0000
@@ -52,7 +52,7 @@
   <INPUT type="hidden" name="inpTabId" value="" id="tab"></INPUT>
   <TABLE width="100%" cellspacing="0" cellpadding="0" border="1" >
     <TR> 
-      <TD  id="processDescription">&nbsp;</TD>
+      <TD id="processDescription">&nbsp;</TD>
     </TR>
     <TR></TR>
     <TR> 
@@ -63,7 +63,7 @@
   <BR></BR>
   <TABLE cellspacing="0" cellpadding="0" border="0" width="100%">
     <TR> 
-      <TD width="33%" > <INPUT type="checkbox" name="inpClose" id="paramClose" value="-1"></INPUT>
+      <TD width="33%" > <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpClose" id="paramClose" value="-1"></SPAN></INPUT>
       </TD>
       <TD width="17%" > <SPAN >Include closing 
         entry</SPAN></TD>
@@ -78,13 +78,13 @@
   </TABLE>
   <TABLE cellspacing="0" cellpadding="0" border="0">
     <TR> 
-      <TD  id="question">&nbsp;</TD>
+      <TD id="question">&nbsp;</TD>
     </TR>
   </TABLE>
   <TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
     <TR> 
       <td>&nbsp;</td>
-      <TD  > <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
+      <TD > <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
         <img src="../../../../../web/images/Cancel.jpg"  alt="Cancel" title="Cancel" border="0" id="buttonCancel"></IMG></A></TD>
       <TD > <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
         <img src="../../../../../web/images/Ok.jpg"  alt="Accept" title="Accept" border="0" id="buttonOk"></IMG></A></TD>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -46,9 +47,25 @@
     return true;
   }
   </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		xx();
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
 
-<BODY id="paramMessage" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="xx();">
+<BODY id="paramMessage" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="CreateFile.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -108,14 +125,14 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('GENERATE');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('GENERATE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -128,7 +145,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java	Thu Mar 13 14:33:37 2008 +0000
@@ -322,13 +322,6 @@
 		throw new ServletException(ex);
 	}
 
-    try {
-      KeyMap key = new KeyMap(this, vars, "CreateFrom_Bank.html");
-      xmlDocument.setParameter("keyMap", key.getActionButtonKeyMaps());
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
     xmlDocument.setData("structure1", data);
     response.setContentType("text/html; charset=UTF-8");
     PrintWriter out = response.getWriter();
@@ -411,13 +404,6 @@
       }
     }
 
-    try {
-      KeyMap key = new KeyMap(this, vars, "CreateFrom_Invoice.html");
-      xmlDocument.setParameter("keyMap", key.getActionButtonKeyMaps());
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
     xmlDocument.setData("structure1", data);
     response.setContentType("text/html; charset=UTF-8");
     PrintWriter out = response.getWriter();
@@ -501,13 +487,6 @@
       }
     }
 
-    try {
-      KeyMap key = new KeyMap(this, vars, "CreateFrom_Shipment.html");
-      xmlDocument.setParameter("keyMap", key.getActionButtonKeyMaps());
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
     xmlDocument.setData("structure1", data);
     response.setContentType("text/html; charset=UTF-8");
     PrintWriter out = response.getWriter();
@@ -682,13 +661,6 @@
     }
 
 
-    try {
-      KeyMap key = new KeyMap(this, vars, "CreateFrom_Settlement.html");
-      xmlDocument.setParameter("keyMap", key.getActionButtonKeyMaps());
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
     xmlDocument.setData("structure1", data);
 
     response.setContentType("text/html; charset=UTF-8");
@@ -805,13 +777,6 @@
     xmlDocument.setParameter("isreceiptPago", strIsReceipt);
     xmlDocument.setParameter("isreceiptCobro", strIsReceipt);
 
-    try {
-      KeyMap key = new KeyMap(this, vars, "CreateFrom_DPManagement.html");
-      xmlDocument.setParameter("keyMap", key.getActionButtonKeyMaps());
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
     xmlDocument.setData("structure1", data);
 
     response.setContentType("text/html; charset=UTF-8");
@@ -854,13 +819,6 @@
       data = CreateFromCRemittanceData.select(this, vars.getLanguage(), strMarcarTodos,  Utility.getContext(this, vars, "#User_Client", strWindowId), Utility.getContext(this, vars, "#User_Org", strWindowId), strOrgFamily, strcBPartner, strPaymentRule, strPlannedDateFrom, strPlannedDateTo, strIsReceipt, strAmountFrom, strAmountTo, strTotalAmount,strStatusFrom);
     }
 
-    try {
-      KeyMap key = new KeyMap(this, vars, "CreateFrom_CRemittance.html");
-      xmlDocument.setParameter("keyMap", key.getActionButtonKeyMaps());
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
     xmlDocument.setParameter("calendar", vars.getLanguage().substring(0,2));
     xmlDocument.setParameter("language", "LNG_POR_DEFECTO=\"" + vars.getLanguage() + "\";");
     xmlDocument.setParameter("direction", "var baseDirection = \"" + strReplaceWith + "/\";\n");
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_F2.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_F2.html	Thu Mar 13 14:33:37 2008 +0000
@@ -22,7 +22,9 @@
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8"></META> 
 <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript">
 function closeThisPage() {
@@ -38,14 +40,27 @@
 	return true;
 }
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('tdbottomButtons', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>   
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
-<TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
+<TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%"  id="tdbottomButtons">
   <TR> 
     <td>&nbsp;</td>
-    <TD  width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
+    <TD width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
       <img width="16" height="16" src="../../../../../web/images/Cancel.jpg"  alt="Cancel" title="Cancel" border="0" id="buttonCancel"></IMG></A></TD>
-    <TD  width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
+    <TD width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
       <img width="16" height="16" src="../../../../../web/images/Ok.jpg"  alt="Accept" title="Accept" border="0" id="buttonOk"></IMG></A></TD>
     <td>&nbsp;</td>
   </TR>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html	Thu Mar 13 14:33:37 2008 +0000
@@ -23,16 +23,15 @@
 <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">  LNG_POR_DEFECTO = "en_US";</SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "http://openbravo/web/";</SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript">
-keyArray = new Array(
-new keyArrayItem("ENTER", "openSearch(null, null, '../info/ProductComplete_FS.html', 'SELECTOR_PRODUCT', true, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null")
-);
-enableShortcuts();
+
 
 function debugSearch(key, text, keyField) {
   if (keyField=="inpmProductId") {
@@ -92,10 +91,30 @@
   new TypeAheadCombo("inpmInoutlineTypeId");
   new TypeAheadCombo("reportM_WAREHOUSE_ID");
   new TypeAheadCombo("inpmLocatorX");
+  keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/ProductComplete_FS.html', 'SELECTOR_PRODUCT', true, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null");
 }
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('tdbottomButtons', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		try {
+		  onloadFunctions();
+		} catch (e) {}
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="setFocusFirstControl();onloadFunctions();return true;">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="../ad_actionButton/CreateFromMultiple_F1.html" name="frmMain">
   <INPUT type="hidden" name="Command"></INPUT>
   <INPUT type="hidden" name="inpLastFieldChanged"></INPUT>
@@ -107,7 +126,7 @@
   <INPUT type="hidden" name="inpBPartner" value="" id="parambpartner"></INPUT> 
   <TABLE width="45%" cellspacing="0" cellpadding="0" border="1" >
     <TR> 
-      <TD  id="processDescription">&nbsp;</TD>
+      <TD id="processDescription">&nbsp;</TD>
     </TR>
     <TR></TR>
     <TR> 
@@ -115,7 +134,7 @@
     </TR>
   </TABLE>
   <BR></BR>
-  <TABLE border="0" cellspacing="0" cellpadding="0">
+  <TABLE border="0" cellspacing="0" cellpadding="0" id="client">
     <TR> 
       <TD width="127" > <SPAN >Product:</SPAN></TD>
       <TD colspan="3" > <INPUT type="hidden" name="inpmProductId"></INPUT> 
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.html	Thu Mar 13 14:33:37 2008 +0000
@@ -23,16 +23,14 @@
 <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "http://openbravo/web/";</SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript">
-keyArray = new Array(
-new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value, 'Command', 'KEY');", "inpcBpartnerId_DES", "null"), 
-new keyArrayItem("ENTER", "openSearch(null, null, '../info/ProductComplete_FS.html', 'SELECTOR_PRODUCT', false, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null")
-);
-enableShortcuts();
+
 
 function displayLogic() {
 	if (inputValue(document.frmMain.inphasseconduom) == 1) {
@@ -73,12 +71,34 @@
 }
 
 function onloadFunctions() {
-	new TypeAheadCombo("inpmWarehouseId");
+  new TypeAheadCombo("inpmWarehouseId");
   new TypeAheadCombo("inpmInoutlineTypeId");
+  keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value, 'Command', 'KEY');", "inpcBpartnerId_DES", "null"); 
+  keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/ProductComplete_FS.html', 'SELECTOR_PRODUCT', false, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null");
+  
 }
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('tdbottomButtons', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		try {
+		  onloadFunctions();
+		} catch (e) {}
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="setFocusFirstControl();onloadFunctions();">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();" id="client">
 <FORM id="form" method="POST" action="../ad_actionButton/CreateFromMultiple_F1.html" name="frmMain">
   <INPUT type="hidden" name="Command"></INPUT>
   <INPUT type="hidden" name="inpLastFieldChanged"></INPUT>
@@ -140,7 +160,7 @@
   <HR></HR>
   <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" >
     <TR> 
-      <TH width="2%" > <INPUT type="checkbox" name="inpTodos" onclick="marcarTodosDatos(document.frmMain.inpmStorageDetailId, this.checked);return true;"></INPUT>
+      <TH width="2%" > <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpTodos" onclick="marcarTodosDatos(document.frmMain.inpmStorageDetailId, this.checked);return true;"></INPUT></SPAN>
       </TH>
       <TH width="35%">Product</TH>
       <TH width="5%">Locator</th>
@@ -152,17 +172,17 @@
     </TR>
     <DIV id="sectionDetail"> 
       <TR> 
-        <TD > <INPUT type="checkbox" name="inpmStorageDetailId" value="" id="fieldmStorageDetailId" onclick="cargarDatos(this.value, this.checked);return true;"></INPUT>
+        <TD > <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpmStorageDetailId" value="" id="fieldmStorageDetailId" onclick="cargarDatos(this.value, this.checked);return true;"></INPUT></SPAN>
         </TD>
-        <TD  id="fieldProduct">xx</TD>
+        <TD id="fieldProduct">xx</TD>
     <td  id="fieldLocator">xx</td>
-        <TD  id="fieldAttribute">xx</TD>
+        <TD id="fieldAttribute">xx</TD>
         <TD > <INPUT name="inpmovementqtyxx" type="text" id="fieldMovementQty" size="8" value="0" onkeyup="auto_completar_numero(this, true, true);return true;" disabled="" ></INPUT>
         </TD>
-        <TD  id="fieldUOM">xx</TD>
+        <TD id="fieldUOM">xx</TD>
         <TD > <INPUT name="inpquantityorderxx" type="text" id="fieldQuantityOrder" size="8" value="0" onkeyup="auto_completar_numero(this, true, true);return true;" disabled="" ></INPUT>
         </TD>
-        <TD  id="fieldProductUOM">xx</TD>
+        <TD id="fieldProductUOM">xx</TD>
       </TR>
     </DIV>
   </TABLE>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank.html	Thu Mar 13 14:33:37 2008 +0000
@@ -29,7 +29,9 @@
   <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
 <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
@@ -37,8 +39,7 @@
 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
- <script language="JavaScript" type="text/javascript" id="keyMap"></script>
-  <script type="text/javascript">
+ <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
 <SCRIPT language="JavaScript" type="text/javascript">
@@ -133,8 +134,29 @@
   new TypeAheadCombo("inpadOrgId");
   enableLocalShortcuts();
 }
-</SCRIPT></HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="setFocusFirstControl();onloadFunctions();">
+</SCRIPT>	
+<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('client2', 'frameButton'),
+		  new windowTableId('tdbottomButtons', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		try {
+		  onloadFunctions();
+		} catch (e) {}
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
+</HEAD>
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="../ad_actionButton/CreateFrom.html" name="frmMain">
 <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1">
@@ -180,7 +202,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
 
            <!-- MessageBox -->
                 <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
@@ -306,7 +328,7 @@
                       <INPUT type="text" dojoType="openbravo:ValidationTextBox" class="TextBox_btn_TwoCells_width" maxlength="22" name="inpcBpartnerId_DES" id="inpCBPartnerID_DES" value="" ></INPUT><SCRIPT>djConfig.searchIds.push("inpCBPartnerID_DES");</SCRIPT>
                     </td>
                   <td class="TextBox_btn_OneCell">
-                    <a onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value);return false;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onfocus="this.className='FieldButtonLink_hover'; window.status='Business Partner '; return true;" href="#" class="FieldButtonLink" id="C_Bpartner_IDlinkBusinessPartner">
+                    <a onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value);return false;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onblur="window.status=''; return true;" onfocus="setWindowElementFocus(this); window.status='Business Partner '; return true;" href="#" class="FieldButtonLink" id="C_Bpartner_IDlinkBusinessPartner">
                       <table onmouseout="this.className='FieldButton'; window.status=''; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Business Partner '; return true;" onmouseup="this.className='FieldButton'; return true;" onmousedown="this.className='FieldButton_active'; return true;" class="FieldButton">
                         <tbody>
                           <tr>
@@ -322,7 +344,7 @@
                 </TABLE>
               </TD>
               <TD class="TitleCell"></TD>
-              <TD class="TitleCell"> <SPAN class="LabelText">Payment Rule</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Payment Rule</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inppaymentrule" class="Combo Combo_OneCell_width" id="inppaymentrule">
                   <OPTION value=""></OPTION><DIV id="reportPaymentRule"></DIV>
@@ -331,7 +353,7 @@
             </tr>
 
             <tr>
-              <TD class="TitleCell"> <SPAN class="LabelText">Receipt type</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Receipt type</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inpisreceipt" id="inpisreceipt" class="Combo Combo_OneCell_width">
                 <OPTION value="">All</OPTION>
@@ -339,7 +361,7 @@
                 <OPTION value="Y" id="fieldIsReceiptCobro">Collection</OPTION></SELECT>
               </TD>
 
-              <td class="TitleCell"> <SPAN class="LabelText">From Date planned</SPAN></td>
+              <td class="TitleCell"><SPAN class="LabelText">From Date planned</SPAN></td>
               <td class="TextBox_btn_ContentCell">
                 <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                   <tr>
@@ -347,7 +369,7 @@
                       <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width" type="text" name="inpplanneddateFrom" id="inpPlannedDateFrom" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("inpPlannedDateFrom");</script>
                     </td>
                     <td class="FieldButton_ContentCell">
-                      <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Calendar'; return true;" onblur="this.className='FieldButtonLink';  window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;"  onclick="showCalendar('frmMain.inpplanneddateFrom', document.frmMain.inpplanneddateFrom.value, false);return false;" >
+                      <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Calendar'; return true;" onblur=" window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="showCalendar('frmMain.inpplanneddateFrom', document.frmMain.inpplanneddateFrom.value, false);return false;" >
                       <table class="FieldButton"onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
                         <tr>
                           <td class="FieldButton_bg">
@@ -360,7 +382,7 @@
                   </tr>
                 </table>
               </td>
-              <td class="TitleCell"> <SPAN class="LabelText">To Date planned</SPAN></td>
+              <td class="TitleCell"><SPAN class="LabelText">To Date planned</SPAN></td>
               <td class="TextBox_btn_ContentCell">
                 <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                   <tr>
@@ -368,7 +390,7 @@
                       <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width" type="text" name="inpplanneddateTo" id="inpPlannedDateTo" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("inpPlannedDateTo");</script>
                     </td>
                     <td class="FieldButton_ContentCell">
-                      <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Calendar'; return true;" onblur="this.className='FieldButtonLink';  window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onclick="showCalendar('frmMain.inpplanneddateTo', document.frmMain.inpplanneddateTo.value, false);return false;">
+                      <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Calendar'; return true;" onblur=" window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="showCalendar('frmMain.inpplanneddateTo', document.frmMain.inpplanneddateTo.value, false);return false;">
                       <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
                         <tr>
                           <td class="FieldButton_bg">
@@ -385,14 +407,14 @@
 
             <tr>
 
-              <TD class="TitleCell"> <SPAN class="LabelText">Account</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Account</SPAN></TD>
               <TD class="Combo_ContentCell" colspan="2">
                 <SELECT name="inpcBankaccountId" id="inpcBankaccountId" class="Combo Combo_TwoCells_width">
                   <OPTION value=""></OPTION>
                   <DIV id="reportC_BankAccount_ID"></DIV></SELECT></TD>
               </TD>
               <TD class="TitleCell"></TD>
-              <TD class="TitleCell"> <SPAN class="LabelText">Organization</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Organization</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inpadOrgId" id="inpadOrgId" class="Combo Combo_OneCell_width">
                 <OPTION value=""></OPTION>
@@ -413,7 +435,7 @@
                         <INPUT type="text" dojoType="openbravo:RealNumberTextbox" id="paramAmountFrom" class="dojoValidateValid TextBox_btn_OneCell_width"  value="" maxlength="10" name="inpamountFrom" onkeyup="" onchange="logChanges(this);return true;"></INPUT><script>djConfig.searchIds.push("paramAmountFrom");</script>
                       </TD>
                       <TD class="FieldButton_ContentCell">
-                      <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Amount From'; return true;" onblur="this.className='FieldButtonLink';  window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;"  onclick="calculator('frmMain.inpamountFrom', document.frmMain.inpamountFrom.value, false);return false;">
+                      <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Amount From'; return true;" onblur=" window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="calculator('frmMain.inpamountFrom', document.frmMain.inpamountFrom.value, false);return false;">
                       <TABLE class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="NoPackageslinkCalc">
                           <TR>
                             <TD class="FieldButton_bg">
@@ -428,7 +450,7 @@
               </TD>
 
 
-              <TD class="TitleCell"> <SPAN class="LabelText">Amount To</SPAN> </TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Amount To</SPAN> </TD>
               <TD class="TextBox_btn_ContentCell">
                 <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
                   <TR>
@@ -437,7 +459,7 @@
                     </TD>
 
                     <TD class="FieldButton_ContentCell">
-                    <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Amount From'; return true;" onblur="this.className='FieldButtonLink';  window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onclick="calculator('frmMain.inpamountTo', document.frmMain.inpamountTo.value, false);return false;">
+                    <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Amount From'; return true;" onblur=" window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="calculator('frmMain.inpamountTo', document.frmMain.inpamountTo.value, false);return false;">
                     <TABLE class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="NoPackageslinkCalc">
                         <TR>
                           <TD class="FieldButton_bg">
@@ -453,9 +475,9 @@
             </tr>
 
             <tr>
-              <TD class="TitleCell"> <SPAN class="LabelText">Only Applied</SPAN> </TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Only Applied</SPAN> </TD>
               <TD class="Radio_Check_ContentCell"> 
-                <INPUT type="checkbox" name="inpCharge" value="Y" id="paramCharge"></TD>
+                <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpCharge" value="Y" id="paramCharge"></INPUT></SPAN></TD>
               <TD class="TitleCell"></TD>
               <TD class="TitleCell"></TD>
               <TD class="TitleCell"></TD>
@@ -468,7 +490,7 @@
               <td class="TitleCell"></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Search'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitCommandForm('FIND_BANK', false, null, null, '_self');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Search'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('FIND_BANK', false, null, null, '_self');return false;">
                   <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Search';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -492,7 +514,7 @@
   </table>
 <div style="height:15px;"></div>
 <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;">
-  <div class="Popup_ContentPane_Client" style="overflow: auto;">
+  <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client2">
     <TABLE cellspacing="0" cellpadding="0" border="0">
       <tr>
 
@@ -535,7 +557,7 @@
     <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
 
       <TR class="DataGrid_Body_Row">
-        <TH width="3%" class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox"><INPUT type="checkbox" name="inpTodos" onclick="marcarTodosPersonal(document.frmMain.inpcPaymentId, this.checked);return true;"></TH>
+        <TH width="3%" class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox"><SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpTodos" onclick="marcarTodosPersonal(document.frmMain.inpcPaymentId, this.checked);return true;"></INPUT></SPAN></TH>
         <TH width="10%" colspan="3" class="DataGrid_Header_Cell">Payment</TH>
         <TH width="10%" class="DataGrid_Header_Cell">Invoice</TH>
         <TH width="23%" colspan="4" class="DataGrid_Header_Cell">Account</TH>
@@ -555,7 +577,7 @@
       <DIV id="sectionDetail">
 
         <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="funcEvenOddRowxx">
-          <TD class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_CheckBox" style="border-bottom-width:0px; border-bottom: none;"><INPUT type="checkbox" name="inpcPaymentId" value="" id="fieldCPaymentId" onclick="updatePrice(this);return true;"><INPUT type="hidden" name="inpPricexx" value="" id="fieldPrice"></TD>
+          <TD class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_CheckBox" style="border-bottom-width:0px; border-bottom: none;"><SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpcPaymentId" value="" id="fieldCPaymentId" onclick="updatePrice(this);return true;"></INPUT></SPAN><INPUT type="hidden" name="inpPricexx" value="" id="fieldPrice"></TD>
           <TD class="DataGrid_Body_Cell" id="fieldPayment" colspan="3">xxUOM</TD>
           <TD class="DataGrid_Body_Cell" id="fieldInvoice">xxInvoice</TD>
           <TD class="DataGrid_Body_Cell" id="fieldBank" colspan="4">xx</TD>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_CRemittance.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_CRemittance.html	Thu Mar 13 14:33:37 2008 +0000
@@ -23,7 +23,9 @@
 <LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
 <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
@@ -37,14 +39,12 @@
 <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
   <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
- <script language="JavaScript" type="text/javascript" id="keyMap"></script>
-  <script type="text/javascript">
+ <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
 <SCRIPT language="JavaScript" type="text/javascript">
-var keyArray = new Array();
 function enableLocalShortcuts() {
-keyArray = new Array(new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value, 'Command', 'KEY');", "inpcBpartnerId_DES", "null"));
+keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value, 'Command', 'KEY');", "inpcBpartnerId_DES", "null");
 }
 function depurar(action) {
   	var frm=document.frmMain;
@@ -108,8 +108,29 @@
   new TypeAheadCombo("inpadOrgId");
   enableLocalShortcuts();
 }
-</SCRIPT></HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="setFocusFirstControl();onloadFunctions();">
+</SCRIPT>	
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('client2', 'frameButton'),
+		  new windowTableId('tdbottomButtons', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		try {
+		  onloadFunctions();
+		} catch (e) {}
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
+</HEAD>
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="../ad_actionButton/CreateFrom.html" name="frmMain">
 <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -153,7 +174,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
 
            <!-- MessageBox -->
                 <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
@@ -278,7 +299,7 @@
                       <INPUT type="text" class="dojoValidateValid TextBox_btn_TwoCells_width" maxlength="22" name="inpcBpartnerId_DES" id="fieldCBPartnerID_DES" value=""></INPUT>
                     </td>
                     <TD class="FieldButton_ContentCell">
-                      <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Business Partner'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;"  onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value);return false;">
+                      <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Business Partner'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value);return false;">
                       <TABLE class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Business Partner';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="fieldWindowID">
                         <TR>
                           <TD class="FieldButton_bg">
@@ -292,7 +313,7 @@
                 </TABLE>
               </TD>
               <TD class="TitleCell"></TD>
-              <TD class="TitleCell"> <SPAN class="LabelText">Payment Rule</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Payment Rule</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inppaymentrule" class="Combo Combo_OneCell_width" id="inppaymentrule">
                   <OPTION value=""></OPTION><DIV id="reportPaymentRule"></DIV>
@@ -300,7 +321,7 @@
               </TD>
             </tr>
             <tr>
-              <TD class="TitleCell"> <SPAN class="LabelText">Receipt type</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Receipt type</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inpisreceipt" id="inpisreceipt" class="Combo Combo_OneCell_width">
                 <OPTION value="">All</OPTION>
@@ -308,7 +329,7 @@
                 <OPTION value="Y" id="fieldIsReceiptCobro">Collection</OPTION></SELECT>
               </TD>
 
-            <TD class="TitleCell"> <SPAN class="LabelText">From Date planned</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">From Date planned</SPAN></TD>
             <TD class="TextBox_btn_ContentCell">
               <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                 <TR>
@@ -327,7 +348,7 @@
                 </TR>
               </TABLE>
             </TD>
-            <TD class="TitleCell"> <SPAN class="LabelText">To Date planned</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">To Date planned</SPAN></TD>
             <TD class="TextBox_btn_ContentCell">
               <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                 <TR>
@@ -416,13 +437,13 @@
             </TD>
             </tr>
 <tr>
-              <TD class="TitleCell"> <SPAN class="LabelText">Status</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Status</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inpStatusFrom" id="inpStatusFrom" class="Combo Combo_OneCell_width">
                 <OPTION value=""></OPTION>
                 <DIV id="reportStatusFrom"></DIV></SELECT>
               </TD>
-              <TD class="TitleCell"> <SPAN class="LabelText">Organization</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Organization</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inpadOrgId" id="inpadOrgId" class="Combo Combo_OneCell_width">
                 <OPTION value=""></OPTION>
@@ -436,7 +457,7 @@
               <td class="TitleCell"></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Search'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitCommandForm('FIND_SETTLEMENT', true);return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Search'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('FIND_SETTLEMENT', true);return false;">
                   <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Search';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -460,10 +481,10 @@
    </table>
            
 <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;">
-  <div class="Popup_ContentPane_Client" style="overflow: auto;">
+  <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client2">
     <TABLE cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table">
       <TR class="Popup_Client_Selector_DataGrid_HeaderRow">
-        <td class="DataGrid_Body_LineNoCell" width="25"><INPUT type="checkbox" name="inpTodos" onclick="cargarDatos(this);return true;" value="Y" id="fieldMarcarTodos"></INPUT></td>
+        <td class="DataGrid_Body_LineNoCell" width="25"><SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpTodos" onclick="cargarDatos(this);return true;" value="Y" id="fieldMarcarTodos"></INPUT></SPAN></td>
         <th class="DataGrid_Header_Cell">Business Partner</th>
         <th class="DataGrid_Header_Cell">Organization</th>
         <th class="DataGrid_Header_Cell">Invoice</th>
@@ -477,7 +498,7 @@
       <DIV id="sectionDetail">
         <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="inpRecord10000003">
           <TD class="DataGrid_Body_LineNoCell">
-          <INPUT type="checkbox" name="inpcDebtPaymentId" value="" id="fieldCDebtPaymentId" onclick="actualizarDatos(this.value, this.checked);return true;"></INPUT></TD>
+          <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpcDebtPaymentId" value="" id="fieldCDebtPaymentId" onclick="actualizarDatos(this.value, this.checked);return true;"></INPUT></SPAN></TD>
           <TD class="DataGrid_Body_Cell" id="fieldBpartner">xxQuantity</TD>
           <TD class="DataGrid_Body_Cell" id="fieldOrg">xx</TD>
           <TD class="DataGrid_Body_Cell" id="fieldInvoice">xxUOM</TD>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_DPManagement.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_DPManagement.html	Thu Mar 13 14:33:37 2008 +0000
@@ -33,16 +33,17 @@
   <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
   <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
- <script language="JavaScript" type="text/javascript" id="keyMap"></script>
-<SCRIPT language="JavaScript" type="text/javascript">
+ <SCRIPT language="JavaScript" type="text/javascript">
 
 function enableLocalShortcuts() {
-keyArray = new Array(new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null"));
+keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null");
 }
 
 function depurar(action) {
@@ -105,12 +106,33 @@
   new TypeAheadCombo("inpadOrgId");
   enableLocalShortcuts();
 }
-</SCRIPT></HEAD>
+</SCRIPT>	
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('client2', 'frameButton'),
+		  new windowTableId('tdbottomButtons', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		try {
+		  onloadFunctions();
+		} catch (e) {}
 
+		setWindowElementFocus('firstElement');
+	}
 
+	function onResizeDo(){
+	}
+	</SCRIPT>
+</HEAD>
 
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="setFocusFirstControl();onloadFunctions();">
+
+
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="../ad_actionButton/CreateFrom.html" name="frmMain">
 <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -156,7 +178,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
 
            <!-- MessageBox -->
                 <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
@@ -282,7 +304,7 @@
                       <INPUT type="text" class="dojoValidateValid TextBox_btn_TwoCells_width" maxlength="22" name="inpBpartnerId_DES" id="fieldCBPartnerID_DES" value=""></INPUT>
                     </td>
                   <td class="TextBox_btn_OneCell">
-                    <a onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value);return false;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onfocus="this.className='FieldButtonLink_hover'; window.status='Business Partner '; return true;" href="#" class="FieldButtonLink">
+                    <a onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value);return false;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onblur="window.status=''; return true;" onfocus="setWindowElementFocus(this); window.status='Business Partner '; return true;" href="#" class="FieldButtonLink">
                       <table id="C_Bpartner_IDlinkBusinessPartner" onmouseout="this.className='FieldButton'; window.status=''; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Business Partner '; return true;" onmouseup="this.className='FieldButton'; return true;" onmousedown="this.className='FieldButton_active'; return true;" class="FieldButton">
                         <tbody>
                           <tr>
@@ -297,7 +319,7 @@
                   </TR>
                 </TABLE>
               </TD>
-              <TD class="TitleCell"> <SPAN class="LabelText">Payment Rule</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Payment Rule</SPAN></TD>
               <TD class="Combo_ContentCell" colspan="2">
                 <SELECT name="inppaymentrule" class="Combo Combo_TwoCells_width" onchange="submitCommandForm('FIND_PO', false, null, null, '_self');return true;" id="inppaymentrule">
                   <OPTION value=""></OPTION><DIV id="reportPaymentRule"></DIV>
@@ -306,7 +328,7 @@
             </tr>
 
             <tr>
-              <TD class="TitleCell"> <SPAN class="LabelText">Receipt type</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Receipt type</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inpisreceipt" id="inpisreceipt" class="Combo Combo_OneCell_width">
                 <OPTION value="">All</OPTION>
@@ -314,7 +336,7 @@
                 <OPTION value="Y" id="fieldIsReceiptCobro">Collection</OPTION></SELECT>
               </TD>
 
-              <td class="TitleCell"> <SPAN class="LabelText">From Date planned</SPAN></td>
+              <td class="TitleCell"><SPAN class="LabelText">From Date planned</SPAN></td>
               <td class="TextBox_btn_ContentCell">
                 <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                   <tr>
@@ -333,7 +355,7 @@
                   </tr>
                 </table>
               </td>
-              <td class="TitleCell"> <SPAN class="LabelText">To Date planned</SPAN></td>
+              <td class="TitleCell"><SPAN class="LabelText">To Date planned</SPAN></td>
               <td class="TextBox_btn_ContentCell">
                 <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                   <tr>
@@ -367,7 +389,7 @@
                         <TD class="TextBox_ContentCell">
                           <INPUT type="text" dojoType="openbravo:RealNumberTextbox" id="paramAmountFrom" class="TextBox_btn_OneCell_width" value="" maxlength="10" name="inpamountFrom" onkeyup="" onchange="logChanges(this);return true;"></INPUT><script>djConfig.searchIds.push("paramAmountFrom");</script>
                         </TD>
-                        <TD  class="FieldButton_ContentCell"><TABLE class="FieldButton" onclick="calculator('frmMain.inpamountFrom', document.frmMain.inpamountFrom.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="NoPackageslinkCalc">
+                        <TD class="FieldButton_ContentCell"><TABLE class="FieldButton" onclick="calculator('frmMain.inpamountFrom', document.frmMain.inpamountFrom.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="NoPackageslinkCalc">
                             <TR>
                               <TD class="FieldButton_bg">
                                 <IMG alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount From" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
@@ -435,13 +457,13 @@
 
             <tr>
 
-              <TD class="TitleCell"> <SPAN class="LabelText">Status</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Status</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inpStatusFrom" id="inpStatusFrom" class="Combo Combo_OneCell_width">
                 <OPTION value=""></OPTION>
                 <DIV id="reportStatusFrom"></DIV></SELECT>
               </TD>
-              <TD class="TitleCell"> <SPAN class="LabelText">Organization</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Organization</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inpadOrgId" id="inpadOrgId" class="Combo Combo_OneCell_width">
                 <OPTION value=""></OPTION>
@@ -452,7 +474,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Search'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitCommandForm('FIND_SETTLEMENT', true);return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Search'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('FIND_SETTLEMENT', true);return false;">
                   <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Search';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -489,7 +511,7 @@
             </TR>
 
             <tr>
-              <TD class="TitleCell"> <SPAN class="LabelText">Status</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Status</SPAN></TD>
               <TD class="Combo_ContentCell">
                 <SELECT name="inpStatusTo" id="inpStatusTo" class="Combo Combo_OneCell_width">
                 <OPTION value=""></OPTION>
@@ -507,10 +529,10 @@
 
 
   <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;">
-    <div class="Popup_ContentPane_Client" style="overflow: auto;">
+    <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client2">
       <TABLE cellspacing="0" cellpadding="0" class="DataGrid_Header_Table DataGrid_Body_Table">
         <TR class="Popup_Client_Selector_DataGrid_HeaderRow"> 
-          <TH width="15" class="DataGrid_Header_LineNoCell"> <INPUT type="checkbox" name="inpTodos" onclick="cargarDatos(this.checked);return true;" value="Y" id="fieldMarcarTodos"></INPUT></TH>
+          <TH width="15" class="DataGrid_Header_LineNoCell"> <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpTodos" onclick="cargarDatos(this.checked);return true;" value="Y" id="fieldMarcarTodos"></INPUT></SPAN></TH>
           <TH width="175" class="DataGrid_Header_Cell">Business Partner</TH>
           <TH width="109" class="DataGrid_Header_Cell">Organization</TH>
           <TH width="136" class="DataGrid_Header_Cell">Invoice</TH>
@@ -523,7 +545,7 @@
         <DIV id="sectionDetail">
           <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="inpRecord10000003"> 
             <TD class="DataGrid_Body_LineNoCell">
-            <INPUT type="checkbox" name="inpcDebtPaymentId" value="" id="fieldCDebtPaymentId" onclick="actualizarDatos(this.value, this.checked);return true;"></INPUT></TD>
+            <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpcDebtPaymentId" value="" id="fieldCDebtPaymentId" onclick="actualizarDatos(this.value, this.checked);return true;"></INPUT></SPAN></TD>
             <TD class="DataGrid_Body_Cell" id="fieldBpartner">xxQuantity</TD>
             <TD class="DataGrid_Body_Cell" id="fieldOrg">xx</TD>
             <TD class="DataGrid_Body_Cell" id="fieldInvoice">xxUOM</TD>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_F2.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_F2.html	Thu Mar 13 14:33:37 2008 +0000
@@ -27,9 +27,13 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
   <script language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</script>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
   <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <script language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</script>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
   <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
   <script language="JavaScript" type="text/javascript">
     function closeThisPage() {
@@ -46,9 +50,23 @@
       return true;
     }
   </script>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client0', 'frameButton'),
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('tdbottomButtons', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>    
 </head>
 
-<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
+<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
   <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup" id="tdbottomButtons">
 
     <tr>
@@ -64,7 +82,7 @@
       <td></td>
       <td class="Button_RightAlign_ContentCell">
         <div>
-          <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+          <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
           <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
             <tr>
               <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -77,7 +95,7 @@
       </td>
       <td class="Button_LeftAlign_ContentCell">
         <div>
-          <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+          <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
           <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
             <tr>
               <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice.html	Thu Mar 13 14:33:37 2008 +0000
@@ -31,14 +31,15 @@
   <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
   <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
- <script language="JavaScript" type="text/javascript" id="keyMap"></script>
-  <script type="text/javascript">
+ <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
 <SCRIPT language="JavaScript" type="text/javascript">
@@ -101,8 +102,30 @@
   </script>
 
 
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client0', 'frameButton'),
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('tdbottomButtons', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		resizeArea();
+		try {
+		  onloadFunctions();
+		} catch (e) {}
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+		resizeArea();
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="resizeArea();setFocusFirstControl();onloadFunctions();" onresize="resizeArea();">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();">
 
 <FORM id="form" method="POST" action="../ad_actionButton/CreateFrom.html" name="frmMain">
   <INPUT type="hidden" name="Command">
@@ -243,7 +266,7 @@
           </table>
         <!-- MessageBox END -->
 
-          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector" id="tdtopTabs">
+          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector" id="client0">
             <tr>
               <td class="TableEdition_OneCell_width"></td>
               <td class="TableEdition_OneCell_width"></td>
@@ -304,13 +327,13 @@
             </tr>
 
             <tr>
-              <TD class="TitleCell"> <SPAN class="LabelText">Order</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Order</SPAN></TD>
               <TD class="Combo_ContentCell" colspan="2">
                 <SELECT class="Combo Combo_TwoCells_width" name="inpPurchaseOrder" onchange="submitCommandForm('FIND_PO', false, null, null, '_self');return true;" id="inpPurchaseOrder">
                   <OPTION value=""></OPTION><DIV id="reportPurchaseOrder"></DIV>
                 </SELECT>
               </TD>
-              <TD class="TitleCell"> <SPAN class="LabelText">Shipment</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Shipment</SPAN></TD>
               <TD class="Combo_ContentCell" colspan="2">
                <SELECT class="Combo Combo_OneCell_width" name="inpShipmentReciept" onchange="submitCommandForm('FIND_SHIPMENT', false, null, null, '_self');return true;" id="inpShipmentReciept">
                 <OPTION value=""></OPTION><DIV id="reportShipmentReciept"></DIV>
@@ -349,7 +372,7 @@
                     <DIV id="sectionDetail">
                       <tr class="DataGrid_Body_Row DataGrid_Body_Row_yy" onclick="selectActual(this); return true;" ondblclick="checkActual(this); return true;" id="funcEvenOddRowxx"> 
                         <TD class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_CheckBox">
-                          <INPUT type="checkbox"  name="inpcOrderId" value="" id="CheckNumxx"></INPUT>
+                          <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox"  name="inpcOrderId" value="" id="CheckNumxx"></INPUT></SPAN>
                         </TD>
                         <TD class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldQuantity">xxQuantity</TD>
                         <TD class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldCuomid">xx</TD>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Response.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Response.html	Thu Mar 13 14:33:37 2008 +0000
@@ -28,7 +28,6 @@
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Response.xml	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Response.xml	Thu Mar 13 14:33:37 2008 +0000
@@ -23,5 +23,4 @@
 	<PARAMETER id="paramDirection" name="direction" default=""/>
 	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
 
-  <PARAMETER id="keyMap" name="keyMap" default=""/>
-</REPORT>
+  </REPORT>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Settlement.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Settlement.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,7 +26,9 @@
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO="en_US";</SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <script language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></script>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
@@ -38,7 +40,6 @@
   <script language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></script>
   <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -103,8 +104,28 @@
       enableLocalShortcuts();
     }
   </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client0', 'frameButton'),
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('tdbottomButtons', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		try {
+		  onloadFunctions();
+		} catch (e) {}
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="setFocusFirstControl();onloadFunctions();">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="../ad_actionButton/CreateFrom.html" name="frmMain">
 <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -232,7 +253,7 @@
           </TBODY>
         </table>
         <!-- MessageBox END -->
-        <TABLE cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
+        <TABLE cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector" id="client0">
           <TR>
             <TD class="TableEdition_OneCell_width"></TD>
             <TD class="TableEdition_OneCell_width"></TD>
@@ -272,7 +293,7 @@
                     <INPUT type="text" class="dojoValidateValid TextBox_btn_TwoCells_width" maxlength="22" name="inpBpartnerId_DES" value=""  id="inpBpartnerId_DES"></INPUT>
                   </td>
                 <td class="TextBox_btn_OneCell">
-                  <a onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value, 'WindowID', 'xx');return false;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onfocus="this.className='FieldButtonLink_hover'; window.status='Business Partner '; return true;" href="#" class="FieldButtonLink">
+                  <a onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value, 'WindowID', 'xx');return false;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onblur="window.status=''; return true;" onfocus="setWindowElementFocus(this); window.status='Business Partner '; return true;" href="#" class="FieldButtonLink">
                     <table id="C_Bpartner_IDlinkBusinessPartner" onmouseout="this.className='FieldButton'; window.status=''; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Business Partner '; return true;" onmouseup="this.className='FieldButton'; return true;" onmousedown="this.className='FieldButton_active'; return true;" class="FieldButton">
                       <tbody>
                         <tr>
@@ -288,7 +309,7 @@
               </TABLE>
             </TD>
             <TD></TD>
-            <TD class="TitleCell"> <SPAN class="LabelText">Payment Rule</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">Payment Rule</SPAN></TD>
             <TD class="Combo_ContentCell">
               <SELECT id="inppaymentrule" class="Combo Combo_OneCell_width" name="inppaymentrule">
                 <OPTION value=""></OPTION><DIV id="reportPaymentRule"></DIV>
@@ -297,7 +318,7 @@
           </tr>
 
           <tr>
-            <TD class="TitleCell"> <SPAN class="LabelText">Receipt type</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">Receipt type</SPAN></TD>
             <TD class="Combo_ContentCell">
               <SELECT id="inpisreceipt" class="Combo Combo_OneCell_width" name="inpisreceipt">
                 <OPTION value="">All</OPTION>
@@ -305,7 +326,7 @@
                 <OPTION value="Y" id="fieldIsReceiptCobro">Collection</OPTION>
               </SELECT>
             </TD>
-            <TD class="TitleCell"> <SPAN class="LabelText">From Date planned</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">From Date planned</SPAN></TD>
             <TD class="TextBox_btn_ContentCell">
               <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                 <TR>
@@ -326,7 +347,7 @@
                 </TR>
               </TABLE>
             </TD>
-            <TD class="TitleCell"> <SPAN class="LabelText">To Date planned</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">To Date planned</SPAN></TD>
             <TD class="TextBox_btn_ContentCell">
               <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                 <TR>
@@ -422,16 +443,16 @@
           </tr>
 
           <tr>
-            <TD class="TitleCell"> <SPAN class="LabelText">Organization</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">Organization</SPAN></TD>
             <TD class="Combo_ContentCell">
               <SELECT name="inpadOrgId" class="Combo Combo_OneCell_width" id="inpadOrgId">
                 <OPTION value=""></OPTION>
                 <DIV id="reportAD_Org_ID"></DIV>
               </SELECT>
             </TD>
-            <TD class="TitleCell"> <SPAN class="LabelText">Autocalculated</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">Autocalculated</SPAN></TD>
             <TD class="Radio_Check_ContentCell">
-              <INPUT type="checkbox" name="inpAutoClaculated" value="" id="paramAutoCalculated"></INPUT></TD>
+              <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpAutoClaculated" value="" id="paramAutoCalculated"></INPUT></SPAN></TD>
             <TD>
           </tr>
 
@@ -443,8 +464,8 @@
             <TD></TD>
             <TD class="Button_CenterAlign_ContentCell">
               <div>
-                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Results'; return true;" onblur="this.className='ButtonLink'; 
-window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" 
+                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Results'; return true;" onblur="
+window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" 
 onclick="submitCommandForm('FIND_SETTLEMENT', true);return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" 
 onmouseover="this.className='Button_hover';window.status='Results';return true;" onmousedown="this.className='Button_active';return true;" 
@@ -464,10 +485,10 @@
         </TABLE>
 
 
-        <div style="overflow: auto; width:895px; height: 280px;">
+        <div style="overflow: auto; width:895px; height: 280px;" id="client">
           <TABLE cellspacing="0" cellpadding="0" class="DataGrid_Header_Table DataGrid_Body_Table">
             <TR class="Popup_Client_Selector_DataGrid_HeaderRow"> 
-              <TD width="27" class="DataGrid_Body_LineNoCell"><INPUT type="checkbox" name="inpTodos" onclick="cargarDatos(this);return true;" value="Y" id="fieldMarcarTodos"></INPUT></TD>
+              <TD width="27" class="DataGrid_Body_LineNoCell"><SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpTodos" onclick="cargarDatos(this);return true;" value="Y" id="fieldMarcarTodos"></INPUT></SPAN></TD>
               <TH width="175" class="DataGrid_Header_Cell">Business Partner</TH>
               <TH width="109" class="DataGrid_Header_Cell">Organization</TH>
               <TH width="136" class="DataGrid_Header_Cell">Invoice</TH>
@@ -480,7 +501,7 @@
             </TR>
             <DIV id="sectionDetail">
               <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="inpRecord10000003"> 
-                <TD class="DataGrid_Body_LineNoCell"><INPUT type="checkbox" name="inpcDebtPaymentId" value="" id="fieldCDebtPaymentId" onclick="actualizarDatos(this);return true;"><INPUT type="hidden" name="inpPricexx" value="" id="fieldPrice"></TD>
+                <TD class="DataGrid_Body_LineNoCell"><SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpcDebtPaymentId" value="" id="fieldCDebtPaymentId" onclick="actualizarDatos(this);return true;"></SPAN><INPUT type="hidden" name="inpPricexx" value="" id="fieldPrice"></TD>
                 <TD class="DataGrid_Body_Cell" id="fieldBpartner">xxQuantity</TD>
                 <TD class="DataGrid_Body_Cell" id="fieldOrg">xx</TD>
                 <TD class="DataGrid_Body_Cell" id="fieldInvoice">xxUOM</TD>
@@ -489,7 +510,7 @@
                 <TD class="DataGrid_Body_Cell" id="fieldAmount">xx</TD>
                 <TD class="DataGrid_Body_Cell" id="fieldCurrency">xx</TD>
                 <TD class="DataGrid_Body_Cell"><INPUT name="inpwriteoffxx" type="text" id="fieldWriteOff" size="8" value="0" onkeyup="auto_completar_numero(this, true, true);return true;"></INPUT></TD>
-                <TD class="DataGrid_Body_Cell"><INPUT type="checkbox" name="inpispaidxx" value="Y" id="fieldIsPaid"></INPUT></TD></TR></DIV></TABLE>
+                <TD class="DataGrid_Body_Cell"><SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpispaidxx" value="Y" id="fieldIsPaid"></INPUT></SPAN></TD></TR></DIV></TABLE>
               </TR>
             </DIV>
           </TABLE>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment.html	Thu Mar 13 14:33:37 2008 +0000
@@ -30,23 +30,18 @@
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
-<SCRIPT language="JavaScript" type="text/javascript">
+  <SCRIPT language="JavaScript" type="text/javascript">
 function debugSearch(strClave, strTexto, gCampoClave) {
 	submitCommandForm("REFRESH_INVOICES", false, null, null, "frameOcultoButton");
 	return true;
 }
 
-keyArray = new Array(
-new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', true, 'frmMain', 'inpcBpartnerId', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null"),
-new keyArrayItem("ENTER", "openSearch(null, null, '../info/Locator_FS.html', null, false, 'frmMain', 'inpmLocatorId', 'inpmLocatorId_DES', document.frmMain.inpmLocatorId_DES.value, 'Command', 'KEY', 'WindowID', 'CreateFrom_Shipment');", "inpmLocatorId_DES", "null") 
-);
-enableShortcuts();
-
 function depurar(action) {
   var frm=document.frmMain;
 	if (radioValue(frm.inpId)==null) {
@@ -69,8 +64,14 @@
 
 function onloadFunctions() {
 	new TypeAheadCombo("inpPurchaseOrder");
-  new TypeAheadCombo("inpInvoice");
+    new TypeAheadCombo("inpInvoice");
 }
+
+function enableLocalShortcuts(){
+  	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', true, 'frmMain', 'inpcBpartnerId', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null");
+	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/Locator_FS.html', null, false, 'frmMain', 'inpmLocatorId', 'inpmLocatorId_DES', document.frmMain.inpmLocatorId_DES.value, 'Command', 'KEY', 'WindowID', 'CreateFrom_Shipment');", "inpmLocatorId_DES", "null");
+}
+
 </SCRIPT>
 
   <script language="JavaScript" type="text/javascript">
@@ -96,9 +97,26 @@
       cell.className = cell.className.replace(' DataGrid_Body_Cell_hover', '');
     }
   </script>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client0', 'frameButton'),
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('tdbottomButtons', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		enableLocalShortcuts();
 
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="../ad_actionButton/CreateFrom.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -231,7 +249,7 @@
 <!-- finish MessageBox -->
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client0">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
 
             <tr>
@@ -288,7 +306,7 @@
                   </TR>
                 </TABLE>
               </TD>
-              <TD class="TitleCell"> <SPAN class="LabelText">Order</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Order</SPAN></TD>
               <TD class="Combo_ContentCell" colspan="2">
                 <SELECT name="inpPurchaseOrder" class="Combo Combo_TwoCells_width" onchange="submitCommandForm('FIND_PO', false, null, null, '_self');return true;" id="inpPurchaseOrder">
                   <OPTION value=""></OPTION><DIV id="reportPurchaseOrder"></DIV>
@@ -323,7 +341,7 @@
                   </TR>
                 </TABLE>
               </TD>
-              <TD class="TitleCell"> <SPAN class="LabelText">Invoice</SPAN></TD>
+              <TD class="TitleCell"><SPAN class="LabelText">Invoice</SPAN></TD>
               <TD class="Combo_ContentCell" colspan="2">
                 <SELECT name="inpInvoice" class="Combo Combo_TwoCells_width" onchange="submitCommandForm('FIND_INVOICE', false, null, null, '_self');return true;" id="inpInvoice" id="inpInvoice">
                   <OPTION value=""></OPTION><DIV id="reportInvoice"></DIV>
@@ -338,7 +356,7 @@
             <TD></TD>
             <!--TD class="Button_CenterAlign_ContentCell">
               <div>
-                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Results'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitCommandForm('FIND_SHIPMENT', true);return false;">
+                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Results'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('FIND_SHIPMENT', true);return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Results';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                   <tr>
                     <td class="Button_left"><img class="Button_Icon Button_Icon_Search" alt="View Results in a New Window" title="View Results in a New Window" src="../../../../../web/images/blank.gif" border=0 id="buttonResults"/></td>
@@ -354,10 +372,10 @@
 
           <TR>
             <TD colspan="6">
-                            <div style="overflow: auto;">
+                            <div style="overflow: auto;" id="client">
                   <TABLE cellspacing="0" cellpadding="0" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
                     <TR class="DataGrid_Body_Row"> 
-                      <TH width="29" class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox"> <INPUT type="checkbox" name="inpTodos" onclick="marcarTodos(document.frmMain.inpId, this.checked);return true;"></INPUT></TH>
+                      <TH width="29" class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox"> <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpTodos" onclick="marcarTodos(document.frmMain.inpId, this.checked);return true;"></INPUT></SPAN></TH>
                       <TH width="97" class="DataGrid_Header_Cell">Quantity</TH>
                       <TH width="185" class="DataGrid_Header_Cell">Unit</TH>
                       <TH width="129" class="DataGrid_Header_Cell">Product</TH>
@@ -367,7 +385,7 @@
                     </TR>
                     <DIV id="sectionDetail">
                       <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" onclick="selectActual(this); return true;" ondblclick="checkActual(this); return true;" id="funcEvenOddRowxx"> 
-                        <TD class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_CheckBox"> <INPUT type="checkbox" id="fieldID" name="inpId" value=""></INPUT> </TD>
+                        <TD class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_CheckBox"> <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" id="fieldID" name="inpId" value=""></INPUT></SPAN></TD>
                         <TD class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldQuantity">xxQuantity</TD>
                         <TD class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldCuomid">xxUOM</TD>
                         <TD class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldMproductid">xxProduct</TD>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -46,9 +47,23 @@
     return true;
   }
   </SCRIPT>
+  	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="CreateRegFactAcct.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -109,7 +124,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
@@ -143,7 +158,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -156,7 +171,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/DocAction.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/DocAction.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
     <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
     <script language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</script>
+    <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+    <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
-    <script language="JavaScript" type="text/javascript" id="keyMap"></script>
     <script type="text/javascript">
       dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
     </script>
@@ -63,9 +64,23 @@
       }
     </script>
 
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </head>
 
-<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
   <form id="form" method="POST" action="Window_Edition.html" name="frmMain">
     <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -127,7 +142,7 @@
 
       <tr>
         <td>
-          <div class="Popup_ContentPane_Client" style="overflow: auto;">
+          <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
             <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
               <tr>
@@ -153,7 +168,7 @@
                 <td></td>
                 <td class="Button_RightAlign_ContentCell">
                   <div>
-                    <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='xx'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE_BUTTONDocActionxx');return false;" id="linkButtonOk">
+                    <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='xx'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE_BUTTONDocActionxx');return false;" id="linkButtonOk">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='xx';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;" id="tableButtonOk">
                       <tr>
                         <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0 id="buttonOk"/></td>
@@ -166,7 +181,7 @@
                 </td>
                 <td class="Button_LeftAlign_ContentCell">
                   <div>
-                    <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='xx'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;" id="linkButtonCancel">
+                    <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='xx'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;" id="linkButtonCancel">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='xx';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;" id="tableButtonCancel">
                       <tr>
                         <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0 id="buttonCancel"/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/DropCloseFactAcct.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/DropCloseFactAcct.html	Thu Mar 13 14:33:37 2008 +0000
@@ -52,7 +52,7 @@
   <INPUT type="hidden" name="inpTabId" value="" id="tab"></INPUT>
   <TABLE width="100%" cellspacing="0" cellpadding="0" border="1" >
     <TR> 
-      <TD  id="processDescription">&nbsp;</TD>
+      <TD id="processDescription">&nbsp;</TD>
     </TR>
     <TR></TR>
     <TR> 
@@ -74,15 +74,15 @@
   </TABLE>
   <TABLE cellspacing="0" cellpadding="0" border="0">
     <TR> 
-      <TD  id="question">&nbsp;</TD>
+      <TD id="question">&nbsp;</TD>
     </TR>
   </TABLE>
   <TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
     <TR> 
       <td>&nbsp;</td>
-      <TD  width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
         <img src="../../../../../web/images/Cancel.jpg"  alt="Cancel" title="Cancel" border="0" id="buttonCancel"></IMG></A></TD>
-      <TD  width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
         <img src="../../../../../web/images/Ok.jpg"  alt="Accept" title="Accept" border="0" id="buttonOk"></IMG></A></TD>
       <td>&nbsp;</td>
     </TR>
--- a/src/org/openbravo/erpCommon/ad_actionButton/DropRegFactAcct.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/DropRegFactAcct.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -46,9 +47,23 @@
     return true;
   }
   </SCRIPT>
+  	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="DropRegFactAcct.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -109,7 +124,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
@@ -136,7 +151,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -149,7 +164,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_F1.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_F1.html	Thu Mar 13 14:33:37 2008 +0000
@@ -23,7 +23,9 @@
   <LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
 
   <SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></SCRIPT>
 
@@ -52,8 +54,23 @@
 }
 
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('client', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="setFocusFirstControl();">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();">
 <DIV class="Popup_ContentPane_CircleLogo">
   <DIV class="Popup_WindowLogo">
     <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border=0/></img>
@@ -92,7 +109,7 @@
   </TR>
   <TR>
     <TD>
-      <DIV class="Popup_ContentPane_Client" style="overflow: auto;">
+      <DIV class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
                             <!-- MessageBox -->
                             <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
                               <TBODY>
@@ -187,11 +204,11 @@
             <TD class="TableEdition_OneCell_width"></TD>
           </TR>
           <TR> 
-            <TD class="TitleCell"> <SPAN class="LabelText">Measure date</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">Measure date</SPAN></TD>
             <TD class="ReadOnly_Text_ContentCell"><SPAN id="paramMeasureDate" class="Label_ReadOnly_Text"></SPAN></TD>
-            <TD class="TitleCell"> <SPAN class="LabelText">Shift</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">Shift</SPAN></TD>
             <TD class="ReadOnly_Text_ContentCell"><SPAN id="paramShift" class="Label_ReadOnly_Text"></SPAN></TD>
-            <TD class="TitleCell"> <SPAN class="LabelText">Product</SPAN></TD>
+            <TD class="TitleCell"><SPAN class="LabelText">Product</SPAN></TD>
             <TD class="ReadOnly_Text_ContentCell"><SPAN id="paramProduct" class="Label_ReadOnly_Text"></SPAN></TD>
           </TR>
           <DIV id="sectionDetail">
--- a/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_F2.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_F2.html	Thu Mar 13 14:33:37 2008 +0000
@@ -24,7 +24,9 @@
       <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
       <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
       <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
       <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">  LNG_POR_DEFECTO = "en_US";</SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript">
@@ -41,12 +43,25 @@
   return true;
 }
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client', 'frameButton'),
+		  new windowTableId('client', 'frameButton2')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <table cellspacing="0" cellpadding="0" width="100%">
   <tr>
     <td>
-      <div class="Popup_ContentPane_Client" style="overflow: auto;">
+      <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
         <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
 
           <tr>
@@ -64,7 +79,7 @@
             <td></td>
             <td class="Button_RightAlign_ContentCell">
               <div>
-                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Accept';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                   <tr>
                     <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -77,7 +92,7 @@
             </td>
             <td class="Button_LeftAlign_ContentCell">
               <div>
-                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                   <tr>
                     <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/EncryptedButtons.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EncryptedButtons.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -36,10 +37,8 @@
 var baseDirection="../../../../../web/";
 </SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript">
-keyArray = new Array(
-new keyArrayItem("ENTER", "saveChanges();", null, null)
-);
-enableShortcuts();
+keyArray[keyArray.length] = new keyArrayItem("ENTER", "saveChanges();", null, null);
+
 
 function saveChanges() {
 	var frm = document.frmMain;
@@ -51,8 +50,24 @@
 	return true;
 }
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		xx();
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY onload="setFocusFirstControl();xx();"  leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" id="paramBody">
+<BODY onload="onLoadDo();" onresize="onResizeDo();"leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" id="paramBody">
 <FORM name="frmMain" method="post" action="EncryptedButtons.html" id="fieldForm">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -95,7 +110,7 @@
     </tr>
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
@@ -116,7 +131,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;"  onclick="saveChanges();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;"  onclick="saveChanges();return false;">
                   <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -129,7 +144,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="window.close();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="window.close();return false;">
                   <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.html	Thu Mar 13 14:33:37 2008 +0000
@@ -32,7 +32,9 @@
 <script language="JavaScript" type="text/javascript" id="paramLanguage">
   var LNG_POR_DEFECTO = "en_US";
 </script>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
@@ -45,8 +47,7 @@
 <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
 <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
 <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
- <script language="JavaScript" type="text/javascript" id="keyMap"></script>
-  <script type="text/javascript"> 
+ <script type="text/javascript"> 
       //all dojo.require above this line
       dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
 </script> 
@@ -61,9 +62,30 @@
     return true;
   }
   </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		this.tabsTables = new Array(
+		  new tabTableId('tdtopTabs')
+		);
+		setTabTableParentElement();
+		enableShortcuts('edition');
+		
+		resizeArea();
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+		resizeArea();
+	}
+	</SCRIPT>
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="resizeArea();" onResize="resizeArea();">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="ExpenseSOrder.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -193,7 +215,7 @@
                 </tr>
 
                 <TR>
-                  <TD class="TitleCell"> <SPAN class="LabelText">Business Partner</SPAN></TD>
+                  <TD class="TitleCell"><SPAN class="LabelText">Business Partner</SPAN></TD>
                   <TD class="TextBox_btn_ContentCell" colspan="2">
                     <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                       <TR>
@@ -202,7 +224,7 @@
                           <INPUT class="dojoValidateValid TextBox_btn_TwoCells_width" type="text"  name="inpcBpartnerId_D" maxlength="20" value="" id="paramBPartnerdescription"></INPUT>
                         </TD>
                         <TD class="FieldButton_ContentCell">
-                          <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Business Partner'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;"  onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_D', document.frmMain.inpcBpartnerId_D.value);return false;">
+                          <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Business Partner'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_D', document.frmMain.inpcBpartnerId_D.value);return false;">
                           <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Business Partner';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
                             <TR>
                               <TD class="FieldButton_bg">
@@ -215,7 +237,7 @@
                       </TR>
                     </TABLE>
                   </TD>
-                  <TD class="TitleCell"> <SPAN class="LabelText">Organization</SPAN></TD>
+                  <TD class="TitleCell"><SPAN class="LabelText">Organization</SPAN></TD>
                   <TD class="Combo_ContentCell" colspan="2"> <select name="organization" id="organization" class="Combo Combo_TwoCells_width">
                   <OPTION value=""></OPTION><DIV id="sectionOrganizacion">
                   <OPTION value="es" id="fieldClaveOrganizacion">Organization1</OPTION></TD>
@@ -230,7 +252,7 @@
                           <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width" type="text" name="inpDateFrom" id="paramDateFrom" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramDateFrom");</script>
                         </TD>
                         <TD class="FieldButton_ContentCell">
-                          <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Calendar'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;"  onclick="showCalendar('frmMain.inpDateFrom', document.frmMain.inpDateFrom.value, false);return false;">
+                          <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Calendar'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="showCalendar('frmMain.inpDateFrom', document.frmMain.inpDateFrom.value, false);return false;">
                           <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
                             <TR>
                               <TD class="FieldButton_bg">
@@ -244,7 +266,7 @@
                     </TABLE>
                   </TD>
                   <TD class="TitleCell"></TD>
-                  <TD class="TitleCell"> <SPAN class="LabelText">To Date</SPAN></TD>
+                  <TD class="TitleCell"><SPAN class="LabelText">To Date</SPAN></TD>
                   <TD class="TextBox_btn_ContentCell">
                     <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                       <TR>
@@ -252,7 +274,7 @@
                           <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width" type="text" name="inpDateTo" id="paramDateTo" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramDateTo");</script>
                         </TD>
                         <TD class="FieldButton_ContentCell">
-                          <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Calendar'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;"  onclick="showCalendar('frmMain.inpDateTo', document.frmMain.inpDateTo.value, false);return false;">
+                          <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Calendar'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="showCalendar('frmMain.inpDateTo', document.frmMain.inpDateTo.value, false);return false;">
                           <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
                             <TR>
                               <TD class="FieldButton_bg">
@@ -274,7 +296,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -287,7 +309,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java	Thu Mar 13 14:33:37 2008 +0000
@@ -264,12 +264,6 @@
 
 
     try {
-      KeyMap key = new KeyMap(this, vars, "ExpenseSOrder.html");
-      xmlDocument.setParameter("keyMap", key.getActionButtonKeyMaps());
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-    try {
       WindowTabs tabs = new WindowTabs(this, vars, "org.openbravo.erpCommon.ad_actionButton.ExpenseSOrder");
       xmlDocument.setParameter("parentTabContainer", tabs.parentTabs());
       xmlDocument.setParameter("mainTabContainer", tabs.mainTabs());
--- a/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.xml	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.xml	Thu Mar 13 14:33:37 2008 +0000
@@ -38,7 +38,6 @@
   <PARAMETER id="paramMainTabContainer" name="mainTabContainer" default=" "/>
   <PARAMETER id="paramChildTabContainer" name="childTabContainer" default=" "/>
   <PARAMETER id="tdtopButtons" name="navigationBar" default=""/>
-  <PARAMETER id="keyMap" name="keyMap" default=""/>
   <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
   <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
   <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
--- a/src/org/openbravo/erpCommon/ad_actionButton/ImportProduct.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ImportProduct.html	Thu Mar 13 14:33:37 2008 +0000
@@ -51,7 +51,7 @@
   <INPUT type="hidden" name="inpTabId" value="" id="tab"></INPUT>
   <TABLE width="100%" cellspacing="0" cellpadding="0" border="1" >
     <TR> 
-      <TD  id="processDescription">&nbsp;</TD>
+      <TD id="processDescription">&nbsp;</TD>
     </TR>
     <TR></TR>
     <TR> 
@@ -68,8 +68,8 @@
         </SELECT></TD>
     </TR>
     <TR> 
-      <TD  width="50%"> <SPAN >Delete old files:</SPAN></TD>
-      <TD width="50%"> <INPUT type="checkbox" name="inpDeleteOldImported" id="fieldSystem" value="Y"></INPUT>
+      <TD width="50%"> <SPAN >Delete old files:</SPAN></TD>
+      <TD width="50%"> <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpDeleteOldImported" id="fieldSystem" value="Y"></INPUT></SPAN>
       </TD>
     </TR>
     <TR> 
@@ -78,15 +78,15 @@
   </TABLE>
   <TABLE cellspacing="0" cellpadding="0" border="0">
     <TR> 
-      <TD  id="question">&nbsp;</TD>
+      <TD id="question">&nbsp;</TD>
     </TR>
   </TABLE>
   <TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
     <TR> 
       <td>&nbsp;</td>
-      <TD  width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
         <img src="../../../../../web/images/Cancel.jpg"  alt="Cancel" title="Cancel" border="0" id="buttonCancel"></IMG></A></TD>
-      <TD  width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
         <img src="../../../../../web/images/Ok.jpg"  alt="Accept" title="Accept" border="0" id="buttonOk"></IMG></A></TD>
       <td>&nbsp;</td>
     </TR>
--- a/src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.html	Thu Mar 13 14:33:37 2008 +0000
@@ -28,9 +28,10 @@
   <SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -48,8 +49,24 @@
 	return true;
 }
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+		
+		xx();
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="xx();" id="paramMessage">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();" id="paramMessage">
 <FORM id="form" method="POST" action="InsertAcces.html" name="frmMain" target="frameOculto">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -109,7 +126,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
 
            <!-- MessageBox -->
                 <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
@@ -236,7 +253,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('GENERATE');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('GENERATE');return false;">
                   <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -249,7 +266,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
                   <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -266,7 +283,7 @@
 
   <!--TABLE width="100%" cellspacing="0" cellpadding="0" border="1" >
     <TR> 
-      <TD  id="processDescription">&nbsp;</TD>
+      <TD id="processDescription">&nbsp;</TD>
     </TR>
     <TR></TR>
     <TR> 
@@ -277,12 +294,12 @@
   <BR></BR>
   <TABLE width="50%" cellspacing="0" cellpadding="0" border="0">
     <TR> 
-      <TD  width="20%"> <SPAN >Module</SPAN></TD>
+      <TD width="20%"> <SPAN >Module</SPAN></TD>
       <TD width="30%" > <SELECT name="inpModules"><DIV id="reportModules_S"></DIV>
         </SELECT></TD>
     </TR>
     <TR> 
-      <TD  width="20%"> <SPAN >Access to</SPAN></TD>
+      <TD width="20%"> <SPAN >Access to</SPAN></TD>
       <TD width="30%" > <SELECT name="inpType">
           <OPTION value=""> <SPAN>All</SPAN></OPTION>
           <OPTION value="W"> <SPAN>Window</SPAN></OPTION>
@@ -298,9 +315,9 @@
   <TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
     <TR> 
       <td>&nbsp;</td>
-      <TD  width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
         <img width="16" height="16" src="../../../../../web/images/Cancel.jpg"  alt="Cancel" title="Cancel" border="0" id="buttonCancel"></IMG></A></TD>
-      <TD  width="30px"> <A href="#" onclick="submitThisPage('GENERATE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="submitThisPage('GENERATE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
         <img width="16" height="16" src="../../../../../web/images/Ok.jpg"  alt="Accept" title="Accept" border="0" id="buttonOk"></IMG></A></TD>
       <td>&nbsp;</td>
     </TR>
--- a/src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.java	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.java	Thu Mar 13 14:33:37 2008 +0000
@@ -19,7 +19,6 @@
 package org.openbravo.erpCommon.ad_actionButton;
 
 import org.openbravo.erpCommon.utility.Utility;
-import org.openbravo.erpCommon.utility.KeyMap;
 import org.openbravo.erpCommon.utility.OBError;
 import org.openbravo.utils.FormatUtilities;
 import org.openbravo.base.secureApp.HttpSecureAppServlet;
@@ -99,12 +98,6 @@
       
       //xmlDocument.setParameter("message",strMessage.equals("")?"":"alert('" + strMessage + "');");
 
-      try {
-        KeyMap key = new KeyMap(this, vars, "InsertAcces.html");
-        xmlDocument.setParameter("keyMap", key.getActionButtonKeyMaps());
-      } catch (Exception ex) {
-        throw new ServletException(ex);
-      }
       {
         OBError myMessage = vars.getMessage("InsertAcces");
         vars.removeMessage("InsertAcces");
--- a/src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.xml	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.xml	Thu Mar 13 14:33:37 2008 +0000
@@ -23,7 +23,6 @@
 	<PARAMETER id="paramadRoleId" name="key" default="" attribute="value"/>
 	<PARAMETER id="window" name="window" default="" attribute="value"/>
 	<PARAMETER id="tab" name="tab" default="" attribute="value"/>
-  <PARAMETER id="keyMap" name="keyMap" default=""/>
   <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
   <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
   <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
--- a/src/org/openbravo/erpCommon/ad_actionButton/Posted.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/Posted.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -46,9 +47,23 @@
     return true;
   }
   </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="Posted.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -114,7 +129,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
@@ -139,7 +154,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -152,7 +167,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/ProjectClose.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ProjectClose.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -46,9 +47,23 @@
     return true;
   }
   </SCRIPT>
+  <SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="ProjectClose.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -92,7 +107,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
@@ -108,7 +123,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -121,7 +136,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -46,9 +47,23 @@
     return true;
   }
   </SCRIPT>
+  <SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="ProjectCopyFrom.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -92,7 +107,7 @@
 
     <tr>
       <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;">
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
           <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
             <tr>
@@ -118,7 +133,7 @@
               <td></td>
               <td class="Button_RightAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -131,7 +146,7 @@
               </td>
               <td class="Button_LeftAlign_ContentCell">
                 <div>
-                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                     <tr>
                       <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/ProjectSetType.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ProjectSetType.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
     <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
     <script language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</script>
+    <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+    <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
     <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
-    <script language="JavaScript" type="text/javascript" id="keyMap"></script>
     <script type="text/javascript">
       dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
     </script>
@@ -62,10 +63,24 @@
         return true;
       }
     </script>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>    
 
 </head>
 
-<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
   <form id="form" method="POST" action="ProjectSetType.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -109,7 +124,7 @@
 
       <tr>
         <td>
-          <div class="Popup_ContentPane_Client" style="overflow: auto;">
+          <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
             <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
 
               <tr>
@@ -136,7 +151,7 @@
                 <td></td>
                 <td class="Button_RightAlign_ContentCell">
                   <div>
-                    <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('SAVE');return false;">
+                    <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;" id="linkButtonOk">
                       <tr>
                         <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
@@ -149,7 +164,7 @@
                 </td>
                 <td class="Button_LeftAlign_ContentCell">
                   <div>
-                    <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
+                    <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                       <tr>
                         <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
--- a/src/org/openbravo/erpCommon/ad_actionButton/RequestAction.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/RequestAction.html	Thu Mar 13 14:33:37 2008 +0000
@@ -21,7 +21,9 @@
 <TITLE>Request process</TITLE>
 <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">
 var baseDirection="../../../../../web/";
 </SCRIPT>
@@ -38,8 +40,22 @@
 	return true;
 }
 </SCRIPT>
+  <SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
 <FORM id="form" method="POST" action="RequestAction.html" name="frmMain">
   <INPUT type="hidden" name="Command"></INPUT>
   <INPUT type="hidden" name="inpLastFieldChanged"></INPUT>
@@ -48,7 +64,7 @@
   <INPUT type="hidden" name="inpTabId" value="" id="tab"></INPUT>
   <TABLE width="100%" cellspacing="0" cellpadding="0" border="1" >
     <TR> 
-      <TD  id="processDescription">&nbsp;</TD>
+      <TD id="processDescription">&nbsp;</TD>
     </TR>
     <TR></TR>
     <TR> 
@@ -59,15 +75,15 @@
   <BR></BR>
   <TABLE cellspacing="0" cellpadding="0" border="0">
     <TR> 
-      <TD  id="question">&nbsp;</TD>
+      <TD id="question">&nbsp;</TD>
     </TR>
   </TABLE>
-  <TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
+  <TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%" id="client">
     <TR> 
       <td>&nbsp;</td>
-      <TD  width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
         <img width="16" height="16" src="../../../../../web/images/Cancel.jpg"  alt="Cancel" title="Cancel" border="0"></IMG></A></TD>
-      <TD  width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
+      <TD width="30px"> <A href="#" onclick="submitThisPage('SAVE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
         <img width="16" height="16" src="../../../../../web/images/Ok.jpg"  alt="Accept" title="Accept" border="0"></IMG></A></TD>
       <td>&nbsp;</td>
     </TR>
--- a/src/org/openbravo/erpCommon/ad_actionButton/Test_In.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/Test_In.html	Thu Mar 13 14:33:37 2008 +0000
@@ -26,9 +26,10 @@
   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
-  <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
   <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
-  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
   <script type="text/javascript">
     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
   </script>
@@ -46,9 +47,23 @@
     return true;
   }
   </SCRIPT>
+  <SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		enableShortcuts('popup');
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
 
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">