var slidespeed=3000; var slideimages=new Array('image_1943433046.jpg', 'image_1451996135.jpg', 'image_290538585.jpg', 'image_439971927.jpg', 'image_1651245063.jpg', 'image_1901015284.jpg', 'image_1591394127.jpg', 'image_1032966818.jpg', 'image_28231518.jpg', 'image_1800916720.jpg', 'image_1434381690.jpg', 'image_1194525607.jpg', 'image_2082141648.jpg', 'image_1505083493.jpg', 'image_1056192084.jpg', 'image_1265005949.jpg', 'image_992286668.jpg', 'image_2102273686.jpg', 'image_354549116.jpg', 'image_1776107660.jpg', 'image_182239692.jpg', 'image_28587948.jpg', 'image_1525286146.jpg', 'image_699209127.jpg', 'image_196804291.jpg', 'image_1942121617.jpg', 'image_604209766.jpg', 'image_1629262782.jpg', 'image_1994530426.jpg', 'image_1115881783.jpg', 'image_1510545338.jpg', 'image_1110464492.jpg', 'image_307956863.jpg', 'image_395288886.jpg', 'image_1864631680.jpg', 'image_1772657641.jpg') var slideimg=new Array('1943433046', '1451996135', '290538585', '439971927', '1651245063', '1901015284', '1591394127', '1032966818', '28231518', '1800916720', '1434381690', '1194525607', '2082141648', '1505083493', '1056192084', '1265005949', '992286668', '2102273686', '354549116', '1776107660', '182239692', '28587948', '1525286146', '699209127', '196804291', '1942121617', '604209766', '1629262782', '1994530426', '1115881783', '1510545338', '1110464492', '307956863', '395288886', '1864631680', '1772657641') var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '') var slideimgPath=new Array('http://imgsvr1943433046.preferredhomesonline.com/components/com_pho/images/wb_images/image_1943433046.jpg', 'http://imgsvr1451996135.preferredhomesonline.com/components/com_pho/images/wb_images/image_1451996135.jpg', 'http://imgsvr290538585.preferredhomesonline.com/components/com_pho/images/wb_images/image_290538585.jpg', 'http://imgsvr439971927.preferredhomesonline.com/components/com_pho/images/wb_images/image_439971927.jpg', 'http://imgsvr1651245063.preferredhomesonline.com/components/com_pho/images/wb_images/image_1651245063.jpg', 'http://imgsvr1901015284.preferredhomesonline.com/components/com_pho/images/wb_images/image_1901015284.jpg', 'http://imgsvr1591394127.preferredhomesonline.com/components/com_pho/images/wb_images/image_1591394127.jpg', 'http://imgsvr1032966818.preferredhomesonline.com/components/com_pho/images/wb_images/image_1032966818.jpg', 'http://imgsvr28231518.preferredhomesonline.com/components/com_pho/images/wb_images/image_28231518.jpg', 'http://imgsvr1800916720.preferredhomesonline.com/components/com_pho/images/wb_images/image_1800916720.jpg', 'http://imgsvr1434381690.preferredhomesonline.com/components/com_pho/images/wb_images/image_1434381690.jpg', 'http://imgsvr1194525607.preferredhomesonline.com/components/com_pho/images/wb_images/image_1194525607.jpg', 'http://imgsvr2082141648.preferredhomesonline.com/components/com_pho/images/wb_images/image_2082141648.jpg', 'http://imgsvr1505083493.preferredhomesonline.com/components/com_pho/images/wb_images/image_1505083493.jpg', 'http://imgsvr1056192084.preferredhomesonline.com/components/com_pho/images/wb_images/image_1056192084.jpg', 'http://imgsvr1265005949.preferredhomesonline.com/components/com_pho/images/wb_images/image_1265005949.jpg', 'http://imgsvr992286668.preferredhomesonline.com/components/com_pho/images/wb_images/image_992286668.jpg', 'http://imgsvr2102273686.preferredhomesonline.com/components/com_pho/images/wb_images/image_2102273686.jpg', 'http://imgsvr354549116.preferredhomesonline.com/components/com_pho/images/wb_images/image_354549116.jpg', 'http://imgsvr1776107660.preferredhomesonline.com/components/com_pho/images/wb_images/image_1776107660.jpg', 'http://imgsvr182239692.preferredhomesonline.com/components/com_pho/images/wb_images/image_182239692.jpg', 'http://imgsvr28587948.preferredhomesonline.com/components/com_pho/images/wb_images/image_28587948.jpg', 'http://imgsvr1525286146.preferredhomesonline.com/components/com_pho/images/wb_images/image_1525286146.jpg', 'http://imgsvr699209127.preferredhomesonline.com/components/com_pho/images/wb_images/image_699209127.jpg', 'http://imgsvr196804291.preferredhomesonline.com/components/com_pho/images/wb_images/image_196804291.jpg', 'http://imgsvr1942121617.preferredhomesonline.com/components/com_pho/images/wb_images/image_1942121617.jpg', 'http://imgsvr604209766.preferredhomesonline.com/components/com_pho/images/wb_images/image_604209766.jpg', 'http://imgsvr1629262782.preferredhomesonline.com/components/com_pho/images/wb_images/image_1629262782.jpg', 'http://imgsvr1994530426.preferredhomesonline.com/components/com_pho/images/wb_images/image_1994530426.jpg', 'http://imgsvr1115881783.preferredhomesonline.com/components/com_pho/images/wb_images/image_1115881783.jpg', 'http://imgsvr1510545338.preferredhomesonline.com/components/com_pho/images/wb_images/image_1510545338.jpg', 'http://imgsvr1110464492.preferredhomesonline.com/components/com_pho/images/wb_images/image_1110464492.jpg', 'http://imgsvr307956863.preferredhomesonline.com/components/com_pho/images/wb_images/image_307956863.jpg', 'http://imgsvr395288886.preferredhomesonline.com/components/com_pho/images/wb_images/image_395288886.jpg', 'http://imgsvr1864631680.preferredhomesonline.com/components/com_pho/images/wb_images/image_1864631680.jpg', 'http://imgsvr1772657641.preferredhomesonline.com/components/com_pho/images/wb_images/image_1772657641.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.251lindenave.info/components/com_pho/images/wb_images/thumb2_' + name; src = 'http://www.251lindenave.info/images/login_to_view.gif'; html = 'No preview available'; 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.251lindenave.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('1943433046').style.borderColor = '#000000'; document.getElementById('1451996135').style.borderColor = '#000000'; document.getElementById('290538585').style.borderColor = '#000000'; document.getElementById('439971927').style.borderColor = '#000000'; document.getElementById('1651245063').style.borderColor = '#000000'; document.getElementById('1901015284').style.borderColor = '#000000'; document.getElementById('1591394127').style.borderColor = '#000000'; document.getElementById('1032966818').style.borderColor = '#000000'; document.getElementById('28231518').style.borderColor = '#000000'; document.getElementById('1800916720').style.borderColor = '#000000'; document.getElementById('1434381690').style.borderColor = '#000000'; document.getElementById('1194525607').style.borderColor = '#000000'; document.getElementById('2082141648').style.borderColor = '#000000'; document.getElementById('1505083493').style.borderColor = '#000000'; document.getElementById('1056192084').style.borderColor = '#000000'; document.getElementById('1265005949').style.borderColor = '#000000'; document.getElementById('992286668').style.borderColor = '#000000'; document.getElementById('2102273686').style.borderColor = '#000000'; document.getElementById('354549116').style.borderColor = '#000000'; document.getElementById('1776107660').style.borderColor = '#000000'; document.getElementById('182239692').style.borderColor = '#000000'; document.getElementById('28587948').style.borderColor = '#000000'; document.getElementById('1525286146').style.borderColor = '#000000'; document.getElementById('699209127').style.borderColor = '#000000'; document.getElementById('196804291').style.borderColor = '#000000'; document.getElementById('1942121617').style.borderColor = '#000000'; document.getElementById('604209766').style.borderColor = '#000000'; document.getElementById('1629262782').style.borderColor = '#000000'; document.getElementById('1994530426').style.borderColor = '#000000'; document.getElementById('1115881783').style.borderColor = '#000000'; document.getElementById('1510545338').style.borderColor = '#000000'; document.getElementById('1110464492').style.borderColor = '#000000'; document.getElementById('307956863').style.borderColor = '#000000'; document.getElementById('395288886').style.borderColor = '#000000'; document.getElementById('1864631680').style.borderColor = '#000000'; document.getElementById('1772657641').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; }