// Initialize WebDDM
function initWebDDM ()
{
	// Preload all the images we will be using...
	WebDDM_preloadImages('menus/mainmenu/arrowdown.gif',
		'menus/mainmenu/arrowleft.gif');
	
	// Set arrow HTML
	var arrowDown = '<span style="position:relative;top:0;left:5;">'+
		'<img src="menus/mainmenu/arrowdown.gif" style="border-style: none;" />' +
		'</span>';
	var arrowLeft = '<span style="position:relative;top:0;left:5;">'+
		'<img src="menus/mainmenu/arrowleft.gif" style="border-style: none;" />' +
		'</span>';
			
	// Begin base menu
	var menu = {
		'position':'relative',
		'top':0,
		'left':0,
		'width':650,
		'height':30,
		'expand_menu':'auto',

		// Begin array of Masters Top Bar, level 0
		'items':{
			'top':0,
			'left':0,
			
			'background-item':{
				'width': 550, 'height': 26,
				'top':0, 'left':0,
				'class': 'container'
			},
			
			1:{
				'content':'Masters' + arrowDown,
				'content_menuopen':'<a href="index.html"><u>M</u>asters' + arrowLeft + '</a>',
				'cursor':'hand',
				'width':130, 'height':18, 'offsetLeft':100,'offsetTop':3,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',
				'tooltip':{
					'content':'Master Items',
					'classPrefix':'domTTClassic',
					'trail':true
				},

				// Begin array of Masters
				'items':{
					'top':20,
					'left':0,

					'background-item':{
						'width':136, 'height':110, 'left':0, 'top':2,
						'class':'container'
					},
					
					1:{
						'content':'Products&nbsp; ' + arrowDown,
						'content_menuopen':'<u>P</u>roduct Master' + arrowLeft,
						'width':130, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',

						// Begin array of Product
						'items':{
							'top':0,
							'left':130,

							'background-item':{
								'width':136, 'height':180, 'left':2, 'top':0,
								'class':'container'
							},

							1:{
								'content':'Product',
								'content_rollover':'<a href="/wilson/prgmas/product/index.html"><u>P</u>roduct</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetLeft':3, 'offsetTop':3,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							2:{
								'content':'Product Group (ITEM)',
								'content_rollover':'<a href="/wilson/prgmas/prodcat/index.html">Product<u>G</u>roup </a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':22,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							3:{
								'content':'1st Subgroup',
								'content_rollover':'<a href="/wilson/prgmas/descrip/index.html"><u>1</u>st Subgroup</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':22,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							4:{
								'content':'Application',
								'content_rollover':'<a href="/wilson/prgmas/application/index.html"><u>A</u>pplication</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':22,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							5:{
								'content':'Machinaries',
								'content_rollover':'<a href="/wilson/prgmas/machineries/index.html"><u>M</u>achinaries</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':22,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							6:{
								'content':'Material',
								'content_rollover':'<a href="/wilson/prgmas/material/index.html">Ma<u>T</u>erial</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':22,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							7:{
								'content':'Sub Contract Type',
								'content_rollover':'<a href="/wilson/prgmas/subcontract/index.html">Sub&nbsp;<u>C</u>ontract Type</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':22,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							8:{
								'content':'Finish',
								'content_rollover':'<a href="/wilson/prgmas/finish/index.html"><u>F</u>inish</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':22,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}
						}
						// End array of Product
					},
					2:{
						'content':'Customers' + arrowDown,
						'content_menuopen':'<u>C</u>ustomers' + arrowLeft,
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',

						// Begin array of Customers
						'items':{
							'top':0,
							'left':130,
							
							// Background item
							'background-item':{
								'width':138, 'height':50, 'left':2, 'top':0,
								'class':'container'
							},

							1:{
								'content':'Area',
								'content_rollover':'<a href="/wilson/prgmas/area/index.html"><u>A</u>rea</a>',
								'cursor':'hand',
								'width':132, 'height':20, 'offsetLeft':3, 'offsetTop':3,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							2:{
								'content':'Customers',
                                'content_rollover':'<a href="/einvoice/buyer/manage_buy.php" target="_blank"><u>C</u>ustomers</a>',
                                'cursor':'hand',
                                'width':132, 'height':20, 'offsetTop':22,
                                'class':'mainmenu_off',
                                'class_rollover':'mainmenu_rollover'
							}
						}
						// End array of Customers
					},
					3:{
						'content':'Duty & Taxes' + arrowDown,
						'content_menuopen':'<u>D</u>uties & Taxes' + arrowLeft,
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',

						// Begin array of Taxes
						'items':{
							'top':0,
							'left':130,
							
							// Background item
							'background-item':{
								'width':200, 'height':50, 'left':2, 'top':0,
								'class':'container'
							},

							1:{
								'content':'Excise Tariff & Duty',
								'content_rollover':'<a href="/wilson/prgmas/excise/index.html"><u>E</u>xcise Tariff and Duty</a>',
								'cursor':'hand',
								'width':190, 'height':20, 'offsetLeft':1, 'offsetTop':3,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							2:{
								'content':'Sales Tax',
								'content_rollover':'<a href="/wilson/prgmas/salestax/index.html"><u>S</u>ales Tax </a>',
								'cursor': 'hand',
								'width':132, 'height':20, 'offsetTop':22,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}
						}
						// End array of Taxes					
					},
					4:{
						'content':'Company',
						'content_rollover':'<a href="/wilson/prgmas/company/index.html"><u>C</u>ompany</a>',
						'cursor':'hand',
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_rollover':'mainmenu_rollover'
					}
					
					
					
					
					
					
					
				}
				// End array of Masters, item 4
			},
			// End of Down Array 
			2:{
				'content':'Transactions' + arrowDown,
				'content_menuopen':'<a href="index.html"><u>T</u>ransactions' + arrowLeft + '</a>',
				'cursor':'hand',
				'width':130, 'height':20, 'offsetLeft':132,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',
				'tooltip':{
					'content':'Daily Transactions',
					'classPrefix':'domTTClassic',
					'trail':true
				},

				// Begin array of Transactions
				'items':{
					'top':20,
					'left':0,

					'background-item':{
						'width':136, 'height':125, 'left':0, 'top':2,
						'class':'container'
					},
//**********************************************************************					
					1:{
						'content':'Orders&nbsp; ' + arrowDown,
						'content_menuopen':'Orders' + arrowLeft,
						'width':130, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',

						// Begin array of Orders
						'items':{
							'top':0,
							'left':130,

							'background-item':{
								'width':175, 'height':380, 'left':2, 'top':0,
								'class':'container'
							},

							1:{
								'content':'Order Book Entry',
								'content_rollover':'<a href="/wilson/prgent/orders/input.php"><u>O</u>rder Book entry</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetLeft':3, 'offsetTop':2,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							2:{
								'content':'Schedule Entry',
								'content_rollover':'<a href="/wilson/prgent/orders/input2.php"><u>S</u>chedule entry </a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
						
							3:{
								'content':'Edit Order Book',
								'content_rollover':'<a href="/wilson/prgent/orders/view_sele.php"><u>E</u>dit Order book</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},


							4:{
								'content':'Approval/Rejection&nbsp;Entry',
								'content_rollover':'<a href="/wilson/prgent/orders/reject_input_new.php">Approval/Rejection&nbsp;Entry </a>',
								'cursor':'hand',
								'width':130, 'height':35, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},


							5:{
								'content':'Approval/Rejection&nbsp;Edit',
								'content_rollover':'<a href="/wilson/prgent/orders/reject_edit.php">Approval/Rejection&nbsp;Edit </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},

							6:{
								'content':'Remarks Entry',
								'content_rollover':'<a href="/wilson/prgent/orders/rem_select.php">Remarks Entry</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},

							
							7:{
								'content':'Labour Approval/Rejection',
								'content_rollover':'<a href="/wilson/prgent/orders/reject_input_labour.php"> Labour Approval/Rejection</a>',
								'cursor':'hand',
								'width':170, 'height':20, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							8:{
								'content':'Labour App./Rej.&nbsp;Edit',
								'content_rollover':'<a href="/wilson/prgent/orders/reject_edit_labour.php">Labour App./Rej.&nbsp;Edit</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':40,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},							
							9:{
								'content':'Close Orders/Schedules',
								'content_rollover':'<a href="/wilson/prgent/orders/closure_select.php">Close Orders/Schedules</a>',
								'cursor':'hand',
								'width':170, 'height':20, 'offsetTop':40,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							10:{
								'content':'Stock entry',
								'content_rollover':'<a href="/wilson/prgent/orders/receipts/index.html"><u>S</u>tock entry</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}																																																	
							
						}
						// End array of Product
//***************************************************************						
					},
				2:{
						'content':'Invoicing' + arrowDown,
						'content_menuopen':'Invoicing' + arrowLeft,
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',

						// Begin array of Taxes
						'items':{
							'top':0,
							'left':130,
							
							// Background item
							'background-item':{
								'width':160, 'height':360, 'left':2, 'top':0,
								'class':'container'
							},

							1:{
								'content':'Prepare Invoice',
								'content_rollover':'<a href="/wilson/prgent/invoice/index.html">Prepare Invoice</a>',
								'cursor':'hand',
								'width':132, 'height':20, 'offsetLeft':1, 'offsetTop':3,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
						
							2:{
								'content':'Print Invoice',
								'content_rollover':'<a href="/wilson/prgent/invoice/print_index.php">Print Invoice </a>',
								'cursor': 'hand',
								'width':132, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							
							3:{
								'content':'Labour_Orders/Invoices',
								'content_rollover':'<a href="/wilson/prgent/labour/index.html">Labour_Orders/Invoices </a>',
								'cursor': 'hand',
								'width':132, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							4:{
								'content':'Prepare_Export_Invoice',
								'content_rollover':'<a href="/wilson/prgent/expinvoice/index.html">Prepare_Export_Invoice </a>',
								'cursor': 'hand',
								'width':132, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},							
							5:{
								'content':'Print_Export_Invoice',
								'content_rollover':'<a href="/wilson/prgent/expinvoice/exp_print_select.php">Print_Export_Invoice </a>',
								'cursor': 'hand',
								'width':132, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
														
							6:{
								'content':'Cancel Invoices',
								'content_rollover':'<a href="/wilson/prgent/invoice/cancel.php">Cancel Invoice </a>',
								'cursor': 'hand',
								'width':132, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							7:{
								'content':'Cancel_Labour_Invoices',
								'content_rollover':'<a href="/wilson/prgent/invoice/labour_cancel.php">Cancel_Labour_Invoice </a>',
								'cursor': 'hand',
								'width':132, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							8:{
								'content':'Cancel Export Invoice',
								'content_rollover':'<a href="/wilson/prgent/expinvoice/cancel.php">Cancel_Export_Invoice </a>',
								'cursor': 'hand',
								'width':132, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},							
							9:{
								'content':'Turnover Entry',
								'content_rollover':'<a href="/wilson/prgent/invoice/turn_entry.php">Turnover Entry</a>',
								'cursor': 'hand',
								'width':132, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							10:{
								'content':'View_/_Edit_Turnover',
								'content_rollover':'<a href="/wilson/prgent/invoice/turn_view.php">View_/_Edit_Turnover</a>',
								'cursor': 'hand',
								'width':132, 'height':20, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}																																			
						}
						// End array of Taxes					
					},
					3:{
						'content':'Enquiry' + arrowDown,
						'content_menuopen':'Enquiry' + arrowLeft,
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',

						// Begin array of Materials
						'items':{
							'top':0,
							'left':130,
							
							// Background item
							'background-item':{
								'width':200, 'height':30, 'left':2, 'top':0,
								'class':'container'
							},

							1:{
								'content':'Enquiry',
								'content_rollover':'<a href="/wilson/prgent/enquiry/index.html">Enquiry</a>',
								'cursor':'hand',
								'width':190, 'height':20, 'offsetLeft':1, 'offsetTop':3,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}
							
						}
						// End array of Materials					
					},
					4:{
						'content':'Costing' + arrowDown,
						'content_menuopen':'Costing' + arrowLeft,
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',

						// Begin array of Materials
						'items':{
							'top':0,
							'left':130,
							
							// Background item
							'background-item':{
								'width':200, 'height':30, 'left':2, 'top':0,
								'class':'container'
							},

							1:{
								'content':'Costing',
								'content_rollover':'<a href="/wilson/prgent/cost/index.html">Costing</a>',
								'cursor':'hand',
								'width':190, 'height':20, 'offsetLeft':1, 'offsetTop':3,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}
														
							
						}
						// End array of Materials					
					},										
					5:{
						'content':'Quotations' + arrowDown,
						'content_menuopen':'Quotations' + arrowLeft,
						'width':130, 'height':20, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',

						// Begin array of Materials
						'items':{
							'top':0,
							'left':130,
							
							// Background item
							'background-item':{
								'width':200, 'height':30, 'left':2, 'top':0,
								'class':'container'
							},

							1:{
								'content':'Quotations',
								'content_rollover':'<a href="/wilson/prgent/quot/index.html">Quotations</a>',
								'cursor':'hand',
								'width':190, 'height':20, 'offsetLeft':1, 'offsetTop':3,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}
							
						}
						// End array of Materials					
					}										
					
				}
				// End array of Masters, item 4
			},
			3:{
				'content':'Reports' + arrowDown,
				'content_menuopen':'<a href="index.html">Reports' + arrowLeft + '</a>',
				'cursor':'hand',
				'width':130, 'height':20, 'offsetLeft':132,
				'class':'mainmenu_off',
				'class_menuopen':'mainmenu_rollover',
				'tooltip':{
					'content':'Reports',
					'classPrefix':'domTTClassic',
					'trail':true
				},


				'items':{
					'top':20,
					'left':0,

					'background-item':{
						'width':175, 'height':60, 'left':0, 'top':2,
						'class':'container'
					},

					
					1:{
						'content':'Orders' + arrowDown,
						'content_menuopen':'Orders' + arrowLeft,
						'width':170, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',

						'items':{
							'top':0,
							'left':150,

							'background-item':{
								'width':190, 'height':425, 'left':2, 'top':0,
								'class':'container'
							},
							1:{
								'content':'Order Book',
								'content_rollover':'<a href="/wilson/prgent/orders/order_select_new.php">Order<u>B</u>ook</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetLeft':5, 'offsetTop':2,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},							

							2:{
								'content':'Order Book Old',
								'content_rollover':'<a href="/wilson/prgent/orders/order_select.php">Order<u>B</u>ook Old</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							3:{
								'content':'Itemwise&nbsp;Order&nbsp;Book',
								'content_rollover':'<a href="/wilson/prgent/orders/order_select2_new.php">Itemwise&nbsp;Order&nbsp;Book</a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},						
							4:{
								'content':'Itemwise&nbsp;Order&nbsp;Book&nbsp;Old',
								'content_rollover':'<a href="/wilson/prgent/orders/order_select2.php">Itemwise&nbsp;Order&nbsp;Book&nbsp;Old</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},							
							5:{
								'content':'Productwise&nbsp;Pending&nbsp;Orders ',
								'content_rollover':'<a href="/wilson/prgent/orders/item_select.php">Productwise&nbsp;Pending&nbsp;Orders</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},							
							6:{
								'content':'Datewise&nbsp;Pending&nbsp;Orders',
								'content_rollover':'<a href="/wilson/prgent/orders/date_select.php">Datewise&nbsp;Pending&nbsp;Orders</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							7:{
								'content':'Labour Order Book',
								'content_rollover':'<a href="/wilson/prgent/orders/labour_order_select.php">Labour Order<u>B</u>ook</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},																												


							8:{
								'content':'Monthly Planner',
								'content_rollover':'<a href="/wilson/prgent/orders/plan_select.php"><u>M</u>onthly Planner</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},

							9:{
								'content':'Rejection Analysis',
								'content_rollover':'<a href="/wilson/prgent/reports/rej_select.php">Rejection Analysis</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							10:{
								'content':'Itemwise Statement ',
								'content_rollover':'<a href="/wilson/prgent/reports/item_select.php">Itemwise Statement  </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							11:{
								'content':'MIN Wise Statement ',
								'content_rollover':'<a href="/wilson/prgent/reports/min_select.php">MIN Wise Statement  </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},							
							12:{
								'content':'Labour Inv.Items Listing',
								'content_rollover':'<a href="/wilson/prgent/reports/item_select_labour.php">Labour Inv.Item Listing</a>',
								'cursor':'hand',
								'width':130, 'height':20, 'offsetTop':40,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}																																			

							
						}
					 },
					2:{
						'content':'Sales' + arrowDown,
						'content_menuopen':'Sales' + arrowLeft,
						'width':150, 'height':20, 'offsetLeft':3, 'offsetTop':22,
						'class':'mainmenu_off',
						'class_menuopen':'mainmenu_rollover',

						'items':{
							'top':0,
							'left':150,

							'background-item':{
								'width':190, 'height':300, 'left':2, 'top':0,
								'class':'container'
							},

							1:{
								'content':'Sales Register ',
								'content_rollover':'<a href="/wilson/prgent/reports/sales_select.php">Sales Register </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetLeft':3,'offsetTop':3,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},														

							2:{
								'content':' Customer wise Sales ',
								'content_rollover':'<a href="/wilson/prgent/reports/cust_sales_select.php">Customer wise Sales </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							3:{
								'content':' Customerwise Labour Invoices ',
								'content_rollover':'<a href="/wilson/prgent/reports/cust_labour_select.php">Customer Labour Invoices </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':38,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},	
							4:{
								'content':' Labour Invoice Register ',
								'content_rollover':'<a href="/wilson/prgent/reports/labour_select.php">Labour Invoice Register </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':38,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},							
							5:{
								'content':'Turnover ',
								'content_rollover':'<a href="/wilson/prgent/reports/turn_select.php">Turnover  </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':35,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},
							6:{
								'content':' Yearly Turnover ',
								'content_rollover':'<a href="/wilson/prgent/reports/comp_select.php">Yearly Turnover  </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},														
							7:{
								'content':' Export Sales Register ',
								'content_rollover':'<a href="/wilson/prgent/reports/exp_select.php">Export Sales Register </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},		
							8:{
								'content':' Export to Excel ',
								'content_rollover':'<a href="/wilson/prgent/excel/sales_select.php">Export to Excel </a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							},								
							9:{
								'content':' Customerwise Export Sales ',
								'content_rollover':'<a href="/wilson/prgent/reports/cust_exp_select.php">Customerwise Export Sales</a>',
								'cursor':'hand',
								'width':130, 'height':30, 'offsetTop':30,
								'class':'mainmenu_off',
								'class_rollover':'mainmenu_rollover'
							}
							
						}
						// End array of Raw materials & Consumables
						
					}
				}
				// End array of Masters, item 4
			}						
			
			
	//  HORIZONTAL MENUS DEFENITIONS MUST BE INSIDE THIS LOOP		
			
		}
		// End array of Masters Top Bar Menu
	};
	// End base menu

	// Activate and build menu
	var WebDDM_mainmenu = new WebDDM('mainmenu', menu);
}  // End of function Bracket
