// JavaScript Document

// Bookmark
var bookmarkurl="http://www.LogoJeez.com"
var bookmarktitle="Logo Jeez" 
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

// Rotating Banner Starts here
var i = 1;
banner1= new Image();
banner1.src = "/images/ban-250-0.gif";
banner2 = new Image();
banner2.src = "/images/ban-250-0.gif";

links = new Array
links[1] = "/logos/New-Year-Deals-All.aspx"
links[2] = "/logos/New-Year-Deals-All.aspx"

description = new Array
description[1] = "250 Free Business Cards"
description[2] = "250 Free Business Cards"

function startTime(){

var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
closeTime=hours*3600+mins*60+secs;
closeTime+=3;	// How many seconds til the next rotation
Timer();

}

function Timer(){
var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
curTime=hours*3600+mins*60+secs
if (curTime>=closeTime){
if (i < 2){	// The number 2 is the amount of banners that you have
i++;
document.banner.src = eval("banner" + i + ".src");
}
else{
i = 1;
document.banner.src = eval("banner" + i + ".src");
}
startTime();
}
else{
window.setTimeout("Timer()",1000)}
}

function clickLink(){
top.location = links[i]
}

function descript(){
window.status = description[i]
}

// -->




// JavaScript Document

// Rotating Banner of Footer Starts here
var a = 1;
bannerF1= new Image();
bannerF1.src = "/images/ban-moneyback-0.gif";
bannerF2 = new Image();
bannerF2.src = "/images/ban-moneyback-1.gif";

linksF = new Array
linksF[1] = "/logos/money-back.aspx"
linksF[2] = "/logos/guarantee.aspx"

descriptionF = new Array
descriptionF[1] = "100% Money Back Guarantee"
descriptionF[2] = "100% Satisfaction Guarantee"

function startTime(){

var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
closeTime=hours*3600+mins*60+secs;
closeTime+=3;	// How many seconds til the next rotation
Timer();

}

function Timer(){
var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
curTime=hours*3600+mins*60+secs
if (curTime>=closeTime){
if (a < 2){	// The number 2 is the amount of banners that you have
a++;
document.bannerF.src = eval("bannerF" + a + ".src");
}
else{
a = 1;
document.bannerF.src = eval("bannerF" + a + ".src");
}
startTime();
}
else{
window.setTimeout("Timer()",3000)}
}

function clickLinkF(){
top.location = linksF[a]
}

function descriptF(){
window.status = descriptionF[a]
}

// -->

