<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
<!--
// Your messages. Add as many as you like
var message=new Array()
message[0]="помощь начинающим веб дизайнерам"
message[1]="/ help to new web people"
message[2]="crhbgns"
// the URLs of your messages
var messageurl=new Array()
messageurl[0]="http://helptoweb.narod.ru"
messageurl[1]="http://helptoweb.narod.ru"
messageurl[2]="http://helptoweb.narod.ru/ckript.html"
// the targets of the links
// accepted values are '_blank' or '_top' or '_parent' or '_self'
// or the name of your target-window (for instance 'main')
var messagetarget=new Array()
messagetarget[0]="_blank"
messagetarget[1]="_blank"
messagetarget[2]="_blank"
// distance of the ticker to the top margin of the browser-window (pixels)
var postop=0
// speed 1: lower means faster
var pause=20
// speed 2: higher means faster
var step=5
// font-size
var fntsize=25
// font-color
var fntcolor="#33ffff"
// font-family
var fntfamily="Verdana"
// font-weight: 1 means bold, 0 means normal
var fntweight=1
// do not edit the variables below
var i_message=0
var timer
var textwidth
var textcontent=""
if (fntweight==1) {fntweight="700"}
else {fntweight="100"}
function init() {
gettextcontent()
if (document.all) {
screenwidth=document.body.clientWidth
text.innerHTML=textcontent
document.all.text.style.posTop=postop
document.all.text.style.posLeft=screenwidth
textwidth=text.offsetWidth
scrolltext()
}
if (document.layers) {
screenwidth=window.innerWidth
document.text.document.write(textcontent)
document.text.document.close()
document.text.top=postop
document.text.left=screenwidth
textwidth=document.text.document.width
scrolltext()
}
}
function scrolltext() {
if (document.all) {
if (document.all.text.style.posLeft>=textwidth*(-1)) {
document.all.text.style.posLeft-=step
var timer=setTimeout("scrolltext()",pause)
}
else {
changetext()
}
}
if (document.layers) {
if (document.text.left>=textwidth*(-1)) {
document.text.left-=step
var timer=setTimeout("scrolltext()",pause)
}
else {
changetext()
}
}
}
function changetext() {
i_message++
if (i_message>message.length-1) {i_message=0}
gettextcontent()
if (document.all) {
text.innerHTML=textcontent
document.all.text.style.posLeft=screenwidth
textwidth=text.offsetWidth
scrolltext()
}
if (document.layers) {
document.text.document.write(textcontent)
document.text.document.close()
document.text.left=screenwidth
textwidth=document.text.document.width
scrolltext()
}
}
function gettextcontent() {
textcontent=""
textcontent+=""
textcontent+=""+message[i_message]+""
}
window.onresize=init;
// - End of JavaScript - -->
</SCRIPT>
</head>
<body onLoad="init()">
<DIV ID="text" style="position:absolute;left:-2000px">
</body>
</html>
<</html>