function Script(tcode, tname, url, app, comp, subcomp, appurl, compurl, subcompurl)
  {
  this.tcode = tcode;
  this.tname = tname;
  this.url = url;
  this.app = app;
  this.comp = comp;
  this.subcomp = subcomp;
  this.appurl = appurl;
  this.compurl = compurl;
  this.subcompurl = subcompurl;  
  }
// Insert new tutorials here

var scripts = new Array();
var count = -1;

// ScriptHead Script objects
scripts[++count] = new Script(
"XD01",
"Create Customer Master Centrally (Done in FI)", 
"tutorials/FI_XD01.sim",
"SD",
"SD Master Records",
"Business Partners",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/business_partners/sld001.htm"
);

scripts[++count] = new Script(
"XD02",
"Change Customer Master Centrally (Done in FI)", 
"tutorials/FI_XD02.sim",
"SD",
"SD Master Records",
"Business Partners",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/business_partners/sld001.htm"
);

scripts[++count] = new Script(
"XD04",
"Display Changes to the Customer Master (Done in FI)", 
"tutorials/FI_XD04.sim",
"SD",
"SD Master Records",
"Business Partners",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/business_partners/sld001.htm"
);

scripts[++count] = new Script(
"XD05",
"Block or Unblock a Customer (Done in FI)", 
"tutorials/FI_XD05.sim",
"SD",
"SD Master Records",
"Business Partners",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/business_partners/sld001.htm"
);

scripts[++count] = new Script(
"OV50",
"Display of Changes for Customer (Done in FI)", 
"tutorials/FI_OV50.sim",
"SD",
"SD Master Records",
"Business Partners",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/business_partners/sld001.htm"
);

scripts[++count] = new Script(
"V-07",
"Create One-Time Customer (Sales)", 
"tutorials/SD_V-07.sim",
"SD",
"SD Master Records",
"Business Partners",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/business_partners/sld001.htm"
);

scripts[++count] = new Script(
"V-08",
"Create Payer (Centrally)", 
"tutorials/SD_V-08.sim",
"SD",
"SD Master Records",
"Business Partners",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/business_partners/sld001.htm"
);

scripts[++count] = new Script(
"V-09",
"Create Ordering Party (Centrally)", 
"tutorials/SD_V-09.sim",
"SD",
"SD Master Records",
"Business Partners",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/business_partners/sld001.htm"
);

scripts[++count] = new Script(
"MM01",
"Create Material (General) (Done in MM)", 
"tutorials/MM_MM01.sim",
"SD",
"SD Master Records",
"Product Master",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/item_prop/sld001.htm"
);

scripts[++count] = new Script(
"VA51",
"Create Item Proposal", 
"tutorials/SD_VA51.sim",
"SD",
"SD Master Records",
"Product Master",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/item_prop/sld001.htm"
);

scripts[++count] = new Script(
"VA52",
"Change Item Proposal", 
"tutorials/SD_VA52.sim",
"SD",
"SD Master Records",
"Product Master",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/item_prop/sld001.htm"
);

scripts[++count] = new Script(
"VK11",
"Create Condition", 
"tutorials/SD_VK11.sim",
"SD",
"SD Master Records",
"Conditions",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/conditions/sld001.htm"
);

scripts[++count] = new Script(
"VK12",
"Change Condition", 
"tutorials/SD_VK12.sim",
"SD",
"SD Master Records",
"Conditions",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/conditions/sld001.htm"
);

scripts[++count] = new Script(
"VK14",
"Create Condition with Reference", 
"tutorials/SD_VK14.sim",
"SD",
"SD Master Records",
"Conditions",
"overviews/sd/overview/sld001.htm",
"overviews/sd/master_records/sd_master_records/sld001.htm",
"overviews/sd/master_records/conditions/sld001.htm"
);

scripts[++count] = new Script(
"VA11",
"Create Inquiry", 
"tutorials/SD_VA11.sim",
"SD",
"Sales Process",
"Sales Inquiry ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_inquiry/sld001.htm"
);

scripts[++count] = new Script(
"VA12",
"Change Inquiry", 
"tutorials/SD_VA12.sim",
"SD",
"Sales Process",
"Sales Inquiry ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_inquiry/sld001.htm"
);

scripts[++count] = new Script(
"VA15",
"List of Inquiries", 
"tutorials/SD_VA15.sim",
"SD",
"Sales Process",
"Sales Inquiry ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_inquiry/sld001.htm"
);

scripts[++count] = new Script(
"VA21",
"Create Quotation", 
"tutorials/SD_VA21.sim",
"SD",
"Sales Process",
"Sales Quotation ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_quotation/sld001.htm"
);

scripts[++count] = new Script(
"VA22",
"Change Quotation", 
"tutorials/SD_VA22.sim",
"SD",
"Sales Process",
"Sales Quotation ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_quotation/sld001.htm"
);

scripts[++count] = new Script(
"VA25",
"List of Quotations", 
"tutorials/SD_VA25.sim",
"SD",
"Sales Process",
"Sales Quotation ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_quotation/sld001.htm"
);

scripts[++count] = new Script(
"SDQ1",
"Expiring Quotations", 
"tutorials/SD_SDQ1.sim",
"SD",
"Sales Process",
"Sales Quotation ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_quotation/sld001.htm"
);

scripts[++count] = new Script(
"SDQ2",
"Expired Quotations", 
"tutorials/SD_SDQ2.sim",
"SD",
"Sales Process",
"Sales Quotation ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_quotation/sld001.htm"
);

scripts[++count] = new Script(
"SDQ3",
"Completed Quotations", 
"tutorials/SD_SDQ3.sim",
"SD",
"Sales Process",
"Sales Quotation ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_quotation/sld001.htm"
);

scripts[++count] = new Script(
"V.04",
"Display Incomplete Quotations", 
"tutorials/SD_V.04.sim",
"SD",
"Sales Process",
"Sales Quotation ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_quotation/sld001.htm"
);

scripts[++count] = new Script(
"VA31",
"Create Scheduling Agreement", 
"tutorials/SD_VA31.sim",
"SD",
"Sales Process",
"Scheduling Agreement ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/scheduling_agreement/sld001.htm"
);

scripts[++count] = new Script(
"VA32",
"Change Scheduling Agreement", 
"tutorials/SD_VA32.sim",
"SD",
"Sales Process",
"Scheduling Agreement ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/scheduling_agreement/sld001.htm"
);

scripts[++count] = new Script(
"VA35",
"List of Scheduling Agreements", 
"tutorials/SD_VA35.sim",
"SD",
"Sales Process",

"Scheduling Agreement ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/scheduling_agreement/sld001.htm"
);

scripts[++count] = new Script(
"V.05",
"Display Incomplete Scheduling Agreements", 
"tutorials/SD_V.05.sim",
"SD",
"Sales Process",
"Scheduling Agreement ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/scheduling_agreement/sld001.htm"
);

scripts[++count] = new Script(
"VA41",
"Create a Contract", 
"tutorials/SD_VA41.sim",
"SD",
"Sales Process",
"Contracts",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/contracts/sld001.htm"
);

scripts[++count] = new Script(
"VA42",
"Change a Contract", 
"tutorials/SD_VA42.sim",
"SD",
"Sales Process",
"Contracts",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/contracts/sld001.htm"
);

scripts[++count] = new Script(
"VA45",
"List of Contracts", 
"tutorials/SD_VA45.sim",
"SD",
"Sales Process",
"Contracts",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/contracts/sld001.htm"
);

scripts[++count] = new Script(
"V.06",
"Display Incomplete Contracts", 
"tutorials/SD_V.06.sim",
"SD",
"Sales Process",
"Contracts",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/contracts/sld001.htm"
);

scripts[++count] = new Script(
"SDV1",
"Display Expiring Contracts", 
"tutorials/SD_SDV1.sim",
"SD",
"Sales Process",
"Contracts",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/contracts/sld001.htm"
);

scripts[++count] = new Script(
"SDV2",
"Display Expired Contracts", 
"tutorials/SD_SDV2.sim",
"SD",
"Sales Process",
"Contracts",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/contracts/sld001.htm"
);

scripts[++count] = new Script(
"SDV3",
"Display Completed Contracts", 
"tutorials/SD_SDV3.sim",
"SD",
"Sales Process",
"Contracts",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/contracts/sld001.htm"
);

scripts[++count] = new Script(
"VA01",
"Create a Sales Order", 
"tutorials/SD_VA01.sim",
"SD",
"Sales Process",
"Sales Order ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_order/sld001.htm"
);

scripts[++count] = new Script(
"VA02",
"Change a Sales Order", 
"tutorials/SD_VA02.sim",
"SD",
"Sales Process",
"Sales Order ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_order/sld001.htm"
);

scripts[++count] = new Script(
"VA05",
"List of Sales Orders", 
"tutorials/SD_VA05.sim",
"SD",
"Sales Process",
"Sales Order ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_order/sld001.htm"
);

scripts[++count] = new Script(
"V.02 ",
"Display Incomplete Sales Orders (Sales Order Error Log)", 
"tutorials/SD_V.02.sim",
"SD",
"Sales Process",
"Sales Order ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_order/sld001.htm"
);

scripts[++count] = new Script(
"V.14",
"Display Blocked Orders", 
"tutorials/SD_V.14.sim",
"SD",
"Sales Process",
"Sales Order ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_order/sld001.htm"
);

scripts[++count] = new Script(
"SDO1",
"Display a List of Orders Within Time Period", 
"tutorials/SD_SDO1.sim",
"SD",
"Sales Process",
"Sales Order ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/sales_order/sld001.htm"
);

scripts[++count] = new Script(
"VA01",
"Create a Debit Memo Request", 
"tutorials/SD_VA01_DR.sim",
"SD",
"Sales Process",
"Debit Memo Request Processing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/cr_dr_memos/sld001.htm"
);

scripts[++count] = new Script(
"VA02",
"Change a Debit Memo Request", 
"tutorials/SD_VA02_DR.sim",
"SD",
"Sales Process",
"Debit Memo Request Processing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/cr_dr_memos/sld001.htm"
);

scripts[++count] = new Script(
"VA01",
"Create a Credit Memo Request", 
"tutorials/SD_VA01_CR.sim",
"SD",
"Sales Process",
"Credit Memo Request Processing ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/cr_dr_memos/sld001.htm"
);

scripts[++count] = new Script(
"VA02",
"Change a Credit Memo Request", 
"tutorials/SD_VA02_CR.sim",
"SD",
"Sales Process",
"Credit Memo Request Processing ",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/cr_dr_memos/sld001.htm"
);

scripts[++count] = new Script(
"VA01",
"Returns Order", 
"tutorials/SD_VA01_RE.sim",
"SD",
"Sales Process",
"Returns",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/returns/sld001.htm"
);

scripts[++count] = new Script(
"VL01N",
"Returns Delivery", 
"tutorials/SD_VL01N_RE.sim",
"SD",
"Sales Process",
"Returns",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/returns/sld001.htm"
);

scripts[++count] = new Script(
"VF01",
"Credit for Returns", 
"tutorials/SD_VF01_RE.sim",
"SD",
"Sales Process",
"Returns",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sales_process/sales_process/sld001.htm",
"overviews/sd/sales_process/returns/sld001.htm"
);

scripts[++count] = new Script(
"VL01N",
"Create Delivery", 
"tutorials/SD_VL01N.sim",
"SD",
"Shipping and Transportation",
"Delivery",
"overviews/sd/overview/sld001.htm",
"overviews/sd/shipping/shipping/sld001.htm",
"overviews/sd/shipping/delivery_picking/sld001.htm"
);

scripts[++count] = new Script(
"VL02N",
"Change Outbound Delivery", 
"tutorials/SD_VL02N.sim",
"SD",
"Shipping and Transportation",
"Delivery",
"overviews/sd/overview/sld001.htm",
"overviews/sd/shipping/shipping/sld001.htm",
"overviews/sd/shipping/delivery_picking/sld001.htm"
);

scripts[++count] = new Script(
"VL22",
"Display Delivery Change Documents", 
"tutorials/SD_VL22.sim",
"SD",
"Shipping and Transportation",
"Delivery",
"overviews/sd/overview/sld001.htm",
"overviews/sd/shipping/shipping/sld001.htm",
"overviews/sd/shipping/delivery_picking/sld001.htm"
);

scripts[++count] = new Script(
"VL71",
"Output from Deliveries", 
"tutorials/SD_VL71.sim",
"SD",
"Shipping and Transportation",
"Delivery",
"overviews/sd/overview/sld001.htm",
"overviews/sd/shipping/shipping/sld001.htm",
"overviews/sd/shipping/delivery_picking/sld001.htm"
);

scripts[++count] = new Script(
"VL10A",
"Process Delivery Due List", 
"tutorials/SD_VL10A.sim",
"SD",
"Shipping and Transportation",
"Delivery",
"overviews/sd/overview/sld001.htm",
"overviews/sd/shipping/shipping/sld001.htm",
"overviews/sd/shipping/delivery_picking/sld001.htm"
);

scripts[++count] = new Script(
"VL06O",
"Sel. Outbound Deliveries for Picking", 
"tutorials/SD_VL06O.sim",
"SD",
"Shipping and Transportation",
"Picking",
"overviews/sd/overview/sld001.htm",
"overviews/sd/shipping/shipping/sld001.htm",
"overviews/sd/shipping/delivery_picking/sld001.htm"
);

scripts[++count] = new Script(
"VL06G",
"Deliveries for Goods Issue", 
"tutorials/SD_VL06G.sim",
"SD",
"Shipping and Transportation",
"Post Goods Issue",
"overviews/sd/overview/sld001.htm",
"overviews/sd/shipping/shipping/sld001.htm",
"overviews/sd/shipping/goods_issue/sld001.htm"
);

scripts[++count] = new Script(
"VL09",
"Cancel Goods Issue for Delivery Note", 
"tutorials/SD_VL09.sim",
"SD",
"Shipping and Transportation",
"Post Goods Issue",
"overviews/sd/overview/sld001.htm",
"overviews/sd/shipping/shipping/sld001.htm",
"overviews/sd/shipping/goods_issue/sld001.htm"
);

scripts[++count] = new Script(
"VL23",
"Goods Issue (Background)", 
"tutorials/SD_VL23.sim",
"SD",
"Shipping and Transportation",
"Post Goods Issue",
"overviews/sd/overview/sld001.htm",
"overviews/sd/shipping/shipping/sld001.htm",
"overviews/sd/shipping/goods_issue/sld001.htm"
);

scripts[++count] = new Script(
"VF01",
"Create Billing Document", 
"tutorials/SD_VF01.sim",
"SD",
"Billing",
"Billing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/billing/billing/sld001.htm",
"overviews/sd/billing/billing/sld001.htm"
);

scripts[++count] = new Script(
"VF02",
"Change Billing Document", 
"tutorials/SD_VF02.sim",
"SD",
"Billing",
"Billing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/billing/billing/sld001.htm",
"overviews/sd/billing/billing/sld001.htm"
);

scripts[++count] = new Script(
"VF04",
"Process Billing Due List", 
"tutorials/SD_VF04.sim",
"SD",
"Billing",
"Billing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/billing/billing/sld001.htm",
"overviews/sd/billing/billing/sld001.htm"
);

scripts[++count] = new Script(
"VF05",
"List Billing Documents", 
"tutorials/SD_VF05.sim",
"SD",
"Billing",
"Billing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/billing/billing/sld001.htm",
"overviews/sd/billing/billing/sld001.htm"
);

scripts[++count] = new Script(
"VFX3",
"Release Billing Documents", 
"tutorials/SD_VFX3.sim",
"SD",
"Billing",
"Billing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/billing/billing/sld001.htm",
"overviews/sd/billing/billing/sld001.htm"
);

scripts[++count] = new Script(
"VF31",
"Output from Billing", 
"tutorials/SD_VF31.sim",
"SD",
"Billing",
"Billing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/billing/billing/sld001.htm",
"overviews/sd/billing/billing/sld001.htm"
);

scripts[++count] = new Script(
"VF11",
"Cancel Billing Document", 
"tutorials/SD_VF11.sim",
"SD",
"Billing",
"Billing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/billing/billing/sld001.htm",
"overviews/sd/billing/billing/sld001.htm"
);

scripts[++count] = new Script(
"VKM1",
"Blocked SD Documents", 
"tutorials/SD_VKM1.sim",
"SD",
"Billing",
"Billing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/billing/billing/sld001.htm",
"overviews/sd/billing/billing/sld001.htm"
);

scripts[++count] = new Script(
"VKM2",
"Released SD Documents", 
"tutorials/SD_VKM2.sim",
"SD",
"Billing",
"Billing",
"overviews/sd/overview/sld001.htm",
"overviews/sd/billing/billing/sld001.htm",
"overviews/sd/billing/billing/sld001.htm"
);

scripts[++count] = new Script(
"MCTA",
"SIS: Customer Analysis - Selection", 
"tutorials/SD_MCTA.sim",
"SD",
"SD Information System and Reporting",
"SD Information System and Reporting",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sdis/sld001.htm",
"overviews/sd/sdis/sld001.htm"
);

scripts[++count] = new Script(
"MCTC",
"SIS: Material Analysis - Selection", 
"tutorials/SD_MCTC.sim",
"SD",
"SD Information System and Reporting",
"SD Information System and Reporting",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sdis/sld001.htm",
"overviews/sd/sdis/sld001.htm"
);

scripts[++count] = new Script(
"MCTE",
"SIS: Sales Org. Analysis - Selection", 
"tutorials/SD_MCTE.sim",
"SD",
"SD Information System and Reporting",
"SD Information System and Reporting",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sdis/sld001.htm",
"overviews/sd/sdis/sld001.htm"
);

scripts[++count] = new Script(
"V/LD",
"Execute Pricing Report", 
"tutorials/SD_VLD.sim",
"SD",
"SD Information System and Reporting",
"SD Information System and Reporting",
"overviews/sd/overview/sld001.htm",
"overviews/sd/sdis/sld001.htm",
"overviews/sd/sdis/sld001.htm"
);

scripts[++count] = new Script(
"ME11",
"Create Purchasing Info Record", 
"tutorials/MM_ME11.sim",
"MM",
"MM Master Records",
"Purchasing Info Record",
"overviews/mm/overview/sld001.htm",
"overviews/mm/master_records/master_records/sld001.htm",
"overviews/mm/master_records/purchasing_info_record/sld001.htm"
);

scripts[++count] = new Script(
"ME12",
"Change Purchasing Info Record", 
"tutorials/MM_ME12.sim",
"MM",
"MM Master Records",
"Purchasing Info Record",
"overviews/mm/overview/sld001.htm",
"overviews/mm/master_records/master_records/sld001.htm",
"overviews/mm/master_records/purchasing_info_record/sld001.htm"
);

scripts[++count] = new Script(
"ME14",
"Changes to Purchasing Info Record", 
"tutorials/MM_ME14.sim",
"MM",
"MM Master Records",
"Purchasing Info Record",
"overviews/mm/overview/sld001.htm",
"overviews/mm/master_records/master_records/sld001.htm",
"overviews/mm/master_records/purchasing_info_record/sld001.htm"
);

scripts[++count] = new Script(
"XK01",
"Vendor Master Creation ", 
"tutorials/MM_XK01.sim",
"MM",
"MM Master Records",
"Vendor Master",
"overviews/mm/overview/sld001.htm",
"overviews/mm/master_records/master_records/sld001.htm",
"overviews/mm/master_records/vendor/sld001.htm"
);

scripts[++count] = new Script(
"XK02",
"Vendor Master Change", 
"tutorials/MM_XK02.sim",
"MM",
"MM Master Records",
"Vendor Master",
"overviews/mm/overview/sld001.htm",
"overviews/mm/master_records/master_records/sld001.htm",
"overviews/mm/master_records/vendor/sld001.htm"
);

scripts[++count] = new Script(
"XK04",
"Vendor Account Changes (Centrally)", 
"tutorials/MM_XK04.sim",
"MM",
"MM Master Records",
"Vendor Master",
"overviews/mm/overview/sld001.htm",
"overviews/mm/master_records/master_records/sld001.htm",
"overviews/mm/master_records/vendor/sld001.htm"
);

scripts[++count] = new Script(
"MM01",
"Create Material Master ", 
"tutorials/MM_MM01.sim",
"MM",
"MM Master Records",
"Material Master",
"overviews/mm/overview/sld001.htm",
"overviews/mm/master_records/master_records/sld001.htm",
"overviews/mm/master_records/material_master/sld001.htm"
);

scripts[++count] = new Script(
"MM02",
"Change Material Master ", 
"tutorials/MM_MM02.sim",
"MM",
"MM Master Records",
"Material Master",
"overviews/mm/overview/sld001.htm",
"overviews/mm/master_records/master_records/sld001.htm",
"overviews/mm/master_records/material_master/sld001.htm"
);

scripts[++count] = new Script(
"ME51N",
"Create Purchase Requisition", 
"tutorials/MM_ME51N.sim",
"MM",
"Purchasing",
"Purchase Requisitions",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/purchase_requisitions/sld001.htm"
);

scripts[++count] = new Script(
"ME52N",
"Change Purchase Requisition", 
"tutorials/MM_ME52N.sim",
"MM",
"Purchasing",
"Purchase Requisitions",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/purchase_requisitions/sld001.htm"
);

scripts[++count] = new Script(
"ME5A",
"Purchase Requisitions: List Display", 
"tutorials/MM_ME5A.sim",
"MM",
"Purchasing",
"Purchase Requisitions",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/purchase_requisitions/sld001.htm"
);

scripts[++count] = new Script(
"ME57",
"Assign and Process Requisitions", 
"tutorials/MM_ME57.sim",
"MM",
"Purchasing",
"Purchase Requisitions",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/purchase_requisitions/sld001.htm"
);

scripts[++count] = new Script(
"ME54",
"Individual Release", 
"tutorials/MM_ME54.sim",
"MM",
"Purchasing",
"Purchase Requisitions",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/purchase_requisitions/sld001.htm"
);

scripts[++count] = new Script(
"ME55",
"Collective Release", 
"tutorials/MM_ME55.sim",
"MM",
"Purchasing",
"Purchase Requisitions",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/purchase_requisitions/sld001.htm"
);

scripts[++count] = new Script(
"ME21N",
"Create Purchase Order", 
"tutorials/MM_ME21N.sim",
"MM",
"Purchasing",
"Purchase Order",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/purchase_order/sld001.htm"
);

scripts[++count] = new Script(
"ME22N",
"Change Purchase Order", 
"tutorials/MM_ME22N.sim",
"MM",
"Purchasing",
"Purchase Order",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/purchase_order/sld001.htm"
);

scripts[++count] = new Script(
"ME9F",
"Print Fax or E-Mail Purchase Order", 
"tutorials/MM_ME9F.sim",
"MM",
"Purchasing",
"Purchase Order",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/purchase_order/sld001.htm"
);

scripts[++count] = new Script(
"ME31K",
"Create Contract/Agreement", 
"tutorials/MM_ME31K.sim",
"MM",
"Purchasing",
"Contracts",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/contracts/sld001.htm"
);

scripts[++count] = new Script(
"ME32K",
"Change Contract/Agreement", 
"tutorials/MM_ME32K.sim",
"MM",
"Purchasing",
"Contracts",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/contracts/sld001.htm"
);

scripts[++count] = new Script(
"ME41",
"Create RFQ - Request for Quotation", 
"tutorials/MM_ME41.sim",
"MM",
"Purchasing",
"RFQ",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/rfq/sld001.htm"
);

scripts[++count] = new Script(
"ME42",
"Change RFQ ", 
"tutorials/MM_ME42.sim",
"MM",
"Purchasing",
"RFQ",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/rfq/sld001.htm"
);

scripts[++count] = new Script(
"ME47",
"Maintain Quotation", 
"tutorials/MM_ME47.sim",
"MM",
"Purchasing",
"RFQ",
"overviews/mm/overview/sld001.htm",
"overviews/mm/purchasing/purchasing/sld001.htm",
"overviews/mm/purchasing/rfq/sld001.htm"
);

scripts[++count] = new Script(
"MIGO",
"Post Goods Receipt for PO", 
"tutorials/MM_MIGO_1.sim",
"MM",
"Inventory Management",
"Goods Receipt",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/goods_receipt/sld001.htm"
);

scripts[++count] = new Script(
"MB1C",
"Other Goods Receipts", 
"tutorials/MM_MB1C.sim",
"MM",
"Inventory Management",
"Goods Receipt",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/goods_receipt/sld001.htm"
);

scripts[++count] = new Script(
"MIGO",
"Returns to vendor (Using GR for PO)", 
"tutorials/MM_MIGO_3.sim",
"MM",
"Inventory Management",
"Goods Receipt",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/goods_receipt/sld001.htm"
);

scripts[++count] = new Script(
"MIGO",
"Post Goods Receipt for PO Vendor Unknown", 
"tutorials/MM_MIGO_2.sim",
"MM",
"Inventory Management",
"Goods Receipt",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/goods_receipt/sld001.htm"
);

scripts[++count] = new Script(
"MB1A",
"Goods Issue", 
"tutorials/MM_MB1A_1.sim",
"MM",
"Inventory Management",
"Goods Issue",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/goods_issue/sld001.htm"
);

scripts[++count] = new Script(
"MB1A",
"Goods Withdrawal", 
"tutorials/MM_MB1A_2.sim",
"MM",
"Inventory Management",
"Goods Issue",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/goods_issue/sld001.htm"
);

scripts[++count] = new Script(
"MMBE",
"Stock Overviews", 
"tutorials/MM_MMBE.sim",
"MM",
"Inventory Management",
"Stock Transfer/Transfer Posting",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/stock_transfer_posting/sld001.htm"
);

scripts[++count] = new Script(
"MB52",
"Display Warehouse Stock ", 
"tutorials/MM_MB52.sim",
"MM",
"Inventory Management",
"Stock Transfer/Transfer Posting",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/stock_transfer_posting/sld001.htm"
);

scripts[++count] = new Script(
"MB51",
"Material Documents List: Material Movements", 
"tutorials/MM_MB51.sim",
"MM",
"Inventory Management",
"Stock Transfer/Transfer Posting",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/stock_transfer_posting/sld001.htm"
);

scripts[++count] = new Script(
"MB1B",
"Transfer Posting ", 
"tutorials/MM_MB1B.sim",
"MM",
"Inventory Management",
"Stock Transfer/Transfer Posting",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/stock_transfer_posting/sld001.htm"
);

scripts[++count] = new Script(
"MI01",
"Create Physical Inventory Document ", 
"tutorials/MM_MI01.sim",
"MM",
"Inventory Management",
"Physcial Inventory",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/physical_inventory/sld001.htm"
);

scripts[++count] = new Script(
"MI02",
"Change Physical Inventory Document ", 
"tutorials/MM_MI02.sim",
"MM",
"Inventory Management",
"Physcial Inventory",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/physical_inventory/sld001.htm"
);

scripts[++count] = new Script(
"MI04",
"Enter Inventory Count ", 
"tutorials/MM_MI04.sim",
"MM",
"Inventory Management",
"Physcial Inventory",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/physical_inventory/sld001.htm"
);

scripts[++count] = new Script(
"MI05",
"Change Inventory Count ", 
"tutorials/MM_MI05.sim",
"MM",
"Inventory Management",
"Physcial Inventory",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/physical_inventory/sld001.htm"
);

scripts[++count] = new Script(
"MI09",
"Enter Count without Reference", 
"tutorials/MM_MI09.sim",
"MM",
"Inventory Management",
"Physcial Inventory",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/physical_inventory/sld001.htm"
);

scripts[++count] = new Script(
"MI07",
"Post Inventory Difference", 
"tutorials/MM_MI07.sim",
"MM",
"Inventory Management",
"Physcial Inventory",
"overviews/mm/overview/sld001.htm",
"overviews/mm/inventory_management/inventory_management/sld001.htm",
"overviews/mm/inventory_management/physical_inventory/sld001.htm"
);

scripts[++count] = new Script(
"MD03",
"MRP Run Single Item-Single Level", 
"tutorials/MM_MD03.sim",
"MM",
"Material Requirements Planning",
"Material Requirements Planning",
"overviews/mm/overview/sld001.htm",
"overviews/mm/MRP/sld001.htm",
"overviews/mm/MRP/sld001.htm"
);

scripts[++count] = new Script(
"MIRO",
"Enter/Change Invoice", 
"tutorials/MM_MIRO.sim",
"MM",
"Invoice Verification",
"Logistics Invoice Verification",
"overviews/mm/overview/sld001.htm",
"overviews/mm/invoice_verification/sld001.htm",
"overviews/mm/invoice_verification/sld001.htm"
);

scripts[++count] = new Script(
"MRBR",
"Release Blocked Invoice", 
"tutorials/MM_MRBR.sim",
"MM",
"Invoice Verification",
"Logistics Invoice Verification",
"overviews/mm/overview/sld001.htm",
"overviews/mm/invoice_verification/sld001.htm",
"overviews/mm/invoice_verification/sld001.htm"
);

scripts[++count] = new Script(
"MR11",
"Maintain Clearing Account", 
"tutorials/MM_MR11.sim",
"MM",
"Invoice Verification",
"Logistics Invoice Verification",
"overviews/mm/overview/sld001.htm",
"overviews/mm/invoice_verification/sld001.htm",
"overviews/mm/invoice_verification/sld001.htm"
);

scripts[++count] = new Script(
"ME2C",
"Purchase Orders by Material Group", 
"tutorials/MM_ME2C.sim",
"MM",
"MM Information System",
"Purchasing",
"overviews/mm/overview/sld001.htm",
"overviews/mm/mmis/sld001.htm",
"overviews/mm/mmis/sld001.htm"
);

scripts[++count] = new Script(
"ME81",
"Analysis of Order Values", 
"tutorials/MM_ME81.sim",
"MM",
"MM Information System",
"Purchasing",
"overviews/mm/overview/sld001.htm",
"overviews/mm/mmis/sld001.htm",
"overviews/mm/mmis/sld001.htm"
);

scripts[++count] = new Script(
"MI20",
"Difference List", 
"tutorials/MM_MI20.sim",
"MM",
"MM Information System",
"Inventory",
"overviews/mm/overview/sld001.htm",
"overviews/mm/mmis/sld001.htm",
"overviews/mm/mmis/sld001.htm"
);

scripts[++count] = new Script(
"ME01",
"Maintain Material Source List", 
"tutorials/MM_ME01.sim",
"MM",
"MM Information System",
"Material Document",
"overviews/mm/overview/sld001.htm",
"overviews/mm/mmis/sld001.htm",
"overviews/mm/mmis/sld001.htm"
);

scripts[++count] = new Script(
"MB02",
"Change Material Document", 
"tutorials/MM_MB02.sim",
"MM",
"MM Information System",
"Material Document",
"overviews/mm/overview/sld001.htm",
"overviews/mm/mmis/sld001.htm",
"overviews/mm/mmis/sld001.htm"
);

scripts[++count] = new Script(
"MB90",
"Output Processing for Mat. Documents", 
"tutorials/MM_MB90.sim",
"MM",
"MM Information System",
"Material Document",
"overviews/mm/overview/sld001.htm",
"overviews/mm/mmis/sld001.htm",
"overviews/mm/mmis/sld001.htm"
);

scripts[++count] = new Script(
"ME6H",
"Vendor Evaluation Analysis", 
"tutorials/MM_ME6H.sim",
"MM",
"MM Information System",
"Logistics Info system",
"overviews/mm/overview/sld001.htm",
"overviews/mm/mmis/sld001.htm",
"overviews/mm/mmis/sld001.htm"
);

scripts[++count] = new Script(
"FS00",
"Create/Edit GL Account Master Centrally", 
"tutorials/FI_FS00.sim",
"FI",
"FI Master Records",
"G/L Account Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/gl_acct_master/sld001.htm"
);

scripts[++count] = new Script(
"XD01",
"Create Customer", 
"tutorials/FI_XD01.sim",
"FI",
"FI Master Records",
"Customer Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/customer_master/sld001.htm"
);

scripts[++count] = new Script(
"XD02",
"Change Customer (Centrally)", 
"tutorials/FI_XD02.sim",
"FI",
"FI Master Records",
"Customer Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/customer_master/sld001.htm"
);

scripts[++count] = new Script(
"XD04",
"Display Changes to the Customer Master", 
"tutorials/FI_XD04.sim",
"FI",
"FI Master Records",
"Customer Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/customer_master/sld001.htm"
);

scripts[++count] = new Script(
"XD05",
"Block/Unblock Customers (Centrally)", 
"tutorials/FI_XD05.sim",
"FI",
"FI Master Records",
"Customer Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/customer_master/sld001.htm"
);

scripts[++count] = new Script(
"OV50",
"Customer Master Data Comparison", 
"tutorials/FI_OV50.sim",
"FI",
"FI Master Records",
"Customer Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/customer_master/sld001.htm"
);

scripts[++count] = new Script(
"XK01",
"Create/Change/Display Vendor Master (Done in MM)", 
"tutorials/MM_XK01.sim",
"FI",
"FI Master Records",
"Vendor Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/mm/master_records/vendor/sld001.htm"
);

scripts[++count] = new Script(
"XK02",
"Change Vendor (Centrally) (Done in MM)", 
"tutorials/MM_XK02.sim",
"FI",
"FI Master Records",
"Vendor Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/mm/master_records/vendor/sld001.htm"
);

scripts[++count] = new Script(
"FI03",
"Display Bank Master Record ", 
"tutorials/FI_FI03.sim",
"FI",
"FI Master Records",
"Bank Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/bank_master/sld001.htm"
);

scripts[++count] = new Script(
"AS01",
"Create Asset Master Record", 
"tutorials/FI_AS01.sim",
"FI",
"FI Master Records",
"Asset Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/asset_master/sld001.htm"
);

scripts[++count] = new Script(
"AS02",
"Change Asset Master Record", 
"tutorials/FI_AS02.sim",
"FI",
"FI Master Records",
"Asset Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/asset_master/sld001.htm"
);

scripts[++count] = new Script(
"AS11",
"Create Asset Subnumber", 
"tutorials/FI_AS11.sim",
"FI",
"FI Master Records",
"Asset Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/asset_master/sld001.htm"
);

scripts[++count] = new Script(
"AS06",
"Delete Asset Master", 
"tutorials/FI_AS06.sim",
"FI",
"FI Master Records",
"Asset Master",
"overviews/fi/overview/sld001.htm",
"overviews/fi/master_records/master_records/sld001.htm",
"overviews/fi/master_records/asset_master/sld001.htm"
);

scripts[++count] = new Script(
"FB50",
"Creating and Posting General Journal Entries", 
"tutorials/FI_FB50.sim",
"FI",
"General Ledger",
"G/L Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-04",
"Post with Clearing", 
"tutorials/FI_F-04.sim",
"FI",
"General Ledger",
"G/L Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-06",
"Post Incoming Payments", 
"tutorials/FI_F-06.sim",
"FI",
"General Ledger",
"G/L Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-07",
"Post Outgoing Payments", 
"tutorials/FI_F-07.sim",
"FI",
"General Ledger",
"G/L Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FBD1",
"Recurring Document ", 
"tutorials/FI_FBD1.sim",
"FI",
"General Ledger",
"G/L Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FB08",
"Individual Reversal", 
"tutorials/FI_FB08.sim",
"FI",
"General Ledger",
"G/L Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FV50",
"Edit or Park G/L Document", 
"tutorials/FI_FV50.sim",
"FI",
"General Ledger",
"G/L Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FBRA",
"Reset Cleared Items", 
"tutorials/FI_FBRA.sim",
"FI",
"General Ledger",
"G/L Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F.14",
"Execute Recurring Entries", 
"tutorials/FI_F.14.sim",
"FI",
"General Ledger",
"G/L Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FBL3N",
"Display/Change Line Items", 
"tutorials/FI_FBL3N.sim",
"FI",
"General Ledger",
"G/L Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-03",
"Clear General Ledger Account", 
"tutorials/FI_F-03.sim",
"FI",
"General Ledger",
"G/L Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FS10N",
"Display Balances", 
"tutorials/FI_FS10N.sim",
"FI",
"General Ledger",
"G/L Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/general_ledger/gl/sld001.htm",
"overviews/fi/general_ledger/gl_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FB60",
"Enter Vendor Invoice", 
"tutorials/FI_FB60.sim",
"FI",
"Accounts Payable",
"A/P Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ap/ap/sld001.htm",
"overviews/fi/ap/ap_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FB65",
"Enter Vendor Credit Memo", 
"tutorials/FI_FB65.sim",
"FI",
"Accounts Payable",
"A/P Document Entry ",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ap/ap/sld001.htm",
"overviews/fi/ap/ap_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-44",
"Clear Vendor Account ", 
"tutorials/FI_F-44.sim",
"FI",
"Accounts Payable",
"A/P Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ap/ap/sld001.htm",
"overviews/fi/ap/ap_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-51",
"Post with Clearing (Clear Vendor Account)", 
"tutorials/FI_F-51.sim",
"FI",
"Accounts Payable",
"A/P Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ap/ap/sld001.htm",
"overviews/fi/ap/ap_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FK10N",
"Display Vendor Account Balance", 
"tutorials/FI_FK10N.sim",
"FI",
"Accounts Payable",
"A/P Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ap/ap/sld001.htm",
"overviews/fi/ap/ap_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FBL1N",
"Display Vendor Line Items", 
"tutorials/FI_FBL1N.sim",
"FI",
"Accounts Payable",
"A/P Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ap/ap/sld001.htm",
"overviews/fi/ap/ap_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F110",
"Automatic Payment Run", 
"tutorials/FI_F110.sim",
"FI",
"Accounts Payable",
"A/P Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ap/ap/sld001.htm",
"overviews/fi/ap/ap_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FB70",
"Enter Customer Invoice", 
"tutorials/FI_FB70.sim",
"FI",
"Accounts Receivable",
"A/R Document Entry",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FB75",
"Enter Customer Credit Memo", 
"tutorials/FI_FB75.sim",
"FI",
"Accounts Receivable",
"A/R Document Entry",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-28",
"Incoming Payment", 
"tutorials/FI_F-28.sim",
"FI",
"Accounts Receivable",
"A/R Document Entry",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FD10N",
"Display Balances", 
"tutorials/FI_FD10N.sim",
"FI",
"Accounts Receivable",
"A/R Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FBL5N",
"Display Customer Line Items", 
"tutorials/FI_FBL5N.sim",
"FI",
"Accounts Receivable",
"A/R Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-32",
"Clear Customer Account", 
"tutorials/FI_F-32.sim",
"FI",
"Accounts Receivable",
"A/R Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"FD11",
"Customer Account Analysis", 
"tutorials/FI_FD11.sim",
"FI",
"Accounts Receivable",
"A/R Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-30",
"Post with Clearing (Internal)", 
"tutorials/FI_F-30.sim",
"FI",
"Accounts Receivable",
"A/R Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-37",
"Customer Down Payment Request", 
"tutorials/FI_F-37.sim",
"FI",
"Accounts Receivable",
"A/R Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-29",
"Post Customer Down Payment", 
"tutorials/FI_F-29.sim",
"FI",
"Accounts Receivable",
"A/R Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F-39",
"Clear Customer Down Payment", 
"tutorials/FI_F-39.sim",
"FI",
"Accounts Receivable",
"A/R Account Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_doc_acct/sld001.htm"
);

scripts[++count] = new Script(
"F.31",
"Credit Management: Overview", 
"tutorials/FI_F.31.sim",
"FI",
"Accounts Receivable",
"Credit Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_credit_mgt/sld001.htm"
);

scripts[++count] = new Script(
"F.32",
"Credit Management: Missing Data", 
"tutorials/FI_F.32.sim",
"FI",
"Accounts Receivable",
"Credit Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_credit_mgt/sld001.htm"
);

scripts[++count] = new Script(
"F.33",
"Credit Management: Brief Overview", 
"tutorials/FI_F.33.sim",
"FI",
"Accounts Receivable",
"Credit Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_credit_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FD32",
"Change Customer Credit Management", 
"tutorials/FI_FD32.sim",
"FI",
"Accounts Receivable",
"Credit Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_credit_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FD24",
"Credit Limit Changes", 
"tutorials/FI_FD24.sim",
"FI",
"Accounts Receivable",
"Credit Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/ar/ar/sld001.htm",
"overviews/fi/ar/ar_credit_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FCH1",
"Display Check Information", 
"tutorials/FI_FCH1.sim",
"FI",
"Banks",
"Cash Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FCH7",
"Reprinting Check", 
"tutorials/FI_FCH7.sim",
"FI",
"Banks",
"Cash Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FCHR",
"Online Cashed Checks: Reconciliation", 
"tutorials/FI_FCHR.sim",
"FI",
"Banks",
"Cash Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FCHN",
"Display Check Register", 
"tutorials/FI_FCHN.sim",
"FI",
"Banks",
"Cash Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FCH4",
"Renumber Checks", 
"tutorials/FI_FCH4.sim",
"FI",
"Banks",
"Cash Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FCH3",
"Void Checks", 
"tutorials/FI_FCH3.sim",
"FI",
"Banks",
"Cash Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FCH9",
"Void Issued Checks", 
"tutorials/FI_FCH9.sim",
"FI",
"Banks",
"Cash Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FCH8",
"Reverse Check Payment", 
"tutorials/FI_FCH8.sim",
"FI",
"Banks",
"Cash Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm"
);

scripts[++count] = new Script(
"FCHG",
"Delete Cashing/Extract Data", 
"tutorials/FI_FCHG.sim",
"FI",
"Banks",
"Cash Management",
"overviews/fi/overview/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm",
"overviews/fi/banks/banks_cash_mgt/sld001.htm"
);

scripts[++count] = new Script(
"F-90",
"External Acquisition with Vendor", 
"tutorials/FI_F-90.sim",
"FI",
"Fixed Assets",
"Acquisitions",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fixed_assets/fixed_assets/sld001.htm",
"overviews/fi/fixed_assets/acquisitions/sld001.htm"
);

scripts[++count] = new Script(
"AFAB",
"Normal Depreciation Posting Run", 
"tutorials/FI_AFAB.sim",
"FI",
"Fixed Assets",
"Depreciation",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fixed_assets/fixed_assets/sld001.htm",
"overviews/fi/fixed_assets/depreciation/sld001.htm"
);

scripts[++count] = new Script(
"ABAON",
"Asset Sale Without Customer", 
"tutorials/FI_ABAON.sim",
"FI",
"Fixed Assets",
"Sale/Retirement",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fixed_assets/fixed_assets/sld001.htm",
"overviews/fi/fixed_assets/sale_retirement/sld001.htm"
);

scripts[++count] = new Script(
"ABAVN",
"Asset Retirement by Scrapping", 
"tutorials/FI_ABAVN.sim",
"FI",
"Fixed Assets",
"Sale/Retirement",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fixed_assets/fixed_assets/sld001.htm",
"overviews/fi/fixed_assets/sale_retirement/sld001.htm"
);

scripts[++count] = new Script(
"AIAB",
"Distribute Capital Assets Under Construction", 
"tutorials/FI_AIAB.sim",
"FI",
"Fixed Assets",
"Sale/Retirement",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fixed_assets/fixed_assets/sld001.htm",
"overviews/fi/fixed_assets/sale_retirement/sld001.htm"
);

scripts[++count] = new Script(
"AIBU",
"Settle Capital Assets Under Construction", 
"tutorials/FI_AIBU.sim",
"FI",
"Fixed Assets",
"Sale/Retirement",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fixed_assets/fixed_assets/sld001.htm",
"overviews/fi/fixed_assets/sale_retirement/sld001.htm"
);

scripts[++count] = new Script(
"FBS1",
"Enter Accrual/Deferral Doc.", 
"tutorials/FI_FBS1.sim",
"FI",
"Periodic Processing",
"Month-End/Period-End Closing",
"overviews/fi/overview/sld001.htm",
"overviews/fi/pp/periodic_processing/sld001.htm",
"overviews/fi/pp/periodic_processing/sld001.htm"
);

scripts[++count] = new Script(
"F.81",
"Reverse Accrual/Deferral Document", 
"tutorials/FI_F.81.sim",
"FI",
"Periodic Processing",
"Month-End/Period-End Closing",
"overviews/fi/overview/sld001.htm",
"overviews/fi/pp/periodic_processing/sld001.htm",
"overviews/fi/pp/periodic_processing/sld001.htm"
);

scripts[++count] = new Script(
"F.13",
"Automatic Clearing without Definition of Clearing Curr.", 
"tutorials/FI_F.13.sim",
"FI",
"Periodic Processing",
"Month-End/Period-End Closing",
"overviews/fi/overview/sld001.htm",
"overviews/fi/pp/periodic_processing/sld001.htm",
"overviews/fi/pp/periodic_processing/sld001.htm"
);

scripts[++count] = new Script(
"F.16",
"G/L Carryforward", 
"tutorials/FI_F.16.sim",
"FI",
"Periodic Processing",
"Year-End Closing",
"overviews/fi/overview/sld001.htm",
"overviews/fi/pp/periodic_processing/sld001.htm",
"overviews/fi/pp/periodic_processing/sld001.htm"
);

scripts[++count] = new Script(
"F.07",
"A/R and A/P Carryforward", 
"tutorials/FI_F.07.sim",
"FI",
"Periodic Processing",
"Year-End Closing",
"overviews/fi/overview/sld001.htm",
"overviews/fi/pp/periodic_processing/sld001.htm",
"overviews/fi/pp/periodic_processing/sld001.htm"
);

scripts[++count] = new Script(
"F.20",
"Customer Account Listing ", 
"tutorials/FI_F.20.sim",
"FI",
"FI Information System",
"A/R",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fiis/fi_info_system/sld001.htm",
"overviews/fi/fiis/fi_info_system/sld001.htm"
);

scripts[++count] = new Script(
"F.23",
"Display Customer Account Balances ", 
"tutorials/FI_F.23.sim",
"FI",
"FI Information System",
"A/R",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fiis/fi_info_system/sld001.htm",
"overviews/fi/fiis/fi_info_system/sld001.htm"
);

scripts[++count] = new Script(
"F.21",
"Open Items Report (aging report)", 
"tutorials/FI_F.21.sim",
"FI",
"FI Information System",
"A/R",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fiis/fi_info_system/sld001.htm",
"overviews/fi/fiis/fi_info_system/sld001.htm"
);

scripts[++count] = new Script(
"F.40",
"Run Vendor Listing ", 
"tutorials/FI_F.40.sim",
"FI",
"FI Information System",
"A/P",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fiis/fi_info_system/sld001.htm",
"overviews/fi/fiis/fi_info_system/sld001.htm"
);

scripts[++count] = new Script(
"F.42",
"Display Vendor Account Balances ", 
"tutorials/FI_F.42.sim",
"FI",
"FI Information System",
"A/P",
"overviews/fi/overview/sld001.htm",
"overviews/fi/fiis/fi_info_system/sld001.htm",
"overviews/fi/fiis/fi_info_system/sld001.htm"
);

scripts[++count] = new Script(
"KA03",
"Display Cost Element", 
"tutorials/FI_KA03.sim",
"CO",
"Cost Element Accounting",
"Cost Element",
"overviews/fi/overview/sld001.htm",
"overviews/co/cost_element/sld001.htm",
"overviews/co/cost_element/sld001.htm"
);

scripts[++count] = new Script(
"KAH3",
"Display Cost Element Group", 
"tutorials/FI_KAH3.sim",
"CO",
"Cost Element Accounting",
"Cost Element Group",
"overviews/fi/overview/sld001.htm",
"overviews/co/cost_element/sld001.htm",
"overviews/co/cost_element/sld001.htm"
);

scripts[++count] = new Script(
"KS03",
"Display Cost Center", 
"tutorials/FI_KS03.sim",
"CO",
"Cost Center Accounting",
"Cost Center",
"overviews/fi/overview/sld001.htm",
"overviews/co/cost_center/sld001.htm",
"overviews/co/cost_center/sld001.htm"
);

scripts[++count] = new Script(
"KSH3",
"Display Cost Center Group", 
"tutorials/FI_KSH3.sim",
"CO",
"Cost Center Accounting",
"Cost Center Group",
"overviews/fi/overview/sld001.htm",
"overviews/co/cost_center/sld001.htm",
"overviews/co/cost_center/sld001.htm"
);

scripts[++count] = new Script(
"OKENN",
"Display Standard Hierarchy", 
"tutorials/FI_OKENN.sim",
"CO",
"Cost Center Accounting",
"Standard Hierarchy",
"overviews/fi/overview/sld001.htm",
"overviews/co/cost_center/sld001.htm",
"overviews/co/cost_center/sld001.htm"
);

scripts[++count] = new Script(
"KP97",
"Copy Plan to Plan", 
"tutorials/FI_KP97.sim",
"CO",
"Cost Center Accounting",
"Planning",
"overviews/fi/overview/sld001.htm",
"overviews/co/cost_center/sld001.htm",
"overviews/co/cost_center/sld001.htm"
);

scripts[++count] = new Script(
"KP98",
"Copy Actual to Plan", 
"tutorials/FI_KP98.sim",
"CO",
"Cost Center Accounting",
"Planning",
"overviews/fi/overview/sld001.htm",
"overviews/co/cost_center/sld001.htm",
"overviews/co/cost_center/sld001.htm"
);

scripts[++count] = new Script(
"KO01",
"Create Internal Order", 
"tutorials/FI_KO01.sim",
"CO",
"Internal Orders",
"Master Data",
"overviews/fi/overview/sld001.htm",
"overviews/co/internal_order/sld001.htm",
"overviews/co/internal_order/sld001.htm"
);

scripts[++count] = new Script(
"KB11N",
"Enter Manual Repostings of Costs", 
"tutorials/FI_KB11N.sim",
"CO",
"Internal Orders",
"Actual Postings",
"overviews/fi/overview/sld001.htm",
"overviews/co/internal_order/sld001.htm",
"overviews/co/internal_order/sld001.htm"
);

  

/* *********************************************************
** process query string of URL that loaded this page to get:
**   sortVal, appVal, compVal, subcompVal
** ****************************************************** */

var i, j;  // all-purpose vars
var query   = location.search;  // URL query string
var queries = new Array();      // array to hold parsed query data
var sortVal   = "tcodeAsc";  // default sort setting
var appVal   = "All Applications";  
var compVal  = "All Components";  
//var subcompVal = "any";

if (query.length > 1)  // query string there, parse it!
  queries = query.substring(1,query.length).split("&");

for (i=0; i<queries.length; i++)  // set sort/app/comp/subcomp vals
  {
  if (queries[i].indexOf("sort") > -1)
    sortVal = queries[i].substring(5, queries[i].length);
  else if (queries[i].indexOf("app") > -1)
    appVal = queries[i].substring(4, queries[i].length),
    appVal = appVal.replace("%20"," "),
    appVal = appVal.replace("%20"," ");         
  else if (queries[i].indexOf("comp") > -1)
    compVal = queries[i].substring(5, queries[i].length),
    compVal = compVal.replace("%20"," "),
    compVal = compVal.replace("%20"," "),
    compVal = compVal.replace("%20"," "),    
    compVal = compVal.replace("%20"," ");  
  else if (queries[i].indexOf("subcomp") > -1)
    subcompVal = queries[i].substring(7, queries[i].length);
  }
/*  if (compVal == "All CO Components")
  compVal == "All Components";  
  if (compVal == "All FI Components")
  compVal == "All Components";  
  if (compVal == "All MM Components")
  compVal == "All Components";    
  if (compVal == "All SD Components")
  compVal == "All Components";      */


/* *********************************************************
** filter table - i.e., build scriptsInList array per
** App/Comp/Subcomp settings (appVal, compVal, subcompVal)
** ****************************************************** */

var scriptsInList = new Array();

function doesRatingPass(testRating, currRating)
  {
  if (testRating.indexOf("+") != -1)
    {
    currRating += "+";
    if (currRating.indexOf(testRating) != -1)
      return true;
    }
  else
    {
    if (currRating == testRating)
      return true;
    }
  return false;
  }

for (i=0,j=0; i<scripts.length; i++)
  {
  if ((appVal == "All Applications" || scripts[i].app.indexOf(appVal) != -1) && 
      (compVal == "All Components" || scripts[i].comp.indexOf(compVal) != -1))
//      (subcompVal == "any" || doesRatingPass(subcompVal, scripts[i].subcomp))) 
    scriptsInList[j++] = scripts[i];
  }

function applyFilters(form)
  {
  // get current
  appVal = form.appSel.options[form.appSel.selectedIndex].text;
  compVal = form.compSel.options[form.compSel.selectedIndex].text;
//  subcompVal = form.subcompSel.options[form.subcompSel.selectedIndex].text;

  var queryStr = "";
  queryStr += "sort=" + sortVal;
  queryStr += ((appVal == "All Applications") ? "" : "&app="+appVal);
  queryStr += ((compVal == "All Components") ? "" : "&comp="+compVal);
//  queryStr += ((subcompVal == "any") ? "" : "&subcomp="+subcompVal);
  if (queryStr != "")
    queryStr = "?" + queryStr;
  location = "tutorials_list.htm" + queryStr;
  }

function clearFilters()
  {
  var queryStr = "";
  queryStr += "sort=" + sortVal;
  if (queryStr != "")
    queryStr = "?" + queryStr;
  location = "tutorials_list.htm" + queryStr;
  }


//		Sort Functions

function sortByTNameAscending(a, b)
  {
  if (a.tname < b.tname)
    return -1;
  else if (a.tname > b.tname)
    return 1;
  return 0;
  }

function sortByTNameDescending(a, b)
  {
  if (a.tname < b.tname)
    return 1;
  else if (a.tname > b.tname)
    return -1;
  return 0;
  }

function sortByTCodeAscending(a, b)
  {
  if (a.tcode < b.tcode)
    return -1;
  else if (a.tcode > b.tcode)
    return 1;
  return 0;
  }

function sortByTCodeDescending(a, b)
  {
  if (a.tcode < b.tcode)
    return 1;
  else if (a.tcode > b.tcode)
    return -1;
  return 0;
  }

function sortByAppAscending(a, b)
  {
  if (a.app < b.app)
    return -1;
  else if (a.app > b.app)
    return 1;
  return 0;
  }

function sortByAppDescending(a, b)
  {
  if (a.app < b.app)
    return 1;
  else if (a.app > b.app)
    return -1;
  return 0;
  }

function sortByCompAscending(a, b)
  {
  if (a.comp < b.comp)
    return -1;
  else if (a.comp > b.comp)
    return 1;
  return 0;
  }

function sortByCompDescending(a, b)
  {
  if (a.comp < b.comp)
    return 1;
  else if (a.comp > b.comp)
    return -1;
  return 0;
  }
  
function sortBySubCompAscending(a, b)
  {
  if (a.subcomp < b.subcomp)
    return -1;
  else if (a.subcomp > b.subcomp)
    return 1;
  return 0;
  }

function sortBySubCompDescending(a, b)
  {
  if (a.subcomp < b.subcomp)
    return 1;
  else if (a.subcomp > b.subcomp)
    return -1;
  return 0;
  }


/* *********************************************************
** sort scripts 
** and assign values
** ****************************************************** */

var tnameSortArrow = "";
var tcodeSortArrow = "";
var appSortArrow = "";
var compSortArrow = "";
var subcompSortArrow = "";

if (sortVal == "tnameAsc") {
  scriptsInList.sort(sortByTNameAscending)
  tnameSortArrow = "&nbsp;<img src=images/arrow_up_crop.gif>";
  }
else if (sortVal == "tnameDesc") { 
  scriptsInList.sort(sortByTNameDescending)
  tnameSortArrow = "&nbsp;<img src=images/arrow_down_crop.gif>";
  }
else if (sortVal == "tcodeAsc") { 
  scriptsInList.sort(sortByTCodeAscending)
  tcodeSortArrow = "&nbsp;<img src=images/arrow_up_crop.gif>";
  }
else if (sortVal == "tcodeDesc") { 
  scriptsInList.sort(sortByTCodeDescending)
  tcodeSortArrow = "&nbsp;<img src=images/arrow_down_crop.gif>";
  }
else if (sortVal == "appAsc") { 
  scriptsInList.sort(sortByAppAscending)
  appSortArrow = "&nbsp;<img src=images/arrow_up_crop.gif>";
  }
else if (sortVal == "appDesc") { 
  scriptsInList.sort(sortByAppDescending)
  appSortArrow = "&nbsp;<img src=images/arrow_down_crop.gif>";
  }
else if (sortVal == "compAsc") { 
  scriptsInList.sort(sortByCompAscending)
  compSortArrow = "&nbsp;<img src=images/arrow_up_crop.gif>";
  }
else if (sortVal == "compDesc") { 
  scriptsInList.sort(sortByCompDescending)
  compSortArrow = "&nbsp;<img src=images/arrow_down_crop.gif>";
  }
else if (sortVal == "subcompAsc") { 
  scriptsInList.sort(sortBySubCompAscending)
  subcompSortArrow = "&nbsp;<img src=images/arrow_up_crop.gif>";
  }
else if (sortVal == "subcompDesc") { 
  scriptsInList.sort(sortBySubCompDescending)
  subcompSortArrow = "&nbsp;<img src=images/arrow_down_crop.gif>";
  }


/* *********************************************************
** update table by reloading tutorials_list.htm with query string
** ****************************************************** */

function updateTable(sortBy)
  {
  var queryStr = "";
  var sortType;

  if ((sortBy == "tname" && sortVal == "tnameAsc") ||
      (sortBy == "tcode" && sortVal == "tcodeAsc") ||
      (sortBy == "app" && sortVal == "appAsc") ||
      (sortBy == "comp" && sortVal == "compAsc") ||
      (sortBy == "subcomp" && sortVal == "subcompAsc"))
    sortType = "Desc";
  else
    sortType = "Asc";

  queryStr += "sort=" + sortBy + sortType;
  queryStr += ((appVal == "All Applications") ? "" : "&app="+appVal);
  queryStr += ((compVal == "All Components") ? "" : "&comp="+compVal);
//  queryStr += ((subcompVal == "any") ? "" : "&subcomp="+subcompVal);
  if (queryStr != "")
    queryStr = "?" + queryStr;
  location = "tutorials_list.htm" + queryStr;
  }



// create HTML table


var tableBegin = '<table  bgcolor=#666666 border="0" cellspacing="0" cellpadding="5" align="center" width="100%">';
var tableEnd   = '</table>';

var rowHeaders = '<tr><td nowrap ><a href="javascript:updateTable(\'tcode\')" class=form-button onMouseOver="return showStatusMsg(\'\')">Code</a>' + tcodeSortArrow + '</td><td nowrap ><a href="javascript:updateTable(\'tname\')" class=form-button onMouseOver="return showStatusMsg(\'\')">Name</a>' + tnameSortArrow + '</td><td nowrap ><a href="javascript:updateTable(\'app\')" class=form-button onMouseOver="return showStatusMsg(\'\')">App.</a>' + appSortArrow + '</td><td nowrap ><a href="javascript:updateTable(\'comp\')" class=form-button onMouseOver="return showStatusMsg(\'  \')">Component</a>' + compSortArrow + '</td><td  nowrap><a href="javascript:updateTable(\'subcomp\')" class=form-button onMouseOver="return showStatusMsg(\'\')">Subcomponent</a>' + subcompSortArrow + '</td></tr>';

	var rownumber=1;

var tableBody = "";  // this will hold all the currently listed script data

for (i=0; i<scriptsInList.length; i++)
  {
  
	var color1="#dddddd";
	var color2="#eeeeee";




	var currentcolor;
	if (rownumber % 2 ==0){
		currentcolor = color1;
		} else{
		currentcolor = color2;


	}
	var rowBegin  = '<tr bgcolor=\"' + currentcolor + '\" valign="top">';
	var rowEnd    = '</tr>';

  tableBody += rowBegin;
  tableBody += "<td><a href='" + scriptsInList[i].url + "'target=itutor>";
  tableBody += scriptsInList[i].tcode + "</a></td>";
  tableBody += "<td>";
  tableBody += scriptsInList[i].tname + "</td>";  
  tableBody += "<td><a href='" + scriptsInList[i].appurl + "'class=linkcomp>";
  tableBody += scriptsInList[i].app + "</a></td>";
  tableBody += "<td><a href='" + scriptsInList[i].compurl + "'class=linkcomp>";  
  tableBody += scriptsInList[i].comp + "</a></td>";
  tableBody += "<td><a href='" + scriptsInList[i].subcompurl + "'class=linkcomp>";
  tableBody += scriptsInList[i].subcomp + "</a></td>";  

  tableBody += rowEnd;  
  rownumber = rownumber + 1;
  }


/* *********************************************************
** init()
** ======
** set initial values of Type/Level/Rating select boxes
**
** when creating your own database, modify this code to
** set the initial values for your filter boxes
** ****************************************************** */

function init()
  {
switch(appVal){
case "All Applications":
   document.dbForm.appSel.selectedIndex = 0; 

  if (compVal == "All Components")
    document.dbForm.compSel.selectedIndex = 0; 
  else if (compVal == "Accounts Payable")
    document.dbForm.compSel.selectedIndex = 1;
  else if (compVal == "Accounts Receivable")
    document.dbForm.compSel.selectedIndex = 2; 
  else if (compVal == "Banks")
    document.dbForm.compSel.selectedIndex = 3; 
  else if (compVal == "Billing")
    document.dbForm.compSel.selectedIndex = 4;
  else if (compVal == "Cost Center Accounting")
    document.dbForm.compSel.selectedIndex = 5; 
  else if (compVal == "Cost Element Accounting")
    document.dbForm.compSel.selectedIndex = 6; 
  else if (compVal == "FI Information System")
    document.dbForm.compSel.selectedIndex = 7; 
  else if (compVal == "Fixed Assets")
    document.dbForm.compSel.selectedIndex = 8; 
  else if (compVal == "General Ledger")
    document.dbForm.compSel.selectedIndex = 9;
  else if (compVal == "Internal Orders")
    document.dbForm.compSel.selectedIndex = 10; 
  else if (compVal == "Inventory Management")
    document.dbForm.compSel.selectedIndex = 11; 
  else if (compVal == "Invoice Verification")
    document.dbForm.compSel.selectedIndex = 12;
  else if (compVal == "Master Records")
    document.dbForm.compSel.selectedIndex = 13; 
  else if (compVal == "Material Requirements Planning")
    document.dbForm.compSel.selectedIndex = 14; 
  else if (compVal == "MM Information System")
    document.dbForm.compSel.selectedIndex = 15;
  else if (compVal == "Periodic Processing")
    document.dbForm.compSel.selectedIndex = 16; 
  else if (compVal == "Purchasing")
    document.dbForm.compSel.selectedIndex = 17; 
  else if (compVal == "SD Information System and Reporting")
    document.dbForm.compSel.selectedIndex = 18;
  else if (compVal == "Sales Process")
    document.dbForm.compSel.selectedIndex = 19; 
  else if (compVal == "Shipping and Transportation")
    document.dbForm.compSel.selectedIndex = 20;  

 break;
case "SD":
   document.dbForm.appSel.selectedIndex = 4; 
   
  if (compVal == "All Components")
    document.dbForm.compSel.selectedIndex = 0; 
  else if (compVal == "Billing")
    document.dbForm.compSel.selectedIndex = 1;
  else if (compVal == "Master Records")
    document.dbForm.compSel.selectedIndex = 2; 
  else if (compVal == "SD Information System and Reporting")
    document.dbForm.compSel.selectedIndex = 3;
  else if (compVal == "Sales Process")
    document.dbForm.compSel.selectedIndex = 4; 
  else if (compVal == "Shipping and Transportation")
    document.dbForm.compSel.selectedIndex = 5;       
break;   
case "MM":
   document.dbForm.appSel.selectedIndex = 3; 
   
  if (compVal == "All Components")
    document.dbForm.compSel.selectedIndex = 0; 
  else if (compVal == "Inventory Management")
    document.dbForm.compSel.selectedIndex = 1;
  else if (compVal == "Invoice Verification")
    document.dbForm.compSel.selectedIndex = 2; 
  else if (compVal == "Master Records")
    document.dbForm.compSel.selectedIndex = 3; 
  else if (compVal == "Material Requirements Planning")
    document.dbForm.compSel.selectedIndex = 4;
  else if (compVal == "MM Information System")
    document.dbForm.compSel.selectedIndex = 5; 
  else if (compVal == "Purchasing")
    document.dbForm.compSel.selectedIndex = 6;       
break;   
case "FI":
   document.dbForm.appSel.selectedIndex = 2; 
   
  if (compVal == "All Components")
    document.dbForm.compSel.selectedIndex = 0; 
  else if (compVal == "Accounts Payable")
    document.dbForm.compSel.selectedIndex = 1;
  else if (compVal == "Accounts Receivable")
    document.dbForm.compSel.selectedIndex = 2; 
  else if (compVal == "Banks")
    document.dbForm.compSel.selectedIndex = 3; 
  else if (compVal == "FI Information System")
    document.dbForm.compSel.selectedIndex = 4;
  else if (compVal == "Fixed Assets")
    document.dbForm.compSel.selectedIndex = 5; 
  else if (compVal == "General Ledger")
    document.dbForm.compSel.selectedIndex = 6;    
  else if (compVal == "Master Records")
    document.dbForm.compSel.selectedIndex = 7; 
  else if (compVal == "Periodic Processing")
    document.dbForm.compSel.selectedIndex = 8;     
break;   
case "CO":
   document.dbForm.appSel.selectedIndex = 1; 
   
  if (compVal == "All Components")
    document.dbForm.compSel.selectedIndex = 0; 
  else if (compVal == "Cost Center Accounting")
    document.dbForm.compSel.selectedIndex = 1;
  else if (compVal == "Cost Element Accounting")
    document.dbForm.compSel.selectedIndex = 2; 
  else if (compVal == "Internal Orders")
    document.dbForm.compSel.selectedIndex = 3; 
break;   
}

/*  
        
    


  

  else if (appVal == "FI")
    document.dbForm.appSel.selectedIndex = 2;
  else if (appVal == "MM")
    document.dbForm.appSel.selectedIndex = 3; 
  else if (appVal == "SD")
    document.dbForm.appSel.selectedIndex = 4; 
    */
               


    
  }


/* *********************************************************
**   usage: onMouseOver="return showStatusMsg('message')"
** ****************************************************** */

function showStatusMsg(msg)  // display status-bar message
  {
  status = msg;
  return true;
  }


