Hi guys
Hope someone can help with this....
found this at my friends website...he has no idea what it does and neither do i....apparently his former web developer did this and he failed to notice it until recently....any help is appreciated...
<SCRIPT>
<!--
function scrollit(seed) {
var m1 = "Welcome to Turn Key Hedge Funds, Inc. ....";
var m2 = " ";
var m3 = "The Ultimate Source for Starting a Hedge Fund ....";
var m4 = "Registration, Compliance, Regulation and Administration ....";
var msg=m1+m2+m3+m4;
var out = " ";
var c = 1;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100)",75);
}
}
}
//-->
</SCRIPT>
Thanks
Hope someone can help with this....
found this at my friends website...he has no idea what it does and neither do i....apparently his former web developer did this and he failed to notice it until recently....any help is appreciated...
<SCRIPT>
<!--
function scrollit(seed) {
var m1 = "Welcome to Turn Key Hedge Funds, Inc. ....";
var m2 = " ";
var m3 = "The Ultimate Source for Starting a Hedge Fund ....";
var m4 = "Registration, Compliance, Regulation and Administration ....";
var msg=m1+m2+m3+m4;
var out = " ";
var c = 1;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100)",75);
}
}
}
//-->
</SCRIPT>
Thanks