
/*********************************
The actual script file is inside the
slidemenu.js file - remember to link 
that to your HTML file.
**********************************/

//Creating the menu object -- You can call it whatever you want - just remember to
//have the same name as the argument.
slideMenu = new createSlideMenu("slideMenu")

//Variables to set:
slideMenu.menuy=115 //The top placement of the menu.
slideMenu.menux=2 //The left placement of the menu
slideMenu.useImages = 1 //Are you using images or not?
slideMenu.pxspeed=20 //The pixel speed of the animation
slideMenu.timspeed=25 //The timer speed of the animation
slideMenu.inset = 10 //How much the selected items should pop to the left
slideMenu.arrow = 0 //Set this to className that has font-family:webdings
										//if you want to use the arrow feature. Note:
										//This ONLY works on DOM capable browsers, and with
										//useImages set to 0 - It's basically just a test I did.
										//I hope to improve it later on.

//Needed dummy classes - leave in the stylesheet!
slideMenu.bgClass =	"slideMenuBG"
slideMenu.txtClass = "slideMenuText"

/*******************************************************************************
Level properties - ALL properties have to be specified in level 0
This works the same way as the CM4 script (if you have used it)

The level[0] values will be the default value. Any value not specified
in higher levels will be inherited from level[0]. If anything
is specified in level[1], but not in level[2], level[2] (sub2 menus)
will get the property value from level[1] and so on.

The availble values to control the menu by level are:

left           - The left placement of all items in the current level ( px value )
width          - The width of all items in the current level  ( px value )
height         - The height of all items in the current level  ( px value )
between        - The number of pixels between each item in  the current level ( px value)
className      - A name of a class specified in the stylesheet to control the
	               look of all items in this level. 
	               NOTE: The class MUST be in a stylesheet, and it most have position:absolute.
classNameA     - A name of a class specified in the stylesheet that will control the 
 								 Look of the TEXT for all items in this level. (you can also specify 
								 a hover class for this className to get a mouseover effect on the 
								 text.
regImage 			 - If you choose to use image feature of the script you have to
                 spesify the default image here.
roundImg       - This is the image that will used when a item is selected.
roundImg2      - This is the image used for sub-levels on the last item in a list.
								 (that's how the last items in this example are rounded on the sub-levels)
subImg         - The image used when the item has sub-items. Only in use for sub-levels
subRound       - Same as roundImg2 - only for items that have sub-items.

To understand the image setup see the images supplied with this script.
NOTE: Always specify the full (relative) path to the images!

The slideMenu_makeLevel function provides a shortcut to making levels.
If you are more comfortable with setting the properties by name you can
also set them like this:

slideMenu.level[0] = new Array()
slideMenu.level[0].left = 0
slideMenu.level[0].width = 138
..... and so on.

NOTE: In level 0 below I have included the names of the variables just for
readability - feel free to remove left = , width = , height =  et cetera...
********************************************************************************/
slideMenu.level[0] = new slideMenu_makeLevel(
	left = 0,
	width = 200,
	height = 23,
	between = 5,
	className = "clSlideMenu",
	classNameA = "clA0",
	regImage = "images/level0_regular.gif",
	roundImg = "images/level0_round.gif",
	roundImg2 = "",
	subImg = "",
	subRound= "")
	
slideMenu.level[1] = new slideMenu_makeLevel(10,150,20,2,"clSlideMenu","clA1","images/level1_regular.gif","images/level1_round2.gif","images/level1_round.gif","images/level1_sub.gif", "images/level1_sub_round.gif")
slideMenu.level[2] = new slideMenu_makeLevel(21,118,18,2,"clSlideMenu","clA2","images/level2_regular.gif","images/level2_round2.gif","images/level2_round.gif", "images/level2_sub.gif", "images/level2_sub_round.gif")
slideMenu.level[3] = new slideMenu_makeLevel(33,108,20,2,"clSlideMenu","clA3","images/level3_regular.gif","images/level3_round2.gif","images/level3_round.gif","images/level3_sub.gif","images/level3_sub_round.gif")
slideMenu.level[4] = new slideMenu_makeLevel(40,107,19,2,"clSlideMenu","clA4","images/level4_regular.gif", "images/level4_round2.gif","images/level4_round.gif","images/level4_sub.gif", "images/level4_sub_round.gif")

//Image preload --- leave this
for(var i=0;i<slideMenu.level;i++){
	var l = slideMenu.level[i]
	new preLoadBackgrounds(l.regImage,l.roundImg,l.roundImg2,l.subImg,l.subRound)
}

/**********************************************************************
Making the menus is the same as in SlideMenu 1 only that now
you can make as many levels as you want.

NOTE: If you are converting from SlideMenu1 remember to add: theNameOfYourMenu.
in front of all menu creation calls.

The arguments to the makeMenu function are:

TYPE - top for top item, sub for sub item, sub2 for sub2 item, sub3 
       for sub3 item and so on (I've done it like that to keep it the same way as version 1)

TEXT - The link text for the item

TARGET - The target frame to open the links in. You do not have to spesify this if you
are not in a frame enviroment. (see below for more info)
------------------------------------------------------------
NOTE: I get mail about this all the time so I will try and explain more:
If you where to make a regular link that would open a link in another
frame you would probably do like this:
<a href="mylink.html" target="myOtherFrameName">Link</a>

To do the same for a slideMenu link you do like this:

slideMenu.makeMenu('top','My link','mylink.html','myOtherFrameName')
------------------------------------------------------------

mySlideMenu.makeMenu('TYPE','TEXT','LINK','TARGET')
************************************************************************/

//Menu 1 -----------------------
slideMenu.makeMenu('top','Home','index.html')
slideMenu.makeMenu('top','<font color="66FF0C" >Online Complaints <br>for Citizens</font>','complaints/comp_reg_web.htm')
//slideMenu.makeMenu('top','Orgnization','organization.html')
//slideMenu.makeMenu('top','Objectives','objectives.html')
slideMenu.makeMenu('top','Functions','functions.html')
slideMenu.makeMenu('top','Administration')
	slideMenu.makeMenu('sub','Organisational Chart','og.html')
	slideMenu.makeMenu('sub','Cadre Stength','adcstrength.html')
	slideMenu.makeMenu('sub','DSOs','addsos.html')
	slideMenu.makeMenu('sub','AGPOs/ASOs','adagpos.html')
	
	//slideMenu.makeMenu('sub','ASOs','adasos.html')
	slideMenu.makeMenu('sub','Special Rules','adsplrules.html')
	slideMenu.makeMenu('sub','Pension','pension.html')
slideMenu.makeMenu('top','Public Distribution System')
	slideMenu.makeMenu('sub','About PDS','aboutpds.html')
	//slideMenu.makeMenu('sub','Margin of Commodities','rpmargin.html')
	slideMenu.makeMenu('sub','Iodized-Salt','iodizedsalt.html')	
	slideMenu.makeMenu('sub','Mid Day Meal','middaymeal.html')
    slideMenu.makeMenu('sub','Fair Price Shops')
slideMenu.makeMenu('sub2','Introduction','fpindex1.html')
slideMenu.makeMenu('sub2','Authorities','fpauthorities.html')
slideMenu.makeMenu('sub2','Guidelines','fpguidelines.html')
slideMenu.makeMenu('sub2','Registers & Records','fpregisters.html')
//slideMenu.makeMenu('sub2','Formats','fpformats.html')
slideMenu.makeMenu('sub2','Margin of Commodities','rpmargin.html')
slideMenu.makeMenu('sub2','Inspection of FP Shops')
	slideMenu.makeMenu('sub3','Procedure','fpprocedure.html')
	slideMenu.makeMenu('sub3','Inspection Proforma','fpproforma.html')
	slideMenu.makeMenu('sub3','Inspection Proforma','fptargets.html')
slideMenu.makeMenu('sub2','Offences at a Glance','fpoffences.html')
slideMenu.makeMenu('sub2','Model 6 A Report')
	slideMenu.makeMenu('sub3','Model 6 A Report','fpmodel6a.html')
	slideMenu.makeMenu('sub3','Model Panchanama','fppanchanama.html')
slideMenu.makeMenu('sub2','District Wise F.P Shops Info.','fpshopsinfo.html')
slideMenu.makeMenu('sub2','Bifurcation','fpbifurcation.html')
//slideMenu.makeMenu('sub2','Appeals & Revisions')
//	slideMenu.makeMenu('sub3','Appeals - Status','fpappeals.html')
//	slideMenu.makeMenu('sub3','Revisions - Status','fprevisions.html')
slideMenu.makeMenu('sub2','Food Advisory Commities','fpcommities.html')
slideMenu.makeMenu('sub2','Others')
		slideMenu.makeMenu('sub3','G.Os','fpgos.html')
	slideMenu.makeMenu('sub3','Memos','fpmemos.html')
	slideMenu.makeMenu('sub3','Circulars','fpcirculars.html')
	slideMenu.makeMenu('sub','Ration Cards')
slideMenu.makeMenu('sub2','Introduction','rcindex1.html')
slideMenu.makeMenu('sub2','Procedure','rpprocedure.html')
slideMenu.makeMenu('sub2','Bar-coded Coupons','rpbarcode.html')


	//slideMenu.makeMenu('sub','PDS','pds.html')
	//slideMenu.makeMenu('sub','MSP','msp.html')
	//slideMenu.makeMenu('sub','MIO','mio.html')
	//slideMenu.makeMenu('sub','Pure and Full','pureandfull.html')
	slideMenu.makeMenu('top','Consumer Affairs')
	slideMenu.makeMenu('sub','Introduction','consumeraffairs.html')
	slideMenu.makeMenu('sub','Consumer Clubs')
	slideMenu.makeMenu('sub2','Guidlines')
    slideMenu.makeMenu('sub3','Introduction','cacoclintro.html')
	slideMenu.makeMenu('sub3','Teacher/Lecturer Guide','cateacher.html')
	slideMenu.makeMenu('sub3','Functions of')
	slideMenu.makeMenu('sub4','Members','cafumemb.html')
	slideMenu.makeMenu('sub4','Teachers','cafutech.html')
	slideMenu.makeMenu('sub2','New Clubs','casubnew.html')
	slideMenu.makeMenu('sub2','Calendar ConsumerClub','club.html')
	slideMenu.makeMenu('sub2','Consumer Clubs setup')
	slideMenu.makeMenu('sub3','Schools')
	slideMenu.makeMenu('sub4','GOVT High','caanx9.html')
	slideMenu.makeMenu('sub4','Privat High','private.html')
	slideMenu.makeMenu('sub4','Social Welfare','csocial.html')
	slideMenu.makeMenu('sub4','Triabal Welfare','ctriabal.html')
	slideMenu.makeMenu('sub3','Colleges')
	//slideMenu.makeMenu('sub4','A.P Ashram ','cacoclintro.html')
	slideMenu.makeMenu('sub4','Degree ','degree.html')
	slideMenu.makeMenu('sub4','Affilated by S.V University','asv.html')
	
	slideMenu.makeMenu('sub','Consumer Information Centers')	
 slideMenu.makeMenu('sub2','State Consumer Center','castatecoin.html')
//slideMenu.makeMenu('sub2','District Consumer Center','cadistcoin.html')
slideMenu.makeMenu('sub2','District Consumer Center')
	slideMenu.makeMenu('sub3','Functional Guidlines','Csfunc.html')
	slideMenu.makeMenu('sub3','DCICs Set up','cssetup.html')
	slideMenu.makeMenu('sub3','Monitoring Committee','moni.html')
		slideMenu.makeMenu('sub2','Mandal Consumer Center','camandalcoin.html')
	slideMenu.makeMenu('sub','Consumer Protection Council')
	slideMenu.makeMenu('sub2','Central','ccentral.html')
	slideMenu.makeMenu('sub2','State','castatecouncil.html')
	slideMenu.makeMenu('sub2','District','cadistictcouncil.html')
slideMenu.makeMenu('sub','Consumer Redressal')
slideMenu.makeMenu('sub2','National Commission Disputes','cnational.html')
    slideMenu.makeMenu('sub2','State Commission Disputes','castatedispute.html')
	slideMenu.makeMenu('sub2','District Consumer Disputes','cadistdispute.html')
slideMenu.makeMenu('sub','Consumer Organisations','csorg.html')
slideMenu.makeMenu('sub','Consumer Welfare Fund')
    slideMenu.makeMenu('sub2','Introduction','cacwintro.html')
	slideMenu.makeMenu('sub2','Eligibility','cacweligi.html')
	slideMenu.makeMenu('sub2','Extent of Assistance','cacwextent.html')
	slideMenu.makeMenu('sub','Viniyoga Tarangini Magazine','vin.html')
slideMenu.makeMenu('sub','Work Shops & Seminars Conducted','ws.html')


	
slideMenu.makeMenu('top','Procurment')
slideMenu.makeMenu('sub','Introduction','procurin.html')
slideMenu.makeMenu('sub','Guidlines for MSP','procuringuide.html')
slideMenu.makeMenu('sub','MSP','msp.html')
slideMenu.makeMenu('top','Petroleum')
	slideMenu.makeMenu('sub','Introduction','petroleum.html')
	slideMenu.makeMenu('sub','District Wise Dealers','petroleum1.html')
	slideMenu.makeMenu('sub','Control Orders','petcorders.html')
	slideMenu.makeMenu('sub','Authorities')
	slideMenu.makeMenu('sub2','Licencing&Appellate','petauthorities.html')
		slideMenu.makeMenu('sub2','Inspection','petinsauth.html')
	slideMenu.makeMenu('sub','Security Deposit','petdeepam.html')
	slideMenu.makeMenu('sub','GOs & Memos','petgosmemos.html')
	slideMenu.makeMenu('sub','Circulars','petcirculars.html')
	slideMenu.makeMenu('sub','Licence&Regulation','petlicence.html')
	//slideMenu.makeMenu('sub','Appeals-Status','petappeal1.html')
//slideMenu.makeMenu('top','Price Monitoring')
	//slideMenu.makeMenu('sub','Introduction','pricemonitoring.html')
	//slideMenu.makeMenu('sub','MIS','mis.html')
	//slideMenu.makeMenu('sub','MIO','pmmio.html')
	//slideMenu.makeMenu('sub','Price Reporting System','pmpricerep.html')	



slideMenu.makeMenu('top','Training')
	slideMenu.makeMenu('sub','About Training','trnote.html')	
	slideMenu.makeMenu('sub','Training Calender','trcalender.html')	
//slideMenu.makeMenu('top','Schemes')
	//slideMenu.makeMenu('sub','AAY','aay.html')
   // slideMenu.makeMenu('sub','Annapurna','annapurna.html')	
	slideMenu.makeMenu('top','GOs')
	//slideMenu.makeMenu('sub','Administration','admingos.html')	
	slideMenu.makeMenu('sub','PDS','fpgos.html')	
	slideMenu.makeMenu('sub','Petroleum','petgosmemos.html')	
	slideMenu.makeMenu('sub','Procurment','mspgo.html')
	slideMenu.makeMenu('sub','Consumer Affairs','congo.html')	
//slideMenu.makeMenu('top','Services','services.html')
slideMenu.makeMenu('top','Right to Information Act','rti1.html')
slideMenu.makeMenu('top','<font color="66FF0C">ICR DECLARATION FORM</font>','reportchr.html')


   
/*slideMenu.makeMenu('top','Consumer Affairs')
    slideMenu.makeMenu('sub','Consumer Club','conclub.html')
	slideMenu.makeMenu('sub','CP Act.1986','cpact.html')
	slideMenu.makeMenu('sub','School Syllabus','schoolsyl.html')
	slideMenu.makeMenu('sub','Awards','awards.html') 
slideMenu.makeMenu('top','Food & Civil Supplies')
    slideMenu.makeMenu('sub','PDS')
	   slideMenu.makeMenu('sub2','Schemes')
         slideMenu.makeMenu('sub3','AAY','schemes.html')
	     slideMenu.makeMenu('sub3','Annapurna','index.html'
	     slideMenu.makeMenu('sub3','Mid-Day Meals','mdm.html')
	     slideMenu.makeMenu('sub3','Droughts','foodgrains.html')
	     slideMenu.makeMenu('sub3','Commodity Act','index.html')
	slideMenu.makeMenu('sub','MSP Operations')
	   slideMenu.makeMenu('sub2','Procurement Paddy','procpaddy.html')
	   slideMenu.makeMenu('sub2','Godown Order','godown.html')
	   slideMenu.makeMenu('sub2','G.O\'s','mspgos.html')
	slideMenu.makeMenu('sub','Price Monitoring','pricedefault.html')
	slideMenu.makeMenu('sub','Administration')
	   slideMenu.makeMenu('sub2','Organization Chart','organisation.htm')
	   slideMenu.makeMenu('sub2','G.O\'s','admingos.html')
	   slideMenu.makeMenu('sub2','Rules','adminrules.html')
	slideMenu.makeMenu('sub','Training','trainingdefault.html') 
slideMenu.makeMenu('top','Publications/Notifications','tender.html')
    

slideMenu.makeMenu('top','Right to Information Act','right2infoact.html')
slideMenu.makeMenu('top','Latest G.O\’s','Gos.html') */
	


//Initiating the menu !! 
slideMenu.init()		


