

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.2);Alpha(style=0,opacity=90);Shadow(color='#777777', Direction=135, Strength=5)"

timegap=500					// The time delay for menus to remain visible
followspeed=5				// Follow Scrolling speed
followrate=100				// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=0;	// Sub menu offset Left position

plain_style=[			// 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.
"white",					// Off Font Color
"349896",					// Off Back Color
"black",					// On Font Color
"#CCCCCC",					// On Back Color
"",					// Border Color
11,						// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",					// Font Style (italic or normal)
"bold",						// Font Weight (bold or normal)
"Tahoma",					// Font Name


0,						// Menu Item Padding
"",			// Sub Menu Image (Leave this blank if not needed)
0,						// 3D Border & Separator bar
"",					// 3D High Color
"",					// 3D Low Color
"black",					// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)

"white",					// Menu Header Font Color (Leave blank if headers are not needed)
"",					// Menu Header Background Color (Leave blank if headers are not needed)
"",	// Top Bar image (Leave this blank to disable)
]

addmenu(menu=[				// This is the array that contains your menu properties and details
"Main Menu  ",
		// Menu items Name
130,						// Top
2,						// left
159,							// Width
0,						// Border Width
"none",			// Screen Position - here you can use "center;left;right;middle;top;bottom"
plain_style,	// Properties Array - this is set higher up, as above
1,						// Always Visible - allows the menu item to be visible at all time
"left",			// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
,			// Filter - Text variable for setting transitional effects on menu activation
,			// Follow Scrolling - Tells the menu item to follow the user down the screen
0, 			// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
,			// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
"left",			// Position of sub image left:center:right:middle:top:bottom
"",	// Show an image on top menu bars indicating a sub menu exists below
,			// Reserved for future use
,							// Reserved for future use
,							// Reserved for future use
,
,
,

,"<a href=category.asp><img src=images/new_books_btn.jpg border=0 alt=Islamic&nbsp;Books></a>","show-menu=automobiles",,"",1
,"<a href=AudioVideocategory.asp><img src=images/new_audio_btn.jpg border=0 alt=Islamic&nbsp;Audio&nbsp;Video></a>","show-menu=entertainment",,"",1
,"<a href=products.asp><img src=images/new_products_btn.jpg border=0 alt=Islamic&nbsp;Products></a>","show-menu=health",,"",1
,"<a href=pre_publication.asp><img src=images/pre_publication.jpg border=0 alt=Islamic&nbsp;Pre&nbsp;Publication&nbsp;Offers></a>","show-menu=plan",,"",1
,"<a href=IPI_special_offer.asp><img src=images/new_special_offer_btn.jpg border=0 alt=Islamic&nbsp;Publication&nbsp;International></a>","show-menu=plan",,"",1
,"<a href=new_arrival.asp><img src=images/new_arrivals_btn.jpg border=0 alt=Islamic&nbsp;New&nbsp;Products></a>","show-menu=professional",,"",1
,"<a href=LecturersList.asp><img src=images/selected_lecturers.jpg border=0 alt=Islamic&nbsp;Lecturers></a>","show-menu=media",,"",1
,"<a href=publicationList.asp?pubid=4><img src=images/new_ipipublication_btn.jpg border=0 alt=Islamic&nbsp;Publication&nbsp;International></a>","show-menu=university",,"",1
,"<a href=wholesale.asp><img src=images/wholesale.jpg border=0 alt=Islamic&nbsp;wholesale&nbsp;Products></a>","show-menu=retail",,"",1
,"<a href=ordering.asp><img src=images/new_ordering_btn.jpg border=0 alt=Islamic&nbsp;Products&nbsp;Ordering&nbsp;info></a>","show-menu=retail",,"",1
,"<a href=bookrequest.asp><img src=images/book_request.jpg border=0 alt=Islamic&nbsp;Weekly&nbsp;Special&nbsp;Offers></a>","show-menu=plan",,"",1
,"<a href=publishbook.asp><img src=images/new_publishbook_btn.jpg border=0 alt=Publish&nbsp;your&nbsp;book></a>","show-menu=web",,"",1
,"<a href=otherlinks.asp><img src=images/new_otheruseful_btn.jpg border=0 alt=Other&nbsp;Islamic&nbsp;Links></a>","show-menu=travel",,"",1
,"<a href=articlelinks.asp><img src=images/useful_articles.jpg border=0 alt=Other&nbsp;Islamic&nbsp;Links></a>","show-menu=travel",,"",1


])



dumpmenus()


