var slidespeed=3000; var slideimages=new Array('image_1005430286.jpg', 'image_1912835476.jpg', 'image_1454391937.jpg', 'image_1674027008.jpg', 'image_457575943.jpg', 'image_1388746032.jpg', 'image_289489470.jpg', 'image_2072502072.jpg', 'image_1199926435.jpg', 'image_1552078805.jpg') var slideimg=new Array('1005430286', '1912835476', '1454391937', '1674027008', '457575943', '1388746032', '289489470', '2072502072', '1199926435', '1552078805') var slideimgalt=new Array('Matatagpuan sa .41 acre lot in San Joaquin Country Club Estates', 'Pormal Living Room ay perpekto para sa kawili-wili', 'Malaking Family Room sa kahoy kisame', 'Nakapaloob sa bar w / yelo gumagawa &amp; ref', 'Mapagbigay kusina sa isla / almusal bar, alak cruvient, desk, at dispensa.', 'Pormal Dining Room', 'Impormal na kainan na lugar', 'Taguan ng alak accommodates 3,000 bote', 'Pebbletec pool na may fountain at bukal mineral', 'Private, maturely landscaped likod bakuran') var slideimgPath=new Array('http://imgsvr1005430286.preferredhomesonline.com/components/com_pho/images/wb_images/image_1005430286.jpg', 'http://imgsvr1912835476.preferredhomesonline.com/components/com_pho/images/wb_images/image_1912835476.jpg', 'http://imgsvr1454391937.preferredhomesonline.com/components/com_pho/images/wb_images/image_1454391937.jpg', 'http://imgsvr1674027008.preferredhomesonline.com/components/com_pho/images/wb_images/image_1674027008.jpg', 'http://imgsvr457575943.preferredhomesonline.com/components/com_pho/images/wb_images/image_457575943.jpg', 'http://imgsvr1388746032.preferredhomesonline.com/components/com_pho/images/wb_images/image_1388746032.jpg', 'http://imgsvr289489470.preferredhomesonline.com/components/com_pho/images/wb_images/image_289489470.jpg', 'http://imgsvr2072502072.preferredhomesonline.com/components/com_pho/images/wb_images/image_2072502072.jpg', 'http://imgsvr1199926435.preferredhomesonline.com/components/com_pho/images/wb_images/image_1199926435.jpg', 'http://imgsvr1552078805.preferredhomesonline.com/components/com_pho/images/wb_images/image_1552078805.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.3881locust.info/components/com_pho/images/wb_images/thumb2_' + name; src = 'http://www.3881locust.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.3881locust.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('1005430286').style.borderColor = '#000000'; document.getElementById('1912835476').style.borderColor = '#000000'; document.getElementById('1454391937').style.borderColor = '#000000'; document.getElementById('1674027008').style.borderColor = '#000000'; document.getElementById('457575943').style.borderColor = '#000000'; document.getElementById('1388746032').style.borderColor = '#000000'; document.getElementById('289489470').style.borderColor = '#000000'; document.getElementById('2072502072').style.borderColor = '#000000'; document.getElementById('1199926435').style.borderColor = '#000000'; document.getElementById('1552078805').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; }