var slidespeed=3000;
var slideimages=new Array('image_1048292653.jpg', 'image_1835076383.jpg', 'image_957883564.jpg', 'image_502944233.jpg', 'image_490166579.jpg', 'image_532593715.jpg', 'image_360069065.jpg', 'image_1315663909.jpg', 'image_179113867.jpg', 'image_695634918.jpg', 'image_1799978506.jpg', 'image_887065230.jpg', 'image_1002147832.jpg', 'image_1910343306.jpg', 'image_1815924836.jpg', 'image_118769980.jpg', 'image_2133500719.jpg', 'image_1891765833.jpg', 'image_534808892.jpg', 'image_185124726.jpg', 'image_1568061199.jpg', 'image_495429701.jpg', 'image_58104077.jpg', 'image_650983554.jpg', 'image_1581377683.jpg', 'image_1318848418.jpg', 'image_1051097064.jpg', 'image_1672860131.jpg', 'image_1267975707.jpg', 'image_1356703355.jpg', 'image_307380249.jpg', 'image_1833764971.jpg', 'image_1947927185.jpg', 'image_315146991.jpg', 'image_454264937.jpg')
var slideimg=new Array('1048292653', '1835076383', '957883564', '502944233', '490166579', '532593715', '360069065', '1315663909', '179113867', '695634918', '1799978506', '887065230', '1002147832', '1910343306', '1815924836', '118769980', '2133500719', '1891765833', '534808892', '185124726', '1568061199', '495429701', '58104077', '650983554', '1581377683', '1318848418', '1051097064', '1672860131', '1267975707', '1356703355', '307380249', '1833764971', '1947927185', '315146991', '454264937')
var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
var slideimgPath=new Array('http://imgsvr1048292653.preferredhomesonline.com/components/com_pho/images/wb_images/image_1048292653.jpg', 'http://imgsvr1835076383.preferredhomesonline.com/components/com_pho/images/wb_images/image_1835076383.jpg', 'http://imgsvr957883564.preferredhomesonline.com/components/com_pho/images/wb_images/image_957883564.jpg', 'http://imgsvr502944233.preferredhomesonline.com/components/com_pho/images/wb_images/image_502944233.jpg', 'http://imgsvr490166579.preferredhomesonline.com/components/com_pho/images/wb_images/image_490166579.jpg', 'http://imgsvr532593715.preferredhomesonline.com/components/com_pho/images/wb_images/image_532593715.jpg', 'http://imgsvr360069065.preferredhomesonline.com/components/com_pho/images/wb_images/image_360069065.jpg', 'http://imgsvr1315663909.preferredhomesonline.com/components/com_pho/images/wb_images/image_1315663909.jpg', 'http://imgsvr179113867.preferredhomesonline.com/components/com_pho/images/wb_images/image_179113867.jpg', 'http://imgsvr695634918.preferredhomesonline.com/components/com_pho/images/wb_images/image_695634918.jpg', 'http://imgsvr1799978506.preferredhomesonline.com/components/com_pho/images/wb_images/image_1799978506.jpg', 'http://imgsvr887065230.preferredhomesonline.com/components/com_pho/images/wb_images/image_887065230.jpg', 'http://imgsvr1002147832.preferredhomesonline.com/components/com_pho/images/wb_images/image_1002147832.jpg', 'http://imgsvr1910343306.preferredhomesonline.com/components/com_pho/images/wb_images/image_1910343306.jpg', 'http://imgsvr1815924836.preferredhomesonline.com/components/com_pho/images/wb_images/image_1815924836.jpg', 'http://imgsvr118769980.preferredhomesonline.com/components/com_pho/images/wb_images/image_118769980.jpg', 'http://imgsvr2133500719.preferredhomesonline.com/components/com_pho/images/wb_images/image_2133500719.jpg', 'http://imgsvr1891765833.preferredhomesonline.com/components/com_pho/images/wb_images/image_1891765833.jpg', 'http://imgsvr534808892.preferredhomesonline.com/components/com_pho/images/wb_images/image_534808892.jpg', 'http://imgsvr185124726.preferredhomesonline.com/components/com_pho/images/wb_images/image_185124726.jpg', 'http://imgsvr1568061199.preferredhomesonline.com/components/com_pho/images/wb_images/image_1568061199.jpg', 'http://imgsvr495429701.preferredhomesonline.com/components/com_pho/images/wb_images/image_495429701.jpg', 'http://imgsvr58104077.preferredhomesonline.com/components/com_pho/images/wb_images/image_58104077.jpg', 'http://imgsvr650983554.preferredhomesonline.com/components/com_pho/images/wb_images/image_650983554.jpg', 'http://imgsvr1581377683.preferredhomesonline.com/components/com_pho/images/wb_images/image_1581377683.jpg', 'http://imgsvr1318848418.preferredhomesonline.com/components/com_pho/images/wb_images/image_1318848418.jpg', 'http://imgsvr1051097064.preferredhomesonline.com/components/com_pho/images/wb_images/image_1051097064.jpg', 'http://imgsvr1672860131.preferredhomesonline.com/components/com_pho/images/wb_images/image_1672860131.jpg', 'http://imgsvr1267975707.preferredhomesonline.com/components/com_pho/images/wb_images/image_1267975707.jpg', 'http://imgsvr1356703355.preferredhomesonline.com/components/com_pho/images/wb_images/image_1356703355.jpg', 'http://imgsvr307380249.preferredhomesonline.com/components/com_pho/images/wb_images/image_307380249.jpg', 'http://imgsvr1833764971.preferredhomesonline.com/components/com_pho/images/wb_images/image_1833764971.jpg', 'http://imgsvr1947927185.preferredhomesonline.com/components/com_pho/images/wb_images/image_1947927185.jpg', 'http://imgsvr315146991.preferredhomesonline.com/components/com_pho/images/wb_images/image_315146991.jpg', 'http://imgsvr454264937.preferredhomesonline.com/components/com_pho/images/wb_images/image_454264937.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.1080mesa.info/components/com_pho/images/wb_images/thumb2_' + name;
src = 'http://www.1080mesa.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.1080mesa.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('1048292653').style.borderColor = '#000000';
document.getElementById('1835076383').style.borderColor = '#000000';
document.getElementById('957883564').style.borderColor = '#000000';
document.getElementById('502944233').style.borderColor = '#000000';
document.getElementById('490166579').style.borderColor = '#000000';
document.getElementById('532593715').style.borderColor = '#000000';
document.getElementById('360069065').style.borderColor = '#000000';
document.getElementById('1315663909').style.borderColor = '#000000';
document.getElementById('179113867').style.borderColor = '#000000';
document.getElementById('695634918').style.borderColor = '#000000';
document.getElementById('1799978506').style.borderColor = '#000000';
document.getElementById('887065230').style.borderColor = '#000000';
document.getElementById('1002147832').style.borderColor = '#000000';
document.getElementById('1910343306').style.borderColor = '#000000';
document.getElementById('1815924836').style.borderColor = '#000000';
document.getElementById('118769980').style.borderColor = '#000000';
document.getElementById('2133500719').style.borderColor = '#000000';
document.getElementById('1891765833').style.borderColor = '#000000';
document.getElementById('534808892').style.borderColor = '#000000';
document.getElementById('185124726').style.borderColor = '#000000';
document.getElementById('1568061199').style.borderColor = '#000000';
document.getElementById('495429701').style.borderColor = '#000000';
document.getElementById('58104077').style.borderColor = '#000000';
document.getElementById('650983554').style.borderColor = '#000000';
document.getElementById('1581377683').style.borderColor = '#000000';
document.getElementById('1318848418').style.borderColor = '#000000';
document.getElementById('1051097064').style.borderColor = '#000000';
document.getElementById('1672860131').style.borderColor = '#000000';
document.getElementById('1267975707').style.borderColor = '#000000';
document.getElementById('1356703355').style.borderColor = '#000000';
document.getElementById('307380249').style.borderColor = '#000000';
document.getElementById('1833764971').style.borderColor = '#000000';
document.getElementById('1947927185').style.borderColor = '#000000';
document.getElementById('315146991').style.borderColor = '#000000';
document.getElementById('454264937').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;
}