// JavaScript Document
var curdate = new Date();
var month = curdate.getMonth();

var swidth=127;
var sheight=80;
var sspeed=10;
var restart=sspeed;
var rspeed=sspeed;
var spause=2000;
var sbcolor="#1D536C";

var singletext=new Array();
singletext[0]='<div class=tan><b>SANYO</b><br> &nbsp;PRO XTRAX &nbsp;PROJECTOR &nbsp;</div>';
singletext[1]='<div class=tan><b>PLESSEY</b> &nbsp;666/MB/01750/002 &nbsp;RELAY CARD &nbsp;</div>';
singletext[2]='<div class=tan><b>DANFOSS</b> &nbsp;E82EV152_4B (45217812) &nbsp;INVERTER &nbsp;</div>';
singletext[3]='<div class=tan><b>KELLER</b> &nbsp;AWE1.84 &nbsp;PCB &nbsp;</div>';
singletext[4]='<div class=tan><b>WHITELEY ELECTRONICS</b> &nbsp;B36168/3 &nbsp;PARALLEL IN/OUT &nbsp;</div>';
singletext[5]='<div class=tan><b>OMRON</b> &nbsp;C200H-OC222 &nbsp;OUTPUT MODULE &nbsp;</div>';
singletext[6]='<div class=tan><b>INSTEM</b> &nbsp; 	B5422.T1 &nbsp;POWER SUPPLY &nbsp;</div>';
singletext[7]='<div class=tan><b>SIEMENS</b> &nbsp;6SE3223-5DH40 &nbsp;MIDIMASTER INVERTER &nbsp;</div>';
singletext[8]='<div class=tan><b>RTA PAVIA</b> &nbsp;GMD04 &nbsp;CONTROLLER &nbsp;</div>';
singletext[9]='<div class=tan><b>PANASONIC</b> &nbsp;MSD011A4XX &nbsp;AC SERVO DRIVER &nbsp;</div>';
singletext[10]='<div class=tan><b>MULTIVAC</b> &nbsp;86.755.0010.0 &nbsp;DATE CARD &nbsp;</div>';
singletext[11]='<div class=tan><b>PLASSER & THEURER</b> &nbsp;EL-T-410-01 &nbsp;PCB &nbsp;</div>';

var ii=0;
function goup(){if(sspeed!=rspeed*16){sspeed=sspeed*2;restart=sspeed;}}

function start(){
if(document.getElementById){ns6div=document.getElementById('iens6div');ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[0];sizeup=ns6div.offsetHeight;ns6scroll();}
else 
if(document.layers){ns4layer=document.ns4div.document.ns4div1;ns4layer.top=sheight;ns4layer.document.write(singletext[0]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}
else 
if(document.all){iediv=iens6div;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[0];sizeup=iediv.offsetHeight;iescroll();}}
function iescroll(){if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){iediv.style.pixelTop=0;setTimeout("iescroll()",spause);}else 
if(iediv.style.pixelTop>=sizeup*-1){iediv.style.pixelTop-=sspeed+"px";setTimeout("iescroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[ii];sizeup=iediv.offsetHeight;iescroll();}}
function ns4scroll(){if(ns4layer.top>0&&ns4layer.top<=sspeed){ns4layer.top=0;setTimeout("ns4scroll()",spause);}else 
if(ns4layer.top>=sizeup*-1){ns4layer.top-=sspeed;setTimeout("ns4scroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;ns4layer.top=sheight;ns4layer.document.write(singletext[ii]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}}
function ns6scroll(){if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){ns6div.style.top=0;setTimeout("ns6scroll()",spause);}else 
if(parseInt(ns6div.style.top)>=sizeup*-1){ns6div.style.top=parseInt(ns6div.style.top)-sspeed+"px";setTimeout("ns6scroll()",100);}
else{if(ii==singletext.length-1)ii=0;else ii++;
ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[ii];sizeup=ns6div.offsetHeight;ns6scroll();}}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function myWindow()
{
window.open('guarantee.htm','','width=400,height=300,left=50,top=50');
}