var edu_textStyle="flash";
var edu_textLinkStyle="flash"; 
var edu_buttonLineOn="#f60";
var edu_buttonLineOff="#000"; 
var edu_TimeOut=5000; 
var edu_adNum=1;
document.write('<style type="text/css">');
document.write('#edu_focuseFrom{width:'+(edu_imgWidth+2)+';margin: 0px; padding:0px;height:'+(edu_imgHeight+edu_textFromHeight)+'px; overflow:hidden;}');
document.write('#edu_txtFrom{height:'+edu_textFromHeight+'px;line-height:'+edu_textFromHeight+'px;width:'+edu_imgWidth+'px;overflow:hidden;}');
document.write('#edu_imgTitle{width:'+edu_imgWidth+';top:-'+(edu_textFromHeight+16)+'px;height:16px}');
document.write ('#edu_imgTitle {');
document.write ('	FILTER: ALPHA(opacity=70); LEFT: -6px; OVERFLOW: hidden; POSITION: relative; TEXT-ALIGN: left');
document.write ('}');
document.write ('#edu_imgTitle_up {');
document.write ('	LEFT: 0px; HEIGHT: 1px; TEXT-ALIGN: left');
document.write ('}');
document.write ('#edu_imgTitle_down {');
document.write ('	LEFT: 0px; TEXT-ALIGN: right');
document.write ('}');
document.write ('#edu_imgTitle {');
document.write ('	FILTER: ALPHA(opacity=70); LEFT: -6px; OVERFLOW: hidden; POSITION: relative; TEXT-ALIGN: left');
document.write ('}');
document.write ('#edu_imgTitle_up {');
document.write ('	LEFT: 0px; HEIGHT: 1px; TEXT-ALIGN: left');
document.write ('}');
document.write ('#edu_imgTitle_down {');
document.write ('	LEFT: 0px; TEXT-ALIGN: right');
document.write ('}');
document.write ('#edu_txtFrom {');
document.write ('	VERTICAL-ALIGN: middle; TEXT-ALIGN: center');
document.write ('}');
document.write ('.imgClass {');
document.write ('	BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #000 #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid');
document.write ('}');
document.write ('#edu_txtFrom {');
document.write ('	VERTICAL-ALIGN: middle; TEXT-ALIGN: center');
document.write ('}');
document.write ('.button {');
document.write ('	PADDING-RIGHT: 7px; PADDING-LEFT: 7px; BACKGROUND: #7b7b63; PADDING-BOTTOM: 2px; MARGIN: 0px; FONT: bold 9px sans-serif; BORDER-LEFT: #fff 1px solid; PADDING-TOP: 2px; TEXT-DECORATION: none');
document.write ('}');
document.write ('A.button, A.button:link, A.button:visited {');
document.write ('	COLOR: #ffffff; FONT-FAMILY: sans-serif; BACKGROUND-COLOR: #000000; TEXT-DECORATION: none');
document.write ('}');
document.write ('A.button:hover {');
document.write ('	BACKGROUND: #fff; COLOR: #fff; FONT-FAMILY: sans-serif; TEXT-DECORATION: none');
document.write ('}');
document.write ('.buttonDiv {');
document.write ('	BACKGROUND: #000000; FLOAT: left; VERTICAL-ALIGN: middle; WIDTH: 21px; HEIGHT: 1px; TEXT-ALIGN: center');
document.write ('}');
document.write ('A.flash,A.flash:link,A.flash:visited,A.flash:active {');
document.write ('	padding:0px;font-size:14px;font-weight:bold;color:#707070;text-decoration:none;');
document.write ('}');
document.write ('A.flash:hover {');
document.write ('	padding:0px;font-size:14px;font-weight:bold;color:#ff0000;text-decoration:none;');
document.write ('}');
document.write('</style>');
document.write('<div id="edu_focuseFrom">');
document.write('<a  href="javascript:edu_PicgoUrl()"><img id="edu_imgId" src="'+edu_imgUrl[1]+'"  width='+edu_imgWidth+' height='+edu_imgHeight+' border=1  name="edu_imgInit" class="imgClass" style="FILTER: revealTrans(duration=1,transition=5)"></a>');
document.write('<div id="edu_txtFrom"><span id="edu_focustext" class="'+edu_textStyle+'"></span></div>');
document.write('<div id="edu_imgTitle">');
document.write('<div id="edu_imgTitle_down">');
for(var i=1;i<edu_imgUrl.length;i++){
	document.write('<a id="edu_link'+i+'" href="javascript:edu_changeimg('+i+')" class="button" style="cursor:hand" title="'+edu_imgAlt[i]+'" onFocus="this.blur()">'+i+'</a>');
}
document.write('</div>');
document.write('</div>');
document.write('</div>');

function edu_changeimg(n){
	edu_adNum=n;
	window.clearInterval(theTimer);
	edu_nextAd();
}
function edu_PicgoUrl(){
	var link_i;
	if (edu_adNum==1){
		link_i=edu_imgUrl.length-1;
	}
	else{
		link_i=edu_adNum-1;
	}
window.open(edu_imgLink[link_i],'_blank');
}
function edu_nextAd(f){
	if (document.all && f==1)
	{
	var tDay=new Date();
	document.getElementById("edu_imgInit").filters.revealTrans.Transition=tDay.getTime()%7;
	document.getElementById("edu_imgInit").filters.revealTrans.apply();
	document.getElementById("edu_imgInit").filters.revealTrans.play();
	}
	document.getElementById("edu_imgId").src=edu_imgUrl[edu_adNum];
	document.getElementById("edu_focustext").innerHTML="<a href="+edu_imgLink[edu_adNum]+" TARGET=_blank class="+edu_textStyle+">"+edu_imgAlt[edu_adNum]+"</a>";
	document.getElementById('edu_link'+edu_adNum).style.background=edu_buttonLineOn;
	for (var i=1;i<edu_imgUrl.length;i++)
	{
	   if (i!=edu_adNum){document.getElementById('edu_link'+i).style.background=edu_buttonLineOff;}
	}	
	edu_adNum++;
	if (edu_adNum>=edu_imgUrl.length)
		edu_adNum=1;
	theTimer=setTimeout("edu_nextAd(1)", edu_TimeOut);
}
edu_nextAd(0);
