var slidespeed=3000; var slideimages=new Array('image_1306297992.jpg', 'image_1728982422.jpg', 'image_1040257897.jpg', 'image_128459114.jpg', 'image_1295836655.jpg', 'image_1412541981.jpg', 'image_689180263.jpg', 'image_1539838633.jpg', 'image_802952321.jpg', 'image_1776274771.jpg', 'image_841001331.jpg', 'image_1083456206.jpg', 'image_1489061645.jpg', 'image_1732079871.jpg', 'image_284531623.jpg', 'image_125456603.jpg', 'image_1866302957.jpg', 'image_1043468168.jpg', 'image_545743482.jpg', 'image_1182172985.jpg', 'image_831871455.jpg', 'image_497594558.jpg', 'image_2106851771.jpg', 'image_1279064937.jpg', 'image_1928021241.jpg', 'image_1548414672.jpg', 'image_221981445.jpg', 'image_764489604.jpg', 'image_2100529010.jpg', 'image_1316221806.jpg', 'image_1760482346.jpg', 'image_1427141880.jpg', 'image_1570579102.jpg', 'image_1211595685.jpg', 'image_2028429331.jpg', 'image_816978549.jpg', 'image_1829576888.jpg') var slideimg=new Array('1306297992', '1728982422', '1040257897', '128459114', '1295836655', '1412541981', '689180263', '1539838633', '802952321', '1776274771', '841001331', '1083456206', '1489061645', '1732079871', '284531623', '125456603', '1866302957', '1043468168', '545743482', '1182172985', '831871455', '497594558', '2106851771', '1279064937', '1928021241', '1548414672', '221981445', '764489604', '2100529010', '1316221806', '1760482346', '1427141880', '1570579102', '1211595685', '2028429331', '816978549', '1829576888') var slideimgalt=new Array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '') var slideimgPath=new Array('http://imgsvr1306297992.preferredhomesonline.com/components/com_pho/images/wb_images/image_1306297992.jpg', 'http://imgsvr1728982422.preferredhomesonline.com/components/com_pho/images/wb_images/image_1728982422.jpg', 'http://imgsvr1040257897.preferredhomesonline.com/components/com_pho/images/wb_images/image_1040257897.jpg', 'http://imgsvr128459114.preferredhomesonline.com/components/com_pho/images/wb_images/image_128459114.jpg', 'http://imgsvr1295836655.preferredhomesonline.com/components/com_pho/images/wb_images/image_1295836655.jpg', 'http://imgsvr1412541981.preferredhomesonline.com/components/com_pho/images/wb_images/image_1412541981.jpg', 'http://imgsvr689180263.preferredhomesonline.com/components/com_pho/images/wb_images/image_689180263.jpg', 'http://imgsvr1539838633.preferredhomesonline.com/components/com_pho/images/wb_images/image_1539838633.jpg', 'http://imgsvr802952321.preferredhomesonline.com/components/com_pho/images/wb_images/image_802952321.jpg', 'http://imgsvr1776274771.preferredhomesonline.com/components/com_pho/images/wb_images/image_1776274771.jpg', 'http://imgsvr841001331.preferredhomesonline.com/components/com_pho/images/wb_images/image_841001331.jpg', 'http://imgsvr1083456206.preferredhomesonline.com/components/com_pho/images/wb_images/image_1083456206.jpg', 'http://imgsvr1489061645.preferredhomesonline.com/components/com_pho/images/wb_images/image_1489061645.jpg', 'http://imgsvr1732079871.preferredhomesonline.com/components/com_pho/images/wb_images/image_1732079871.jpg', 'http://imgsvr284531623.preferredhomesonline.com/components/com_pho/images/wb_images/image_284531623.jpg', 'http://imgsvr125456603.preferredhomesonline.com/components/com_pho/images/wb_images/image_125456603.jpg', 'http://imgsvr1866302957.preferredhomesonline.com/components/com_pho/images/wb_images/image_1866302957.jpg', 'http://imgsvr1043468168.preferredhomesonline.com/components/com_pho/images/wb_images/image_1043468168.jpg', 'http://imgsvr545743482.preferredhomesonline.com/components/com_pho/images/wb_images/image_545743482.jpg', 'http://imgsvr1182172985.preferredhomesonline.com/components/com_pho/images/wb_images/image_1182172985.jpg', 'http://imgsvr831871455.preferredhomesonline.com/components/com_pho/images/wb_images/image_831871455.jpg', 'http://imgsvr497594558.preferredhomesonline.com/components/com_pho/images/wb_images/image_497594558.jpg', 'http://imgsvr2106851771.preferredhomesonline.com/components/com_pho/images/wb_images/image_2106851771.jpg', 'http://imgsvr1279064937.preferredhomesonline.com/components/com_pho/images/wb_images/image_1279064937.jpg', 'http://imgsvr1928021241.preferredhomesonline.com/components/com_pho/images/wb_images/image_1928021241.jpg', 'http://imgsvr1548414672.preferredhomesonline.com/components/com_pho/images/wb_images/image_1548414672.jpg', 'http://imgsvr221981445.preferredhomesonline.com/components/com_pho/images/wb_images/image_221981445.jpg', 'http://imgsvr764489604.preferredhomesonline.com/components/com_pho/images/wb_images/image_764489604.jpg', 'http://imgsvr2100529010.preferredhomesonline.com/components/com_pho/images/wb_images/image_2100529010.jpg', 'http://imgsvr1316221806.preferredhomesonline.com/components/com_pho/images/wb_images/image_1316221806.jpg', 'http://imgsvr1760482346.preferredhomesonline.com/components/com_pho/images/wb_images/image_1760482346.jpg', 'http://imgsvr1427141880.preferredhomesonline.com/components/com_pho/images/wb_images/image_1427141880.jpg', 'http://imgsvr1570579102.preferredhomesonline.com/components/com_pho/images/wb_images/image_1570579102.jpg', 'http://imgsvr1211595685.preferredhomesonline.com/components/com_pho/images/wb_images/image_1211595685.jpg', 'http://imgsvr2028429331.preferredhomesonline.com/components/com_pho/images/wb_images/image_2028429331.jpg', 'http://imgsvr816978549.preferredhomesonline.com/components/com_pho/images/wb_images/image_816978549.jpg', 'http://imgsvr1829576888.preferredhomesonline.com/components/com_pho/images/wb_images/image_1829576888.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.41611corlew.info/components/com_pho/images/wb_images/thumb2_' + name; src = 'http://www.41611corlew.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.41611corlew.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('1306297992').style.borderColor = '#ffffff'; document.getElementById('1728982422').style.borderColor = '#ffffff'; document.getElementById('1040257897').style.borderColor = '#ffffff'; document.getElementById('128459114').style.borderColor = '#ffffff'; document.getElementById('1295836655').style.borderColor = '#ffffff'; document.getElementById('1412541981').style.borderColor = '#ffffff'; document.getElementById('689180263').style.borderColor = '#ffffff'; document.getElementById('1539838633').style.borderColor = '#ffffff'; document.getElementById('802952321').style.borderColor = '#ffffff'; document.getElementById('1776274771').style.borderColor = '#ffffff'; document.getElementById('841001331').style.borderColor = '#ffffff'; document.getElementById('1083456206').style.borderColor = '#ffffff'; document.getElementById('1489061645').style.borderColor = '#ffffff'; document.getElementById('1732079871').style.borderColor = '#ffffff'; document.getElementById('284531623').style.borderColor = '#ffffff'; document.getElementById('125456603').style.borderColor = '#ffffff'; document.getElementById('1866302957').style.borderColor = '#ffffff'; document.getElementById('1043468168').style.borderColor = '#ffffff'; document.getElementById('545743482').style.borderColor = '#ffffff'; document.getElementById('1182172985').style.borderColor = '#ffffff'; document.getElementById('831871455').style.borderColor = '#ffffff'; document.getElementById('497594558').style.borderColor = '#ffffff'; document.getElementById('2106851771').style.borderColor = '#ffffff'; document.getElementById('1279064937').style.borderColor = '#ffffff'; document.getElementById('1928021241').style.borderColor = '#ffffff'; document.getElementById('1548414672').style.borderColor = '#ffffff'; document.getElementById('221981445').style.borderColor = '#ffffff'; document.getElementById('764489604').style.borderColor = '#ffffff'; document.getElementById('2100529010').style.borderColor = '#ffffff'; document.getElementById('1316221806').style.borderColor = '#ffffff'; document.getElementById('1760482346').style.borderColor = '#ffffff'; document.getElementById('1427141880').style.borderColor = '#ffffff'; document.getElementById('1570579102').style.borderColor = '#ffffff'; document.getElementById('1211595685').style.borderColor = '#ffffff'; document.getElementById('2028429331').style.borderColor = '#ffffff'; document.getElementById('816978549').style.borderColor = '#ffffff'; document.getElementById('1829576888').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; }