

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)}

var path2="http://jaunpur.nic.in/"

effect = "Fade(duration=0.2);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=4;	// Sub menu offset Top position 
suboffset_left=6;	// 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.
"ffffff",				// Mouse Off Font Color
//"&H00008080&",			// Mouse Off Background Color
"#0066cb",			// Mouse Off Background Color
"Brown",			// Mouse On Font Color
"#fdedde",			// Mouse On Background Color,ff6600,006699
"000000",			// Menu Border Color 
10,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
", Arial",	// Font Name
5,					// Menu Item Padding
"site_images/ScrollRightArrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"white",			// Current Page Item Font Color (leave this blank to disable)
"#0066cb",				// Current Page Item Background Color (leave this blank to disable)
,		// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"black",				// 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
74,					// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
71,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
"center",					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// 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)
"center",				// 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)
1, 					// 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
,"Home","show-menu=jaunpur",,"",1
,"About&nbsp Us&nbsp&nbsp;","show-menu=ab_us",,"",1
,"D.M.&nbsp;",path2+"jaunpur_english/dm_e.html",,,1
,"C.D.O.",path2+"jaunpur_english/cdo_e.html",,,1
,"Digital Diary",path2+"DigitalDiary/digital_diary.htm",,,1
,"S Patrika&nbsp;","http://updes.up.nic.in/spatrika/index.htm",,,1
,"Lokvani&nbsp;","http://tehsildivas.up.nic.in",,,1
,"RTI Jaunpur",path2+"rti/rti_jnp.htm",,,1
,"BPL-2002",path2+"bpl_2002/bpl_jaunpur.htm",,,1
,"UP Swan",path2+"jaunpur_english/swan_e.html",,,1

,"Tenders",path2+"tender/tender_e.html",,,1

,"Links",path2+"jaunpur_english/link_e.html",,,1
,"Directory","show-menu=dir",,"",1

,"Contact us","show-menu=contact",,"",1


])

	     addmenu(menu=["ab_us",
	   ,,155,1,"",style1,,"left",effect,,,,,,,,,,,,
	  ,"Photo Gallery&nbsp;",path2+"jaunpur_english/gallery_e.html",,,1
,"Geography&nbsp;",path2+"jaunpur_english/geog_e.html",,,1
            ,"History&nbsp;",path2+"jaunpur_english/hist_places_e.html",,,1
	,"Support & services&nbsp;",path2+"jaunpur_english/support.html",,,1
                                                                        ,"Project Implementations&nbsp;",path2+"jaunpur_english/project.html",,,1	
	])
	
	

addmenu(menu=["jaunpur",
			,,155,1,"",style1,,"left",effect,,,,,,,,,,,,
			,"Jaunpur&nbsp;","show-menu=jnp",,"",1
			
			,"NIC","http://home.nic.in",,,1
			
			,"NIC U.P. State Unit","http://up.nic.in",,,1
	])


	
 addmenu(menu=["jnp",
				,,155,1,"",style1,,"left",effect,,,,,,,,,,,,
				,"English",path2+"default.htm",,,1
				,"Hindi&nbsp;",path2+"jaunpur_hindi/index.htm",,,1
				
	])




     
	addmenu(menu=["dir",
				,,155,1,"",style1,,"left",effect,,,,,,,,,,,,
				,"Government&nbsp;","http://goidirectory.nic.in/index.php",,,1
				,"District&nbsp;",path2+"jaunpur_english/directory_e.html",,,1
	])
	
	
addmenu(menu=["contact",
				,,155,1,"",style1,,"left",effect,,,,,,,,,,,,
				,"Contact us&nbsp;",path2+"jaunpur_english/contact_e.html",,,1
				,"Feedback&nbsp;",path2+"jaunpur_english/feedback_e.html",,,1
,"Disclaimer&nbsp;",path2+"jaunpur_english/disclaimer_e.html",,,1
	])


	
function validateText()
{
var str=frm.fyear.value
if(str=="")
{
alert ("Please enter year");
frm.fyear.value=""
}
else if(isNaN(str))
{
alert ("Please enter year in numeric form(YYYY)");
frm.fyear.value=""
}
else if(str.length<4||str.length>4)
{
alert ("Please enter year in YYYY format only");
frm.fyear.value=""
}


}

dumpmenus()
