var theImages = new Array() 

theImages[0] = '/BluerangeEasy/templates/1866/img/client_eniro.jpg'
theImages[1] = '/BluerangeEasy/templates/1866/img/client_energi.jpg'
theImages[2] = '/BluerangeEasy/templates/1866/img/client_bmg.jpg'
theImages[3] = '/BluerangeEasy/templates/1866/img/client_nackakommun.jpg'
theImages[4] = '/BluerangeEasy/templates/1866/img/client_credit.jpg'
theImages[5] = '/BluerangeEasy/templates/1866/img/client_prince.jpg'
theImages[6] = '/BluerangeEasy/templates/1866/img/client_mat.jpg'
theImages[7] = '/BluerangeEasy/templates/1866/img/client_toyota.jpg'
theImages[8] = '/BluerangeEasy/templates/1866/img/client_carglass.jpg'
theImages[9] = '/BluerangeEasy/templates/1866/img/client_comaround.jpg'
theImages[10] = '/BluerangeEasy/templates/1866/img/client_kungsholms.jpg'
theImages[11] = '/BluerangeEasy/templates/1866/img/client_cale.jpg'
theImages[12] = '/BluerangeEasy/templates/1866/img/client_nackaenergi.jpg'
theImages[13] = '/BluerangeEasy/templates/1866/img/client_ifl.jpg'
theImages[14] = '/BluerangeEasy/templates/1866/img/client_aks.jpg'
theImages[15] = '/BluerangeEasy/templates/1866/img/client_xerox.jpg'
theImages[16] = '/BluerangeEasy/templates/1866/img/client_bygg.jpg'
theImages[17] = '/BluerangeEasy/templates/1866/img/client_dalkia.jpg'
theImages[18] = '/BluerangeEasy/templates/1866/img/client_teletopia.jpg'
theImages[19] = '/BluerangeEasy/templates/1866/img/client_sis.jpg'
theImages[20] = '/BluerangeEasy/templates/1866/img/client_orion.jpg'
theImages[21] = '/BluerangeEasy/templates/1866/img/client_nortalje.jpg'
theImages[22] = '/BluerangeEasy/templates/1866/img/client_logica.jpg'
theImages[23] = '/BluerangeEasy/templates/1866/img/client_first.jpg'
theImages[24] = '/BluerangeEasy/templates/1866/img/client_six.jpg'
theImages[25] = '/BluerangeEasy/templates/1866/img/client_globe.jpg'
theImages[26] = '/BluerangeEasy/templates/1866/img/client_sida.jpg'
theImages[27] = '/BluerangeEasy/templates/1866/img/client_strang.jpg'
theImages[28] = '/BluerangeEasy/templates/1866/img/client_agria.jpg'
theImages[29] = '/BluerangeEasy/templates/1866/img/client_viking.jpg'
theImages[30] = '/BluerangeEasy/templates/1866/img/client_restaurang.jpg'
theImages[31] = '/BluerangeEasy/templates/1866/img/client_rodamco.jpg'
theImages[32] = '/BluerangeEasy/templates/1866/img/client_kth.jpg'
theImages[33] = '/BluerangeEasy/templates/1866/img/client_scandic.jpg'
theImages[34] = '/BluerangeEasy/templates/1866/img/client_catella.jpg'
theImages[35] = '/BluerangeEasy/templates/1866/img/client_di.jpg'
theImages[36] = '/BluerangeEasy/templates/1866/img/client_loreal.jpg'
theImages[37] = '/BluerangeEasy/templates/1866/img/client_nordiskfilm.jpg'
theImages[38] = '/BluerangeEasy/templates/1866/img/client_posten.jpg'
theImages[39] = '/BluerangeEasy/templates/1866/img/client_rtvv.jpg'

var j = 0
var p = theImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

var whichImage = Math.round(Math.random()*(p-1));

var iStart=0;

function startClients() {
if (iStart == p) iStart = 0;
whichImage = iStart;
iStart = iStart+1;
//	whichImage = Math.floor(Math.random()*(p));
	document.clients.src=theImages[whichImage];
//	setTimeout('startClients()',1500);
        setTimeout('startClients()',1000);
}


function mnuOpen() {
mnu.style.visibility = "visible";
}

function mnuClose() {
mnu.style.visibility = "hidden";
}


// **********************************************************************************************
// Top ticker, modified version
// **********************************************************************************************
// Courtesy of SimplytheBest.net (http://simplythebest.net/info/dhtml_scripts.html)
var thissize=11
var textfont="MS Sans Serif"

var textcolor= new Array()
textcolor[0]="eeeeee"
textcolor[1]="dddddd"
textcolor[2]="cccccc"
textcolor[3]="bbbbbb"
textcolor[4]="bbbbbb"
textcolor[5]="aaaaaa"
textcolor[6]="aaaaaa"
textcolor[7]="999999"
textcolor[8]="999999"
textcolor[9]="888888"
textcolor[10]="888888"
textcolor[11]="777777"

var message = new Array()
message[0]="</BluerangeEasy/templates/1866/img src=/BluerangeEasy/templates/1866/img/blank.gif width=450 height=2>welcome"
message[1]="</BluerangeEasy/templates/1866/img src=/BluerangeEasy/templates/1866/img/blank.gif width=30 height=2>språkutbildning"
message[2]="</BluerangeEasy/templates/1866/img src=/BluerangeEasy/templates/1866/img/blank.gif width=450 height=2>välkommen"
message[3]="</BluerangeEasy/templates/1866/img src=/BluerangeEasy/templates/1866/img/blank.gif width=30 height=2>bienvenue"
message[4]="</BluerangeEasy/templates/1866/img src=/BluerangeEasy/templates/1866/img/blank.gif width=450 height=2>tervetuloa"
message[5]="</BluerangeEasy/templates/1866/img src=/BluerangeEasy/templates/1866/img/blank.gif width=30 height=2>velkomen"
message[6]="</BluerangeEasy/templates/1866/img src=/BluerangeEasy/templates/1866/img/blank.gif width=450 height=2>willkommen"
message[7]="</BluerangeEasy/templates/1866/img src=/BluerangeEasy/templates/1866/img/blank.gif width=30 height=2>benvenuti"
message[8]="</BluerangeEasy/templates/1866/img src=/BluerangeEasy/templates/1866/img/blank.gif width=450 height=2>language training"
message[9]="</BluerangeEasy/templates/1866/img src=/BluerangeEasy/templates/1866/img/blank.gif width=30 height=2>språkkurs"

var i_blurstrength=10
var i_message=0
var i_textcolor=11
var iWidth = 600;

function blurtext() {

if(document.all) {
if (i_blurstrength >=-2) {
if (i_textcolor >=textcolor.length-1) {i_textcolor=textcolor.length-1}
blurthis.innerHTML="<span id='blurpit1' style='position:absolute;visibility:visible;width:" + iWidth + "px;top:-5px;left:7px;filter:blur(add=0,strength="+i_blurstrength+",direction=90);font-weight:bold;font-family:"+textfont+";font-size:"+thissize+"px;color:"+textcolor[i_textcolor]+"'>"+message[i_message]+"</span>";
document.close()
i_blurstrength=i_blurstrength-2
i_textcolor++
var timer=setTimeout("blurtext()",60)
}
else {
if (i_textcolor >=textcolor.length-1) {i_textcolor=textcolor.length-1}
blurthis.innerHTML="<span id='blurit1' style='position:absolute;visibility:visible;width:" + iWidth + "px; top:-5px;left:7px;filter:blendTrans(duration=4.2);font-weight:bold;font-family:"+textfont+";font-size:"+thissize+"px;color:777777'>"+message[i_message]+"</span>";
i_message++
if (i_message>=message.length){i_message=0}
i_blurstrength=20
i_textcolor=0
clearTimeout(timer)
var timer=setTimeout("blurtext()",1000)
}
}
}
