var slidespeed=3000;
var slideimages=new Array('image_1231816116.jpg', 'image_84346824.jpg', 'image_1153447591.jpg', 'image_728029375.jpg', 'image_1924070177.jpg', 'image_585353478.jpg', 'image_1696382653.jpg', 'image_1107977012.jpg', 'image_470276496.jpg', 'image_701478751.jpg', 'image_391805621.jpg', 'image_1082242509.jpg', 'image_2111402364.jpg', 'image_930776700.jpg', 'image_873254667.jpg', 'image_361644159.jpg', 'image_865882478.jpg', 'image_1732896433.jpg', 'image_1473228428.jpg', 'image_1704502266.jpg', 'image_1137826045.jpg', 'image_1192451550.jpg', 'image_50322090.jpg', 'image_602175400.jpg', 'image_1477327988.jpg', 'image_1957823792.jpg', 'image_1712287846.jpg', 'image_1530411357.jpg')
var slideimg=new Array('1231816116', '84346824', '1153447591', '728029375', '1924070177', '585353478', '1696382653', '1107977012', '470276496', '701478751', '391805621', '1082242509', '2111402364', '930776700', '873254667', '361644159', '865882478', '1732896433', '1473228428', '1704502266', '1137826045', '1192451550', '50322090', '602175400', '1477327988', '1957823792', '1712287846', '1530411357')
var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
var slideimgPath=new Array('http://imgsvr1231816116.preferredhomesonline.com/components/com_pho/images/wb_images/image_1231816116.jpg', 'http://imgsvr84346824.preferredhomesonline.com/components/com_pho/images/wb_images/image_84346824.jpg', 'http://imgsvr1153447591.preferredhomesonline.com/components/com_pho/images/wb_images/image_1153447591.jpg', 'http://imgsvr728029375.preferredhomesonline.com/components/com_pho/images/wb_images/image_728029375.jpg', 'http://imgsvr1924070177.preferredhomesonline.com/components/com_pho/images/wb_images/image_1924070177.jpg', 'http://imgsvr585353478.preferredhomesonline.com/components/com_pho/images/wb_images/image_585353478.jpg', 'http://imgsvr1696382653.preferredhomesonline.com/components/com_pho/images/wb_images/image_1696382653.jpg', 'http://imgsvr1107977012.preferredhomesonline.com/components/com_pho/images/wb_images/image_1107977012.jpg', 'http://imgsvr470276496.preferredhomesonline.com/components/com_pho/images/wb_images/image_470276496.jpg', 'http://imgsvr701478751.preferredhomesonline.com/components/com_pho/images/wb_images/image_701478751.jpg', 'http://imgsvr391805621.preferredhomesonline.com/components/com_pho/images/wb_images/image_391805621.jpg', 'http://imgsvr1082242509.preferredhomesonline.com/components/com_pho/images/wb_images/image_1082242509.jpg', 'http://imgsvr2111402364.preferredhomesonline.com/components/com_pho/images/wb_images/image_2111402364.jpg', 'http://imgsvr930776700.preferredhomesonline.com/components/com_pho/images/wb_images/image_930776700.jpg', 'http://imgsvr873254667.preferredhomesonline.com/components/com_pho/images/wb_images/image_873254667.jpg', 'http://imgsvr361644159.preferredhomesonline.com/components/com_pho/images/wb_images/image_361644159.jpg', 'http://imgsvr865882478.preferredhomesonline.com/components/com_pho/images/wb_images/image_865882478.jpg', 'http://imgsvr1732896433.preferredhomesonline.com/components/com_pho/images/wb_images/image_1732896433.jpg', 'http://imgsvr1473228428.preferredhomesonline.com/components/com_pho/images/wb_images/image_1473228428.jpg', 'http://imgsvr1704502266.preferredhomesonline.com/components/com_pho/images/wb_images/image_1704502266.jpg', 'http://imgsvr1137826045.preferredhomesonline.com/components/com_pho/images/wb_images/image_1137826045.jpg', 'http://imgsvr1192451550.preferredhomesonline.com/components/com_pho/images/wb_images/image_1192451550.jpg', 'http://imgsvr50322090.preferredhomesonline.com/components/com_pho/images/wb_images/image_50322090.jpg', 'http://imgsvr602175400.preferredhomesonline.com/components/com_pho/images/wb_images/image_602175400.jpg', 'http://imgsvr1477327988.preferredhomesonline.com/components/com_pho/images/wb_images/image_1477327988.jpg', 'http://imgsvr1957823792.preferredhomesonline.com/components/com_pho/images/wb_images/image_1957823792.jpg', 'http://imgsvr1712287846.preferredhomesonline.com/components/com_pho/images/wb_images/image_1712287846.jpg', 'http://imgsvr1530411357.preferredhomesonline.com/components/com_pho/images/wb_images/image_1530411357.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.2555bluffave165.info/components/com_pho/images/wb_images/thumb2_' + name;
src = 'http://www.2555bluffave165.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.2555bluffave165.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('1231816116').style.borderColor = '#000000';
document.getElementById('84346824').style.borderColor = '#000000';
document.getElementById('1153447591').style.borderColor = '#000000';
document.getElementById('728029375').style.borderColor = '#000000';
document.getElementById('1924070177').style.borderColor = '#000000';
document.getElementById('585353478').style.borderColor = '#000000';
document.getElementById('1696382653').style.borderColor = '#000000';
document.getElementById('1107977012').style.borderColor = '#000000';
document.getElementById('470276496').style.borderColor = '#000000';
document.getElementById('701478751').style.borderColor = '#000000';
document.getElementById('391805621').style.borderColor = '#000000';
document.getElementById('1082242509').style.borderColor = '#000000';
document.getElementById('2111402364').style.borderColor = '#000000';
document.getElementById('930776700').style.borderColor = '#000000';
document.getElementById('873254667').style.borderColor = '#000000';
document.getElementById('361644159').style.borderColor = '#000000';
document.getElementById('865882478').style.borderColor = '#000000';
document.getElementById('1732896433').style.borderColor = '#000000';
document.getElementById('1473228428').style.borderColor = '#000000';
document.getElementById('1704502266').style.borderColor = '#000000';
document.getElementById('1137826045').style.borderColor = '#000000';
document.getElementById('1192451550').style.borderColor = '#000000';
document.getElementById('50322090').style.borderColor = '#000000';
document.getElementById('602175400').style.borderColor = '#000000';
document.getElementById('1477327988').style.borderColor = '#000000';
document.getElementById('1957823792').style.borderColor = '#000000';
document.getElementById('1712287846').style.borderColor = '#000000';
document.getElementById('1530411357').style.borderColor = '#000000';
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;
}