
//do not change anything below this line

var carr = 0;
var def = 0;
var info = new Array();
var T1 = null;

var ie=(document.all && document.getElementById);
var ns=(!document.all && document.getElementById);

function create_infom(id,varray,vprop)
{
info[carr] = new Array(vprop[14]);
carr++;
document.write("<div style='border:0px solid red;position:relative'>");
for (i=0;i<varray.length;i++)
{
 document.write("<a href="+varray[i][1]+" target="+varray[i][2]+" style='");
 document.write("color:"+ varray[i][4]);
 document.write(";text-decoration:none'>");
 document.write("<div class='item_class' style='");
 document.write("cursor:hand;width:"+vprop[0]);
 document.write(";height:"+vprop[1]);
 document.write(";background-color:"+ varray[i][5]+";border:"+ vprop[2] +"px "+ vprop[3] +" "+ vprop[4]);
 info[carr] = new Array(varray[i][3])
 if(i != (varray.length)-1) document.write(";border-bottom-width:0px");
 document.write(";' onmouseover=change(this,'"+varray[i][6]+"','"+varray[i][7]+"',"+carr+",'"+id+"','"+vprop[15]+"','"+vprop[16]+"','"+vprop[17]+"') onmouseout=change(this,'"+varray[i][4]+"','"+varray[i][5]+"','"+def+"','"+id+"','"+vprop[15]+"','"+vprop[16]+"','"+vprop[17]+"')>");
 document.write(varray[i][0]);
 document.write("</div></a>");
 carr++;
}
if(vprop[6] != 0)document.write("<div style='height:"+vprop[6]+";overflow:hidden;background-Color:"+vprop[7]+";width:"+vprop[0]+"'></div>");
document.write("<div class='info_bar' id='"+id+"' style='width:"+vprop[0]+";height:"+vprop[8]+";border:"+vprop[9]+"px "+vprop[10]+" "+vprop[11]+";color:"+vprop[12]+";background-color:"+vprop[13]+"';>")
document.write(vprop[14]+"</div>")
document.write("</div>");
def++;
}
// free javaScripts on http://www.ScriptBreaker.com
function change(obj_div,text_color,bg_color,txt,id,effect,speed,step)
{
  obj_div2 = document.getElementById(id)
  if(effect == "1")
  {
  if(T1 != null) {clearTimeout(T1);}
   if(ie){ 
	obj_div2.style.filter="alpha(opacity=0)";
    }
  if(ns){ 
   	obj_div2.style.MozOpacity = '0%';
   }
  }
  obj_div2.innerHTML = info[txt];
  obj_div.style.color = text_color;
  obj_div.style.backgroundColor = bg_color;
  if(effect == "1"){fade(obj_div2.id,speed,0,step);}
}

function fade(obj,speed,opacity,step)
{
 if(opacity > 70) {step = parseInt(step)+50;}
 obj_div2 = document.getElementById(obj);
 if(ie){ 
  obj_div2.style.filter="alpha(opacity="+opacity+")";
 }
 if(ns){ 
   	obj_div2.style.MozOpacity = opacity+'%';
   }
 opacity+=parseInt(step);
 if(opacity <= (100+parseInt(step)))T1 = setTimeout("fade('"+obj+"',"+speed+","+opacity+","+step+")",speed);
 else {T1=null;}
}

//change anything below this line

var i=0;
Link= new Array(chapterArr.length-1); //3 for fixed link - chapters,e-group and contact
for(i=0; i<Link.length; i++)
{
	Link[i] = new Array(7);
}
i=-1;
//Link[i]=["Alumni Chapters","./chapters.asp","_top","<u>College History-Page</u><br>BE College history,established in 1856 and it becomes deemed University in 1993.","darkred","Gold","darkblue","Gold"];
for(j=1; j<chapterArr.length; j++)
{
	i++;
	Link[i]= [chapterArr[j].chapter_name,"./chapter_item.asp?ChapterID="+chapterArr[j].chapter_key,"_top","<u>" + chapterArr[j].chapter_name + "</u><br>" + chapterArr[j].link_desc,"darkblue","lightblue","Darkblue","Gold"]
}
//i++;
//Link[i]=["E-Groups","./egroups.asp","_top","<u>E-Groups</u><br>List of All e-groups available.","darkblue","lightblue","Darkblue","Gold"];
//i++;
//Link[i]= ["Contacts","./contact.asp","_top","<u>Contact-page</u><br>Contacts Alumni representative for your any local needs.","darkblue","lightblue","Darkblue","Gold"];

/*
Link=[
["Alumni Chapters","http://www.becollege.org","_top","<u>College History-Page</u><br>BE College history,established in 1856 and it becomes deemed University in 1993.","darkred","Gold","darkblue","Gold"],
["India Chapter","EditUser.asp","_top","<u>Update-Records</u><br>Always update your record if it has changed.","darkblue","lightblue","Darkblue","Gold"],
["USA Chapter","alumnilist.asp","_top","<u>Alumni-List</u><br>Complete list of registered alumni list for making better BE College communityt.","darkblue","lightblue","Darkblue","Gold"],
["Canada Chapter","AddName.asp","_top","<u>Alumni-Registration</u><br>You can register on-line. Your privacy is protected.","darkblue","lightblue","Darkblue","Gold"],
["Gulf Chapter","alumniSearch.asp","_top","<u>Search-Alumni</u><br>Search your friend online here.","darkblue","lightblue","Darkblue","Gold"],
["Europe Chapter","EditUser.asp","_top","<u>Update-Records</u><br>Always update your record if it has changed.","darkblue","lightblue","Darkblue","Gold"],
["E-Groups","EditUser.asp","_top","<u>Update-Records</u><br>Always update your record if it has changed.","darkblue","lightblue","Darkblue","Gold"],
["Contacts","contact.asp","_top","<u>Contact-page</u><br>Contacts Alumni representative for your any local needs.","darkblue","lightblue","Darkblue","Gold"]
];
*/

prop=[
130, // width of the menu
17, // heigth of the menu items
1, // border width of the items
"solid", // style of the border items
"darkblue", // color of the border items
40, // heigth of the info_panel
10, // space between the menu and the infobar
"white",//background-color of the between bar
80, //height of the infobar
0, // border-width of the info bar
"solid", // border-style of the info bar
"lightblue", // border-color of the info bar
"black", // text color of the info bar
"white", // background-color of the info bar
"<u>Link info menu</u><br>Move your mouse over the items to see the link info.", // default text of the info bar
1, // fade in effect on = 1; fade in effect off = 0
40, // speed of the fade effect
2 // steps of the fade effect (how bigger how faster)
];
