// JavaScript Document
//var root_path="http://devsrv/finalwebsiteupload/amitycare/";
var root_path="http://amitycare.net/";


document.write('<link rel="stylesheet" type="text/css" href='+root_path+'sdmenu.css>');
function SDMenu(id) {
	if (!document.getElementById || !document.getElementsByTagName)
		return false;
	this.menu = document.getElementById(id);
	this.submenus = this.menu.getElementsByTagName("div");
	this.remember = true;
	this.speed = 2;
	this.markCurrent = true;
	this.oneSmOnly = false;
}
SDMenu.prototype.init = function() {
	var mainInstance = this;
	for (var i = 0; i < this.submenus.length; i++)
		this.submenus[i].getElementsByTagName("span")[0].onclick = function() {
			mainInstance.toggleMenu(this.parentNode);
		};
		
	
	if (this.markCurrent) {
		var links = this.menu.getElementsByTagName("a");
		for (var i = 0; i < links.length; i++)
			if (links[i].href == document.location.href) {
				links[i].className = "current";
				break;
			}
	}
	if (this.remember) {
		var regex = new RegExp("sdmenu_" + encodeURIComponent(this.menu.id) + "=([01]+)");
		var match = regex.exec(document.cookie);
		if (match) {
			var states = match[1].split("");
			for (var i = 0; i < states.length; i++)
				this.submenus[i].className = (states[i] == 0 ? "collapsed" : "");
		}
	}
};
SDMenu.prototype.toggleMenu = function(submenu) {
	if (submenu.className == "collapsed")
		this.expandMenu(submenu);
	else
		this.collapseMenu(submenu);
};
SDMenu.prototype.expandMenu = function(submenu) {
	var fullHeight = submenu.getElementsByTagName("span")[0].offsetHeight;
	var links = submenu.getElementsByTagName("a");
	for (var i = 0; i < links.length; i++)
		fullHeight += links[i].offsetHeight;
	var moveBy = Math.round(this.speed * links.length);
	
	var mainInstance = this;
	var intId = setInterval(function() {
		var curHeight = submenu.offsetHeight;
		var newHeight = curHeight + moveBy;
		if (newHeight < fullHeight)
			submenu.style.height = newHeight + "px";
		else {
			clearInterval(intId);
			submenu.style.height = "";
			submenu.className = "";
			mainInstance.memorize();
		}
	}, 30);
	this.collapseOthers(submenu);
};
SDMenu.prototype.collapseMenu = function(submenu) {
	var minHeight = submenu.getElementsByTagName("span")[0].offsetHeight;
	var moveBy = Math.round(this.speed * submenu.getElementsByTagName("a").length);
	var mainInstance = this;
	var intId = setInterval(function() {
		var curHeight = submenu.offsetHeight;
		var newHeight = curHeight - moveBy;
		if (newHeight > minHeight)
			submenu.style.height = newHeight + "px";
		else {
			clearInterval(intId);
			submenu.style.height = "";
			submenu.className = "collapsed";
			mainInstance.memorize();
		}
	}, 30);
};
SDMenu.prototype.collapseOthers = function(submenu) {
	if (this.oneSmOnly) {
		for (var i = 0; i < this.submenus.length; i++)
			if (this.submenus[i] != submenu && this.submenus[i].className != "collapsed")
				this.collapseMenu(this.submenus[i]);
	}
};
SDMenu.prototype.expandAll = function() {
	var oldOneSmOnly = this.oneSmOnly;
	this.oneSmOnly = false;
	for (var i = 0; i < this.submenus.length; i++)
		if (this.submenus[i].className == "collapsed")
			this.expandMenu(this.submenus[i]);
	this.oneSmOnly = oldOneSmOnly;
};
SDMenu.prototype.collapseAll = function() {
	for (var i = 0; i < this.submenus.length; i++)
		if (this.submenus[i].className != "collapsed")
			this.collapseMenu(this.submenus[i]);
};
SDMenu.prototype.memorize = function() {
	if (this.remember) {
		var states = new Array();
		for (var i = 0; i < this.submenus.length; i++)
			states.push(this.submenus[i].className == "collapsed" ? 0 : 1);
		var d = new Date();
		d.setTime(d.getTime() + (30 * 24 * 60 * 60 * 1000));
		document.cookie = "sdmenu_" + encodeURIComponent(this.menu.id) + "=" + states.join("") + "; expires=" + d.toGMTString() + "; path=/";
	}
};


/*document.write('<table cellspacing="0" cellpadding="0" width="205px">');
document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Home</a></td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Amity Universe</a></td>');
document.write('</tr>');


document.write('<tr><td width="100%">');
document.write('<div style="float: left" id="my_menu" class="sdmenu">');
document.write('<div>');
document.write('<span>Messages</span>');
document.write('<a href="default.asp">Founder Presidents Message</a>');
document.write('<a href="default.asp">Presidents Message</a>');
document.write('<a href="default.asp">Vice Chancellors Message</a>');
document.write('<a href="default.asp">Directors Message</a>');
document.write('<a href="default.asp">Dy. Directors Message</a>');
document.write('</div>');
/*document.write('<div>');
document.write('<span>Support Us</span>');
document.write('<a href="http://www.dynamicdrive.com/recommendit/">Recommend Us</a>');
document.write('<a href="http://www.dynamicdrive.com/link.htm">Link to Us</a>');
document.write('<a href="http://www.dynamicdrive.com/resources/">Web Resources</a>');
document.write('</div>');
document.write('<div class="collapsed">');
document.write('<span>Partners</span>');
document.write('<a href="http://www.javascriptkit.com">JavaScript Kit</a>');
document.write('<a href="http://www.cssdrive.com">CSS Drive</a>');
document.write('<a href="http://www.codingforums.com">CodingForums</a>');
document.write('<a href="http://www.dynamicdrive.com/style/">CSS Examples</a>');
document.write('</div>');
document.write('<div>');
document.write('<span>Test Current</span>');
document.write('<a href="index.html">Current or not</a>');
document.write('<a href="index.html">Current or not</a>');
document.write('<a href="index.html">Current or not</a>');
document.write('<a href="index.html?query">Current or not</a>');
document.write('</div>');*/
/*document.write('</div>');
document.write('</td></tr>');

document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Governing Body</a></td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Why Recruit @ Amity</a></td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Footprints</a></td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Faculty</a></td>');
document.write('</tr>');


document.write('<tr><td width="100%">');
document.write('<div style="float: left" id="my_menu2" class="sdmenu">');
document.write('<div>');
document.write('<span>Courses Offered</span>');
document.write('<a href="default.asp">Course 1</a>');
document.write('<a href="default.asp">Course 2</a>');
document.write('<a href="default.asp">Course 3</a>');
document.write('<a href="default.asp">Course 4</a>');
document.write('</div>');
document.write('</div>');
document.write('</td></tr>');

document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Placement Process</a></td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Placement Record</a></td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Past Recruiters</a></td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Students Profile</a></td>');
document.write('</tr>');


document.write('<tr><td width="100%">');
document.write('<div style="float: left" id="my_menu3" class="sdmenu">');
document.write('<div>');
document.write('<span>Campus Life</span>');
document.write('<a href="default.asp">Life 1</a>');
document.write('<a href="default.asp">Life 2</a>');
document.write('<a href="default.asp">Life 3</a>');
document.write('<a href="default.asp">Life 4</a>');
document.write('</div>');
document.write('</div>');
document.write('</td></tr>');


document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Alumni Council</a></td>');
document.write('</tr>');


document.write('<tr><td width="100%">');
document.write('<div style="float: left" id="my_menu4" class="sdmenu">');
document.write('<div>');
document.write('<span>Latest @ Amity</span>');
document.write('<a href="default.asp">News</a>');
document.write('<a href="default.asp">Up-Coming Events</a>');
document.write('<a href="default.asp">Previous Events</a>');
document.write('</div>');
document.write('</div>');
document.write('</td></tr>');


document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">Contact Us</a></td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td background="image/b2.jpg" height="25px" class="styleF1" width="100%"><a href="default.asp">FAQs</a></td>');
document.write('</tr>');


document.write('</table>');*/

var myMenu,myMenu2,myMenu3,myMenu4;
	window.onload = function() {
		
		myMenu4 = new SDMenu("my_menu4");
		myMenu4.speed = 2;                     // Menu sliding speed (1 - 5 recomended)
		myMenu4.remember = true;               // Store menu states (expanded or collapsed) in cookie and restore later
		myMenu4.oneSmOnly = false;             // One expanded submenu at a time
		myMenu4.markCurrent = true;            // Mark current link / page (link.href == location.href)
		myMenu4.init();
		
		myMenu3 = new SDMenu("my_menu3");
		myMenu3.speed = 2;                     // Menu sliding speed (1 - 5 recomended)
		myMenu3.remember = true;               // Store menu states (expanded or collapsed) in cookie and restore later
		myMenu3.oneSmOnly = false;             // One expanded submenu at a time
		myMenu3.markCurrent = true;            // Mark current link / page (link.href == location.href)
		myMenu3.init();
		
		myMenu2 = new SDMenu("my_menu2");
		myMenu2.speed = 2;                     // Menu sliding speed (1 - 5 recomended)
		myMenu2.remember = true;               // Store menu states (expanded or collapsed) in cookie and restore later
		myMenu2.oneSmOnly = false;             // One expanded submenu at a time
		myMenu2.markCurrent = true;            // Mark current link / page (link.href == location.href)
		myMenu2.init();
		
		myMenu1 = new SDMenu("my_menu1");
		myMenu1.speed = 2;                     // Menu sliding speed (1 - 5 recomended)
		myMenu1.remember = true;               // Store menu states (expanded or collapsed) in cookie and restore later
		myMenu1.oneSmOnly = false;             // One expanded submenu at a time
		myMenu1.markCurrent = true;            // Mark current link / page (link.href == location.href)
		myMenu1.init();
		
		myMenu5 = new SDMenu("my_menu5");
		myMenu5.speed = 2;                     // Menu sliding speed (1 - 5 recomended)
		myMenu5.remember = true;               // Store menu states (expanded or collapsed) in cookie and restore later
		myMenu5.oneSmOnly = false;             // One expanded submenu at a time
		myMenu5.markCurrent = true;            // Mark current link / page (link.href == location.href)
		myMenu5.init();
		
		myMenu6 = new SDMenu("my_menu6");
		myMenu6.speed = 2;                     // Menu sliding speed (1 - 5 recomended)
		myMenu6.remember = true;               // Store menu states (expanded or collapsed) in cookie and restore later
		myMenu6.oneSmOnly = false;             // One expanded submenu at a time
		myMenu6.markCurrent = true;            // Mark current link / page (link.href == location.href)
		myMenu6.init();
		
		myMenu7 = new SDMenu("my_menu7");
		myMenu7.speed = 2;                     // Menu sliding speed (1 - 5 recomended)
		myMenu7.remember = true;               // Store menu states (expanded or collapsed) in cookie and restore later
		myMenu7.oneSmOnly = false;             // One expanded submenu at a time
		myMenu7.markCurrent = true;            // Mark current link / page (link.href == location.href)
		myMenu7.init();

	};




document.write('<table width="190" height="270" border="0" cellpadding="0" cellspacing="2" dwcopytype="CopyTableColumn">');
document.write('<tr><td valign="top" bgcolor="#DAF6F9" align="left">');
document.write('<table height="280" border="0" cellpadding="0" cellspacing="0" align="center">');
document.write('<tr><td width="5" height="10" valign="bottom"><div align="right"></div></td>');
document.write('<td width="5" height="8" valign="bottom" class="A2"><img src='+root_path+'image/glb_nav_lefttop.gif width="185" height="9"></td></tr>');


document.write('<tr><td width="5" height="15"><div align="right"><span class="style7"></span></div></td>');
document.write('<td width="185" height="15" align="right" bgcolor="#ECF0F0" class="navleftcontent"><div align="left">&nbsp;&nbsp;&nbsp;<span class="style7"><a class="A13" href='+ root_path +'>Home </a></span></div></td></tr>');

document.write('<tr><td width="5" height="18"><div align="right"><span class="style7"></span></div></td>');
document.write('<td width="185" height="18" align="left" bgcolor="#ECF0F0" class="navleftcontent"><span class="style7"><a class="A13" href='+ root_path +'aboutus.htm>&nbsp;&nbsp;&nbsp; About Us </a></span></td></tr>');

//
document.write('<tr><td width="5" height="15">');
document.write('<td width="185" height="15" align="left" bgcolor="#ECF0F0"  class="navleftcontent">');
document.write('<div style="float: left" id="my_menu4" class="sdmenu">');
document.write('<div>');
document.write('<span>Member Schools</span>');
document.write('<a href='+ root_path +'MemberSchools/MemberSchools1.html>&nbsp;&nbsp;&nbsp;&nbsp;Member Schools</a>');
document.write('<a href='+ root_path +'MemberSchools/register_school.asp>&nbsp;&nbsp;&nbsp;&nbsp;Register Now</a>');
document.write('</div>');
document.write('</div>');
document.write('</td></tr>');



document.write('<tr><td width="5" height="15">');
document.write('<td width="185" height="15" align="left" bgcolor="#ECF0F0"  class="navleftcontent">');
document.write('<div style="float: left" id="my_menu3" class="sdmenu">');
document.write('<div>');
document.write('<span>Guidance Areas</span>');
document.write('<a href='+ root_path +'Guidance%20Areas/GuidanceAreas.html>&nbsp;&nbsp;&nbsp;&nbsp;Guidance Areas</a>');
document.write('<a href='+ root_path +'Guidance%20Areas/Career%20Options/CareerOptions.html>&nbsp;&nbsp;&nbsp;&nbsp;Career Options</a>');
document.write('<a href='+ root_path +'Guidance%20Areas/Soft%20Skills/softskills20.htm>&nbsp;&nbsp;&nbsp;&nbsp;Soft Skills</a>');
document.write('</div>');
document.write('</div>');
document.write('</td></tr>');


document.write('<tr><td width="5" height="15">');
document.write('<td width="185" height="15" align="left" bgcolor="#ECF0F0"  class="navleftcontent">');
document.write('<div style="float: left" id="my_menu2" class="sdmenu">');
document.write('<div>');
document.write('<span>Workshops</span>');
document.write('<a href='+ root_path +'Seminars-Workshops/workshopoffered.htm>&nbsp;&nbsp;&nbsp;&nbsp;Workshops Offered</a>');
document.write('<a href='+ root_path +'Seminars-Workshops/feedback.htm>&nbsp;&nbsp;&nbsp;&nbsp;Feedback</a>');
document.write('</div>');
document.write('</div>');
document.write('</td></tr>');


document.write('<tr><td width="5" height="15">');
document.write('<td width="185" height="15" align="left" bgcolor="#ECF0F0"  class="navleftcontent">');
document.write('<div style="float: left" id="my_menu1" class="sdmenu">');
document.write('<div>');
document.write('<span>Seminars/Events</span>');
document.write('<a href="#">&nbsp;&nbsp;Up-Coming Events</a>');
document.write('<a href='+ root_path +'Seminars-Workshops/previousevents.htm>&nbsp;&nbsp;Previous Events</a>');
document.write('</div>');
document.write('</div>');
document.write('</td></tr>');


document.write('<tr><td width="5" height="15">');
document.write('<td width="185" height="15" align="left" bgcolor="#ECF0F0"  class="navleftcontent">');
document.write('<div style="float: left" id="my_menu5" class="sdmenu">');
document.write('<div>');
document.write('<span>Counsellor’s Club (ACCF)</span>');
document.write('<a href='+ root_path +'Counsollar%27sClub/ACCF.htm>&nbsp;&nbsp;Counsellor’s Club</a>');
document.write('<a href='+ root_path +'Counsollar%27sClub/CounsellorMag.htm>&nbsp;&nbsp;Counsellor’s Magazine</a>');
document.write('<a href='+ root_path +'Counsollar%27sClub/accfnewsletter.htm>&nbsp;&nbsp;ACCF Newsletter</a>');
document.write('</div>');
document.write('</div>');
document.write('</td></tr>');


document.write('<tr><td width="5" height="15">');
document.write('<td width="185" height="15" align="left" bgcolor="#ECF0F0"  class="navleftcontent">');
document.write('<div style="float: left" id="my_menu6" class="sdmenu">');
document.write('<div>');
document.write('<span>Articles</span>');
//document.write('<a href="http://amitycare.net/articles.htm">&nbsp;&nbsp;Various Article</a>');
document.write('<a href='+ root_path +'BestPractices/bestpractice.htm>&nbsp;&nbsp;Best Practices</a>');
document.write('<a href='+ root_path +'Adolescent/adolescentissue.htm>&nbsp;&nbsp;Adolescent Issues</a>');
document.write('<a href='+ root_path +'Parenting/parenting.htm>&nbsp;&nbsp;Parenting Issues</a>');
document.write('<a href='+ root_path +'others/other.htm>&nbsp;&nbsp;Others</a>');
document.write('<a href='+ root_path +'bestPractices/frmPostMessage.aspx>&nbsp;&nbsp;Post an Article</a>');
document.write('</div>');
document.write('</div>');
document.write('</td></tr>');




document.write('<tr><td width="5" height="15" valign="top"><div align="right"></div></td>');
document.write('<td width="185" height="15" align="left" bgcolor="#ECF0F0"  class="navleftcontent"><span class="style7"><a class="A13" href='+ root_path +'Expert%20Comments/ViewArch.htm>&nbsp;&nbsp;&nbsp;&nbsp;Expert Speak</a></span></td></tr>');

document.write('<tr><td width="5" height="15"><div align="right"><span class="style7"></span></div></td>');
document.write('<td width="185" height="15" align="left" bgcolor="#ECF0F0" class="navleftcontent"><span class="style7"><a class="A13" href='+ root_path +'picture_gallery.htm>&nbsp;&nbsp;&nbsp; Picture Gallery</a></span></td></tr>');



document.write('<tr><td width="5" height="15">');
document.write('<td width="185" height="15" align="left" bgcolor="#ECF0F0"  class="navleftcontent">');
document.write('<div style="float: left" id="my_menu7" class="sdmenu">');
document.write('<div>');
document.write('<span>Student Corner</span>');
document.write('<a href='+ root_path +'under_construction.htm>&nbsp;&nbsp;Contests</a>');
document.write('<a href='+ root_path +'student_corner/student_share_thought.htm>&nbsp;&nbsp;Share your thoughts</a>');
document.write('<a href="http://www.amityedumedia.com" target="_blank">&nbsp;&nbsp;Career Information</a>');
document.write('<a href='+ root_path +'under_construction.htm>&nbsp;&nbsp;Online poll</a>');
document.write('</div>');
document.write('</div>');
document.write('</td></tr>');




document.write('<tr><td width="5" height="15" valign="top"><div align="right"></div></td>');
document.write('<td width="185" height="15" align="left" valign="middle" bgcolor="#ECF0F0"  class="navleftcontent"><span class="style7"><a class="A13" href='+ root_path +'bestPractices/post_query.asp>&nbsp;&nbsp;&nbsp;&nbsp;Post Your Query </a></span></td></tr>');

document.write('<tr><td width="5" height="15" valign="top"><div align="right"></div></td>');
document.write('<td width="185" height="15" align="left" valign="middle" bgcolor="#ECF0F0"  class="navleftcontent"><span class="style7"><a class="A13" href="http://www.amity.edu/" target="_blank">&nbsp;&nbsp;&nbsp;&nbsp;Amity Universe Home</a></span></td></tr>');

document.write('<tr><td width="5" height="15" valign="top"><div align="right"></div></td>');
document.write('<td width="185" height="15" align="left" valign="middle" bgcolor="#ECF0F0"  class="navleftcontent"><span class="style7"><a class="A13" href='+ root_path +'Contactus/ContactUs.htm>&nbsp;&nbsp;&nbsp;&nbsp;Contact Us</a></span></td></tr>');

document.write('<tr><td height="9" rowspan="2"><div align="right"><span class="style7"></span></div></td>');
document.write('<td height="9" valign="top"><img src='+root_path+'image/glb_nav_leftbottom.gif width="185" height="9"></td></tr>');

document.write('</table>');
document.write('<br><table width="180" height="100" align="center" border="1" bordercolor="#E0BE38" background='+ root_path +'image/h_bg.gif>');
document.write('<tr><td width="100%" height="80" valign="middle" align="center">');
document.write('<span class="style28"><a href='+ root_path +'Guidance%20Areas/Career%20Options/CareerOptions.html target="_blank"><font color="#FFFFFF"><u>General Career Options</u></font></a><br><br><a href="http://amity.edu" target="_blank"><font color="#FFFFFF"><u>Amity University Options</u></font></a><br><br><a href='+ root_path +'frmFeedback.aspx><font color="#FFFFFF"><u>Write to the Counselor</u></font></a></span>');
document.write('</td></tr>');
document.write('</table>');

document.write('</td></tr>');

document.write('<tr><td>');
document.write('<br><div align="center"><img src='+ root_path +'image/leftbottom.jpg width="185" height="256" valign="top"></div>');
document.write('</td></tr></table>');

