var timenowrandimage68685 = 0; var counttimerrandimage68685 = -1; var timesetrandimage68685 = 5; var nimagerandimage68685 = new Image; var imagesrandimage68685 = new Array('http://www.cgiconnection.com/randimage3/images/home3.jpg','http://www.cgiconnection.com/randimage3/images/home4.jpg','http://www.cgiconnection.com/randimage3/images/home5.jpg','http://www.cgiconnection.com/randimage3/images/home1.jpg','http://www.cgiconnection.com/randimage3/images/home2.jpg'); var urlsrandimage68685 = new Array('http://www.cgiconnection.com/randimage3/images/home3.jpg','http://www.cgiconnection.com/randimage3/images/home4.jpg','http://www.cgiconnection.com/randimage3/images/home5.jpg','http://www.cgiconnection.com/randimage3/images/home1.jpg','http://www.cgiconnection.com/randimage3/images/home2.jpg'); var timesrandimage68685 = new Array('','','','',''); var newwinsrandimage68685 = new Array('Y','Y','Y','Y','Y'); var footersrandimage68685 = new Array('Demo House #3','Demo House #4','Demo House #5','Demo House #1','Demo House #2'); var timerrandimage68685; var timerfrandimage68685; var i = 0; var preloadimgrandimage68685 = 1; var footerrandimage68685 = '
Click the above picture to open in a new window'; var statusrandimage68685 = ''; var fadeSpeedrandimage68685 = 25; var outTime = 2100 - (fadeSpeedrandimage68685 * 35); var objrandimage68685; var opacityrandimage68685; var nsrandimage68685 = document.layers; var ierandimage68685 = document.all; var fadeinvalrandimage68685 = "Y"; var fadeoutvalrandimage68685 = "Y"; if (preloadimgrandimage68685 == 1) { for(i=0; i < imagesrandimage68685.length; i++) { nimagerandimage68685.src = imagesrandimage68685[i]; } } function setOpacrandimage68685(objrandimage68685, opacityrandimage68685) { opacityrandimage68685 = (opacityrandimage68685 == 100)?99.999:opacityrandimage68685; if (nsrandimage68685) { // Older Mozilla and Firefox objrandimage68685.style.MozOpacity = opacityrandimage68685/100; } else if (ierandimage68685) { // IE/Win objrandimage68685.style.filter = "alpha(opacity:"+opacityrandimage68685+")"; } else { // Safari 1.2, newer Firefox and Mozilla, CSS3 objrandimage68685.style.opacity = opacityrandimage68685/100; } } function fadeInrandimage68685(objIdrandimage68685,opacityrandimage68685) { if (document.getElementById) { objrandimage68685 = document.getElementById(objIdrandimage68685); if (opacityrandimage68685 <= 100) { setOpacrandimage68685(objrandimage68685, opacityrandimage68685); opacityrandimage68685 += fadeSpeedrandimage68685; window.setTimeout("fadeInrandimage68685('" + objIdrandimage68685 +"',"+opacityrandimage68685+")", 100); } else { setOpacrandimage68685(objrandimage68685, 100); } } } function fadeOutrandimage68685(objIdrandimage68685,opacityrandimage68685) { if (document.getElementById) { objrandimage68685 = document.getElementById(objIdrandimage68685); if (opacityrandimage68685 >= 0) { setOpacrandimage68685(objrandimage68685, opacityrandimage68685); opacityrandimage68685 = opacityrandimage68685 - fadeSpeedrandimage68685; window.setTimeout("fadeOutrandimage68685('" + objIdrandimage68685 +"',"+opacityrandimage68685+")", 100); } else { setOpacrandimage68685(objrandimage68685, 0); } } } function changeTextrandimage68685(div_id,val){ elm=document.getElementById(div_id); elm.innerHTML = '

' + val + footerrandimage68685 + '

'; } document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); document.write(''); document.write('
'); document.write('
Previous Home                    Next Home
'); var imageIdrandimage68685 = 'randimage68685'; var imageElemrandimage68685 = document.getElementById(imageIdrandimage68685); function go_urlrandimage68685() { window.status = statusrandimage68685; if (urlsrandimage68685[counttimerrandimage68685] != "" && urlsrandimage68685[counttimerrandimage68685] != "http://") { if (newwinsrandimage68685[counttimerrandimage68685] == "Y") { window.open(urlsrandimage68685[counttimerrandimage68685],'RandomImage','resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,location=yes,width=790,height=550,top=10,left=10'); } else { location.href = urlsrandimage68685[counttimerrandimage68685]; } } } function go_backrandimage68685() { clearTimeout(timerfrandimage68685); window.status = statusrandimage68685; counttimerrandimage68685 = counttimerrandimage68685 - 1; begin_imagerandimage68685(1); } function go_nextrandimage68685() { clearTimeout(timerfrandimage68685); window.status = statusrandimage68685; counttimerrandimage68685++; begin_imagerandimage68685(1); } function begin_imagerandimage68685(doit) { if (counttimerrandimage68685 >= (imagesrandimage68685.length - 1)) { if (doit < 1) { counttimerrandimage68685 = 0; } } else { if (doit < 1) { counttimerrandimage68685++; } } if (counttimerrandimage68685 < 0 && doit == 1) { counttimerrandimage68685 = imagesrandimage68685.length - 1; } if (counttimerrandimage68685 > (imagesrandimage68685.length - 1) && doit == 1) { counttimerrandimage68685 = 0; } var tempTime = timesrandimage68685[counttimerrandimage68685]; if (tempTime < 1) { tempTime = timesetrandimage68685; } tempTime = tempTime * 1000; if (fadeinvalrandimage68685 == 'Y') { setOpacrandimage68685(imageElemrandimage68685, 0); } if (fadeinvalrandimage68685 == '' && fadeoutvalrandimage68685 == 'Y') { setOpacrandimage68685(imageElemrandimage68685, 100); } nimagerandimage68685.src = imagesrandimage68685[counttimerrandimage68685]; document.randimage68685.src = nimagerandimage68685.src; changeTextrandimage68685("divtextrandimage68685",footersrandimage68685[counttimerrandimage68685]); if (fadeinvalrandimage68685 == 'Y') { fadeInrandimage68685(imageIdrandimage68685,0); } if (fadeoutvalrandimage68685 == 'Y') { timerfrandimage68685 = setTimeout('fadeOutrandimage68685(imageIdrandimage68685,100);', (tempTime - outTime)); } clearTimeout(timerrandimage68685); timerrandimage68685 = setTimeout('begin_imagerandimage68685(0);', tempTime); } begin_imagerandimage68685(0);