var timenowrandimage60063 = 0; var counttimerrandimage60063 = -1; var counttimerlrandimage60063 = counttimerrandimage60063; var timesetrandimage60063 = 10; var nimagerandimage60063 = new Image; var imagesrandimage60063 = new Array('http://members.cgiconnection.com/simonssi742/randimage4/images/Secaucus_Community_041-2.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/Secaucus_Community_036-2.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/Concert_in_the_Park-2.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/Secaucus_Community_038-2.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/806_HCT_Small.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/Harmon_Cove_townhouse_river_view.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/Secaucus_Community_025-2.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/Secaucus_Community_019-2.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/Secaucus_Community_004-2.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/river.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/Secaucus_Community_016-2.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/Secaucus_Community_040-2.jpg','http://members.cgiconnection.com/simonssi742/randimage4/images/Copy_of_Secaucus_Community_008-2.jpg'); var urlsrandimage60063 = new Array('http://www.secaucusproperties.net','http://www.secaucusproperties.net','http://www.secaucusproperties.net','http://secaucusproperties.net','http://www.secaucusproperties.net','http://www.secaucusproperties.net','http://www.secaucusproperties.net','http://www.secaucusproperties.net','http://www.secaucusproperties.net','http://www.secaucusproperties.net','http://www.secaucusproperties.net','http://www.secaucusproperties.net','http://www.secaucusproperties.net'); var timesrandimage60063 = new Array('','','','','','','','','','','','',''); var newwinsrandimage60063 = new Array('','','','','','','','','','','','',''); var footersrandimage60063 = new Array('Frank Lautenberg transfer train station in Secaucus','Laurel Hill Park with boat dock','FREE concerts in the park','Laurel Hill ','Harmon Cove','Harmon Cove on the River','Stores and Outlets within Secaucus','New Secaucus Recreation Center','Feel Good Restaurant and small businesses in the center of town','Canoe on the Hackensack River ','Secaucus Rec Center indoor pool','NJ Transit transfer station','Secaucus Day Care Center'); var timerrandimage60063; var timerfrandimage60063; var i = 0; var preloadimgrandimage60063 = 0; var footerrandimage60063 = '
Powered by CGI Connection'; var statusrandimage60063 = ''; var floatidrandimage60063 = 0; var zoomidrandimage60063 = 0; var carrandimage60063 = 0; var fadeSpeedrandimage60063 = 18; var outTime = 2100 - (fadeSpeedrandimage60063 * 35); var objrandimage60063; var opacityrandimage60063; var nsrandimage60063 = document.layers; var ierandimage60063 = document.all; var fadeinvalrandimage60063 = "Y"; var fadeoutvalrandimage60063 = "Y"; var sliderandimage60063 = 0; var zfrandimage60063 = 0.075; var ztrandimage60063 = 500; var wcrandimage60063; var Elemrandimage60063; var yPosrandimage60063 = 0; var xPosrandimage60063 = 0; var xPostrandimage60063 = 0; var yPostrandimage60063 = 0; var gsrandimage60063 = ""; if (preloadimgrandimage60063 == 1) { for(i=0; i < imagesrandimage60063.length; i++) { nimagerandimage60063.src = imagesrandimage60063[i]; } } function setOpacrandimage60063(objrandimage60063, opacityrandimage60063) { opacityrandimage60063 = (opacityrandimage60063 == 100)?99.999:opacityrandimage60063; if (nsrandimage60063) { objrandimage60063.style.MozOpacity = opacityrandimage60063/100; } else if (ierandimage60063) { objrandimage60063.style.filter = "alpha(opacity:"+opacityrandimage60063+")"; } else { objrandimage60063.style.opacity = opacityrandimage60063/100; } } function fadeInrandimage60063(objIdrandimage60063,opacityrandimage60063) { if (document.getElementById) { objrandimage60063 = document.getElementById(objIdrandimage60063); if (opacityrandimage60063 <= 100) { setOpacrandimage60063(objrandimage60063, opacityrandimage60063); opacityrandimage60063 += fadeSpeedrandimage60063; window.setTimeout("fadeInrandimage60063('" + objIdrandimage60063 +"',"+opacityrandimage60063+")", 100); } else { setOpacrandimage60063(objrandimage60063, 100); } } } function fadeOutrandimage60063(objIdrandimage60063,opacityrandimage60063) { if (document.getElementById) { objrandimage60063 = document.getElementById(objIdrandimage60063); if (opacityrandimage60063 >= 0) { setOpacrandimage60063(objrandimage60063, opacityrandimage60063); opacityrandimage60063 = opacityrandimage60063 - fadeSpeedrandimage60063; window.setTimeout("fadeOutrandimage60063('" + objIdrandimage60063 +"',"+opacityrandimage60063+")", 100); } else { setOpacrandimage60063(objrandimage60063, 0); } } } function changeTextrandimage60063(div_id,val){ elm=document.getElementById(div_id); elm.innerHTML = '

' + val + footerrandimage60063 + '

'; } document.write(''); if (floatidrandimage60063 == 1) { document.write('
'); } document.write('

'); document.write(''); document.write(''); } if (sliderandimage60063 == 1 || carrandimage60063 == 1) { document.write(''); } else { document.write(''); } document.write('

'); document.write('
'); if (carrandimage60063 == 1) { document.write('
'); } if (sliderandimage60063 == 1) { document.write('
'); document.write('
'); document.write('
'); document.write('
'); } if (sliderandimage60063 != 1 && carrandimage60063 != 1) { if (zoomidrandimage60063 == 0) { document.write(''); } else { document.write(''); } document.write('
'); document.write('
' + footerrandimage60063 + '
'); if (floatidrandimage60063 == 1) { document.write('

'); } var imageIdrandimage60063 = 'randimage60063'; var imageElemrandimage60063 = document.getElementById(imageIdrandimage60063); var tempURLnum; function go_urlrandimage60063(tempURLnum,openinnew,templink,tempsrc) { window.status = statusrandimage60063; var myURL = ""; var isNew = ""; var mySRC = ""; var mainURL = "http://members.cgiconnection.com/cgi-bin/cgicon-members/simonssi742/randimage4.cgi"; var recURL60063 = 0; if (tempURLnum > 0) { counttimerrandimage60063 = tempURLnum - 1; } if (tempURLnum == -1) { myURL = templink; mySRC = tempsrc; isNew = openinnew; } else { myURL = urlsrandimage60063[counttimerrandimage60063]; mySRC = imagesrandimage60063[counttimerrandimage60063]; isNew = newwinsrandimage60063[counttimerrandimage60063]; } if (myURL != "" && myURL != "http://") { if (recURL60063 == 1) { myURL = mainURL + '?filename=Secaucus&gourl=' + escape(myURL) + '&img=' + escape(mySRC); } if (isNew == "Y") { window.open(myURL,'RandomImage','resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,location=yes,width=790,height=550,top=10,left=10'); } else { location.href = myURL; } } } function go_backrandimage60063() { clearTimeout(timerfrandimage60063); window.status = statusrandimage60063; counttimerlrandimage60063 = counttimerrandimage60063; counttimerrandimage60063 = counttimerrandimage60063 - 1; begin_imagerandimage60063(1); } function go_nextrandimage60063() { clearTimeout(timerfrandimage60063); window.status = statusrandimage60063; counttimerlrandimage60063 = counttimerrandimage60063; counttimerrandimage60063++; begin_imagerandimage60063(1); } function begin_imagerandimage60063(doit) { if (counttimerrandimage60063 >= (imagesrandimage60063.length - 1)) { if (doit < 1) { counttimerrandimage60063 = 0; } } else { if (doit < 1) { counttimerrandimage60063++; } } if (counttimerrandimage60063 < 0 && doit == 1) { counttimerrandimage60063 = imagesrandimage60063.length - 1; } if (counttimerrandimage60063 > (imagesrandimage60063.length - 1) && doit == 1) { counttimerrandimage60063 = 0; } var tempTime = timesrandimage60063[counttimerrandimage60063]; if (tempTime < 1) { tempTime = timesetrandimage60063; } tempTime = tempTime * 1000; if (fadeinvalrandimage60063 == 'Y') { setOpacrandimage60063(imageElemrandimage60063, 0); } if (fadeinvalrandimage60063 == '' && fadeoutvalrandimage60063 == 'Y') { setOpacrandimage60063(imageElemrandimage60063, 100); } nimagerandimage60063.src = imagesrandimage60063[counttimerrandimage60063]; document.randimage60063.src = nimagerandimage60063.src; changeTextrandimage60063("divtextrandimage60063",footersrandimage60063[counttimerrandimage60063]); if (fadeinvalrandimage60063 == 'Y') { fadeInrandimage60063(imageIdrandimage60063,0); } if (fadeoutvalrandimage60063 == 'Y') { timerfrandimage60063 = setTimeout('fadeOutrandimage60063(imageIdrandimage60063,100);', (tempTime - outTime)); } clearTimeout(timerrandimage60063); timerrandimage60063 = setTimeout('begin_imagerandimage60063(0);', tempTime); } function dimsrandimage60063(Elemrandimage60063) { var ns4 = document.layers; var op5 = (navigator.userAgent.indexOf("Opera 5")!=-1) ||(navigator.userAgent.indexOf("Opera/5")!=-1); var op6 = (navigator.userAgent.indexOf("Opera 6")!=-1) ||(navigator.userAgent.indexOf("Opera/6")!=-1); var agt=navigator.userAgent.toLowerCase(); var mac = (agt.indexOf("mac")!=-1); var ie = (agt.indexOf("msie") != -1); var mac_ie = mac && ie; if (xPosrandimage60063 > 0) { xPostrandimage60063 = xPosrandimage60063; yPostrandimage60063 = yPosrandimage60063; wcrandimage60063.style.width = xPosrandimage60063; wcrandimage60063.style.height = yPosrandimage60063; } if (ns4) { var Elemrandimage60063 = getObjNN4(document, Elemrandimage60063); yPosrandimage60063 = Elemrandimage60063.clip.height; xPosrandimage60063 = Elemrandimage60063.clip.width; return; } else { var Elemrandimage60063; if(document.getElementById) { var Elemrandimage60063 = document.getElementById(Elemrandimage60063); } else if (document.all) { var Elemrandimage60063 = document.all[Elemrandimage60063]; } } if (op5) { yPosrandimage60063 = Elemrandimage60063.style.pixelHeight; xPosrandimage60063 = Elemrandimage60063.style.pixelWidth; } else { yPosrandimage60063 = Elemrandimage60063.offsetHeight; xPosrandimage60063 = Elemrandimage60063.offsetWidth; } } function znrandimage60063() { clearTimeout(timerrandimage60063); clearTimeout(timerfrandimage60063); czrandimage60063(); if (xPosrandimage60063 > 0) { wcrandimage60063.style.width = xPosrandimage60063; wcrandimage60063.style.height = yPosrandimage60063; } dimsrandimage60063("randimage60063"); window.status=statusrandimage60063; zoomrandimage60063(xPosrandimage60063,yPosrandimage60063,'randimage60063','in'); timerrandimage60063 = setTimeout("czrandimage60063();", ztrandimage60063); } function zbrandimage60063() { xPostrandimage60063 = xPosrandimage60063; yPostrandimage60063 = yPosrandimage60063; clearTimeout(timerrandimage60063); czrandimage60063(); setOpacrandimage60063(imageElemrandimage60063, 100); zoomrandimage60063(xPosrandimage60063,yPosrandimage60063,'randimage60063','out'); timerrandimage60063 = setTimeout('begin_imagerandimage60063(0);', counttimerlrandimage60063); } function zhrandimage60063(){ if (gsrandimage60063 == "out" && (xPostrandimage60063 < xPosrandimage60063 || yPostrandimage60063 < yPosrandimage60063)) { setOpacrandimage60063(imageElemrandimage60063, 100); xPostrandimage60063 = xPosrandimage60063; yPostrandimage60063 = yPosrandimage60063; wcrandimage60063.style.width = xPosrandimage60063; wcrandimage60063.style.height = yPosrandimage60063; gsrandimage60063 = ""; czrandimage60063(); return; } if (parseInt(wcrandimage60063.style.width)>10&&parseInt(wcrandimage60063.style.height)>10) { xPostrandimage60063 = parseInt(wcrandimage60063.style.width) + parseInt(wcrandimage60063.style.width) * zfrandimage60063 * pfrandimage60063; yPostrandimage60063 = parseInt(wcrandimage60063.style.height) + parseInt(wcrandimage60063.style.height) * zfrandimage60063 * pfrandimage60063; wcrandimage60063.style.width = xPostrandimage60063; wcrandimage60063.style.height = yPostrandimage60063; } } function zoomrandimage60063(originalW, originalH, what, state){ gsrandimage60063 = state; if (!document.all&&!document.getElementById) { return; } wcrandimage60063 = eval("document.images."+what); pfrandimage60063 = (state=="in")? 1 : -1; if (wcrandimage60063.style.width=="") { wcrandimage60063.style.width=originalW; wcrandimage60063.style.height=originalH; } if (state=="restore"){ xPostrandimage60063 = xPosrandimage60063; yPostrandimage60063 = yPosrandimage60063; wcrandimage60063.style.width=originalW; wcrandimage60063.style.height=originalH; czrandimage60063(); return; } else { zhrandimage60063(); } bzrandimage60063 = setInterval("zhrandimage60063()",100); } function czrandimage60063(){ if (window.bzrandimage60063) { if (gsrandimage60063 != "in" && (xPostrandimage60063 != xPosrandimage60063 || yPostrandimage60063 != yPosrandimage60063)) { xPostrandimage60063 = xPosrandimage60063; yPostrandimage60063 = yPosrandimage60063; wcrandimage60063.style.width = xPosrandimage60063; wcrandimage60063.style.height = yPosrandimage60063; gsrandimage60063 = ""; } clearInterval(bzrandimage60063); } } begin_imagerandimage60063(0);