var slidespeed=3000;
var slideimages=new Array('image_1918682442.jpg', 'image_161464306.jpg', 'image_119633529.jpg', 'image_1422337917.jpg', 'image_1381614048.jpg', 'image_200929862.jpg', 'image_691325084.jpg', 'image_1500910145.jpg', 'image_1237752768.jpg', 'image_1542699586.jpg', 'image_186760845.jpg', 'image_1038674397.jpg', 'image_1262692467.jpg', 'image_1418493161.jpg', 'image_1702751741.jpg', 'image_427013736.jpg', 'image_420535415.jpg', 'image_315178587.jpg', 'image_145860327.jpg', 'image_552312124.jpg', 'image_93292362.jpg', 'image_93737336.jpg', 'image_1849775545.jpg', 'image_1624923333.jpg', 'image_915723185.jpg')
var slideimg=new Array('1918682442', '161464306', '119633529', '1422337917', '1381614048', '200929862', '691325084', '1500910145', '1237752768', '1542699586', '186760845', '1038674397', '1262692467', '1418493161', '1702751741', '427013736', '420535415', '315178587', '145860327', '552312124', '93292362', '93737336', '1849775545', '1624923333', '915723185')
var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
var slideimgPath=new Array('http://imgsvr1918682442.preferredhomesonline.com/components/com_pho/images/wb_images/image_1918682442.jpg', 'http://imgsvr161464306.preferredhomesonline.com/components/com_pho/images/wb_images/image_161464306.jpg', 'http://imgsvr119633529.preferredhomesonline.com/components/com_pho/images/wb_images/image_119633529.jpg', 'http://imgsvr1422337917.preferredhomesonline.com/components/com_pho/images/wb_images/image_1422337917.jpg', 'http://imgsvr1381614048.preferredhomesonline.com/components/com_pho/images/wb_images/image_1381614048.jpg', 'http://imgsvr200929862.preferredhomesonline.com/components/com_pho/images/wb_images/image_200929862.jpg', 'http://imgsvr691325084.preferredhomesonline.com/components/com_pho/images/wb_images/image_691325084.jpg', 'http://imgsvr1500910145.preferredhomesonline.com/components/com_pho/images/wb_images/image_1500910145.jpg', 'http://imgsvr1237752768.preferredhomesonline.com/components/com_pho/images/wb_images/image_1237752768.jpg', 'http://imgsvr1542699586.preferredhomesonline.com/components/com_pho/images/wb_images/image_1542699586.jpg', 'http://imgsvr186760845.preferredhomesonline.com/components/com_pho/images/wb_images/image_186760845.jpg', 'http://imgsvr1038674397.preferredhomesonline.com/components/com_pho/images/wb_images/image_1038674397.jpg', 'http://imgsvr1262692467.preferredhomesonline.com/components/com_pho/images/wb_images/image_1262692467.jpg', 'http://imgsvr1418493161.preferredhomesonline.com/components/com_pho/images/wb_images/image_1418493161.jpg', 'http://imgsvr1702751741.preferredhomesonline.com/components/com_pho/images/wb_images/image_1702751741.jpg', 'http://imgsvr427013736.preferredhomesonline.com/components/com_pho/images/wb_images/image_427013736.jpg', 'http://imgsvr420535415.preferredhomesonline.com/components/com_pho/images/wb_images/image_420535415.jpg', 'http://imgsvr315178587.preferredhomesonline.com/components/com_pho/images/wb_images/image_315178587.jpg', 'http://imgsvr145860327.preferredhomesonline.com/components/com_pho/images/wb_images/image_145860327.jpg', 'http://imgsvr552312124.preferredhomesonline.com/components/com_pho/images/wb_images/image_552312124.jpg', 'http://imgsvr93292362.preferredhomesonline.com/components/com_pho/images/wb_images/image_93292362.jpg', 'http://imgsvr93737336.preferredhomesonline.com/components/com_pho/images/wb_images/image_93737336.jpg', 'http://imgsvr1849775545.preferredhomesonline.com/components/com_pho/images/wb_images/image_1849775545.jpg', 'http://imgsvr1624923333.preferredhomesonline.com/components/com_pho/images/wb_images/image_1624923333.jpg', 'http://imgsvr915723185.preferredhomesonline.com/components/com_pho/images/wb_images/image_915723185.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.1092mesa.info/components/com_pho/images/wb_images/thumb2_' + name;
src = 'http://www.1092mesa.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.1092mesa.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('1918682442').style.borderColor = '#ffffff';
document.getElementById('161464306').style.borderColor = '#ffffff';
document.getElementById('119633529').style.borderColor = '#ffffff';
document.getElementById('1422337917').style.borderColor = '#ffffff';
document.getElementById('1381614048').style.borderColor = '#ffffff';
document.getElementById('200929862').style.borderColor = '#ffffff';
document.getElementById('691325084').style.borderColor = '#ffffff';
document.getElementById('1500910145').style.borderColor = '#ffffff';
document.getElementById('1237752768').style.borderColor = '#ffffff';
document.getElementById('1542699586').style.borderColor = '#ffffff';
document.getElementById('186760845').style.borderColor = '#ffffff';
document.getElementById('1038674397').style.borderColor = '#ffffff';
document.getElementById('1262692467').style.borderColor = '#ffffff';
document.getElementById('1418493161').style.borderColor = '#ffffff';
document.getElementById('1702751741').style.borderColor = '#ffffff';
document.getElementById('427013736').style.borderColor = '#ffffff';
document.getElementById('420535415').style.borderColor = '#ffffff';
document.getElementById('315178587').style.borderColor = '#ffffff';
document.getElementById('145860327').style.borderColor = '#ffffff';
document.getElementById('552312124').style.borderColor = '#ffffff';
document.getElementById('93292362').style.borderColor = '#ffffff';
document.getElementById('93737336').style.borderColor = '#ffffff';
document.getElementById('1849775545').style.borderColor = '#ffffff';
document.getElementById('1624923333').style.borderColor = '#ffffff';
document.getElementById('915723185').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;
}