var slidespeed=3000;
var slideimages=new Array('image_688838911.jpg', 'image_1362104065.jpg', 'image_1120861758.jpg', 'image_2091110991.jpg', 'image_68906544.jpg', 'image_916489903.jpg', 'image_661207064.jpg', 'image_1989634865.jpg', 'image_513755499.jpg', 'image_1567257977.jpg', 'image_1657585637.jpg', 'image_364017807.jpg', 'image_93146529.jpg', 'image_654084288.jpg', 'image_821833535.jpg', 'image_281507216.jpg', 'image_1490774424.jpg', 'image_245573977.jpg', 'image_1052525363.jpg', 'image_2091004674.jpg', 'image_1286906547.jpg')
var slideimg=new Array('688838911', '1362104065', '1120861758', '2091110991', '68906544', '916489903', '661207064', '1989634865', '513755499', '1567257977', '1657585637', '364017807', '93146529', '654084288', '821833535', '281507216', '1490774424', '245573977', '1052525363', '2091004674', '1286906547')
var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
var slideimgPath=new Array('http://imgsvr688838911.preferredhomesonline.com/components/com_pho/images/wb_images/image_688838911.jpg', 'http://imgsvr1362104065.preferredhomesonline.com/components/com_pho/images/wb_images/image_1362104065.jpg', 'http://imgsvr1120861758.preferredhomesonline.com/components/com_pho/images/wb_images/image_1120861758.jpg', 'http://imgsvr2091110991.preferredhomesonline.com/components/com_pho/images/wb_images/image_2091110991.jpg', 'http://imgsvr68906544.preferredhomesonline.com/components/com_pho/images/wb_images/image_68906544.jpg', 'http://imgsvr916489903.preferredhomesonline.com/components/com_pho/images/wb_images/image_916489903.jpg', 'http://imgsvr661207064.preferredhomesonline.com/components/com_pho/images/wb_images/image_661207064.jpg', 'http://imgsvr1989634865.preferredhomesonline.com/components/com_pho/images/wb_images/image_1989634865.jpg', 'http://imgsvr513755499.preferredhomesonline.com/components/com_pho/images/wb_images/image_513755499.jpg', 'http://imgsvr1567257977.preferredhomesonline.com/components/com_pho/images/wb_images/image_1567257977.jpg', 'http://imgsvr1657585637.preferredhomesonline.com/components/com_pho/images/wb_images/image_1657585637.jpg', 'http://imgsvr364017807.preferredhomesonline.com/components/com_pho/images/wb_images/image_364017807.jpg', 'http://imgsvr93146529.preferredhomesonline.com/components/com_pho/images/wb_images/image_93146529.jpg', 'http://imgsvr654084288.preferredhomesonline.com/components/com_pho/images/wb_images/image_654084288.jpg', 'http://imgsvr821833535.preferredhomesonline.com/components/com_pho/images/wb_images/image_821833535.jpg', 'http://imgsvr281507216.preferredhomesonline.com/components/com_pho/images/wb_images/image_281507216.jpg', 'http://imgsvr1490774424.preferredhomesonline.com/components/com_pho/images/wb_images/image_1490774424.jpg', 'http://imgsvr245573977.preferredhomesonline.com/components/com_pho/images/wb_images/image_245573977.jpg', 'http://imgsvr1052525363.preferredhomesonline.com/components/com_pho/images/wb_images/image_1052525363.jpg', 'http://imgsvr2091004674.preferredhomesonline.com/components/com_pho/images/wb_images/image_2091004674.jpg', 'http://imgsvr1286906547.preferredhomesonline.com/components/com_pho/images/wb_images/image_1286906547.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.29589windchime.info/components/com_pho/images/wb_images/thumb2_' + name;
src = 'http://www.29589windchime.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.29589windchime.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('688838911').style.borderColor = '#ffffff';
document.getElementById('1362104065').style.borderColor = '#ffffff';
document.getElementById('1120861758').style.borderColor = '#ffffff';
document.getElementById('2091110991').style.borderColor = '#ffffff';
document.getElementById('68906544').style.borderColor = '#ffffff';
document.getElementById('916489903').style.borderColor = '#ffffff';
document.getElementById('661207064').style.borderColor = '#ffffff';
document.getElementById('1989634865').style.borderColor = '#ffffff';
document.getElementById('513755499').style.borderColor = '#ffffff';
document.getElementById('1567257977').style.borderColor = '#ffffff';
document.getElementById('1657585637').style.borderColor = '#ffffff';
document.getElementById('364017807').style.borderColor = '#ffffff';
document.getElementById('93146529').style.borderColor = '#ffffff';
document.getElementById('654084288').style.borderColor = '#ffffff';
document.getElementById('821833535').style.borderColor = '#ffffff';
document.getElementById('281507216').style.borderColor = '#ffffff';
document.getElementById('1490774424').style.borderColor = '#ffffff';
document.getElementById('245573977').style.borderColor = '#ffffff';
document.getElementById('1052525363').style.borderColor = '#ffffff';
document.getElementById('2091004674').style.borderColor = '#ffffff';
document.getElementById('1286906547').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;
}