var slidespeed=3000;
var slideimages=new Array('image_417031370.jpg', 'image_828276208.jpg', 'image_40113878.jpg', 'image_1291128903.jpg', 'image_70511535.jpg', 'image_443320786.jpg', 'image_1811036924.jpg', 'image_296187577.jpg', 'image_1765262740.jpg', 'image_1932381688.jpg', 'image_749603654.jpg', 'image_2083087632.jpg', 'image_2056745074.jpg', 'image_786315390.jpg', 'image_405139651.jpg', 'image_2107305753.jpg', 'image_272406896.jpg', 'image_474186218.jpg')
var slideimg=new Array('417031370', '828276208', '40113878', '1291128903', '70511535', '443320786', '1811036924', '296187577', '1765262740', '1932381688', '749603654', '2083087632', '2056745074', '786315390', '405139651', '2107305753', '272406896', '474186218')
var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
var slideimgPath=new Array('http://imgsvr417031370.preferredhomesonline.com/components/com_pho/images/wb_images/image_417031370.jpg', 'http://imgsvr828276208.preferredhomesonline.com/components/com_pho/images/wb_images/image_828276208.jpg', 'http://imgsvr40113878.preferredhomesonline.com/components/com_pho/images/wb_images/image_40113878.jpg', 'http://imgsvr1291128903.preferredhomesonline.com/components/com_pho/images/wb_images/image_1291128903.jpg', 'http://imgsvr70511535.preferredhomesonline.com/components/com_pho/images/wb_images/image_70511535.jpg', 'http://imgsvr443320786.preferredhomesonline.com/components/com_pho/images/wb_images/image_443320786.jpg', 'http://imgsvr1811036924.preferredhomesonline.com/components/com_pho/images/wb_images/image_1811036924.jpg', 'http://imgsvr296187577.preferredhomesonline.com/components/com_pho/images/wb_images/image_296187577.jpg', 'http://imgsvr1765262740.preferredhomesonline.com/components/com_pho/images/wb_images/image_1765262740.jpg', 'http://imgsvr1932381688.preferredhomesonline.com/components/com_pho/images/wb_images/image_1932381688.jpg', 'http://imgsvr749603654.preferredhomesonline.com/components/com_pho/images/wb_images/image_749603654.jpg', 'http://imgsvr2083087632.preferredhomesonline.com/components/com_pho/images/wb_images/image_2083087632.jpg', 'http://imgsvr2056745074.preferredhomesonline.com/components/com_pho/images/wb_images/image_2056745074.jpg', 'http://imgsvr786315390.preferredhomesonline.com/components/com_pho/images/wb_images/image_786315390.jpg', 'http://imgsvr405139651.preferredhomesonline.com/components/com_pho/images/wb_images/image_405139651.jpg', 'http://imgsvr2107305753.preferredhomesonline.com/components/com_pho/images/wb_images/image_2107305753.jpg', 'http://imgsvr272406896.preferredhomesonline.com/components/com_pho/images/wb_images/image_272406896.jpg', 'http://imgsvr474186218.preferredhomesonline.com/components/com_pho/images/wb_images/image_474186218.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.8923nmatus.info/components/com_pho/images/wb_images/thumb2_' + name;
src = 'http://www.8923nmatus.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.8923nmatus.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('417031370').style.borderColor = '#ffffff';
document.getElementById('828276208').style.borderColor = '#ffffff';
document.getElementById('40113878').style.borderColor = '#ffffff';
document.getElementById('1291128903').style.borderColor = '#ffffff';
document.getElementById('70511535').style.borderColor = '#ffffff';
document.getElementById('443320786').style.borderColor = '#ffffff';
document.getElementById('1811036924').style.borderColor = '#ffffff';
document.getElementById('296187577').style.borderColor = '#ffffff';
document.getElementById('1765262740').style.borderColor = '#ffffff';
document.getElementById('1932381688').style.borderColor = '#ffffff';
document.getElementById('749603654').style.borderColor = '#ffffff';
document.getElementById('2083087632').style.borderColor = '#ffffff';
document.getElementById('2056745074').style.borderColor = '#ffffff';
document.getElementById('786315390').style.borderColor = '#ffffff';
document.getElementById('405139651').style.borderColor = '#ffffff';
document.getElementById('2107305753').style.borderColor = '#ffffff';
document.getElementById('272406896').style.borderColor = '#ffffff';
document.getElementById('474186218').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;
}