var slidespeed=3000;
var slideimages=new Array('image_1647979899.jpg', 'image_618434018.jpg', 'image_1785320008.jpg', 'image_1644485540.jpg', 'image_1775397777.jpg', 'image_290737418.jpg', 'image_41764774.jpg', 'image_1764401657.jpg', 'image_1811611376.jpg', 'image_1581371055.jpg', 'image_1211002735.jpg', 'image_1131668790.jpg', 'image_1781884991.jpg', 'image_688701078.jpg', 'image_1093654492.jpg', 'image_273908970.jpg', 'image_303779460.jpg', 'image_1954170099.jpg', 'image_44823455.jpg', 'image_29191176.jpg', 'image_10615549.jpg', 'image_2090456201.jpg', 'image_1686985972.jpg', 'image_10786789.jpg', 'image_1093243318.jpg', 'image_1787981174.jpg', 'image_1981491331.jpg', 'image_1859723096.jpg', 'image_1412344632.jpg', 'image_1840110246.jpg', 'image_470051909.jpg', 'image_1507537440.jpg', 'image_657124352.jpg', 'image_1962667123.jpg', 'image_958828289.jpg', 'image_2144224799.jpg', 'image_642591670.jpg', 'image_89302045.jpg', 'image_1392760915.jpg')
var slideimg=new Array('1647979899', '618434018', '1785320008', '1644485540', '1775397777', '290737418', '41764774', '1764401657', '1811611376', '1581371055', '1211002735', '1131668790', '1781884991', '688701078', '1093654492', '273908970', '303779460', '1954170099', '44823455', '29191176', '10615549', '2090456201', '1686985972', '10786789', '1093243318', '1787981174', '1981491331', '1859723096', '1412344632', '1840110246', '470051909', '1507537440', '657124352', '1962667123', '958828289', '2144224799', '642591670', '89302045', '1392760915')
var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
var slideimgPath=new Array('http://imgsvr1647979899.preferredhomesonline.com/components/com_pho/images/wb_images/image_1647979899.jpg', 'http://imgsvr618434018.preferredhomesonline.com/components/com_pho/images/wb_images/image_618434018.jpg', 'http://imgsvr1785320008.preferredhomesonline.com/components/com_pho/images/wb_images/image_1785320008.jpg', 'http://imgsvr1644485540.preferredhomesonline.com/components/com_pho/images/wb_images/image_1644485540.jpg', 'http://imgsvr1775397777.preferredhomesonline.com/components/com_pho/images/wb_images/image_1775397777.jpg', 'http://imgsvr290737418.preferredhomesonline.com/components/com_pho/images/wb_images/image_290737418.jpg', 'http://imgsvr41764774.preferredhomesonline.com/components/com_pho/images/wb_images/image_41764774.jpg', 'http://imgsvr1764401657.preferredhomesonline.com/components/com_pho/images/wb_images/image_1764401657.jpg', 'http://imgsvr1811611376.preferredhomesonline.com/components/com_pho/images/wb_images/image_1811611376.jpg', 'http://imgsvr1581371055.preferredhomesonline.com/components/com_pho/images/wb_images/image_1581371055.jpg', 'http://imgsvr1211002735.preferredhomesonline.com/components/com_pho/images/wb_images/image_1211002735.jpg', 'http://imgsvr1131668790.preferredhomesonline.com/components/com_pho/images/wb_images/image_1131668790.jpg', 'http://imgsvr1781884991.preferredhomesonline.com/components/com_pho/images/wb_images/image_1781884991.jpg', 'http://imgsvr688701078.preferredhomesonline.com/components/com_pho/images/wb_images/image_688701078.jpg', 'http://imgsvr1093654492.preferredhomesonline.com/components/com_pho/images/wb_images/image_1093654492.jpg', 'http://imgsvr273908970.preferredhomesonline.com/components/com_pho/images/wb_images/image_273908970.jpg', 'http://imgsvr303779460.preferredhomesonline.com/components/com_pho/images/wb_images/image_303779460.jpg', 'http://imgsvr1954170099.preferredhomesonline.com/components/com_pho/images/wb_images/image_1954170099.jpg', 'http://imgsvr44823455.preferredhomesonline.com/components/com_pho/images/wb_images/image_44823455.jpg', 'http://imgsvr29191176.preferredhomesonline.com/components/com_pho/images/wb_images/image_29191176.jpg', 'http://imgsvr10615549.preferredhomesonline.com/components/com_pho/images/wb_images/image_10615549.jpg', 'http://imgsvr2090456201.preferredhomesonline.com/components/com_pho/images/wb_images/image_2090456201.jpg', 'http://imgsvr1686985972.preferredhomesonline.com/components/com_pho/images/wb_images/image_1686985972.jpg', 'http://imgsvr10786789.preferredhomesonline.com/components/com_pho/images/wb_images/image_10786789.jpg', 'http://imgsvr1093243318.preferredhomesonline.com/components/com_pho/images/wb_images/image_1093243318.jpg', 'http://imgsvr1787981174.preferredhomesonline.com/components/com_pho/images/wb_images/image_1787981174.jpg', 'http://imgsvr1981491331.preferredhomesonline.com/components/com_pho/images/wb_images/image_1981491331.jpg', 'http://imgsvr1859723096.preferredhomesonline.com/components/com_pho/images/wb_images/image_1859723096.jpg', 'http://imgsvr1412344632.preferredhomesonline.com/components/com_pho/images/wb_images/image_1412344632.jpg', 'http://imgsvr1840110246.preferredhomesonline.com/components/com_pho/images/wb_images/image_1840110246.jpg', 'http://imgsvr470051909.preferredhomesonline.com/components/com_pho/images/wb_images/image_470051909.jpg', 'http://imgsvr1507537440.preferredhomesonline.com/components/com_pho/images/wb_images/image_1507537440.jpg', 'http://imgsvr657124352.preferredhomesonline.com/components/com_pho/images/wb_images/image_657124352.jpg', 'http://imgsvr1962667123.preferredhomesonline.com/components/com_pho/images/wb_images/image_1962667123.jpg', 'http://imgsvr958828289.preferredhomesonline.com/components/com_pho/images/wb_images/image_958828289.jpg', 'http://imgsvr2144224799.preferredhomesonline.com/components/com_pho/images/wb_images/image_2144224799.jpg', 'http://imgsvr642591670.preferredhomesonline.com/components/com_pho/images/wb_images/image_642591670.jpg', 'http://imgsvr89302045.preferredhomesonline.com/components/com_pho/images/wb_images/image_89302045.jpg', 'http://imgsvr1392760915.preferredhomesonline.com/components/com_pho/images/wb_images/image_1392760915.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.31301ruthhillrd.info/components/com_pho/images/wb_images/thumb2_' + name;
src = 'http://www.31301ruthhillrd.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.31301ruthhillrd.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('1647979899').style.borderColor = '#535969';
document.getElementById('618434018').style.borderColor = '#535969';
document.getElementById('1785320008').style.borderColor = '#535969';
document.getElementById('1644485540').style.borderColor = '#535969';
document.getElementById('1775397777').style.borderColor = '#535969';
document.getElementById('290737418').style.borderColor = '#535969';
document.getElementById('41764774').style.borderColor = '#535969';
document.getElementById('1764401657').style.borderColor = '#535969';
document.getElementById('1811611376').style.borderColor = '#535969';
document.getElementById('1581371055').style.borderColor = '#535969';
document.getElementById('1211002735').style.borderColor = '#535969';
document.getElementById('1131668790').style.borderColor = '#535969';
document.getElementById('1781884991').style.borderColor = '#535969';
document.getElementById('688701078').style.borderColor = '#535969';
document.getElementById('1093654492').style.borderColor = '#535969';
document.getElementById('273908970').style.borderColor = '#535969';
document.getElementById('303779460').style.borderColor = '#535969';
document.getElementById('1954170099').style.borderColor = '#535969';
document.getElementById('44823455').style.borderColor = '#535969';
document.getElementById('29191176').style.borderColor = '#535969';
document.getElementById('10615549').style.borderColor = '#535969';
document.getElementById('2090456201').style.borderColor = '#535969';
document.getElementById('1686985972').style.borderColor = '#535969';
document.getElementById('10786789').style.borderColor = '#535969';
document.getElementById('1093243318').style.borderColor = '#535969';
document.getElementById('1787981174').style.borderColor = '#535969';
document.getElementById('1981491331').style.borderColor = '#535969';
document.getElementById('1859723096').style.borderColor = '#535969';
document.getElementById('1412344632').style.borderColor = '#535969';
document.getElementById('1840110246').style.borderColor = '#535969';
document.getElementById('470051909').style.borderColor = '#535969';
document.getElementById('1507537440').style.borderColor = '#535969';
document.getElementById('657124352').style.borderColor = '#535969';
document.getElementById('1962667123').style.borderColor = '#535969';
document.getElementById('958828289').style.borderColor = '#535969';
document.getElementById('2144224799').style.borderColor = '#535969';
document.getElementById('642591670').style.borderColor = '#535969';
document.getElementById('89302045').style.borderColor = '#535969';
document.getElementById('1392760915').style.borderColor = '#535969';
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;
}