// Distributed by http://www.hypergurl.com

// Scrollers content goes here! Keep all of the message on the same line!

var scrollercontent="Accredited Kindergarten & High School (grades I - XII) &#149; Bilingual (Romanian-English) Kindergarten & High School &#149; Native English & Hebrew Teachers &#149; European Partnerships with Schools & Universities &#149; Academic Partnerships with British Council, Romanian Diplomatic Institute, Media University &#149; Excellent Facilities &#149; English - Romanian; Hebrew - French - Spanish &#149; Accredited Kindergarten & High School (grades I - XII)";

// Scrollers width here (in pixels)
var scrollerwidth="485px"

var text_width=scrollercontent.length*7;

// Scrollers height here
var scrollerheight="16px"

// Scrollers speed here (larger is faster 1-10)
var scrollerspeed=3


var pauseit=1


// Change nothing below!

scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1) //slow speed down by 1 for NS
var copyspeed=scrollerspeed
var iedom=document.all||document.getElementById
//var actualheight=''
var actualwidth=''
var cross_scroller, ns_scroller
var pausespeed=(pauseit==0)? copyspeed: 0

function populate(){
if (iedom){
cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller
//cross_scroller.style.top=parseInt(scrollerheight)/2+"px"
cross_scroller.style.left=parseInt(scrollerwidth)/4+1+"px"
cross_scroller.innerHTML=scrollercontent
//actualheight=cross_scroller.offsetHeight
actualwidth=cross_scroller.offsetWidth
}
else if (document.layers){
ns_scroller=document.ns_scroller.document.ns_scroller2
ns_scroller.left=parseInt(scrollerwidth)/4
//ns_scroller.top=parseInt(scrollerheight)/2
ns_scroller.document.write(scrollercontent)
ns_scroller.document.close()
//actualheight=ns_scroller.document.height
actualwidth=ns_scroller.document.width
}
lefttime=setInterval("scrollscroller()",50)
}
window.onload=populate

function scrollscroller(){

if (iedom){
//if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+1))
if (parseInt(cross_scroller.style.left)>(parseInt(text_width)*(-1)+parseInt(scrollerwidth)+200))
//cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px"
cross_scroller.style.left=parseInt(cross_scroller.style.left)-copyspeed+"px"
else
cross_scroller.style.left=parseInt(scrollerwidth)/4+1+"px"
//cross_scroller.style.top=parseInt(scrollerheight)+1+"px"
}
else if (document.layers){
//if (ns_scroller.top>(actualheight*(-1)+1))
if (ns_scroller.left>(parseInt(text_width)*(-1)+parseInt(scrollerwidth)+200))
//ns_scroller.top-=copyspeed
ns_scroller.left-=copyspeed
else
//ns_scroller.top=parseInt(scrollerheight)+1
ns_scroller.left=parseInt(scrollerwidth)+1
}
}

if (iedom||document.layers){
with (document){
if (iedom){
if (document.all){
write('<font class="meniu" style="background:cornsilk;position:relative;width:',scrollerwidth,';height:'+scrollerheight+';overflow:hidden;margin-left:3px" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed">')
write('<font id="iescroller" style="position:absolute;left:0px;top:0px;height:100%;width:'+text_width+'">')
write('</font></font>')
}else
{write('<center class="meniu" style="background:cornsilk;position:relative;width:',scrollerwidth,';height:'+scrollerheight+';overflow:hidden;margin-left:3px" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed">')
write('<center id="iescroller" style="position:absolute;left:0px;top:0px;height:100%;width:'+text_width+'">')
write('</center></center>')
}
}
else if (document.layers){
write('<ilayer width='+scrollerwidth+' height='+scrollerheight+' name="ns_scroller" class="meniu" style="background:cornsilk;">')
write('<layer name="ns_scroller2" width='+scrollerwidth+' height='+scrollerheight+' left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed" style="margin-left:3"></layer>')
write('</ilayer>')
}
}
}
