﻿// Initialize WebDDM
function initWebDDM ()
{
	// Begin base menu
	var menu = {
		'position':'relative',
		'top':0,
		'left':5,
		'width':545,
		'height':24,
		'expand_menu':'auto',

		// Begin array of items, level 0
		'items':{
			'top':0,
			'left':0,
			'width':545,
			'height':34,
			// Begin item 1
			1:{
				'content':'مجموعه مقالات',
				'url':'panel.asp?target=articles',
				'cursor':'hand',
				'width':73, 'height':24, 'left':0, 'top':0,
				'class':'winxp',
				'class_rollover':'winxp_rollover'
			},
			// End item 1
			// Begin item 2
			2:{
				'content':'سايتهاي مرتبط',
				'url':'panel-html.asp?target=links',
				'cursor':'hand',
				'width':82, 'height':24, 'left':75, 'top':0,
				'class':'winxp',
				'class_rollover':'winxp_rollover'
				},
			// End item 2
			// Begin item 3
			3:{
				'content':'خدمات و پشتيباني',
				'width':86, 'height':24, 'left':159, 'top':0,
				'class':'winxp',
				'class_menuopen':'winxp_rollover',
				// Begin array of items, item 3
				'items':{
					'top':24,
					'left':117,
					'width':130,
					'height':204,
					// Begin item 3-1
					1:{
						'content':'نرم افزار<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel-html.asp?target=software',
						'cursor':'hand',
						'width':130, 'height':21, 'left':0, 'top':1,
						'class':'winxp_child',
						'class_rollo':'winxp_child_rollover'
					},
					// End item 3-1
					// Begin item 3-2
					2:{
						'content':'کتابخانه<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'',
						'cursor':'hand',
						'width':130, 'height':21, 'left':0, 'top':21,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover',
						'items':{
							'top':21,
							'left':-130,
							'width':130,
							'height':138,
							// Begin item 3-2-1
							1:{
								'content':' شرکت ملی نفت<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />',
								'url':'http://www.nioclibrary.ir/',
								'cursor':'hand',
								'width':130, 'height':21, 'left':0, 'top':1,
								'class':'winxp_child',
								'class_rollover':'winxp_child_rollover'
							},
							// End item 3-2-1
							// Begin item 3-2-2
							2:{
								'content':'پژوهشگاه صنعت نفت  <img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />',
								'url':'http://www.nioc-ripi.org',
								'cursor':'hand',
								'width':130, 'height':21, 'left':0, 'top':21,
								'class':'winxp_child',
								'class_rollover':'winxp_child_rollover'
							},
							// End item 3-2-2
							// Begin item 3-2-3
							3:{
								'content':'کتابخانه ملی ایران<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />',
								'url':'http://www.nlai.ir/',
								'cursor':'hand',
								'width':130, 'height':21, 'left':0, 'top':41,
								'class':'winxp_child',
								'class_rollover':'winxp_child_rollover'
							}
		
							// End item 3-2-3
						}
					},
					// End item 3-2
					// Begin item 3-3
					3:{
						'content':'دفترچه تلفن <img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel.asp?target=phonebookpub',
						'cursor':'hand',
						'width':130, 'height':21, 'left':0, 'top':41,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},
					// End item 3-3
					// Begin item 3-4
					4:{
						'content':'پرسش و پاسخ <img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel.asp?target=faq',
						'cursor':'hand',
						'width':130, 'height':21, 'left':0, 'top':61,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},
					// End item 3-4
					// Begin item 3-5
					5:{
						'content':'تسهيلات آموزشي<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel-html.asp?target=training',
						'cursor':'hand',
						'width':130, 'height':21, 'left':0, 'top':81,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},
					// End item 3-5
					// Begin item 3-6
					6:{
						'content':'مجموعه مقالات<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel.asp?target=articles',
						'cursor':'hand',
						'width':130, 'height':21, 'left':0, 'top':101,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},
					// End item 3-6
					// Begin item 3-7
					7:{
						'content':'فرم هاي مورد نياز<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel-html.asp?target=forms',
						'cursor':'hand',
						'width':130, 'height':21, 'left':0, 'top':121,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},
					// End item 3-7
					// Begin item 3-8
					8:{
						'content':'گالری عکس<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'photo/index.asp',
						'cursor':'hand',
						'width':130, 'height':21, 'left':0, 'top':141,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},
					// End item 3-8
					// Begin item 3-9
					9:{
						'content':'راهنمای سیستم جامع<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel.asp?target=prreport',
						'cursor':'hand',
						'width':130, 'height':21, 'left':0, 'top':161,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},
					// End item 3-9
					// Begin item 3-10
					10:{
						'content':'مشاهده خلاصه پرونده<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'personal-info/personal-info.aspx',
						'cursor':'hand',
						'width':130, 'height':21, 'left':0, 'top':181,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					}
					// End item 3-10
				}
				// End array of items, item 3
			},
			// End item 3
			// Begin item 4
			4:{
				'content':'بخشنامه ها و آيين نامه ها',
				'url':'panel.asp?target=rules',
				'cursor':'hand',
				'width':114, 'height':24, 'left':247, 'top':0,
				'class':'winxp',
				'class_rollover':'winxp_rollover'
			},
			// End item 4
			// Begin item 5
			5:{
				'content':'اخبار ونشریات',
				'url':'panel.asp?target=news',
				'cursor':'hand',
				'width':78, 'height':24, 'left':363, 'top':0,
				'class':'winxp',
				'class_rollover':'winxp_rollover'
			},
			// End item 5
			// Begin item 6
			6:{
				'content':'معاونت منابع انساني',
				'width':91, 'height':24, 'left':443, 'top':0,
				'class':'winxp',
				'class_menuopen':'winxp_rollover',
				// Begin array of items, item 6
				'items':{
					'top':24,
					'left':392,
					'width':140,
					'height':137,
					// Begin item 6-1
					1:{
						'content':'محدوده وظايف <img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel-html.asp?target=aboutus',
						'cursor':'hand',
						'width':140, 'height':21, 'left':0, 'top':1,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},
					// End item 6-1
					// Begin item 6-2
					2:{
						'content':'ماموريت و چشم انداز <img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel-html.asp?target=views',
						'cursor':'hand',
						'width':140, 'height':21, 'left':0, 'top':21,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},
					// End item 6-2
					// Begin item 6-3
					3:{
						'content':'سياستها و خط مشي ها <img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel-html.asp?target=politics',
						'cursor':'hand',
						'width':140, 'height':21, 'left':0, 'top':41,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},

					// End item 6-3
					// Begin item 6-4
					4:{
						'content':'ساختار بنيادي و سازمان <img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel-html.asp?target=structure',					
						'cursor':'hand',
						'width':140, 'height':21, 'left':0, 'top':61,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},

					// End item 6-4
					// Begin item 6-5
					5:{
						'content':'مديران منابع انساني<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel-html.asp?target=hrm-managers',
						'cursor':'hand',
						'width':140, 'height':21, 'left':0, 'top':81,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					},

					// E// Begin item 6-6
					6:{
						'content':'گزارشات آماري<img src="DMenu/winxp/star.gif" style="position:relative;top:2;" />&nbsp;',
						'url':'panel-html.asp?target=report',
						'cursor':'hand',
						'width':140, 'height':21, 'left':0, 'top':101,
						'class':'winxp_child',
						'class_rollover':'winxp_child_rollover'
					}

					// End item 6-5nd item 6-6


				}
				// End array of items, item 6
			}
			// End item 6
		}
		// End array of items, level 0
	};
	// End base menu

	// Activate and build menu
	WebDDM_activateMenu('menu', menu);
}
