
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}

effect = "Fade(duration=0.3);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=1;		// Sub menu offset Top position 
suboffset_left=0;		// Sub menu offset Left position
closeOnClick = true

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"000000",			// Mouse Off Font Color
"EAEAF0",		// Mouse Off Background Color
"FFFFFF",		// Mouse On Font Color
"283467",			// Mouse On Background Color
"CCCCCC",		// Menu Border Color 
10,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"MS Sans Serif",			// Font Name
4,			// Menu Item Padding
"/js/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"",			// Current Page Item Font Color (leave this blank to disable)
"",			// Current Page Item Background Color (leave this blank to disable)
"",			// Top Bar image (Leave this blank to disable)
"",			// Menu Header Font Color (Leave blank if headers are not needed)
"",			// Menu Header Background Color (Leave blank if headers are not needed)
"CCCCCC",		// Menu Item Separator Color
]


style2=[			// style2 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"2F3A6C",			// Mouse Off Font Color
"EAEAF0",		// Mouse Off Background Color
"2F3A6C",		// Mouse On Font Color
"FFFFFF",			// Mouse On Background Color
"CCCCCC",		// Menu Border Color 
10,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"MS Sans Serif",			// Font Name
4,			// Menu Item Padding
"/js/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"",			// Current Page Item Font Color (leave this blank to disable)
"",			// Current Page Item Background Color (leave this blank to disable)
"",			// Top Bar image (Leave this blank to disable)
"",			// Menu Header Font Color (Leave blank if headers are not needed)
"",			// Menu Header Background Color (Leave blank if headers are not needed)
"CCCCCC",		// Menu Item Separator Color
]


addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",		// Menu Name - This is needed in order for the menu to be called
110,			// Menu Top - The Top position of the menu in pixels
0,			// Menu Left - The Left position of the menu in pixels
151,			// Menu Width - Menus width in pixels
1,			// Menu Border Width 
,			// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,			// Properties Array - this is set higher up, as above
1,			// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,			// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,			// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 			// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,			// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,			// Position of TOP sub image left:center:right
,			// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,			// Right To Left - Used in Hebrew for example. (1=on/0=off)
,			// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,			// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,			// Background image for menu when BGColor set to transparent.
,			// Scrollable Menu
,			// Reserved for future use
,"Who is Who","/static/ministry.htm",,"Who is Who",1
,"About Us","/static/about_us.asp",,"About Us",1
,"Annual Admin Report","/Report/index.htm",,"Report",1
,"Circulars & GOP","/Static/circulars_and_gop.htm",,"circulars_and_gop",1
,"Citizen","show-menu=five","##","Citizen Rights",1
,"IT Project <img height=14 src=/images/new_anim.gif width=35>","show-menu=eleven","##","Cipa project",1
,"Community Policing","show-menu=four","##","Community",1
,"Statistical Information","/static/statistics.asp",,"Crime Statistics",1
,"Welfare Activities","/static/static_info/si_welfare_faci.htm",,"Crime Statistics",1
,"Download Forms",pr+"static/download_forms.asp","##","Download Forms",1
,"Traffic Education","show-menu=three",,"Education",1
,"IPS Officers in M.P. Cadre","show-menu=thirteen","##","Gradation List IPS",1
,"Non IPS Officers in M.P.","/static/listsofnonipsofficers.htm",,"Gradation List SPS",1
,"Right to Information ","/dynamic/Right.asp",,"Right to Information",1
,"Public Interface","show-menu=ten","##","Public Interface",1
,"Rules & Regulations","/static/education.asp","##","Laws, Rules & Regulations",1
,"Tenders","/dynamic/tenders1.asp",,"Tenders",1
,"MP Cyber Police <img height=14 src=/images/new_anim.gif width=35>","/static/CyberCrimePresentations.htm",,"CyberCrimePresentations",1
,"Join Police/Deputation <img height=14 src=/images/new_anim.gif width=35>","/static/recruitment.asp",,"Vacancy",1

])

	addmenu(menu=["one",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	
	])

	addmenu(menu=["two",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Arms License Form","/static/download_forms.htm",,,1
	,"Foreigner Registration","/static/foreigner.htm",,,1
	,"Registration for Pakistani Nationals","/static/download_forms.htm",,,1
	])

	addmenu(menu=["three",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Road Regulations","/static/rules_regulations.asp",,,1
	,"Signs","/static/signs.asp",,,1
	,"Signals","/static/signals.asp",,,1
	,"Quiz","/dynamic/user/quiz/traffic_quiz.asp",,,1
	,"Security Guidance","/static/security_guidance.asp",,,1
	,"General Traffic Rules","/static/trafficrules.asp",,,1
	])

	addmenu(menu=["four",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Community Policing","/static/community.asp",,,1
	,"Initiatives and History","/static/initiatives_history.asp",,,1
	,"Community Involvement","/static/community_involvement.asp",,,1
	,"Act and Policy Paper","/static/Community1.asp",,,1
	])

	addmenu(menu=["five",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Citizen Rights","show-menu=nine",,,1
	,"Duties of Citizen",pr+"/static/duties_citizen.asp",,,1
	])

			addmenu(menu=["nine",
			,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
			,"Women Rights","/static/women_rights.asp",,,1
			,"Children's Rights","/static/children_rights.asp",,,1
			,"Citizen's Rights","/static/citizens_rights.asp",,,1
			,"Arrested Person Rights","/static/arrested_person_rights.asp",,,1
			,"Prisoner's Rights","/static/prisoner_rights.asp",,,1
			,"Duties of Responsible Citizen","/static/duties_responsible_citizen.asp",,,1
	])

	addmenu(menu=["eight",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Latest","/dynamic/transfers.asp?mode=curr",,,1
	,"Previous","/dynamic/transferdsp.asp?mode=prev",,,1
	])

	addmenu(menu=["ten",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"How to Report an Offense & to Whom","/static/howtoreport.asp",,,1
	,"Journey of an FIR/Case Progress in a PS","/static/journeyfir.asp",,,1
	,"Offenses and Penalities","/static/offenses_penalities.asp",,,1
	,"Beware of...","/static/beware.asp",,,1
	])

addmenu(menu=["eleven",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"CIPA Project","show-menu=twelve",,,1
	
	])

		addmenu(menu=["twelve",
		,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Project Details","/static/cipaprojectdetails.asp",,,1
	,"Implementation Committees","/static/cipacommittes.asp",,,1
	])

addmenu(menu=["thirteen",
		,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Present Posting Of IPS Officers","/dynamic/gradationlist.asp target=blank",,,1
	,"Details Of Retired IPS Officers","/static/retired.pdf",,,1
	])


dumpmenus()