var slidespeed=3000;
var slideimages=new Array('image_971837570.jpg', 'image_1283581768.jpg', 'image_640053804.jpg', 'image_639333181.jpg', 'image_2084567315.jpg', 'image_1369135383.jpg', 'image_1792071807.jpg', 'image_1355509352.jpg', 'image_107185879.jpg', 'image_1196142170.jpg', 'image_798427675.jpg', 'image_2039183120.jpg', 'image_2091994736.jpg', 'image_878158687.jpg', 'image_1215783032.jpg', 'image_2061953263.jpg', 'image_1142914354.jpg', 'image_1775619481.jpg', 'image_1479343003.jpg', 'image_1287907171.jpg', 'image_1660092388.jpg', 'image_758731161.jpg', 'image_520382297.jpg', 'image_516031461.jpg', 'image_1210781683.jpg', 'image_351996486.jpg', 'image_973967508.jpg', 'image_773869705.jpg', 'image_1022839544.jpg', 'image_640473970.jpg', 'image_31624291.jpg', 'image_978184145.jpg', 'image_305451368.jpg', 'image_677768539.jpg', 'image_546852222.jpg', 'image_1649898527.jpg', 'image_1771727529.jpg', 'image_963106081.jpg', 'image_1924525835.jpg', 'image_1443801081.jpg', 'image_1589662993.jpg', 'image_370243835.jpg', 'image_158658515.jpg', 'image_412625419.jpg', 'image_31385373.jpg', 'image_1167441800.jpg', 'image_1476755513.jpg', 'image_1428637607.jpg', 'image_1876545296.jpg', 'image_792296616.jpg', 'image_163567437.jpg', 'image_1739182356.jpg', 'image_1513286835.jpg', 'image_243847715.jpg', 'image_918539628.jpg', 'image_896898470.jpg', 'image_1731165659.jpg', 'image_1168143039.jpg', 'image_1698017551.jpg', 'image_1471831381.jpg', 'image_1073024334.jpg', 'image_1687267443.jpg', 'image_228703351.jpg', 'image_1325257529.jpg', 'image_1430012966.jpg', 'image_557731258.jpg')
var slideimg=new Array('971837570', '1283581768', '640053804', '639333181', '2084567315', '1369135383', '1792071807', '1355509352', '107185879', '1196142170', '798427675', '2039183120', '2091994736', '878158687', '1215783032', '2061953263', '1142914354', '1775619481', '1479343003', '1287907171', '1660092388', '758731161', '520382297', '516031461', '1210781683', '351996486', '973967508', '773869705', '1022839544', '640473970', '31624291', '978184145', '305451368', '677768539', '546852222', '1649898527', '1771727529', '963106081', '1924525835', '1443801081', '1589662993', '370243835', '158658515', '412625419', '31385373', '1167441800', '1476755513', '1428637607', '1876545296', '792296616', '163567437', '1739182356', '1513286835', '243847715', '918539628', '896898470', '1731165659', '1168143039', '1698017551', '1471831381', '1073024334', '1687267443', '228703351', '1325257529', '1430012966', '557731258')
var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
var slideimgPath=new Array('http://imgsvr971837570.preferredhomesonline.com/components/com_pho/images/wb_images/image_971837570.jpg', 'http://imgsvr1283581768.preferredhomesonline.com/components/com_pho/images/wb_images/image_1283581768.jpg', 'http://imgsvr640053804.preferredhomesonline.com/components/com_pho/images/wb_images/image_640053804.jpg', 'http://imgsvr639333181.preferredhomesonline.com/components/com_pho/images/wb_images/image_639333181.jpg', 'http://imgsvr2084567315.preferredhomesonline.com/components/com_pho/images/wb_images/image_2084567315.jpg', 'http://imgsvr1369135383.preferredhomesonline.com/components/com_pho/images/wb_images/image_1369135383.jpg', 'http://imgsvr1792071807.preferredhomesonline.com/components/com_pho/images/wb_images/image_1792071807.jpg', 'http://imgsvr1355509352.preferredhomesonline.com/components/com_pho/images/wb_images/image_1355509352.jpg', 'http://imgsvr107185879.preferredhomesonline.com/components/com_pho/images/wb_images/image_107185879.jpg', 'http://imgsvr1196142170.preferredhomesonline.com/components/com_pho/images/wb_images/image_1196142170.jpg', 'http://imgsvr798427675.preferredhomesonline.com/components/com_pho/images/wb_images/image_798427675.jpg', 'http://imgsvr2039183120.preferredhomesonline.com/components/com_pho/images/wb_images/image_2039183120.jpg', 'http://imgsvr2091994736.preferredhomesonline.com/components/com_pho/images/wb_images/image_2091994736.jpg', 'http://imgsvr878158687.preferredhomesonline.com/components/com_pho/images/wb_images/image_878158687.jpg', 'http://imgsvr1215783032.preferredhomesonline.com/components/com_pho/images/wb_images/image_1215783032.jpg', 'http://imgsvr2061953263.preferredhomesonline.com/components/com_pho/images/wb_images/image_2061953263.jpg', 'http://imgsvr1142914354.preferredhomesonline.com/components/com_pho/images/wb_images/image_1142914354.jpg', 'http://imgsvr1775619481.preferredhomesonline.com/components/com_pho/images/wb_images/image_1775619481.jpg', 'http://imgsvr1479343003.preferredhomesonline.com/components/com_pho/images/wb_images/image_1479343003.jpg', 'http://imgsvr1287907171.preferredhomesonline.com/components/com_pho/images/wb_images/image_1287907171.jpg', 'http://imgsvr1660092388.preferredhomesonline.com/components/com_pho/images/wb_images/image_1660092388.jpg', 'http://imgsvr758731161.preferredhomesonline.com/components/com_pho/images/wb_images/image_758731161.jpg', 'http://imgsvr520382297.preferredhomesonline.com/components/com_pho/images/wb_images/image_520382297.jpg', 'http://imgsvr516031461.preferredhomesonline.com/components/com_pho/images/wb_images/image_516031461.jpg', 'http://imgsvr1210781683.preferredhomesonline.com/components/com_pho/images/wb_images/image_1210781683.jpg', 'http://imgsvr351996486.preferredhomesonline.com/components/com_pho/images/wb_images/image_351996486.jpg', 'http://imgsvr973967508.preferredhomesonline.com/components/com_pho/images/wb_images/image_973967508.jpg', 'http://imgsvr773869705.preferredhomesonline.com/components/com_pho/images/wb_images/image_773869705.jpg', 'http://imgsvr1022839544.preferredhomesonline.com/components/com_pho/images/wb_images/image_1022839544.jpg', 'http://imgsvr640473970.preferredhomesonline.com/components/com_pho/images/wb_images/image_640473970.jpg', 'http://imgsvr31624291.preferredhomesonline.com/components/com_pho/images/wb_images/image_31624291.jpg', 'http://imgsvr978184145.preferredhomesonline.com/components/com_pho/images/wb_images/image_978184145.jpg', 'http://imgsvr305451368.preferredhomesonline.com/components/com_pho/images/wb_images/image_305451368.jpg', 'http://imgsvr677768539.preferredhomesonline.com/components/com_pho/images/wb_images/image_677768539.jpg', 'http://imgsvr546852222.preferredhomesonline.com/components/com_pho/images/wb_images/image_546852222.jpg', 'http://imgsvr1649898527.preferredhomesonline.com/components/com_pho/images/wb_images/image_1649898527.jpg', 'http://imgsvr1771727529.preferredhomesonline.com/components/com_pho/images/wb_images/image_1771727529.jpg', 'http://imgsvr963106081.preferredhomesonline.com/components/com_pho/images/wb_images/image_963106081.jpg', 'http://imgsvr1924525835.preferredhomesonline.com/components/com_pho/images/wb_images/image_1924525835.jpg', 'http://imgsvr1443801081.preferredhomesonline.com/components/com_pho/images/wb_images/image_1443801081.jpg', 'http://imgsvr1589662993.preferredhomesonline.com/components/com_pho/images/wb_images/image_1589662993.jpg', 'http://imgsvr370243835.preferredhomesonline.com/components/com_pho/images/wb_images/image_370243835.jpg', 'http://imgsvr158658515.preferredhomesonline.com/components/com_pho/images/wb_images/image_158658515.jpg', 'http://imgsvr412625419.preferredhomesonline.com/components/com_pho/images/wb_images/image_412625419.jpg', 'http://imgsvr31385373.preferredhomesonline.com/components/com_pho/images/wb_images/image_31385373.jpg', 'http://imgsvr1167441800.preferredhomesonline.com/components/com_pho/images/wb_images/image_1167441800.jpg', 'http://imgsvr1476755513.preferredhomesonline.com/components/com_pho/images/wb_images/image_1476755513.jpg', 'http://imgsvr1428637607.preferredhomesonline.com/components/com_pho/images/wb_images/image_1428637607.jpg', 'http://imgsvr1876545296.preferredhomesonline.com/components/com_pho/images/wb_images/image_1876545296.jpg', 'http://imgsvr792296616.preferredhomesonline.com/components/com_pho/images/wb_images/image_792296616.jpg', 'http://imgsvr163567437.preferredhomesonline.com/components/com_pho/images/wb_images/image_163567437.jpg', 'http://imgsvr1739182356.preferredhomesonline.com/components/com_pho/images/wb_images/image_1739182356.jpg', 'http://imgsvr1513286835.preferredhomesonline.com/components/com_pho/images/wb_images/image_1513286835.jpg', 'http://imgsvr243847715.preferredhomesonline.com/components/com_pho/images/wb_images/image_243847715.jpg', 'http://imgsvr918539628.preferredhomesonline.com/components/com_pho/images/wb_images/image_918539628.jpg', 'http://imgsvr896898470.preferredhomesonline.com/components/com_pho/images/wb_images/image_896898470.jpg', 'http://imgsvr1731165659.preferredhomesonline.com/components/com_pho/images/wb_images/image_1731165659.jpg', 'http://imgsvr1168143039.preferredhomesonline.com/components/com_pho/images/wb_images/image_1168143039.jpg', 'http://imgsvr1698017551.preferredhomesonline.com/components/com_pho/images/wb_images/image_1698017551.jpg', 'http://imgsvr1471831381.preferredhomesonline.com/components/com_pho/images/wb_images/image_1471831381.jpg', 'http://imgsvr1073024334.preferredhomesonline.com/components/com_pho/images/wb_images/image_1073024334.jpg', 'http://imgsvr1687267443.preferredhomesonline.com/components/com_pho/images/wb_images/image_1687267443.jpg', 'http://imgsvr228703351.preferredhomesonline.com/components/com_pho/images/wb_images/image_228703351.jpg', 'http://imgsvr1325257529.preferredhomesonline.com/components/com_pho/images/wb_images/image_1325257529.jpg', 'http://imgsvr1430012966.preferredhomesonline.com/components/com_pho/images/wb_images/image_1430012966.jpg', 'http://imgsvr557731258.preferredhomesonline.com/components/com_pho/images/wb_images/image_557731258.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.5211vanness.info/components/com_pho/images/wb_images/thumb2_' + name;
src = 'http://www.5211vanness.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.5211vanness.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('971837570').style.borderColor = '#000000';
document.getElementById('1283581768').style.borderColor = '#000000';
document.getElementById('640053804').style.borderColor = '#000000';
document.getElementById('639333181').style.borderColor = '#000000';
document.getElementById('2084567315').style.borderColor = '#000000';
document.getElementById('1369135383').style.borderColor = '#000000';
document.getElementById('1792071807').style.borderColor = '#000000';
document.getElementById('1355509352').style.borderColor = '#000000';
document.getElementById('107185879').style.borderColor = '#000000';
document.getElementById('1196142170').style.borderColor = '#000000';
document.getElementById('798427675').style.borderColor = '#000000';
document.getElementById('2039183120').style.borderColor = '#000000';
document.getElementById('2091994736').style.borderColor = '#000000';
document.getElementById('878158687').style.borderColor = '#000000';
document.getElementById('1215783032').style.borderColor = '#000000';
document.getElementById('2061953263').style.borderColor = '#000000';
document.getElementById('1142914354').style.borderColor = '#000000';
document.getElementById('1775619481').style.borderColor = '#000000';
document.getElementById('1479343003').style.borderColor = '#000000';
document.getElementById('1287907171').style.borderColor = '#000000';
document.getElementById('1660092388').style.borderColor = '#000000';
document.getElementById('758731161').style.borderColor = '#000000';
document.getElementById('520382297').style.borderColor = '#000000';
document.getElementById('516031461').style.borderColor = '#000000';
document.getElementById('1210781683').style.borderColor = '#000000';
document.getElementById('351996486').style.borderColor = '#000000';
document.getElementById('973967508').style.borderColor = '#000000';
document.getElementById('773869705').style.borderColor = '#000000';
document.getElementById('1022839544').style.borderColor = '#000000';
document.getElementById('640473970').style.borderColor = '#000000';
document.getElementById('31624291').style.borderColor = '#000000';
document.getElementById('978184145').style.borderColor = '#000000';
document.getElementById('305451368').style.borderColor = '#000000';
document.getElementById('677768539').style.borderColor = '#000000';
document.getElementById('546852222').style.borderColor = '#000000';
document.getElementById('1649898527').style.borderColor = '#000000';
document.getElementById('1771727529').style.borderColor = '#000000';
document.getElementById('963106081').style.borderColor = '#000000';
document.getElementById('1924525835').style.borderColor = '#000000';
document.getElementById('1443801081').style.borderColor = '#000000';
document.getElementById('1589662993').style.borderColor = '#000000';
document.getElementById('370243835').style.borderColor = '#000000';
document.getElementById('158658515').style.borderColor = '#000000';
document.getElementById('412625419').style.borderColor = '#000000';
document.getElementById('31385373').style.borderColor = '#000000';
document.getElementById('1167441800').style.borderColor = '#000000';
document.getElementById('1476755513').style.borderColor = '#000000';
document.getElementById('1428637607').style.borderColor = '#000000';
document.getElementById('1876545296').style.borderColor = '#000000';
document.getElementById('792296616').style.borderColor = '#000000';
document.getElementById('163567437').style.borderColor = '#000000';
document.getElementById('1739182356').style.borderColor = '#000000';
document.getElementById('1513286835').style.borderColor = '#000000';
document.getElementById('243847715').style.borderColor = '#000000';
document.getElementById('918539628').style.borderColor = '#000000';
document.getElementById('896898470').style.borderColor = '#000000';
document.getElementById('1731165659').style.borderColor = '#000000';
document.getElementById('1168143039').style.borderColor = '#000000';
document.getElementById('1698017551').style.borderColor = '#000000';
document.getElementById('1471831381').style.borderColor = '#000000';
document.getElementById('1073024334').style.borderColor = '#000000';
document.getElementById('1687267443').style.borderColor = '#000000';
document.getElementById('228703351').style.borderColor = '#000000';
document.getElementById('1325257529').style.borderColor = '#000000';
document.getElementById('1430012966').style.borderColor = '#000000';
document.getElementById('557731258').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;
}