function MM_swapImgRestore(){ //v3.0
	var i,x,a=document.MM_sr; 
	for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages(){ //v3.0
	var d=document; 
	if(d.images){ 
		if(!d.MM_p) d.MM_p=new Array();
		var i,j=d.MM_p.length,a=MM_preloadImages.arguments; 
		for(i=0; i<a.length; i++)
			if (a[i].indexOf("#")!=0){ 
				d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];
			}
	}
}
	
function MM_findObj(n, d){ //v4.01
	var p,i,x;  
	if(!d) d=document; 
	if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
	}
	if(!(x=d[n])&&d.all) x=d.all[n]; 
	for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && d.getElementById) x=d.getElementById(n); 
	return x;
}

function MM_swapImage(){ //v3.0
	var i,j=0,x,a=MM_swapImage.arguments; 
	document.MM_sr=new Array; 
	for(i=0;i<(a.length-2);i+=3)
	if ((x=MM_findObj(a[i]))!=null){
		document.MM_sr[j++]=x; 
		if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];
	}
}

function popUp3(URL){
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=788,height=600,left = 100,top = 65');");
}

function inquiry_form_ads(URL){
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=450,height=485,left=100,top=65');");
}
	
function toggleLayer( whichLayer ){
	var elem, vis;
	if( document.getElementById ) // this is the way the standards work
		elem = document.getElementById( whichLayer );
	else if( document.all ) // this is the way old msie versions work
		elem = document.all[whichLayer];
	else if( document.layers ) // this is the way nn4 works
		elem = document.layers[whichLayer];
	vis = elem.style;
// if the style.display value is blank we try to figure it out here
	if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
		vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
		vis.display = (vis.display==''||vis.display=='block')?'none':'block';
}

function quick_link(){
	document.write("<div id=\"quick_links\" style=\"position:absolute;\">");
	document.write("<table class=\"_center\" width=\"200\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" style=\"border: 1px solid #000000\">");
	document.write("<tr><td height=\"20px\" align=\"center\" class=\"heading\" bgcolor=\"#FFCC33\">QUICK LINKS</td></tr>");
	document.write("<tr bgcolor=\"#FFFFFF\"><td><span style=\"display: block;\">");
	document.write("<a href=\"javascript:toggleLayer('prog_tree')\"><span class=\"style20\">Programs</span>&nbsp;");
	document.write("<span class=\"fineprint\">[show/hide]</span></a></span>");
	document.write("<div id=\"prog_tree\"><ul>");
	document.write("<li><a href=\"javascript:popUp3('VBN.html')\">Developing Windows Applications with VB.NET</a></li>");
	document.write("<li><a href=\"javascript:popUp3('ASPN.html')\">Developing Web Applications and Services in ASP.NET</a></li>");
	document.write("<li><a href=\"javascript:popUp3('J2EE.html')\">Programming in Java Enterprise Edition</a></li>");
	document.write("<li><a href=\"javascript:popUp3('J2SE.html')\">Programming in Java Standard Edition</a></li>");
	document.write("<li><a href=\"javascript:popUp3('SAP_program.html')\">SAP Business One</a></li>");
	//document.write("<li><a href=\"javascript:popUp3('MT_program.html')\">Medical Transcription Program</a></li>");
	document.write("<li><a href=\"javascript:popUp3('FCCCAPress.htm')\">Finishing Course for Call Center Agents</a></li></ul></div>");
	//document.write("<li><a href=\"javascript:popUp3('IT_technician.html')\">PC Troubleshooting and Maintenance</a></li></ul></div>");
	document.write("<span style=\"display: block;\"><a href=\"javascript:toggleLayer('itil_tree')\">");
	document.write("<span class=\"style20\">ITIL Track</span>&nbsp;<span class=\"fineprint\">[show/hide]</span></a></span>");
	document.write("<div id=\"itil_tree\" class=\"hide_div\"><ul>");
	document.write("<li><a href=\"javascript:popUp3('ITIL_foundation.html')\">ITIL Foundation Workshop</a></li>");
	document.write("<li><a href=\"javascript:popUp3('ITIL_practioner.html')\">ITIL Practitioner</a></li>");
	document.write("<li><a href=\"javascript:popUp3('ITIL_masters.html')\">ITIL Masters</a></li></ul></div>");
	document.write("<span style=\"display: block;\"><a href=\"javascript:toggleLayer('sched_tree')\">");
	document.write("<span class=\"style20\">Schedules</span>&nbsp;<span class=\"fineprint\">[show/hide]</span></a></span>");
	document.write("<div id=\"sched_tree\" class=\"hide_div\"><ul>");
	document.write("<li><a href=\"javascript:popUp3('ITIL_schedule.html')\">ITIL Track Schedule</a></li>");
	document.write("<li><a href=\"javascript:popUp3('CEP.html')\">Corporate Training Schedule</a></li>");
	document.write("<li><a href=\"javascript:popUp3('PDP.htm')\">Professional Diploma Programs</a></li></ul></div>");
	document.write("<span><a href=\"javascript:inquiry_form_ads('inquiry_form.html')\"><span class=\"style20\">Inquiry Form</span></a></span>");
	document.write("</td></tr></table></div>");
}

/*********************************************************
     * You may use this code for free on any web page provided that 
     * these comment lines and the following credit remain in the code.
     * Floating Div from http://www.javascript-fx.com
**********************************************************/

function JSFX_FloatDiv(id, sx, sy){
	var ns = (navigator.appName.indexOf("Netscape") != -1);
	var d = document;
	var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
	var px = document.layers ? "" : "px";
	window[id + "_obj"] = el;
	if(d.layers)el.style=el;
	el.cx = el.sx = sx;el.cy = el.sy = sy;
	el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;};

	el.floatIt=function(){
		var pX, pY;
		pX = (this.sx >= 0) ? 0 : ns ? innerWidth : 
		document.documentElement && document.documentElement.clientWidth ? 
		document.documentElement.clientWidth : document.body.clientWidth;
		pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ? 
		document.documentElement.scrollTop : document.body.scrollTop;
		if(this.sy<0) 
		pY += ns ? innerHeight : document.documentElement && document.documentElement.clientHeight ? 
		document.documentElement.clientHeight : document.body.clientHeight;
		this.cx += (pX + this.sx - this.cx)/8;this.cy += (pY + this.sy - this.cy)/8;
		this.sP(this.cx, this.cy);
		setTimeout(this.id + "_obj.floatIt()", 40);
	}
	return el;
}
