var slidespeed=3000;
var slideimages=new Array('image_1008372978.jpg', 'image_315831102.jpg', 'image_610438464.jpg', 'image_1790895026.jpg', 'image_955812993.jpg', 'image_1076627493.jpg', 'image_1968057228.jpg', 'image_727736682.jpg', 'image_997827077.jpg', 'image_1263644963.jpg', 'image_1989520695.jpg', 'image_1367443887.jpg', 'image_207381906.jpg', 'image_262621797.jpg', 'image_2138449342.jpg', 'image_1730201268.jpg', 'image_767083258.jpg', 'image_1950117927.jpg', 'image_1851581260.jpg', 'image_1927437492.jpg', 'image_303936184.jpg', 'image_1808196578.jpg', 'image_137056149.jpg', 'image_772028706.jpg', 'image_80424409.jpg', 'image_992245532.jpg', 'image_69899909.jpg', 'image_1883063636.jpg', 'image_1452732144.jpg', 'image_1959965327.jpg', 'image_1764233010.jpg', 'image_601987759.jpg', 'image_412024046.jpg', 'image_1793168339.jpg', 'image_193484279.jpg', 'image_662699660.jpg', 'image_1469561666.jpg', 'image_821037259.jpg', 'image_458551014.jpg', 'image_1223883963.jpg', 'image_1119504732.jpg', 'image_1933705873.jpg', 'image_1292191474.jpg', 'image_2035265112.jpg', 'image_803060505.jpg', 'image_1833996603.jpg', 'image_1495170419.jpg', 'image_1651467268.jpg', 'image_1860707309.jpg', 'image_1996403715.jpg')
var slideimg=new Array('1008372978', '315831102', '610438464', '1790895026', '955812993', '1076627493', '1968057228', '727736682', '997827077', '1263644963', '1989520695', '1367443887', '207381906', '262621797', '2138449342', '1730201268', '767083258', '1950117927', '1851581260', '1927437492', '303936184', '1808196578', '137056149', '772028706', '80424409', '992245532', '69899909', '1883063636', '1452732144', '1959965327', '1764233010', '601987759', '412024046', '1793168339', '193484279', '662699660', '1469561666', '821037259', '458551014', '1223883963', '1119504732', '1933705873', '1292191474', '2035265112', '803060505', '1833996603', '1495170419', '1651467268', '1860707309', '1996403715')
var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
var slideimgPath=new Array('http://imgsvr1008372978.preferredhomesonline.com/components/com_pho/images/wb_images/image_1008372978.jpg', 'http://imgsvr315831102.preferredhomesonline.com/components/com_pho/images/wb_images/image_315831102.jpg', 'http://imgsvr610438464.preferredhomesonline.com/components/com_pho/images/wb_images/image_610438464.jpg', 'http://imgsvr1790895026.preferredhomesonline.com/components/com_pho/images/wb_images/image_1790895026.jpg', 'http://imgsvr955812993.preferredhomesonline.com/components/com_pho/images/wb_images/image_955812993.jpg', 'http://imgsvr1076627493.preferredhomesonline.com/components/com_pho/images/wb_images/image_1076627493.jpg', 'http://imgsvr1968057228.preferredhomesonline.com/components/com_pho/images/wb_images/image_1968057228.jpg', 'http://imgsvr727736682.preferredhomesonline.com/components/com_pho/images/wb_images/image_727736682.jpg', 'http://imgsvr997827077.preferredhomesonline.com/components/com_pho/images/wb_images/image_997827077.jpg', 'http://imgsvr1263644963.preferredhomesonline.com/components/com_pho/images/wb_images/image_1263644963.jpg', 'http://imgsvr1989520695.preferredhomesonline.com/components/com_pho/images/wb_images/image_1989520695.jpg', 'http://imgsvr1367443887.preferredhomesonline.com/components/com_pho/images/wb_images/image_1367443887.jpg', 'http://imgsvr207381906.preferredhomesonline.com/components/com_pho/images/wb_images/image_207381906.jpg', 'http://imgsvr262621797.preferredhomesonline.com/components/com_pho/images/wb_images/image_262621797.jpg', 'http://imgsvr2138449342.preferredhomesonline.com/components/com_pho/images/wb_images/image_2138449342.jpg', 'http://imgsvr1730201268.preferredhomesonline.com/components/com_pho/images/wb_images/image_1730201268.jpg', 'http://imgsvr767083258.preferredhomesonline.com/components/com_pho/images/wb_images/image_767083258.jpg', 'http://imgsvr1950117927.preferredhomesonline.com/components/com_pho/images/wb_images/image_1950117927.jpg', 'http://imgsvr1851581260.preferredhomesonline.com/components/com_pho/images/wb_images/image_1851581260.jpg', 'http://imgsvr1927437492.preferredhomesonline.com/components/com_pho/images/wb_images/image_1927437492.jpg', 'http://imgsvr303936184.preferredhomesonline.com/components/com_pho/images/wb_images/image_303936184.jpg', 'http://imgsvr1808196578.preferredhomesonline.com/components/com_pho/images/wb_images/image_1808196578.jpg', 'http://imgsvr137056149.preferredhomesonline.com/components/com_pho/images/wb_images/image_137056149.jpg', 'http://imgsvr772028706.preferredhomesonline.com/components/com_pho/images/wb_images/image_772028706.jpg', 'http://imgsvr80424409.preferredhomesonline.com/components/com_pho/images/wb_images/image_80424409.jpg', 'http://imgsvr992245532.preferredhomesonline.com/components/com_pho/images/wb_images/image_992245532.jpg', 'http://imgsvr69899909.preferredhomesonline.com/components/com_pho/images/wb_images/image_69899909.jpg', 'http://imgsvr1883063636.preferredhomesonline.com/components/com_pho/images/wb_images/image_1883063636.jpg', 'http://imgsvr1452732144.preferredhomesonline.com/components/com_pho/images/wb_images/image_1452732144.jpg', 'http://imgsvr1959965327.preferredhomesonline.com/components/com_pho/images/wb_images/image_1959965327.jpg', 'http://imgsvr1764233010.preferredhomesonline.com/components/com_pho/images/wb_images/image_1764233010.jpg', 'http://imgsvr601987759.preferredhomesonline.com/components/com_pho/images/wb_images/image_601987759.jpg', 'http://imgsvr412024046.preferredhomesonline.com/components/com_pho/images/wb_images/image_412024046.jpg', 'http://imgsvr1793168339.preferredhomesonline.com/components/com_pho/images/wb_images/image_1793168339.jpg', 'http://imgsvr193484279.preferredhomesonline.com/components/com_pho/images/wb_images/image_193484279.jpg', 'http://imgsvr662699660.preferredhomesonline.com/components/com_pho/images/wb_images/image_662699660.jpg', 'http://imgsvr1469561666.preferredhomesonline.com/components/com_pho/images/wb_images/image_1469561666.jpg', 'http://imgsvr821037259.preferredhomesonline.com/components/com_pho/images/wb_images/image_821037259.jpg', 'http://imgsvr458551014.preferredhomesonline.com/components/com_pho/images/wb_images/image_458551014.jpg', 'http://imgsvr1223883963.preferredhomesonline.com/components/com_pho/images/wb_images/image_1223883963.jpg', 'http://imgsvr1119504732.preferredhomesonline.com/components/com_pho/images/wb_images/image_1119504732.jpg', 'http://imgsvr1933705873.preferredhomesonline.com/components/com_pho/images/wb_images/image_1933705873.jpg', 'http://imgsvr1292191474.preferredhomesonline.com/components/com_pho/images/wb_images/image_1292191474.jpg', 'http://imgsvr2035265112.preferredhomesonline.com/components/com_pho/images/wb_images/image_2035265112.jpg', 'http://imgsvr803060505.preferredhomesonline.com/components/com_pho/images/wb_images/image_803060505.jpg', 'http://imgsvr1833996603.preferredhomesonline.com/components/com_pho/images/wb_images/image_1833996603.jpg', 'http://imgsvr1495170419.preferredhomesonline.com/components/com_pho/images/wb_images/image_1495170419.jpg', 'http://imgsvr1651467268.preferredhomesonline.com/components/com_pho/images/wb_images/image_1651467268.jpg', 'http://imgsvr1860707309.preferredhomesonline.com/components/com_pho/images/wb_images/image_1860707309.jpg', 'http://imgsvr1996403715.preferredhomesonline.com/components/com_pho/images/wb_images/image_1996403715.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.2737vanness.info/components/com_pho/images/wb_images/thumb2_' + name;
src = 'http://www.2737vanness.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.2737vanness.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('1008372978').style.borderColor = '#000000';
document.getElementById('315831102').style.borderColor = '#000000';
document.getElementById('610438464').style.borderColor = '#000000';
document.getElementById('1790895026').style.borderColor = '#000000';
document.getElementById('955812993').style.borderColor = '#000000';
document.getElementById('1076627493').style.borderColor = '#000000';
document.getElementById('1968057228').style.borderColor = '#000000';
document.getElementById('727736682').style.borderColor = '#000000';
document.getElementById('997827077').style.borderColor = '#000000';
document.getElementById('1263644963').style.borderColor = '#000000';
document.getElementById('1989520695').style.borderColor = '#000000';
document.getElementById('1367443887').style.borderColor = '#000000';
document.getElementById('207381906').style.borderColor = '#000000';
document.getElementById('262621797').style.borderColor = '#000000';
document.getElementById('2138449342').style.borderColor = '#000000';
document.getElementById('1730201268').style.borderColor = '#000000';
document.getElementById('767083258').style.borderColor = '#000000';
document.getElementById('1950117927').style.borderColor = '#000000';
document.getElementById('1851581260').style.borderColor = '#000000';
document.getElementById('1927437492').style.borderColor = '#000000';
document.getElementById('303936184').style.borderColor = '#000000';
document.getElementById('1808196578').style.borderColor = '#000000';
document.getElementById('137056149').style.borderColor = '#000000';
document.getElementById('772028706').style.borderColor = '#000000';
document.getElementById('80424409').style.borderColor = '#000000';
document.getElementById('992245532').style.borderColor = '#000000';
document.getElementById('69899909').style.borderColor = '#000000';
document.getElementById('1883063636').style.borderColor = '#000000';
document.getElementById('1452732144').style.borderColor = '#000000';
document.getElementById('1959965327').style.borderColor = '#000000';
document.getElementById('1764233010').style.borderColor = '#000000';
document.getElementById('601987759').style.borderColor = '#000000';
document.getElementById('412024046').style.borderColor = '#000000';
document.getElementById('1793168339').style.borderColor = '#000000';
document.getElementById('193484279').style.borderColor = '#000000';
document.getElementById('662699660').style.borderColor = '#000000';
document.getElementById('1469561666').style.borderColor = '#000000';
document.getElementById('821037259').style.borderColor = '#000000';
document.getElementById('458551014').style.borderColor = '#000000';
document.getElementById('1223883963').style.borderColor = '#000000';
document.getElementById('1119504732').style.borderColor = '#000000';
document.getElementById('1933705873').style.borderColor = '#000000';
document.getElementById('1292191474').style.borderColor = '#000000';
document.getElementById('2035265112').style.borderColor = '#000000';
document.getElementById('803060505').style.borderColor = '#000000';
document.getElementById('1833996603').style.borderColor = '#000000';
document.getElementById('1495170419').style.borderColor = '#000000';
document.getElementById('1651467268').style.borderColor = '#000000';
document.getElementById('1860707309').style.borderColor = '#000000';
document.getElementById('1996403715').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;
}