/*###############################################################################
#  Copyright © 2002 NissR. All Rights Reserved                                  #
#  nissr@nissr.com                                                              #
#  http://www.nissr.com                                                         #
#                                                                               #
#  This script is developed and owned by NissR. Any use, any copy, any way of   #
#  modification or redistribution of this script or any part of it without the  #
#  written consent of NissR is strictly prohibited.                             #
#  You may not remove any of these header notices.                              #
###############################################################################*/
var IE5plus = (document.getElementById ? true : false);
function stopit(){
	stop=1;
}
function continueit(){
	stop=0;
}
function scrollup(){
	if (stop==0){
		if (myfinishlayer==1){
			yy=50;
			myfinishlayer=0;
			if (IE5plus) {  // IE5 and NS6
				msgtos.style.visibility="hidden";
				mm++;
				if (mm>numofmsgs) {
					mm=1;
				}
				msgtos="mylayer"+mm;
				msgtos=document.getElementById(msgtos);
				msgtos.style.visibility="visible";
				msgtos.style.top=yy;
			}
			else {
				eval(lex1 + msgtos + lex4);
				mm++;
				if (mm>numofmsgs) {
					mm=1;
				}
				msgtos="mylayer"+mm;
				eval(lex1 + msgtos + lex2 + "=" + yy);
				eval(lex1 + msgtos + lex5);
			}
		}
		else {
			yy-=1;
			if (yy>0){
				if (IE5plus) {  // IE5 and NS6
					msgtos.style.top=yy;
				} else {
					eval(lex1 + msgtos + lex2 + "=" + yy);
				}
			}
			else {
				myfinishlayer=1;
			}
		}
	}
	if (myfinishlayer==1){
		setTimeout("scrollup()",2000);
	}
	else {
		setTimeout("scrollup()",100);
	}
}
function Initialiser() {
	mm=1;
	yy=50;
	myfinishlayer=0;
	vstep=7;
	hstep=15;
	delai=10;
	stop=0;
	msgtos="mylayer1";
	if(IE5plus) {  // IE5 and NS6
		msgtos = document.getElementById(msgtos);
		msgtos.style.visibility="visible";
	}
	else {
		lex1="document.myscrolarea.document.";
		lex2=".top";
		lex4=".visibility=\"hide\"";
		lex5=".visibility=\"show\"";
		eval(lex1 + msgtos + lex2 + "=" + yy);
		eval(lex1 + msgtos + lex5);
	}
}
/*###############################################################################
#  Copyright © 2002 NissR. All Rights Reserved                                  #
#  nissr@nissr.com                                                              #
#  http://www.nissr.com                                                         #
#                                                                               #
#  This script is developed and owned by NissR. Any use, any copy, any way of   #
#  modification or redistribution of this script or any part of it without the  #
#  written consent of NissR is strictly prohibited.                             #
#  You may not remove any of these header notices.                              #
###############################################################################*/
