//*----------------------------------------------------------------------------*/
//*     (c)Copyright 2010 Gifts And Things, All Rights Reserved                */
//*                                                                            */
//*     This document contains proprietary and confidential information. The   */
//*     contents of this document may not be disclosed to third parties,       */
//*     copied, or duplicated in any form, in whole or in part, without the    */
//*     prior written permission of 1st4Eve-Online.                            */
//*                                                                            */
//*     This software is protected by the copyright laws and international     */
//*     copyright treaties, as well as other intellectual property laws and    */
//*     treaties.                                                              */
//*----------------------------------------------------------------------------*/

// All you have to do is put another text in the variable message.
// Don't forget to break all lines with a ^
// When you do not place a ^ at the end of all the message, the
// message will not repeat
message = "^" 

scrollSpeed = 100
lineDelay   = 1500
txt = ""

function scrollText(pos)
{

if (message.charAt(pos) != '^')
{
    txt    = txt + message.charAt(pos)
    status = txt
    pauze  = scrollSpeed
}
else
{
    pauze = lineDelay
    txt   = ""
    if (pos == message.length-1) pos = -1
}

pos++
setTimeout("scrollText('"+pos+"')",pauze)

}

scrollText(0)
