// JavaScript Document

var menupage1;
var menupage2;
var menupage3;
var menupage4;
var menupage5;
var menupage6;
var menupage7;
//new Row for report tab
var menupage8;
var menupage9;

var menuName1;
var menuName2;
var menuName3;
var menuName4;
var menuName5;
var menuName6;
var menuName7;
//new Row for report tab
var menuName8;
var menuName9;

var menuHeading1;
var menuHeading2;
var menuHeading3;
var menuHeading4;
var menuHeading5;
var menuHeading6;
var menuHeading7;


//new Row for report tab
var menuHeading8;
var menuHeading9;

/*
menupage1='view_schedule.htm';
menupage2='all_fields.htm';
menupage3='iFile_3.htm';
menupage4='iFile_4.htm';
menupage5='iFile_5.htm';
menupage6='iFile_6.htm';
menupage7='iFile_7.htm';
menupage8='iFile_8.htm';

menuName1='Schedule';
menuName2='Class Setup';
menuName3='Instructor';
menuName4='Campus';
menuName5='Course';
menuName6='Classroom Resources';
menuName7='Resources';

menuHeading1='Schedule';
menuHeading2='Class Setup';
menuHeading3='Instructor';
menuHeading4='Campus';
menuHeading5='Course';
menuHeading6='Classroom Resources';
menuHeading7='Resources';
*/
		function setRollOverColor(Cell_1, Cell_2, Cell_3, style)
		{
			var identity;
			identity=document.getElementById(Cell_1);
			identity.className = style;
			identity=document.getElementById(Cell_2);
			identity.className = style;
			identity=document.getElementById(Cell_3);
			identity.className = style;
		}
		
		function setClickColor(Cell_1,Cell_2,Cell_3,style)
		{
			var identity;
			identity=document.getElementById(Cell_1);
			identity.className = style;
			identity=document.getElementById(Cell_2);
			identity.className = style;
			identity=document.getElementById(Cell_3);
			identity.className = style;			
		}
		
		function setRollOutColor(Cell_1, Cell_2, Cell_3, style)
		{
			var identity;
			identity=document.getElementById(Cell_1);
			identity.className = style;
			identity=document.getElementById(Cell_2);
			identity.className = style;
			identity=document.getElementById(Cell_3);
			identity.className = style;
		}
	
		function moveToNewPage(pagename)
			{ window.navigate(pagename);}
			
		function footer_menu()
		{			
			menupage1 = "TabControl/ProcessRequest.aspx?URL=Home.aspx&selectedTab=0";
			menupage2 = "TabControl/ProcessRequest.aspx?URL=FilterPackageView.aspx&selectedTab=1";			
			menupage3 = "TabControl/ProcessRequest.aspx?URL=Course.aspx&selectedTab=2";
			menupage4 = "TabControl/ProcessRequest.aspx?URL=Campus.aspx&selectedTab=3";			
			menupage5 = "TabControl/ProcessRequest.aspx?URL=Instructor.aspx&selectedTab=4";
            menupage6 = "TabControl/ProcessRequest.aspx?URL=Discount.aspx&selectedTab=6";
            menupage7 = "TabControl/ProcessRequest.aspx?URL=Report.aspx&selectedTab=5";

			menupage8 = "TabControl/ProcessRequest.aspx?URL=Messages.aspx&selectedTab=7";
			menupage9 = "TabControl/ProcessRequest.aspx?URL=AdministratorAlerts.aspx&selectedTab=8";
            /*new Row for report tab*/
           
			menuName1 = "Home";
			menuName2 = "Classes";			
			menuName3 = "Courses";			
			menuName4 = "Locations";
			menuName5 = "Instructors";
			menuName6 = "Discounts";
			menuName7 = "Reports";
		
			menuName8 = "My Messages";
			menuName9 = "My Alerts";
			/*new Row for report tab*/
		
			document.write("<A class='Gray' href='"+ menupage1+"'>"+menuName1+"</A>"+" | "+
						   "<A class='Gray' href='"+ menupage2+"'>"+menuName2+"</A>"+" | "+
						   "<A class='Gray' href='"+ menupage3+"'>"+menuName3+"</A>"+" | "+
						   "<A class='Gray' href='"+ menupage4+"'>"+menuName4+"</A>"+" | "+
							 "<A class='Gray' href='"+ menupage5+"'>"+menuName5+"</A>"+" | "+
							 "<A class='Gray' href='"+ menupage6+"'>"+menuName6+"</A>"+" | "+
							 /* //Commited
							  "<A class='Gray' href='"+ menupage7+"'>"+menuName7+"</A>");
							 
							 			//new Row for report tab */
							 "<A class='Gray' href='"+ menupage7+"'>"+menuName7+"</A>"+" | "+
							 "<A class='Gray' href='"+ menupage8+"'>"+menuName8+"</A>"+" | "+
							 "<A class='Gray' href='"+ menupage9+"'>"+menuName9+"</A>");
		}
		
		function footer_menu_ForInstructor() {	
			//created by Noman on Dec 5, 2005
			
			menupage1 = "../TabControl/ProcessRequest.aspx?URL=Instructor/Home.aspx&selectedTab=0";
			menupage2 = "../TabControl/ProcessRequest.aspx?URL=Instructor/InstructorClasses.aspx&selectedTab=1";
			menupage3 = "../TabControl/ProcessRequest.aspx?URL=Instructor/ClassStudents.aspx&selectedTab=2";			
			menupage4 = "../TabControl/ProcessRequest.aspx?URL=Instructor/AdminUsers.aspx&selectedTab=3";
			menupage5 = "../TabControl/ProcessRequest.aspx?URL=Instructor/Messages.aspx&selectedTab=4";
			menupage6 = "../TabControl/ProcessRequest.aspx?URL=Instructor/InstructorAlerts.aspx&selectedTab=5";
           
			menuName1 = "Home";
			menuName2 = "My Classes";
			menuName3 = "My Students";
			menuName4 = "Admin Users";
			menuName5 = "My Messages";
			menuName6 = "Alerts";
			//new Row for report tab
			
			document.write("<A class='Gray' href='"+ menupage1+"'>"+menuName1+"</A>"+" | "+
						   "<A class='Gray' href='"+ menupage2+"'>"+menuName2+"</A>"+" | "+
						   "<A class='Gray' href='"+ menupage3+"'>"+menuName3+"</A>"+" | "+
						   "<A class='Gray' href='"+ menupage4+"'>"+menuName4+"</A>"+" | "+
						   "<A class='Gray' href='"+ menupage5+"'>"+menuName5+"</A>"+" | "+
	
	                      // "<A class='Gray' href='"+ menupage6+"'>"+menuName6+"</A>"+" | ");
	
						  
						     "<A class='Gray' href='"+ menupage6+"'>"+menuName6+"</A>"+" | ");
		}
		
		function footer_copyright()
		{
			var copy;
			copy = 'Copyright 2005-2008 www.360training.com All Rights Reserved';			
			document.write(copy);
		}
		
		function footer_privacy()
		{
			var Privacy_Statement_link;
			var Security_Statement_link;
			var Terms_of_Use_link;
			
			Privacy_Statement_link='Privacy_statement.aspx';
			Security_Statement_link='Security_statement.aspx';
			Terms_of_Use_link='Terms_of_use.aspx';			
			
		
		document.write("<A class='Gray' href='"+ Privacy_Statement_link+"' target='_blank'>Privacy Statement</A>"+" | "+
					   "<A class='Gray' href='"+ Security_Statement_link+"' target='_blank'>Security Statement</A>"+" | "+
					   "<A class='Gray' href='"+ Terms_of_Use_link+"' target='_blank'>Terms of Use</A>");
		}
		
		
		function footer_instructor_privacy()
		{
			var Privacy_Statement_link;
			var Security_Statement_link;
			var Terms_of_Use_link;
			
			Privacy_Statement_link='../Privacy_statement.aspx';
			Security_Statement_link='../Security_statement.aspx';
			Terms_of_Use_link='../Terms_of_use.aspx';			
			
		
		document.write("<A class='Gray' href='"+ Privacy_Statement_link+"' target='_blank'>Privacy Statement</A>"+" | "+
					   "<A class='Gray' href='"+ Security_Statement_link+"' target='_blank'>Security Statement</A>"+" | "+
					   "<A class='Gray' href='"+ Terms_of_Use_link+"' target='_blank'>Terms of Use</A>");
		}