
menunum=0;
menus=new Array();_d=document;
var link="http://www.indianreflections.com/";
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=100, Strength=5)"
timegap=300	
followspeed=5
followrate=40
suboffset_top=1;
suboffset_left=0;
closeOnClick = true

if(screen.width==800) 
  { left_pos=1;   }
if(screen.width==1024)
  { left_pos=2;   }
if(screen.width==1152)
  { left_pos=66;  }
if(screen.width==1280)
  { left_pos=130; }


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
"E4E4E4",				// Mouse Off Background Color
"fec44b",				// Mouse On Font Color
"000000",				// Mouse On Background Color
"E4E4E4",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial, Helvetica, sans-serif",		// Font Name
4,						// Menu Item Padding
"images/bullets.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.
"000000",		// Mouse Off Font Color
"E4E4E4",		// Mouse Off Background Color	
"fec44b",		// Mouse On Font Color
"000000",		// Mouse On Background Color
"E4E4E4",		// Menu Border Color 
11,				// Font Size in pixels
"normal",		// Font Style (italic or normal)
"",				// Font Weight (bold or normal)
"Verdana, Arial, Helvetica, sans-serif",// Font Name
4,				// Menu Item Padding
"images/bullets.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
229,			// Menu Top - The Top position of the menu in pixels				//225 OLD
left_pos,		// Menu Left - The Left position of the menu in pixels					// Deepesh //
230,			// 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 
,				// 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
,"Curtains","show-menu=one","index.php?category=curtains","Curtains",1
,"Cushion Covers","show-menu=two","index.php?category=cushioncovers","Cushion Covers",1
,"Sari / Bellydance fabric","show-menu=three","index.php?category=saribellydancefabric","Sari / Bellydance fabric",1
,"Kurtis / Tunics","index.php?start=0&c1=25","##","Kurtis / Tunics",1
,"Table Runner / Topper","?c1=26","##","Table Runner/Topper",1
,"Bedcover / Duvet Covers","show-menu=six","index.php?category=bedcoverduvetcovers","Bedcover/Duvet Covers",1
,"Tiebacks / Tassles","index.php?start=0&c1=29","##","Tiebacks / Tassles",1
,"Shawls / Stoles","show-menu=seven","index.php?category=shawlsstoles","Shawls / Stoles",1
,"Kalamkari Paintings","index.php?start=0&c1=34","##","Kalamkari Paintings",1
,"Marble Handicrafts","index.php?start=0&c1=35","##","Marble Handicrafts",1
,"God Statues","index.php?start=0&c1=36","##","God Statues",1

,"Wall / Door Decor","index.php?start=0&c1=38","##","Wall / Door Decor",1
,"New Arrivals","index.php?start=0&c1=37","##","New Arrivals",1
])

//menu one
addmenu(menu=["one",,,160,1,"",style1,,"left",effect,,,,,,,,,,,,,"Curtain by Style","show-menu=nine","index.php?category=curtainsbystyle",,1,"Curtains by Fabric","show-menu=ten","index.php?category=curtainsbyfabric",,1])

//menu two
addmenu(menu=["two",,,160,1,"",style1,,"left",effect,,,,,,,,,,,,,"Sari Cushion Covers","index.php?start=0&c1=13",,,1,"Velvet Cusion Covers","index.php?start=0&c1=14",,,1,"Silk Cushion Covers","index.php?start=0&c1=15",,,1,"Embroidery Cushion Covers","index.php?start=0&c1=16",,,1])

//menu three
addmenu(menu=["three",,,160,1,"",style1,,"left",effect,,,,,,,,,,,,,"Poly Silk /Art Silk Sari","index.php?start=0&c1=17",,,1,"Georgette Sari","index.php?start=0&c1=18",,,1,"Printed Sari","index.php?start=0&c1=19",,,1,"Embroidery Sari","index.php?start=0&c1=20",,,1,"Cotton Sari","index.php?start=0&c1=21",,,1,"Pure Silk Sari","index.php?start=0&c1=22",,,1,"Dupioni Silk Sari","index.php?start=0&c1=23",,,1,"Bridal Sari","index.php?start=0&c1=24",,,1])

//menu six
addmenu(menu=["six",,,160,1,"",style1,,"left",effect,,,,,,,,,,,,,"Bedcovers","index.php?start=0&c1=27",,,1,"Duvet Covers","index.php?start=0&c1=28",,,1])

//menu seven
addmenu(menu=["seven",,,160,1,"",style1,,"left",effect,,,,,,,,,,,,,"Silk Shawls/stoles","index.php?start=0&c1=30",,,1,"Jamavar shawls/stoles","index.php?start=0&c1=31",,,1,"Pashmina shawls/stoles","index.php?start=0&c1=32",,,1,"Meditation Shawls/Stoles","index.php?start=0&c1=33",,,1])

//sub menu of first menu
addmenu(menu=["nine",,,160,1,"",style1,,"left",effect,,,,,,,,,,,,,
"Rod Pocket Curtains","index.php?start=0&c1=1",,,1,
"Tab Top Curtains","index.php?start=0&c1=2",,,1,
"Curtains with attached Valance","index.php?start=0&c1=3",,,1,
"Tie Top Curtains","index.php?start=0&c1=4",,,1,
"Hook Top Curtains","index.php?start=0&c1=5",,,1,
" Pleated Curtains","index.php?start=0&c1=6",,,1,
" Ring Top Curtains","index.php?start=0&c1=7",,,1
])

addmenu(menu=["ten",,,160,1,"",style1,,"left",effect,,,,,,,,,,,,,
"Sari Curtains","index.php?start=0&c1=8",,,1,
"Velvet Curtains","index.php?start=0&c1=9",,,1,
"Organza Curtains","index.php?start=0&c1=10",,,1,
"Tissue Curtains","index.php?start=0&c1=11",,,1,
"Cotton Curtains","index.php?start=0&c1=12",,,1,
"Art Silk Curtains","index.php?start=0&c1=39",,,1
])
dumpmenus()
