<!--

function drawCurrMonth(form)  // display current month in table

{

  makeMonthArray()

  var today = new Date()

  var currYearIndex = -1;



  var ie4 = (document.all) ? true : false;

  if (ie4) 

    currYearIndex = today.getYear() - 2000;

  else

    currYearIndex = today.getYear() - 100;



  var currMonthIndex = today.getMonth()

  

  form.selYear.selectedIndex  = currYearIndex

  form.selMonth.selectedIndex = currMonthIndex

  form.selDay.selectedIndex = 0

  drawCal(form)

}



function makeMonthArray()     // create array of 12 month objects

{

  months = new makeArray(12)

  months[1]  = new month("January", 31, 0)

  months[2]  = new month("February", 28, 1)

  months[3]  = new month("March", 31, 2)

  months[4]  = new month("April", 30, 3)

  months[5]  = new month("May", 31, 4)

  months[6]  = new month("June", 30, 5)

  months[7]  = new month("July", 31, 6)

  months[8]  = new month("August", 31, 7)

  months[9]  = new month("September", 30, 8)

  months[10] = new month("October", 31, 9)

  months[11] = new month("November", 30, 10)

  months[12] = new month("December", 31, 11)

}



function makeArray(arrayLength)      // create empty array

{

  this.length = arrayLength

  for (var i = 1; i <= arrayLength; i++)

    this[i] = 0

  return this

}



function month(name, length, index)  // create month object

{

  this.name   = name    // properties

  this.length = length

  this.index  = index

  this.getFirstMonthDay = getFirstMonthDay  // method

}



function getFirstMonthDay(theYear)   //get weekday of first monthday

{

  var firstDay = new Date(theYear, this.index, 1)

  return firstDay.getDay() 

}



function drawCal(form)               // draw day numbers in cal table

{

  var theYear = form.selYear.options[form.selYear.selectedIndex].text

  var monthIndex = form.selMonth.selectedIndex + 1

  if (monthIndex == 2)

    months[2].length = getNumFebDays(theYear - 2000)

  var firstMonthDay = months[monthIndex].getFirstMonthDay(theYear)

  var numMonthDays  = months[monthIndex].length



  var dayTabIndx = 9

  for (var i = 0; i < 42; i++) {

    if (i < firstMonthDay || i >= (numMonthDays + firstMonthDay)) {

      form.dayBox[i].value = ""

	}

    else {

      form.dayBox[i].value = i - firstMonthDay + 1

      form.dayBox[i].TABINDEX = dayTabIndx

      dayTabIndx++

	}

  }

  form.dayBox[0].focus()

  setDays(form, numMonthDays)

}



function setDays(f, numDays)

{

  for (i=28; i<=numDays; i++)

  {

   var strText = i;

   var strValue = i;

   var thisOption = new Option(strText, strValue, false, false);

   f.selDay.options[i-1] = thisOption;

  }

}



function drawPrevMonth(form)

{

  var prevMonthIndex = form.selMonth.selectedIndex - 1

  if (prevMonthIndex == -1)    // prev month December?

    {

    var prevYearIndex = form.selYear.selectedIndex - 1

    if (prevYearIndex == -1)   // prev year before 2000?

      {

      alert("Sorry, you cannot display any months before 2000!")

      return

      }

    else  // set month to Dec, sub 1 from year

      {

      form.selMonth.selectedIndex = 11

      form.selYear.selectedIndex  = prevYearIndex

      }

    }

  else    // set month to prev month

    form.selMonth.selectedIndex = prevMonthIndex

  drawCal(form)

}



function drawNextMonth(form)

{

  var nextMonthIndex = form.selMonth.selectedIndex + 1

  if (nextMonthIndex == 12)                    // next month January?

    {

    var nextYearIndex = form.selYear.selectedIndex + 1

    if (nextYearIndex >= form.selYear.length)  // next year after 1999?

      {

      alert("Sorry, you cannot display any months after 1995!")

      return

      }

    else  // set month to Jan, add 1 to year

      {

      form.selMonth.selectedIndex = 0

      form.selYear.selectedIndex  = nextYearIndex

      }

    }

  else    // set month to next month

    form.selMonth.selectedIndex = nextMonthIndex

  drawCal(form)

}



function getNumFebDays(theYear)      // calc num days in February

{

  if ((theYear % 4 == 0 && theYear % 100 != 0) || theYear % 400 == 0)

    return 29

  else

    return 28

}



function submitRequest()

{

   var blnCompleted = false



   if (!blnCompleted) {

      alert("UNDER CONSTRUCTION...")

      return false

   }

   else

      return true

}



// end JS hide -->

function get_month_str(fut_index) {
var future_index = fut_index
var today = new Date()
var month_index = today.getMonth() + future_index
var month_str
if (month_index>11) {month_index=month_index-12}
switch (month_index) {
  case 0:
    month_str = "January"
    break
  case 1:
    month_str = "February"
	break

  case 2:
    month_str = "March"
    break
  case 3:
    month_str = "April"
    break
  case 4:
    month_str = "May"
    break
  case 5:
    month_str = "June"
    break
  case 6:
    month_str = "July"
    break
  case 7:
    month_str = "August"
    break
  case 8:
    month_str = "September"
    break
  case 9:
    month_str = "October"
    break
  case 10:
   month_str = "November"
   break 
  case 11:
   month_str = "December"
  }
  
  return month_str

}
//*****************************************************************************************

//Display Company Logo and Name

//*****************************************************************************************
function showLogo(srcPage)

{

   var blnAddStyle = false;

//   var ie4 = (document.all) ? true : false;

//   if (ie4) {

//    if (parseInt(navigator.appVersion) >= 4) {

//		blnAddStyle = true;

//    }

//   }



//   if (blnAddStyle == true) {

//      document.write("<DIV STYLE='position: absolute; left:10px; top:0;'>");

//   }

//   else {

      document.write("<DIV>");

//   }



   document.write("<TABLE WIDTH='100%' HEIGHT='80' BORDER='0'>");

   document.write(" <TR HEIGHT='80'>");

   document.write("  <TD WIDTH='10%'>");

   document.write("   <IMG SRC='images/img27.gif' ALT='Tech-Train' HEIGHT='80' WIDTH='100%'>");

   document.write("  </TD>");



   document.write("  <TD WIDTH='70%' VALIGN='top'>");

   document.write("   <CENTER>");

   document.write("   <FONT SIZE='6' COLOR='#0000FF'><B><I>Tech-Train</I></B></FONT>");

   document.write("<br><FONT SIZE='6' COLOR='#00FF00'><B><I>Computer and Software</I></B></FONT>");

   document.write("<br><FONT SIZE='6' COLOR='#00FF00'><B><I>Training and Consulting</I></B></FONT>");

   document.write("   </CENTER>");

   document.write("  </TD>");



   document.write("  <TD WIDTH='10%'>");

   document.write("   <IMG SRC='images/img28.jpg' ALT='Tech-Train' HEIGHT='80' WIDTH='90%'>");

   document.write("  </TD>");



   document.write("  <TD WIDTH='10%'>");

   

//   if (srcPage == 'logo') {

//     document.write("  <A HREF='http://www.vue.com/embedReg/embedreg.jsp?embed=true&centerID=200049314' target='content'>");

//     document.write("   <IMG SRC='images/vue_authorized_testing_center.gif' ALT='Tech-Train' HEIGHT='80' WIDTH='90%'>");

//     document.write("  </A>");

//   }

//   else

//     document.write("   <IMG SRC='images/vue_authorized_testing_center.gif' ALT='Tech-Train' HEIGHT='80' WIDTH='90%'>");

   

   document.write("  </TD>");



   document.write(" </TR>");

   document.write("</TABLE>");

   document.write("</DIV>");

}



//*****************************************************************************************

//Display Footer Links

//*****************************************************************************************

function buildFooterLinks(srcPage)

{

  var content = "";

  var blnAddStyle = false;

  var ie4 = (document.all) ? true : false;

  if (ie4) {

   if (parseInt(navigator.appVersion) >= 4) {

      blnAddStyle = true;

   }

  }



  if (blnAddStyle == true) {

	switch (srcPage){

	case 'AboutGSTC':

           content +="<DIV STYLE='position: relative; left:5; top:100;'>";

           break;

	case 'AboutTechTrain':

           content +="<DIV STYLE='position: relative; left:5; top:100;'>";

           break;

	//case 'ContactUs':

        //   content +="<DIV STYLE='position: relative; left:5; top:40;'>";

        //   break;

	case 'Intro':

           content +="<DIV STYLE='position: relative; left:5; top:120;'>";

           break;

	case 'Directions':

           content +="<DIV STYLE='position: relative; left:5; top:120;'>";

           break;

	case 'SiteMap':

           content +="<DIV STYLE='position: relative; left:5; top:110;'>";

           break;

	default:

           break;

	}

  }

  else {

     content +="<DIV>";

  }



  content +="<TABLE WIDTH='100%' border='0'>";

  content +="<TR>";

  content +="<TD>";

  content +="<center>";

  content +="<p><span id=PubSt9F>";

  content +="<a href='index.html'>HOME</a>";

  content +="<br>";

  content +="<a href='TVocational.html'>Vocational Training</a>&#124;";

  content +="<a href='TCert_Prep.html'>Certification Preparation</a>&#124;";

  content +="<a href='TCorp_IT.html'>Corporate IT Training</a>&#124;";

  content +="<a href='TCorp_IT.html'>Consulting</a>";

  content +="<br>";

  content +="<a href='TSBA.html'>Small Business Applications Training</a>&#124;";

  content +="<a href='TPUT.html'>Personal Use Technology Training</a>&#124;"; 

  //content +="<a href='FreeClass.html'>Free Class</a>";

  content +="<br>";

  content +="<a href='AboutTechTrain.html'>About TECH-TRAIN</a>&#124;";

  content +="<a href='AboutGSTC.html'>About the Garden State Technology Center</a>&#124;";

  content +="<a href='Schedule.html'>Schedule</a>&#124;"; 

  content +="<a href='Course_Catalog.html'>Course Catalog</a>";

  content +="<br>";

  content +="<a href='Directions.html'>Directions</a>&#124;"; 

  content +="<a href='Directions.html'>MAPS</a>&#124;"; 

  content +="<a href='SpecialOffer.html'>Special Offer</a>&#124;"; 

  content +="<a href='Careers.html'>New Instructor Signup</a>&#124;"; 

  content +="<a href='SiteMap.html'>Site Map</a>";

  content +="</span></p></center>";

  content +="</TD>";

  content +="</TR>";

  content +="</TABLE>";

  content +="</div>";



  return content;

}



//*****************************************************************************************

//Display Contact Information

//*****************************************************************************************

function showContact(srcPage)

{

/*   var blnAddStyle = false;

   var ie4 = (document.all) ? true : false;

   if (ie4) {

    if (parseInt(navigator.appVersion) >= 4) {

		blnAddStyle = true;

    }

   }



   if (blnAddStyle == true) {

	switch (srcPage){

		case 'AboutGSTC':

            document.write("<DIV STYLE='position: relative; left:5; top:120;'>");

			break;

		case 'AboutTechTrain':

            document.write("<DIV STYLE='position: relative; left:5; top:120;'>");

			break;

		case 'ContactUs':

 */           document.write("<DIV STYLE='position: relative; left:5; top:120;'>");

/*			break;

		case 'Intro':

            document.write("<DIV STYLE='position: relative; left:5; top:140;'>");

           break;

		case 'Directions':

            document.write("<DIV STYLE='position: relative; left:5; top:130;'>");

           break;

		case 'SiteMap':

            document.write("<DIV STYLE='position: relative; left:5; top:130;'>");

           break;

		case 'CourseCatalog':

		case 'ScheduleCal':

		case 'SpecialOffer':

		case 'FreeClass':

		case 'Careers':

		case 'InstructorQual':

		case 'Vocational':

		case 'Certification':

		case 'Corporate':

		case 'SmallBusiness':

		case 'PersonalUse':

            document.write("<DIV STYLE='position: relative; left:5; top:25;'>");

			break;

		case 'RequestInfo':

            document.write("<DIV STYLE='position: relative; left:5; top:30;'>");

			break;

		default:

			break;

	}

   }

   else {

      document.write("<DIV>");

   }

*/

   document.write("<table id='PubSt4F' border='0' width='100%' cellpadding='0' cellspacing='0'>");

   document.write("<tr>");

   document.write("<td width='50%'></td>");

   document.write("<td width='50%x'></td>");

   document.write("</tr>");

   document.write("<tr>");

   document.write("<td width='50%'>Garden State Technology Center</td>");

   document.write("<td width='50%x'>Phone: 732-NJ1-PC4U (651-7248)</td>");

   document.write("</tr>");

   document.write("<tr>");

   document.write("<td width='50%'>4000 Bordentown Ave, Suite 10</td>");

   document.write("<td width='50%'>Fax: 732-651-9995</td>");

   document.write("</tr>");

   document.write("<tr>");

   document.write("<td width='50%'>2nd Floor, Suite 10");

   document.write("<td width='50%'>Web Site: http://www.tech-train.com</td>");

   document.write("</tr>");

   document.write("<tr>");

   document.write("<td width='50%'>Sayreville, NJ&nbsp; 08872</td>");

   document.write("<td width='50%'>Contact: <A HREF='mailto:info@tech-train.com'>Tech-Train</A></td>");

   document.write("</tr>");

   document.write("</table>");

   document.write("</DIV>");

}



//********************************************************************

//Display Copyright Information

//********************************************************************

function showCopyright(srcPage) 

{

   //var webmasterURL ="mailto:maverick@exit109.com?subject='Webmaster-Request Information'";

   var webmasterURL ="mailto:maverick@exit109.com";



   var blnAddStyle = false;

   var ie4 = (document.all) ? true : false;

   if (ie4) {

    if (parseInt(navigator.appVersion) >= 4) {

		blnAddStyle = true;

    }

   }



   if (blnAddStyle == true) {

	switch (srcPage){

	case 'AboutGSTC':

            document.write("<DIV STYLE='position: relative; left:10; top:120;'>");

	    break;

	case 'AboutTechTrain':

            document.write("<DIV STYLE='position: relative; left:10; top:120;'>");

	    break;

	case 'ContactUs':

            document.write("<DIV STYLE='position: relative; left:10; top:120;'>");

	    break;

	case 'Intro':

            document.write("<DIV STYLE='position: relative; left:10; top:140;'>");

            break;

	case 'Directions':

            document.write("<DIV STYLE='position: relative; left:10; top:130;'>");

            break;

	case 'SiteMap':

            document.write("<DIV STYLE='position: relative; left:10; top:130;'>");

            break;

	case 'CourseCatalog':

	case 'ScheduleCal':

	case 'SpecialOffer':

	case 'FreeClass':

	case 'Careers':

	case 'Vocational':

	case 'Certification':

	case 'Corporate':

	case 'SmallBusiness':

	case 'PersonalUse':

            document.write("<DIV STYLE='position: relative; left:10; top:25;'>");

	    break;

	case 'InstructorQual':

            document.write("<DIV STYLE='position: relative; left:10; top:50;'>");

	    break;

	default:

	    break;

	}

   }

   else {

      document.write("<DIV>");

   }



   document.write("<table width='100%' border='0'");

   document.write("<tr>");

   document.write("<td width='85%' valign='top'><CENTER>Copyright &#169; 2003,  Tech-Train All Rights Reserved.");

   document.write("<br><I>Design by <A HREF='" + webmasterURL + "'>");

   document.write("Paul J. Mazur</A></I></CENTER></td>");



   switch (srcPage){

		case 'CourseCatalog':

		case 'ScheduleCal':

		case 'SpecialOffer':

		case 'ScheduleCal':

		case 'FreeClass':

		case 'Careers':

                case 'InstructorQual':

		case 'Vocational':

		case 'Certification':

		case 'Corporate':

		case 'SmallBusiness':

		case 'PersonalUse':

           document.write("<td width='15%'>&nbsp;</td>");

		   break;

		default:

           document.write("<td width='15%'><A HREF='javascript:window.close()'>Close Window</A></td>");

		   break;

   }



   document.write("</tr>");

   document.write("</table>");

   document.write("</DIV>");

}



//***************************************************************

//Open PopUp Window with these dimensions and with scroll bars

//***************************************************************

function windowPopup(thisWindow, thisWidth, thisHeight) 

{

   var parmWidth  = "WIDTH=" + thisWidth; 

   var parmHeight = "HEIGHT=" + thisHeight;  

   var parmBars   = "SCROLLBARS=yes,TOOLBAR=yes,STATUS=yes";

   var parms = parmWidth + "," + parmHeight + "," + parmBars;

   window.open(thisWindow,"",parms); 

}





//*****************************************************************************************

//

//*****************************************************************************************

function initialize() 

{

  document.frmCategory.lstCategory.selectedIndex = -1;

}



function clearCourses(frm)

{

  frm.lstCourses

  frm.txtCourses.value = "";

  frm.lstCategory.selectedIndex = -1;

  frm.lstCourses.selectedIndex = -1;

  frm.lstCourses.options.length = 1;

}



function displayCourses(f, strSection)

{

 var indx = f.lstCategory.selectedIndex;

 

 clearCourses(f);

 f.lstCategory.selectedIndex = indx;



 var ie4 = (document.all) ? true : false;

 if (ie4) {

  if (parseInt(navigator.appVersion) >= 4) {

     f.txtCourses.value =f.lstCategory.options(indx).value;

  }

  else {

     f.txtCourses.value = "< COURSE LIST >";

  }

 }

 else {

    f.txtCourses.value = "< COURSE LIST >";

 }



 switch (strSection){

  case 'CourseCatalog':



   switch (indx){

	case 0:			//Operating Environments

	 aryCategory = new Array(5);

	 aryCategory[0] = "Microsoft Windows XP"

	 aryCategory[1] = "Microsoft Windows"

	 aryCategory[2] = "UNIX Operating System"

 	 aryCategory[3] = "Linux Operating System"

 	 aryCategory[4] = "  Macintosh Operating System"



	 aryCategoryLink = new Array(5);

	 aryCategoryLink[0] = "MCP_cert_prep.html";

	 aryCategoryLink[1] = "Computerized_Office_Specialist.html"

	 aryCategoryLink[2] = "linux_plus.html";

	 aryCategoryLink[3] = "linux_plus.html";

	 aryCategoryLink[4] = "";

	 break;



	case 1:			//Fundamental Courses

	 aryCategory = new Array(6);

	 aryCategory[0] = "Intro to Computers"

	 aryCategory[1] = "Intro to Windows XP/2000"

	 aryCategory[2] = "  Intro to Macintosh"

	 aryCategory[3] = "PC Overview"

	 aryCategory[4] = "Basic Keyboarding"

	 aryCategory[5] = "Using the World Wide Web"



	 aryCategoryLink = new Array(6);

	 aryCategoryLink[0] = "MOUS_cert_prep.html";

	 aryCategoryLink[1] = "MCP_cert_prep.html";

	 aryCategoryLink[2] = "";

	 aryCategoryLink[3] = "MOUS_cert_prep.html";

	 aryCategoryLink[4] = "MOUS_cert_prep.html";

	 aryCategoryLink[5] = "MOUS_cert_prep.html";

	 break;



	case 2:			//Microsoft Courses

	 aryCategory = new Array(8);

	 aryCategory[0] = "MS Visual Basic";

	 aryCategory[1] = "Administering Microsoft Windows XP and 2000"

	 aryCategory[2] = "Developing and Managing Office 2000"

	 aryCategory[3] = "  Microsoft Proxy Server";

	 aryCategory[4] = "  Microsoft Business Server"

	 aryCategory[5] = "Developing Microsoft Windows 2000 Pro"

	 aryCategory[6] = "Microsoft Windows XP Network and Operating System Essentials";

	 aryCategory[7] = "Supporting Microsoft Windows XP and 2000 Network Infrastructure"



	 aryCategoryLink = new Array(8);

	 aryCategoryLink[0] = "Net_programmer.html";

	 aryCategoryLink[1] = "MCP_cert_prep.html";

	 aryCategoryLink[2] = "Computerized_Office_Specialist.html";

	 aryCategoryLink[3] = "";

	 aryCategoryLink[4] = "";

	 aryCategoryLink[5] = "MCSE.html";

	 aryCategoryLink[6] = "MCP_cert_prep.html";

	 aryCategoryLink[7] = "MCP_cert_prep.html";

	 break;



	case 3:			//Word Processing

	 aryCategory = new Array(6);

	 aryCategory[0] = "Microsoft Word 2000 Level I Beginner"

	 aryCategory[1] = "Microsoft Word 2000 Level II Intermediate"

	 aryCategory[2] = "Microsoft Word 2000 Level III Advanced"

	 aryCategory[3] = "  Corel Word Perfect Level I Beginner"

	 aryCategory[4] = "  Corel Word Perfect Level II Intermediate"

	 aryCategory[5] = "  Corel Word Perfect Level III Advanced"



	 aryCategoryLink = new Array(6);

	 aryCategoryLink[0] = "special_offer.html";

	 aryCategoryLink[1] = "MOUS_cert_prep.html";

	 aryCategoryLink[2] = "MOUS_cert_prep.html";

	 aryCategoryLink[3] = "";

	 aryCategoryLink[4] = "";

	 aryCategoryLink[5] = "";

	 break;

 

	case 4:			//Spreadsheets

	 aryCategory = new Array(3);

	 aryCategory[0] = "Microsoft Excel 2000 Level I Beginner"

	 aryCategory[1] = "Microsoft Excel 2000 Level II Intermediate"

	 aryCategory[2] = "Microsoft Excel 2000 Level III Advanced"



	 aryCategoryLink = new Array(3);

	 aryCategoryLink[0] = "MOUS_cert_prep.html";

	 aryCategoryLink[1] = "Computerized_Office_Specialist.html";

	 aryCategoryLink[2] = "Computerized_Office_Specialist.html";

	 break;

	

	case 5:			//Database Management

	 aryCategory = new Array(7);

	 aryCategory[0] = "Oracle 8 and 9"

	 aryCategory[1] = "Using Oracle Relational Database"

	 aryCategory[2] = "  Sybase SQL Anywhere"

	 aryCategory[3] = "Access 2000 Level I Beginner"

	 aryCategory[4] = "Access 2000 Level II Intermediate"

	 aryCategory[5] = "Access 2000 Level III Advanced"

 	 aryCategory[6] = "Access Application Development"



	 aryCategoryLink = new Array(7);

	 aryCategoryLink[0] = "OracleDBA_desc.html";

	 aryCategoryLink[1] = "OracleDBA_desc.html";

	 aryCategoryLink[2] = "";

	 aryCategoryLink[3] = "Computerized_Office_Specialist.html";

	 aryCategoryLink[4] = "MOUS_cert_prep.html";

	 aryCategoryLink[5] = "MOUS_cert_prep.html";

	 aryCategoryLink[6] = "MOUS_cert_prep.html";

	 break;

	

	case 6:			//Graphics/Presentation 

	 aryCategory = new Array(6);

	 aryCategory[0] = "Microsoft Publisher"

	 aryCategory[1] = "Adobe Illustrator"

	 aryCategory[2] = "Intro to Scanning"

	 aryCategory[3] = "Adobe Photoshop"

	 aryCategory[4] = "Adobe Pagemaker"

	 aryCategory[5] = "Microsoft PowerPoint"



	 aryCategoryLink = new Array(6);

	 aryCategoryLink[0] = "Graphics_Multi_Media.html";

	 aryCategoryLink[1] = "Graphics_Multi_Media.html";

	 aryCategoryLink[2] = "Graphics_Multi_Media.html";

	 aryCategoryLink[3] = "Graphics_Multi_Media.html";

	 aryCategoryLink[4] = "Graphics_Multi_Media.html";

	 aryCategoryLink[5] = "MOUS_cert_prep.html";

	 break;



	case 7:			//CAD Courses

	 aryCategory = new Array(5);

	 aryCategory[0] = "  AutoCAD 2000"

	 aryCategory[1] = "  AutoCAD Level 1"

	 aryCategory[2] = "  3D Modeling"

	 aryCategory[3] = "  Rendering and Customization"

	 aryCategory[4] = "  Advanced AutoCAD"



	 aryCategoryLink = new Array(5);

	 aryCategoryLink[0] = "";

	 aryCategoryLink[1] = "";

	 aryCategoryLink[2] = "";

	 aryCategoryLink[3] = "";

	 aryCategoryLink[4] = "";

	 break;

	 

	case 8:			//Desktop Publishing 

	 aryCategory = new Array(2);

	 aryCategory[0] = "Adobe Pagemaker"

	 aryCategory[1] = "Microsoft Publisher"



	 aryCategoryLink = new Array(2);

	 aryCategoryLink[0] = "Graphics_Multi_Media.html";

	 aryCategoryLink[1] = "";

	 break;



	 case 9:		//Web Site Development/Management

	 aryCategory = new Array(6);

	 aryCategory[0] = "HTML"

	 aryCategory[1] = "Go Live"

	 aryCategory[2] = "· Microsoft Internet Explorer"

	 aryCategory[3] = "· Netscape Communicator"

	 aryCategory[4] = "Java Script"

	 aryCategory[5] = "· Java Programming"



	 aryCategoryLink = new Array(6);

	 aryCategoryLink[0] = "Net_programmer.html";

	 aryCategoryLink[1] = "Graphics_Multi_Media.html";

	 aryCategoryLink[2] = "";

	 aryCategoryLink[3] = "";

	 aryCategoryLink[4] = "Net_programmer.html";

	 aryCategoryLink[5] = "";

	 break;



	case 10:		//Web Site 

	 aryCategory = new Array(2);

	 aryCategory[0] = "Internet Technology"

	 aryCategory[1] = "Intro to Web"

	 aryCategory[2] = "Web Master Essentials"



	 aryCategoryLink = new Array(2);

	 aryCategoryLink[0] = "Net_programmer.html";

	 aryCategoryLink[1] = "MOUS_cert_prep.html";

	 aryCategoryLink[2] = "Net_programmer.html";

	 break;



	case 11:		//Hardware Courses

	 aryCategory = new Array(10);

	 aryCategory[0] = "PC Hardware Lab"

	 aryCategory[1] = "PC Hardware Systems"

	 aryCategory[2] = "PC Configuration and Troubleshooting"

	 aryCategory[3] = "A+ Certification Prep"

	 aryCategory[4] = "A+ Network Support Skills"

	 aryCategory[5] = "A+ Software Support Skills"

	 aryCategory[6] = "A+ Hardware Support Skills"

	 aryCategory[7] = "Intro to Cisco Router Configuration"

	 aryCategory[8] = "Network+"

	 aryCategory[9] = "Server+"



	 aryCategoryLink = new Array(10);

	 aryCategoryLink[0] = "Aplus_prep.html";

	 aryCategoryLink[1] = "Aplus_prep.html";

	 aryCategoryLink[2] = "Aplus_prep.html";

	 aryCategoryLink[3] = "Aplus_prep.html";

	 aryCategoryLink[4] = "Aplus_prep.html";

	 aryCategoryLink[5] = "Aplus_prep.html";

	 aryCategoryLink[6] = "Aplus_prep.html";

	 aryCategoryLink[7] = "CCNA_prep.html";

	 aryCategoryLink[8] = "Network_plus.html";

	 aryCategoryLink[9] = "Server_plus.html";

	 break;



	case 12:		// Certification Preparation

	 aryCategory = new Array(13);

	 aryCategory[0] = "A+"

	 aryCategory[1] = "CCNA"

	 aryCategory[2] = "CCDA"

 	 aryCategory[3] = "CCNP"

	 aryCategory[4] = "CCIE"

	 aryCategory[5] = "Linux+"

	 aryCategory[6] = "Microsoft Certified Professional"

	 aryCategory[7] = "Microsoft Certified System Administrator"

	 aryCategory[8] = "Microsoft Certified Systems Engineer"

 	 aryCategory[9] = "Microsoft Office User Specialist"

	 aryCategory[10] = "Network+"

	 aryCategory[11] = "Security+"

	 aryCategory[12] = "Server+"



	 aryCategoryLink = new Array(13);

	 aryCategoryLink[0] = "Aplus_prep.html";

	 aryCategoryLink[1] = "CCNA_prep.html";

	 aryCategoryLink[2] = "CCDA_prep.html";

	 aryCategoryLink[3] = "CCNP_prep.html";

	 aryCategoryLink[4] = "CCIE.html";

	 aryCategoryLink[5] = "linux_plus.html";

	 aryCategoryLink[6] = "MCP_cert_prep.html";

	 aryCategoryLink[7] = "MCSA.html";

	 aryCategoryLink[8] = "MCSE.html";

	 aryCategoryLink[9] = "MOUS_cert_prep.html";

	 aryCategoryLink[10] = "Network_plus.html";

	 aryCategoryLink[11] = "Security_plus.html";

	 aryCategoryLink[12] = "Server_plus.html";

	 break;



	default:		//

	 aryCategory = new Array(0);

	 aryCategory[0] = "";

	 aryCategoryLink = new Array(0);

	 aryCategoryLink[0] = "";

	 break;

   }

 break;



 case 'Vocational':

    switch (indx){

	case 0:			//Computers and Information Technology

	 aryCategory = new Array(0);

	 aryCategory[0] = "Comprehensive Career Preparation Programs";



	 aryCategoryLink = new Array(0);

	 aryCategoryLink[0] = "";

	 break;



	case 1:			//AutoCAD Specialist

	 aryCategory = new Array(0);

	 aryCategory[0] = "Computer Graphics and Multi-Media Specialist";



	 aryCategoryLink = new Array(0);

	 aryCategoryLink[0] = "Graphics_Multi_Media.html";

	 break;



	case 2:			//Computer Automated Accounting Specialist

	 aryCategory = new Array(5);

	 aryCategory[0] = "Advanced Accounting Professional";

	 aryCategory[1] = "Computerized Office Assistant";

	 aryCategory[2] = "Computerized Office Specialist";

 	 aryCategory[3] = "Computer Systems Security Specialist";

 	 aryCategory[4] = "Linux and Unix Specialist";



	 aryCategoryLink = new Array(5);

	 aryCategoryLink[0] = "";

	 aryCategoryLink[1] = "";

	 aryCategoryLink[2] = "Computerized_Office_Specialist.html";

	 aryCategoryLink[3] = "";

	 aryCategoryLink[4] = "linux_plus.html";

	 break;



	case 3:			//Personal Computer Specialist

	 aryCategory = new Array(11);

	 aryCategory[0] = "Personal Computer Systems Administrator";

	 aryCategory[1] = "Technical Support Specialist";

	 aryCategory[2] = "Personal Computer Systems Engineer";

	 aryCategory[3] = "Windows 2000 Specialist";

	 aryCategory[4] = "Windows XP and .NET Specialist";

	 aryCategory[5] = "Network Systems and Internet Programmer";

	 aryCategory[6] = "Computer Networking Specialist";

	 aryCategory[7] = "Oracle Database Administrator";

	 aryCategory[8] = "Sybase Database Administrator";

	 aryCategory[9] = "SQL Server Database Administrator";

	 aryCategory[10] = "DB2 Database Administrator";



	 aryCategoryLink = new Array(11);

	 aryCategoryLink[0] = "MCSA.html";

	 aryCategoryLink[1] = "MCP_cert_prep.html";

	 aryCategoryLink[2] = "MCSE.html";

	 aryCategoryLink[3] = "MCP_cert_prep.html";

	 aryCategoryLink[4] = "MCP_cert_prep.html";

	 aryCategoryLink[5] = "Net_Programmer.html";

	 aryCategoryLink[6] = "CCNA.html";

	 aryCategoryLink[7] = "OracleDBA_desc.html";

	 aryCategoryLink[8] = "";

	 aryCategoryLink[9] = "";

	 aryCategoryLink[10] = "";

	 break;



	case 4:			//HEALTH-CARE

	 aryCategory = new Array(0);

	 aryCategory[0] = "Cardiovascular Technician";

	 aryCategory[1] = "Dental Hygienist";

	 aryCategory[2] = "Dialysis Technician";

	 aryCategory[3] = "Medical Assistant";

	 aryCategory[4] = "Medical Coding and Billing Specialist";

	 aryCategory[5] = "Physical Therapist";

	 aryCategory[6] = "Surgical Technician";

	 aryCategory[7] = "X-ray Technician";



	 aryCategoryLink = new Array(0);

	 aryCategoryLink[0] = "";

	 aryCategoryLink[1] = "";

	 aryCategoryLink[2] = "";

	 aryCategoryLink[3] = "Medical_Assistant.html";

	 aryCategoryLink[4] = "medical_coding.html";

	 aryCategoryLink[5] = "";

	 aryCategoryLink[6] = "";

	 aryCategoryLink[7] = "";

	 break;



	case 5:			//AVIATION

	 aryCategory = new Array(5);

	 aryCategory[0] = "Commercial Pilot with Instrument Rating";

	 aryCategory[1] = "Multi-Engine Rating";

	 aryCategory[2] = "Helicopter Rating";

	 aryCategory[3] = "Jet Ratings";

	 aryCategory[4] = "Other Ratings";



	 aryCategoryLink = new Array(5);

	 aryCategoryLink[0] = "";

	 aryCategoryLink[1] = "";

	 aryCategoryLink[2] = "";

	 aryCategoryLink[3] = "";

	 aryCategoryLink[4] = "";

	 break;



	case 6:			//ELECTRONICS and AVIONICS

	 aryCategory = new Array(0);

	 aryCategory[0] = "";



	 aryCategoryLink = new Array(0);

	 aryCategoryLink[0] = "";

	 break;



	case 7:			//HVAC

	 aryCategory = new Array(0);

	 aryCategory[0] = "Heating, Ventilation, and Air Conditioning Technician";



	 aryCategoryLink = new Array(0);

	 aryCategoryLink[0] = "";

	 break;



	default:

	 aryCategory = new Array(0);

	 aryCategory[0] = "";

	 aryCategoryLink = new Array(0);

	 aryCategoryLink[0] = "";

	 break;

    }

 break;

 

 default:

  aryCategory = new Array(0);

  aryCategory[0] = "";

  aryCategoryLink = new Array(0);

  aryCategoryLink[0] = "";

  break;

 }



 //Populate Courses Menu

 var intCategoryElements = aryCategory.length;



// var thisOption = new Option("*** [ SELECT A COURSE FOR DETAILS ] ***", "", false, false);

// f.lstCourses.options[0] = thisOption;



 for (i=0; i<intCategoryElements; i++)

 {

  var strText = aryCategory[i];

  var strValue = aryCategoryLink[i];

  var thisOption = new Option(strText, strValue, false, false);

  f.lstCourses.options[i+1] = thisOption;

 }



 return true;

}



function displayCourseDetails(f)

{

  var indx = f.lstCourses.selectedIndex;

  var newPage = f.lstCourses.options[indx].value;

  if (newPage != "") 

  { 

   alert("Under Construction");

   //windowPopup(newPage,600,600);

   return true;

  }

  else

   return false; 

}

// -->
