<!-- Paste this code into an external JavaScript file named: vertical.js -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Mike Hudson :: http://www.afrozeus.com */

/*
To change the values in the setupLinks function below.
You will notice there are two arrays for each of Titles and
Links. Currently there are 3 items in each array, but you can easily
expand on that by adding to the array. For example, to add a 4th record,
you would simply include the following 2 lines at the end of setupLinks
function:

arrLinks[3] = "someURL.htm";
arrTitles[3] = "Some title";
*/
function setupLinks() {
arrLinks[0] = "http://1800realitycheck.blogspot.com";
arrTitles[0] = "What's selling on ebay ... Jewelry & Watches on eBay ... ";
arrLinks[1] = "http://1800realitycheck.com/filefox.php?ebay=best=sellers";
arrTitles[1] = "2006 ROLEX SUBMARINER W/ GREEN BEZEL ANNIVERSARY WATCH! US $4,050.00 (45 Bids)" ;
arrLinks[2] = "http://1800realitycheck.com/filefox.php?ebay=pulse=best=sellers";
arrTitles[2] = "LADIES 2TONE 14K GOLD/SS ROLEX DATEJUST WATCH w/DIAMOND US $1,875.00 (34 Bids)";
arrLinks[3] = "http://1800realitycheck.com/filefox.php?ebay=pulse=most=popular";
arrTitles[3] = "18Kt. Men\'s Rolex Submariner watch. Diamond Dial. $.99 US $3,494.00 (31 Bids) ";
arrLinks[4] = "http://1800realitycheck.com/filefox.php?ebay=highest=bids";
arrTitles[4] = "10k Gold Diamond Earrings Hoop Design Jewelry $1 NR US $81.00 (24 Bids)";
arrLinks[5] = "http://1800realitycheck.com/filefox.php?what=sells=on=ebay";
arrTitles[5] = "LADIES ROLEX TUDOR 18K/SS WHITE MOP DIAMOND DIAL WATCH US $620.00 (22 Bids)";
arrLinks[6] = "http://1800realitycheck.com/filefox.php?top=sellers";
arrTitles[6] = "SILPADA Silver Rolling JEWERY TRAVEL CASE Organizer US $107.50 (20 Bids)";
arrLinks[7] = "http://1800realitycheck.com/filefox.php?discover=what=sells";
arrTitles[7] = "14K 18K GOLD 27 GRAM LOT WEAR NOT Scrap Estate Jewelry US $652.00 (19 Bids)";
arrLinks[8] = "http://1800realitycheck.com/filefox.php?selling=on=ebay";
arrTitles[8] = "fine luxury men\'s watch black diamond jewelry watches US $13.50 (19 Bids)";
arrLinks[9] = "http://1800realitycheck.com/filefox.php?look=what=sells";
arrTitles[9] = "lot 14kt gold & sterling silver jewelry 54grams scrap? US $86.80 (19 Bids)";
arrLinks[10] = "http://1800realitycheck.com/filefox.php?hot=sellers=ebay";
arrTitles[10] = "HUGE HUGE VINTAGE JEWELRY LOT SOME GOLD & SILVER US $112.05 (16 Bids)";
arrLinks[11] = "http://1800realitycheck.com/filefox.php?hottest=selling";
arrTitles[11] = "VINTAGE 1972 ROLEX DATEJUST 14K S.S WATCH + BOX PAPERS! US $1,626.00 (16 Bids)";
arrLinks[12] = "http://1800realitycheck.com/filefox.php?ebay=top=sellers";
arrTitles[12] = "MENS 18K GOLD ROLEX DAY DATE PRESIDENT WATCH w/LEATHER US $3,383.00 (15 Bids)";
arrLinks[13] = "http://1800realitycheck.com/filefox.php?ebay=pulse=hot=sellers";
arrTitles[13] = "Mens SS 1960\'s Rolex Tudor Oyster W/Watch Mint Dial NR! US $212.50 (15 Bids)";
arrLinks[14] = "http://1800realitycheck.com/filefox.php?ebay=research=sellers";
arrTitles[14] = "lady elgin bulova gold silver lot of watches & jewelry US $25.05 (14 Bids)";

}

var m_iInterval;
var m_Height;
//window.onload = wl;
var iScroll=0;

var arrLinks;
var arrTitles;

var arrCursor = 0;

var arrMax;
window.onload=wl;

function wl() {
m_iInterval = setInterval(ontimer, 10);
var base = document.getElementById("jump_base");

m_Height = base.offsetHeight;

var divi = parseInt(m_Height/5);
m_Height = divi*5;

var td1 = document.getElementById("td1");
var td2 = document.getElementById("td2");
var td3 = document.getElementById("td3");
td1.height = m_Height-5;
td2.height = m_Height-5;
td3.height = m_Height-5;

arrLinks = new Array();
arrTitles = new Array();

setupLinks();
arrMax = arrLinks.length-1;
setLink();
}
function setLink() {
var ilink = document.getElementById("jump_link");
ilink.innerHTML = arrTitles[arrCursor];
ilink.href = arrLinks[arrCursor];
}
function ontimer() {
var base = document.getElementById("jump_base");
iScroll+=5;
if (iScroll>(m_Height*2)) {
iScroll=0;
arrCursor++;
if (arrCursor>arrMax)
arrCursor=0;
setLink();
}
if (iScroll==m_Height) {
pause();
m_iInterval = setTimeout(resume, 4000);
}
base.scrollTop=iScroll;
}
function pause() {
clearInterval(m_iInterval);
}
function resume() {
m_iInterval = setInterval(ontimer, 10);
}
 

