var slidespeed=3000;
var slideimages=new Array('image_892260090.jpg', 'image_13242744.jpg', 'image_1208466433.jpg', 'image_1808112179.jpg', 'image_1288431615.jpg', 'image_1412779524.jpg', 'image_753516286.jpg', 'image_1477604578.jpg', 'image_201647775.jpg', 'image_1079131314.jpg', 'image_702626301.jpg', 'image_1210530084.jpg', 'image_38477686.jpg', 'image_377696368.jpg')
var slideimg=new Array('892260090', '13242744', '1208466433', '1808112179', '1288431615', '1412779524', '753516286', '1477604578', '201647775', '1079131314', '702626301', '1210530084', '38477686', '377696368')
var slideimgalt=new Array('Find MORE homes on guarantee.com', 'Guarantee SELLS 1 out of every 4 homes in Fresno & Clovis', 'Find MORE homes on guarantee.com', 'Find EVERY Central CA listing on guarantee.com', 'Look for the Property Website Addresses on Guarantee Yard Signs', 'Find MORE homes on guarantee.com', 'Guarantee Sells 1 out of every 4 homes in Fresno & Clovis', 'Find MORE homes on guarantee.com', 'Find EVERY Central CA listing on guarantee.com', 'Look for the Property Website Address on Guarantee Yard Signs', 'Find MORE homes on guarantee.com', 'Guarantee sells 1 out of every 4 homes in Fresno & Clovis', 'Find EVERY Central CA listing on guarantee.com', 'Look for the Property Website Address on Guarantee Yard Signs')
var slideimgPath=new Array('http://imgsvr892260090.preferredhomesonline.com/components/com_pho/images/wb_images/image_892260090.jpg', 'http://imgsvr13242744.preferredhomesonline.com/components/com_pho/images/wb_images/image_13242744.jpg', 'http://imgsvr1208466433.preferredhomesonline.com/components/com_pho/images/wb_images/image_1208466433.jpg', 'http://imgsvr1808112179.preferredhomesonline.com/components/com_pho/images/wb_images/image_1808112179.jpg', 'http://imgsvr1288431615.preferredhomesonline.com/components/com_pho/images/wb_images/image_1288431615.jpg', 'http://imgsvr1412779524.preferredhomesonline.com/components/com_pho/images/wb_images/image_1412779524.jpg', 'http://imgsvr753516286.preferredhomesonline.com/components/com_pho/images/wb_images/image_753516286.jpg', 'http://imgsvr1477604578.preferredhomesonline.com/components/com_pho/images/wb_images/image_1477604578.jpg', 'http://imgsvr201647775.preferredhomesonline.com/components/com_pho/images/wb_images/image_201647775.jpg', 'http://imgsvr1079131314.preferredhomesonline.com/components/com_pho/images/wb_images/image_1079131314.jpg', 'http://imgsvr702626301.preferredhomesonline.com/components/com_pho/images/wb_images/image_702626301.jpg', 'http://imgsvr1210530084.preferredhomesonline.com/components/com_pho/images/wb_images/image_1210530084.jpg', 'http://imgsvr38477686.preferredhomesonline.com/components/com_pho/images/wb_images/image_38477686.jpg', 'http://imgsvr377696368.preferredhomesonline.com/components/com_pho/images/wb_images/image_377696368.jpg')
//specify corresponding links
//var slidelinks=new Array("","","")
var newwindow=1 //open links in new window? 1=yes, 0=no
var imageholder=new Array()
var ie=document.all
for (i=0;i';
return overlib(html, '', '', BELOW, RIGHT, WIDTH, 100, CSSCLASS, FGCLASS, 'fgClass', BGCLASS, 'bgClass', CELLPAD, 3)
}
function showTh2Reg(name)
{
imgSrc = 'http://www.1234main.info/components/com_pho/images/wb_images/thumb2_' + name;
src = 'http://www.1234main.info/images/login_to_view.gif';
html = '
';
return overlib(html, '', '', BELOW, RIGHT, WIDTH, 100, CSSCLASS, BGCLASS, 'bgClass', FGCOLOR, 'transparent', FGBACKGROUND, imgSrc, CELLPAD, 3)
}
var number;
var current = 0;
var prev = 0;
function changeImg(name, number)
{
for (i = 0; i < slideimages.length; i++)
{
if (slideimages[i] == name) document.images.slide.src = slideimgPath[i];
}
document.getElementById('bigImg').href = 'http://www.1234main.info/components/com_pho/images/wb_images/' + name;
for(j=0;j 1)
{
whichimage = 1;
}
else if (whichimage == 0 && prev != 0)
{
whichimage = 0;
}
document.images.slide.src=imageholder[whichimage].src
document.images.slide.alt = imageholder[whichimage].alt;
document.getElementById('bigImg').href = imageholder[whichimage].src;
document.getElementById('imgAlt').innerHTML = imageholder[whichimage].alt;
//border start
document.getElementById('892260090').style.borderColor = '#ffffff';
document.getElementById('13242744').style.borderColor = '#ffffff';
document.getElementById('1208466433').style.borderColor = '#ffffff';
document.getElementById('1808112179').style.borderColor = '#ffffff';
document.getElementById('1288431615').style.borderColor = '#ffffff';
document.getElementById('1412779524').style.borderColor = '#ffffff';
document.getElementById('753516286').style.borderColor = '#ffffff';
document.getElementById('1477604578').style.borderColor = '#ffffff';
document.getElementById('201647775').style.borderColor = '#ffffff';
document.getElementById('1079131314').style.borderColor = '#ffffff';
document.getElementById('702626301').style.borderColor = '#ffffff';
document.getElementById('1210530084').style.borderColor = '#ffffff';
document.getElementById('38477686').style.borderColor = '#ffffff';
document.getElementById('377696368').style.borderColor = '#ffffff';
number = imageholder[whichimage].name;
document.getElementById(number).style.borderColor = 'red';
//border end
prev = whichimage - 1;
whichimage = whichimage + 1;
if (whichimage == slideimages.length)
{
whichimage = 0;
//prev = slideimages.length - 2;
}
}
function doLightBox()
{
var bigImg = document.getElementById('bigImg');
var image = document.images.slide.src;
var pos1 = image.lastIndexOf('image_');
var pos2 = image.lastIndexOf('.jpg');
var name = image.substring(pos1, pos2);
var number = name.substring(6);
var evt = 'click';
var fireOnThis = document.getElementById('photo' + number);
if( document.createEvent )
{
var evObj = document.createEvent('MouseEvents');
evObj.initEvent( evt, true, false );
fireOnThis.dispatchEvent(evObj);
}
else if( document.createEventObject )
{
fireOnThis.fireEvent('on'+evt);
}
return false;
}