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)}
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.5);Alpha(style=0,opacity=100)"
}
else
{
	effect = "Shadow(color='#777777', Direction=50, Strength=1)" // Stop IE5.5 bug when using more than one filter
}

timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
var ver = navigator.appName;

suboffset_top =(ver == 'Netscape')?0:0;
//suboffset_top=-100;
// Sub menu offset Top position 
suboffset_left=-2;		// Sub menu offset Left position

if(navigator.appVersion.indexOf("76")>0) //netscape 4.76
{
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.
"ffffff",					// Mouse Off Font Color
"161616",				// Mouse Off Background Color
"0077b2",				// Mouse On Font Color
"9cbfd1",				// Mouse On Background Color
"ffffff",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
120,						// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
22,						// 3D Border & Separator bar
"6699cc",				// 3D High Color
"ffffff",				// 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)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"6699cc",				// Menu Header Background Color (Leave blank if headers are not needed)
]

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
"0077b2",				// Mouse Off Background Color
"0077b2",				// Mouse On Font Color
"9cbfd1",				// Mouse On Background Color
"eeeeee",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
40,						// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
22,						// 3D Border & Separator bar
"ffffff",				// 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)
]

}
else {
var myfont="";
var myfontnme="";
	if(navigator.appVersion.indexOf("MSIE 6.0")>0 || navigator.appVersion.indexOf("MSIE 5.0")>0){
		myfont=11;
		myfontname= "Tahoma";
	} else {
		myfont=11;
		myfontname= "Helvetica, Sans";
	}	
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.
"ffffff",					// Mouse Off Font Color
"161616",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"CCCCCC",				// Mouse On Background Color
"ddddff",				// Menu Border Color 
myfont,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
myfontname,		// Font Name
4,						// Menu Item Padding
"",			// Sub Menu Image (Leave this blank if not needed)
5,						// 3D Border & Separator bar
"ffffff",				// 3D High Color
"dddddd",				// 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)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"dddddd",				// Menu Header Background Color (Leave blank if headers are not needed)
]

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
"666666",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"CCCCCC",				// Mouse On Background Color
"dddddd",				// Menu Border Color 
myfont,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana",		// Font Name
4,						// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
5,						// 3D Border & Separator bar
"ffffff",				// 3D High Color
"dddddd",				// 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)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"6699cc",				// Menu Header Background Color (Leave blank if headers are not needed)
]
}

var myleftpos="1"; // 1024 X 768 & 800 X 600  position from left
var mytoppos="82"; // 1024 X 768 & 800 X 600  position from top

if (navigator.appName=="Netscape" && navigator.appVersion.indexOf("5.0")==0) {
	mainpos=80;
} else {
	mainpos=110;
}

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
mytoppos,					// Menu Top - The Top position of the menu in pixels
myleftpos,				// Menu Left - The Left position of the menu in pixels
mainpos,
0,					// Menu Border Width 
,				// Screen Position - here you can use  "center;left;right;middle;top;bottom" or a combination of "center:middle"
style,				// 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
effect,				// 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)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"Home","home.html",,"",1,
"About IAISC","show-menu=about iaisc",,"",1
,"IEEE", "show-menu=ieee",,"",1
,"Registration","reg.html",,"",1
,"Notification","notices.html",,"",1
,"Contact Us","show-menu=Contact Us",,"",1
,"Downloads","show-menu=downloads",,"",1

])
addmenu(menu=["About IAISC",,,160,2,"",style1,,"left",effect,,,,,,,,,,,,,"IAISC 05"
			  ,"home.html",,,1,"Call for paper"
			  ,"paper.html",,,1])
addmenu(menu=["IEEE",,,160,2,"",style1,,"left",effect,,,,,,,,,,,,,"IEEE India Council","http://www.ewh.ieee.org/r10/india_council",,,1,
			  "IEEE Bombay Section","http://www.ewh.ieee.org/r10/bombay",,,
			  1,"IEEE Pune Sub-section","http://www.ewh.ieee.org/r10/bombay/pune",,,1,
			  "PICT-IEEE Student Branch","pict-ieee.html",,,1])
addmenu(menu=["Contact Us",,,160,2,"",style1,,"left",effect,,,,,,,,,,,,,"Advisory Committee",
			  "advisory.html",,,1, "Steering Committee",
			  "steering.html",,,1,"Organizing Committee",
			  "organizing.html",,,1,"Office Address"
			  ,"officeadd.html",,,1])
addmenu(menu=["Downloads",,,160,2,"",style1,,"left",effect,,,,,,,,,,,,,"Conference Form",
			  "reg.doc",,,1,"IAISC Congress Form",
			  "reg1.doc",,,1,"IEEE Std Format"
			  ,"format.doc",,,1])


dumpmenus()

//"EMAIL ALERT","alertlogin.php",,,1, if required
//,"FIND VENDOR","productfinder.php",,,1
// The Script is sole property of PICT Pune Concepts website design team
