var i = -1;
var x = 0;
var y = 300;
var z = 0;

var Txt = new Array();

z = 0;

Txt[z++] = "<BR><B>Graduate Management Admission Test (GMAT) Authorized Testing Center</B><BR><BR><I>The Only GMAT Testing Center in Sri Lanka.</I>";
Txt[z++] = "<BR><B>Graduate Management Admission Test (GMAT) Authorized Testing Center</B><BR><BR><I>The Only GMAT Testing Center in Sri Lanka.</I>";
Txt[z++] = "<BR><B>ONE Day Workshops for Microsoft Office Applications</B><BR><BR><I>To improve the productivity by using Microsoft Word, Excel, PowerPoint at Expert level.</I>";
Txt[z++] = "<BR><B>ONE Day Workshops for Microsoft Office Applications</B><BR><BR><I>To improve the productivity by using Microsoft Word, Excel, PowerPoint at Expert level.</I>";
Txt[z++] = "<BR><B>One Day Workshops for Microsoft Office Applications</B><BR><BR><I>To improve the productivity by using Microsoft Word, Excel, PowerPoint at Expert level.</I>";
Txt[z++] = "<BR><B>Latest Microsoft Certified Training</B><BR><BR>Microsoft Windows 2003 & .NET Track is now available from the First Microsoft Certified Technical Education Center in Sri Lanka <a href='CTEC.html'>(CTEC)</a>.<BR><BR>We have produced over 1,500 Microsoft Certified Professionals (MCP) so far.</I>";
Txt[z++] = "<BR><B>Latest Microsoft Certified Training</B><BR><BR>Microsoft Windows 2003 & .NET Track is now available from the First Microsoft Certified Technical Education Center in Sri Lanka <a href='CTEC.html'>(CTEC)</a>.<BR><BR>We have produced over 1,500 Microsoft Certified Professionals (MCP) so far.</I>";
Txt[z++] = "<BR><B>Microsoft Certified Technical Education Center (CTEC)</B><BR><BR><I><a href='MCSE3.html'>MCSE</a> - Microsoft Certified Systems Engineer<BR><a href='MCSA3.html'>MCSA</a> - Microsoft Certified System Administrator<BR><a href='MCSD.html'>MCSD</a> - Microsoft Certfied Systems Developer<BR><a href='MCAD.html'>MCAD</a> - Microsoft Certified Application Developer<BR><a href='MCDBA.html'>MCDBA</a> - Microsoft Certified Database Administrator<BR><a href='MCDST.html'>MCDST</a> - Microsoft Certified Desktop Support Technician<BR><a href='MCP.html'>MCP</a> - Microsoft Certified Professional</I>";
Txt[z++] = "<BR><B>Microsoft Certified Technical Education Center (CTEC)</B><BR><BR><I><a href='MCSE3.html'>MCSE</a> - Microsoft Certified Systems Engineer<BR><a href='MCSA3.html'>MCSA</a> - Microsoft Certified System Administrator<BR><a href='MCSD.html'>MCSD</a> - Microsoft Certfied Systems Developer<BR><a href='MCAD.html'>MCAD</a> - Microsoft Certified Application Developer<BR><a href='MCDBA.html'>MCDBA</a> - Microsoft Certified Database Administrator<BR><a href='MCDST.html'>MCDST</a> - Microsoft Certified Desktop Support Technician<BR><a href='MCP.html'>MCP</a> - Microsoft Certified Professional</I>";
Txt[z++] = "<BR><B>Novell Authorized Education Center (NAEC)</B><BR><BR>First & Only NAEC in Sri Lanka.<BR><BR><I><a href='CNA.html'>CNA</a> - Certified Novell Administrator<BR><a href='CNE.html'>CNE</a> - Certified Novell Engineer<BR><BR><a href='CLE.html'>CLP</a> - Novell Certified Linux Professional<BR><a href='CLE.html'>CLE</a> - Novell Certified Linux Engineer<BR></I>";
Txt[z++] = "<BR><B>Novell Authorized Education Center (NAEC)</B><BR><BR>First & Only NAEC in Sri Lanka.<BR><BR><I><a href='CNA.html'>CNA</a> - Certified Novell Administrator<BR><a href='CNE.html'>CNE</a> - Certified Novell Engineer<BR><BR><a href='CLE.html'>CLP</a> - Novell Certified Linux Professional<BR><a href='CLE.html'>CLE</a> - Novell Certified Linux Engineer<BR></I>";
Txt[z++] = "<BR><B>Novell Certified Linux Training</B><BR><BR>First & Only Novell Certified Linux Training Centre in Sri Lanka.<BR><BR><I><a href='CLE.html'>CLE</a> - Novell Certified Linux Engineer<BR><a href='CLP.html'>CLP</a> - Novell Certified Linux Professional<BR></I>";
Txt[z++] = "<BR><B>Novell Certified Linux Training</B><BR><BR>First & Only Novell Certified Linux Training Centre in Sri Lanka.<BR><BR><I><a href='CLE.html'>CLE</a> - Novell Certified Linux Engineer<BR><a href='CLP.html'>CLP</a> - Novell Certified Linux Professional<BR></I>";
Txt[z++] = "<BR><B>Prometric Authorized Testing Center (PATC)</B><BR><BR><I>First Prometric Online Testing Center in Sri Lanka.</I>";
Txt[z++] = "<BR><B>Virtual University Enterprise (VUE) Authorized Testing Center</B><BR><BR><I>First VUE Online Testing Center in Sri Lanka.</I>";
Txt[z++] = "<BR><B>Microsoft Office Specialist (MOS) Authorized Testing Center</B><BR><BR><I>First & Only MOS Certified Testing Center in Sri Lanka.</I>";
Txt[z++] = "<BR><B>MYOB Accounting Authorized Training Partner</B><BR><BR><I>Mind Your Own Business Accounting Software Training Partner</I>";
Txt[z++] = "<BR><B>Online Credit Card Payment</B><BR><BR>We are happy to accept Online Credit Card payment of Course Fees.<BR><BR><I>This is an another First from IDMIT to introduce Online Credit Card Payment facilities making it a truly E-Commerce enabled Web site.<BR></I>";

var Ref = new Array();

z = 0;

Ref[z++] = "VUE.html";
Ref[z++] = "VUE.html";
Ref[z++] = "EXPWORD.html";
Ref[z++] = "EXPEXCEL.html";
Ref[z++] = "EXPPOINT.html";
Ref[z++] = "MCSE3.html";
Ref[z++] = "MCSE3.html";
Ref[z++] = "CTEC.html";
Ref[z++] = "CTEC.html";
Ref[z++] = "NAEC.html";
Ref[z++] = "NAEC.html";
Ref[z++] = "CLE.html";
Ref[z++] = "CLP.html";
Ref[z++] = "PATC.html";
Ref[z++] = "VUE.html";
Ref[z++] = "MOS.html";
Ref[z++] = "MYOB.html";
Ref[z++] = "Courses.asp";

var Pic = new Array();

z = 0;
Pic[z++] = "images/VUE.gif";
Pic[z++] = "images/VUE.gif";
Pic[z++] = "images/MOS.gif";
Pic[z++] = "images/MOS.gif";
Pic[z++] = "images/MOS.gif";
Pic[z++] = "images/Windows2003.gif";
Pic[z++] = "images/Windows2003.gif";
Pic[z++] = "images/CTEC.jpg";
Pic[z++] = "images/CTEC.jpg";
Pic[z++] = "images/NAEC.gif";
Pic[z++] = "images/NAEC.gif";
Pic[z++] = "images/CLE.gif";
Pic[z++] = "images/CLP.gif";
Pic[z++] = "images/PATC.jpg";
Pic[z++] = "images/VUE.gif";
Pic[z++] = "images/MOS.gif";
Pic[z++] = "images/MYOB.gif";
Pic[z++] = "images/cclogo.gif";

var p = Pic.length;

function loadImages(){
	var Slides = new Array();
	
	for (i = 0; i < p; i++){
	   Slides[i] = new Image();
	   Slides[i].src = Pic[i];
	}
}

function showSlides(){
	if (document.all){
		i+=1;
		if (i > (p-1)) i=0;
		document.all.Text.innerHTML = Txt[i];
        document.all.Logo.style.pixelTop = x;
       	document.all.Logo.style.pixelLeft = y;
		document.all.Logo.innerHTML = "<a target='_blank' href='" + Ref[i] + "'><img border='0' src='" + Pic[i] + "'></a>";
		
		setTimeout("showSlides()", 8000);
	}
}

function moveSlides(){
	if (document.all){
		x += Math.random();
		if (x < 0 || x > 450) x = 0;
		y += Math.random();
		if (y < 300 || y > 600) y = 300;
        document.all.Logo.style.pixelTop = x;
       	document.all.Logo.style.pixelLeft = y;
		setTimeout("moveSlides()", 10);
	}
}
