var slidespeed=3000;
var slideimages=new Array('image_1256897397.jpg', 'image_1433528854.jpg', 'image_1065291404.jpg', 'image_712037966.jpg', 'image_128088453.jpg', 'image_1658944788.jpg', 'image_843869948.jpg', 'image_264211264.jpg', 'image_1339743536.jpg', 'image_1218623187.jpg', 'image_259410982.jpg', 'image_1056946622.jpg', 'image_1220699576.jpg', 'image_2130040890.jpg', 'image_480798193.jpg', 'image_914319011.jpg', 'image_1489059484.jpg', 'image_529162196.jpg', 'image_305415684.jpg')
var slideimg=new Array('1256897397', '1433528854', '1065291404', '712037966', '128088453', '1658944788', '843869948', '264211264', '1339743536', '1218623187', '259410982', '1056946622', '1220699576', '2130040890', '480798193', '914319011', '1489059484', '529162196', '305415684')
var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
var slideimgPath=new Array('http://imgsvr1256897397.preferredhomesonline.com/components/com_pho/images/wb_images/image_1256897397.jpg', 'http://imgsvr1433528854.preferredhomesonline.com/components/com_pho/images/wb_images/image_1433528854.jpg', 'http://imgsvr1065291404.preferredhomesonline.com/components/com_pho/images/wb_images/image_1065291404.jpg', 'http://imgsvr712037966.preferredhomesonline.com/components/com_pho/images/wb_images/image_712037966.jpg', 'http://imgsvr128088453.preferredhomesonline.com/components/com_pho/images/wb_images/image_128088453.jpg', 'http://imgsvr1658944788.preferredhomesonline.com/components/com_pho/images/wb_images/image_1658944788.jpg', 'http://imgsvr843869948.preferredhomesonline.com/components/com_pho/images/wb_images/image_843869948.jpg', 'http://imgsvr264211264.preferredhomesonline.com/components/com_pho/images/wb_images/image_264211264.jpg', 'http://imgsvr1339743536.preferredhomesonline.com/components/com_pho/images/wb_images/image_1339743536.jpg', 'http://imgsvr1218623187.preferredhomesonline.com/components/com_pho/images/wb_images/image_1218623187.jpg', 'http://imgsvr259410982.preferredhomesonline.com/components/com_pho/images/wb_images/image_259410982.jpg', 'http://imgsvr1056946622.preferredhomesonline.com/components/com_pho/images/wb_images/image_1056946622.jpg', 'http://imgsvr1220699576.preferredhomesonline.com/components/com_pho/images/wb_images/image_1220699576.jpg', 'http://imgsvr2130040890.preferredhomesonline.com/components/com_pho/images/wb_images/image_2130040890.jpg', 'http://imgsvr480798193.preferredhomesonline.com/components/com_pho/images/wb_images/image_480798193.jpg', 'http://imgsvr914319011.preferredhomesonline.com/components/com_pho/images/wb_images/image_914319011.jpg', 'http://imgsvr1489059484.preferredhomesonline.com/components/com_pho/images/wb_images/image_1489059484.jpg', 'http://imgsvr529162196.preferredhomesonline.com/components/com_pho/images/wb_images/image_529162196.jpg', 'http://imgsvr305415684.preferredhomesonline.com/components/com_pho/images/wb_images/image_305415684.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.2741locust.info/components/com_pho/images/wb_images/thumb2_' + name;
src = 'http://www.2741locust.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.2741locust.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('1256897397').style.borderColor = '#ffffff';
document.getElementById('1433528854').style.borderColor = '#ffffff';
document.getElementById('1065291404').style.borderColor = '#ffffff';
document.getElementById('712037966').style.borderColor = '#ffffff';
document.getElementById('128088453').style.borderColor = '#ffffff';
document.getElementById('1658944788').style.borderColor = '#ffffff';
document.getElementById('843869948').style.borderColor = '#ffffff';
document.getElementById('264211264').style.borderColor = '#ffffff';
document.getElementById('1339743536').style.borderColor = '#ffffff';
document.getElementById('1218623187').style.borderColor = '#ffffff';
document.getElementById('259410982').style.borderColor = '#ffffff';
document.getElementById('1056946622').style.borderColor = '#ffffff';
document.getElementById('1220699576').style.borderColor = '#ffffff';
document.getElementById('2130040890').style.borderColor = '#ffffff';
document.getElementById('480798193').style.borderColor = '#ffffff';
document.getElementById('914319011').style.borderColor = '#ffffff';
document.getElementById('1489059484').style.borderColor = '#ffffff';
document.getElementById('529162196').style.borderColor = '#ffffff';
document.getElementById('305415684').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;
}