// JavaScript Document
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
if (oldonload) {
	oldonload();
}
	func();
}
}
}
addLoadEvent(animate);
charSpeed = 50;
line = new Object();
line[1] = "This is a new SEO tool, I hope you enjoy using it.";
line[2] = "There will be plently more tools added to the site shortly.";
line[3] = "Remember to bookmark the page for future use.";
line[4] = "Email me and tell me what SEO tools you would like to see.";
line[5] = "iphone@lee-johnson.com";
line[6] = "I look forward to hearing from you with your ideas.";
lines = 6 //--Number of lines
//--Don't edit below this line
document.write('<form name="bannerform">');
document.write('<div style="text-align:center;"><p><input type="text" name="banner" size="90"');
document.write('style="background: #F5F5F5; color: #03748c; text-align: left; font-size: 15px; font-family: Verdana;font weight:bold; border: medium none" onfocus="blur()"></p>');
document.write('</div>');
document.write('</form>');
temp = "";
nextchar = -1;
nextline = 1;
cursor="\\"
function animate(){
if (temp==line[nextline] & temp.length==line[nextline].length & nextline!=lines){
nextline++;
nextchar=-1;
document.bannerform.banner.value=temp;
temp = "";
setTimeout("nextstep()",2000)
} else if (nextline==lines & temp==line[nextline] & temp.length==line[nextline].length){
nextline=1;
nextchar=-1;
document.bannerform.banner.value=temp;
temp="";
setTimeout("nextstep()",1000)
} else {
nextstep()
}
}
function nextstep(){
if (cursor=="\\"){
cursor="|";
} else if (cursor=="|"){
cursor="/";
} else if (cursor=="/"){
cursor="-";
} else if (cursor=="-"){
cursor="\\";
}
nextchar++;
temp += line[nextline].charAt(nextchar);
document.bannerform.banner.value = temp + cursor
setTimeout("animate()",charSpeed)
}