//If using image buttons as controls, Set image buttons' image preload here true //(use false for no preloading and for when using no image buttons as controls): var preload_ctrl_images=false; //And configure the image buttons' images here: //And configure the image buttons' images here: var previmg='http://www.trinityproperties.com/nELEMENTS/images/blank.gif'; var stopimg='http://www.trinityproperties.com/nELEMENTS/images/blank.gif'; var playimg='http://www.trinityproperties.com/nELEMENTS/images/blank.gif'; var nextimg='http://www.trinityproperties.com/nELEMENTS/images/blank.gif'; var slides=[]; //FIRST SLIDESHOW //configure the below images and descriptions to your own. slides[0] = ["http://www.trinityproperties.com/nELEMENTS/images/BG0.jpg", ""]; slides[1] = ["http://www.trinityproperties.com/nELEMENTS/images/BG1.jpg", ""]; slides[2] = ["http://www.trinityproperties.com/nELEMENTS/images/BG2.jpg", ""]; slides[3] = ["http://www.trinityproperties.com/nELEMENTS/images/BG3.jpg", ""]; slides[4] = ["http://www.trinityproperties.com/nELEMENTS/images/BG4.jpg", ""]; slides[5] = ["http://www.trinityproperties.com/nELEMENTS/images/BG5.jpg", ""]; slides[6] = ["http://www.trinityproperties.com/nELEMENTS/images/BG6.jpg", ""]; slides[7] = ["http://www.trinityproperties.com/nELEMENTS/images/BG7.jpg", ""]; slides[8] = ["http://www.trinityproperties.com/nELEMENTS/images/BG8.jpg", ""]; slides[9] = ["http://www.trinityproperties.com/nELEMENTS/images/BG9.jpg", ""]; //above slide show uses only the defaults slides.desc_prefix=''; //string prefix for image descriptions display slides.controls_top=1; //use for top controls slides.counter=0; //use to show image count slides.width=700; //use to set width of widest image if dimensions vary slides.height=256; //use to set height of tallest image if dimensions vary slides.no_auto=0; //use to make show completely user operated (no play button, starts in stopped mode) slides.use_alt=0; //use for descriptions as images alt attributes slides.use_title=0; //use for descriptions as images title attributes slides.nofade=0; //use for no fade-in, fade-out effect for this show slides.border=0; //set border width for images slides.border_color='transparent'; //set border color for images slides.image_controls=1; //image contrls slides.delay=6000 slides.no_added_linebreaks=1 slides.no_controls=1 var slidesSM=[] slidesSM[0]=["http://www.trinityproperties.com/nELEMENTS/images/smBG0.jpg", ""]; slidesSM[1]=["http://www.trinityproperties.com/nELEMENTS/images/smBG1.jpg", ""]; slidesSM[2]=["http://www.trinityproperties.com/nELEMENTS/images/smBG2.jpg", ""]; slidesSM[3]=["http://www.trinityproperties.com/nELEMENTS/images/smBG3.jpg", ""]; slidesSM[4]=["http://www.trinityproperties.com/nELEMENTS/images/smBG4.jpg", ""]; slidesSM[5]=["http://www.trinityproperties.com/nELEMENTS/images/smBG5.jpg", ""]; slidesSM[6]=["http://www.trinityproperties.com/nELEMENTS/images/smBG6.jpg", ""]; slidesSM[7]=["http://www.trinityproperties.com/nELEMENTS/images/smBG7.jpg", ""]; slidesSM[8]=["http://www.trinityproperties.com/nELEMENTS/images/smBG8.jpg", ""]; slidesSM[9]=["http://www.trinityproperties.com/nELEMENTS/images/smBG9.jpg", ""]; slidesSM.desc_prefix=''; //string prefix for image descriptions display slidesSM.controls_top=1; //use for top controls slidesSM.counter=0; //use to show image count slidesSM.width=700; //use to set width of widest image if dimensions vary slidesSM.height=154; //use to set height of tallest image if dimensions vary slidesSM.no_auto=0; //use to make show completely user operated (no play button, starts in stopped mode) slidesSM.use_alt=0; //use for descriptions as images alt attributes slidesSM.use_title=0; //use for descriptions as images title attributes slidesSM.nofade=0; //use for no fade-in, fade-out effect for this show slidesSM.border=0; //set border width for images slidesSM.border_color='transparent'; //set border color for images slidesSM.image_controls=1; //image contrls slidesSM.delay=6000 slidesSM.no_added_linebreaks=1 slidesSM.no_controls=1 var BG1=[]; BG1[0]=["http://www.trinityproperties.com/nELEMENTS/images/970525.gif", ""]; BG1[1]=["http://www.trinityproperties.com/nELEMENTS/images/E8E8E6.gif", ""]; BG1[2]=["http://www.trinityproperties.com/nELEMENTS/images/849FF7.gif", ""]; BG1[3]=["http://www.trinityproperties.com/nELEMENTS/images/F4E675.gif", ""]; BG1[4]=["http://www.trinityproperties.com/nELEMENTS/images/79D7B6.gif", ""]; BG1[5]=["http://www.trinityproperties.com/nELEMENTS/images/434483.gif", ""]; BG1[6]=["http://www.trinityproperties.com/nELEMENTS/images/B61C05.gif", ""]; BG1[7]=["http://www.trinityproperties.com/nELEMENTS/images/FAF6E1.gif", ""]; BG1[8]=["http://www.trinityproperties.com/nELEMENTS/images/ECB9A5.gif", ""]; BG1[9]=["http://www.trinityproperties.com/nELEMENTS/images/01437A.gif", ""]; BG1.desc_prefix=''; //string prefix for image descriptions display BG1.controls_top=1; //use for top controls BG1.counter=0; //use to show image count BG1.width=657; //use to set width of widest image if dimensions vary BG1.height=102; //use to set height of tallest image if dimensions vary BG1.no_auto=0; //use to make show completely user operated (no play button, starts in stopped mode) BG1.use_alt=0; //use for descriptions as images alt attributes BG1.use_title=0; //use for descriptions as images title attributes BG1.nofade=0; //use for no fade-in, fade-out effect for this show BG1.border=0; //set border width for images BG1.fadecolor='transparent' BG1.border_color='transparent'; //set border color for images BG1.image_controls=1; //image contrls BG1.delay=6000 BG1.no_added_linebreaks=1 BG1.no_controls=1 //Notes: //slides#.target will set a target for a slide group, will be overridden by slides#[#][3], if present //slides#.specs will set new window specifications for a slide group, will be overridden by slides#[#][4], if present //slides#.fadecolor will set fading images background color, defaults to white //slides#.no_controls will set a slide show with no controls //slides#.random will set a random slide sequence on each page load //slides#.delay=3000 will set miliseconds delay between slides for a given show, may also be set in the call as the last parameter //slides#.jumpto=1 will display added controls to jump to a particular image by its number //slides#.no_added_linebreaks=1; use for no added line breaks in formatting of texts and controls //use below to create a customized onclick event for linked images in a given show: //slides#.onclick="window.open(this.href,this.target,'top=0, left=0, width='+screen.availWidth+', height='+screen.availHeight);return false;" ////NO need to edit ///////////// /*********************************************** * Swiss Army Image slide show script - © John Davenport Scheuer: http://home.comcast.net/~jscheuer1/ * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code ***********************************************/ function preloadctrl(im){ if (typeof im=='string'){ var imo=new Image(); imo.src=im; } } if(document.images&&typeof preload_ctrl_images!='undefined'&&preload_ctrl_images){ var ctrlimgs=[previmg, stopimg, playimg, nextimg] for (var i_tem = 0; i_tem < ctrlimgs.length; i_tem++) if (ctrlimgs[i_tem]) preloadctrl(ctrlimgs[i_tem]) } var iss=[]; //array to cache inter_slide instances function inter_slide(){ if(!document.images||arguments.length==0) return; var imgs=arguments[0]; var width=null, height=null, delay=null; if(arguments.length==2) delay=arguments[1]; else if(arguments.length==3||arguments.length==4) width=arguments[1], height=arguments[2], delay=arguments[3]? arguments[3] : null; this.dom=(document.getElementById) //modern dom browsers this.da=document.all this.delay=imgs.delay? imgs.delay : delay? delay : 3000+iss.length*750; this.nextimgidx=0; iss[this.issid=iss.length]=this; this.imgs=imgs; if (imgs.random) this.imgs.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :) this.imgborder=imgs.border? parseInt(imgs.border) : 0; if (!this.dom){ this.postimgs=new Array() //preload imgs for (p=0;p' : ''; if (imgs.controls_top){ this.controls(); document.write(brs) } document.write('
<\/div>
<\/div><\/div><\/div>') if(this.descriptions) document.write(brs+'
'+this.dp+' <\/span>
\n'); if(this.counter&&!this.descriptions) document.write(brs); if(this.counter) this.cntrl() if (!imgs.controls_top){ document.write(this.ics? '' : brs); this.controls(); } } else document.write('
<\/div>') if (this.dom) //if modern browsers such as Firefox, IE5+ this.startit() else{ this.nextimgidx++ setInterval("iss["+this.issid+"].rotateimg()", this.delay) } } inter_slide.prototype.cntrl=function(){ this.cpad=this.imgs.length.toString().length; document.write('
Viewing Image: <\/span><\/b> of  '+this.imgs.length+'<\/b><\/div>'); } inter_slide.prototype.controls=function(){ var brs=this.addbr? '
' : '  '; if(!this.ics&&!this.no_c) document.write('
\n'+ (this.no_auto? '   ' : ' \n')+ ' '+(this.jumpto? brs+'Jump to: ' : '')+'<\/div>') else if(this.ics&&!this.no_c){ var op=document.body.filters? ' style="filter:alpha(opacity=100);"' : ' style="opacity:'+(this.man_start? 0.99 : 0.45)+';"'; document.write('
<\/td>'+(this.no_auto? ' <\/td>' : '<\/td>')+'<\/td><\/tr><\/table>\n'); } else this.no_c=1; } inter_slide.prototype.jumper=function(e){ var key; if(typeof e=='object') key=e.keyCode? e.keyCode : e.which? e.which : 1; if(key&&key!==13) return; var num=typeof e=='number'? e : parseInt(this.go('goto'+this.issid).value); if(num<=this.imgs.length&&num>0){ this.nextimgidx=num-2; this.changeimg(true, 'jump'); } } inter_slide.prototype.ibute=function(obj, i){ if(!obj.parentNode) return; if(i==1) obj.parentNode.style.backgroundColor=this.ibut_hc? this.ibut_hc : 'yellow'; else if(i==2) obj.parentNode.style.backgroundColor='transparent'; else if(i==3){ obj.parentNode.style.borderTop=obj.parentNode.style.borderLeft='1px solid gray'; obj.parentNode.style.paddingRight='1px';obj.parentNode.style.paddingBottom=0; } if (i==2||i==4){ obj.parentNode.style.borderTop=obj.parentNode.style.borderLeft='none'; obj.parentNode.style.paddingRight='2px';obj.parentNode.style.paddingBottom='1px'; } } inter_slide.prototype.fadepic=function(){ if (this.fade&&this.degree<100){ this.faded=0 this.degree+=5 if (this.tempobj.filters&&this.tempobj.filters[0]){ if (typeof this.tempobj.filters[0].opacity=="number") //if IE6+ this.tempobj.filters[0].opacity=this.degree else //else if IE5.5- this.tempobj.style.filter="alpha(opacity="+this.degree+")" } else if (this.tempobj.style.MozOpacity) this.tempobj.style.MozOpacity=this.degree/101 else if (this.tempobj.style.KhtmlOpacity) this.tempobj.style.KhtmlOpacity=this.degree/100 else if (this.tempobj.style.opacity&&!this.tempobj.filters) this.tempobj.style.opacity=this.degree/101 } else{ this.faded=1 clearInterval(this.fadeclear) this.nextcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_0" : this.canvasbase+"_1" this.tempobj=this.go(this.nextcanvas) if(this.playing) this.changeimg() } } inter_slide.prototype.populateslide=function(picobj, picidx){ if(document.getElementsByTagName){ if(picobj.getElementsByTagName('a')[0]&&picobj.getElementsByTagName('a')[0].onclick) picobj.getElementsByTagName('a')[0].onclick=null; if(picobj.getElementsByTagName('img')[0]&&picobj.getElementsByTagName('img')[0].onload) picobj.getElementsByTagName('img')[0].onload=null; } picobj.style.backgroundColor=this.imgs[picidx].fadecolor? this.imgs[picidx].fadecolor : this.fadecolor? this.fadecolor : 'white'; var slideHTML='
' if (this.imgs[picidx][2]){ //if associated link exists for img var specs=this.imgs[picidx][4]? ", '"+this.imgs[picidx][4]+"'" : this.specs? ", '"+this.specs+"'" : ''; slideHTML+='' } slideHTML+=''+(this.ualt? this.imgs[picidx][1] : 'Slide Show Image')+'' if (this.imgs[picidx][2]) //if associated link exists for img slideHTML+='<\/a>' slideHTML+='<\/td><\/tr><\/table>' picobj.innerHTML=slideHTML } inter_slide.prototype.buttons=function(bool){ if(this.no_c) return; var next=this.go('next'+this.issid), prev=this.go('prev'+this.issid); next.disabled=prev.disabled=!bool; next.title=bool? 'next' : ''; prev.title=bool? 'previous' : ''; if(this.jumpto&&!this.ics) this.go('go'+this.issid).disabled=this.go('goto'+this.issid).disabled=!bool; if(this.ics){ if(!this.no_auto){ var go=this.go('gostp'+this.issid) go.title=bool? 'Play' : 'Stop'; go.src=bool? playimg : stopimg; } if(prev.filters&&prev.parentNode) prev.parentNode.style.filter=next.parentNode.style.filter='alpha(opacity='+(bool? 100 : 45)+')'; else if(prev.style.opacity&&!prev.filters) prev.style.opacity=next.style.opacity=bool? 0.99 : 0.45; } } inter_slide.prototype.imgload=function(el){ if(!el&&!this.imgel) return; var el=el? el : this.imgel; if(el.width==0||el.height==0){ this.imgel=el; var cacheobj=this; clearTimeout(this.getdim) this.getdim=setTimeout(function(){cacheobj.imgload()}, 300) return; } var m=this.go('master'+this.issid).style, c0=this.go(this.canvasbase+'_0').style, c1=this.go(this.canvasbase+'_1').style; if(!this.width){ this.width=el.width+this.imgborder*2; m.width = c0.width = c1.width = this.width+'px'; } if(!this.height){ this.height=el.height+this.imgborder*2; m.height = c0.height = c1.height = this.height+'px'; } } inter_slide.prototype.changeimg=function(bool,nav){ if(this.playing){ this.buttons(false) this.nextimgidx=(this.keeptrack()-1)? this.nextimgidx : this.imgs.length+this.nextimgidx return; } if(this.fadeclear) clearInterval(this.fadeclear); if(bool){ var loadidx=this.nextimgidx+2 loadidx=(loadidx-1)? loadidx : this.imgs.length+loadidx; this.loadimgidx[loadidx]=new Image(); this.loadimgidx[loadidx].src=this.imgs[loadidx][0]; } else{ var loadidx=this.nextimgidx-2 loadidx=(loadidx-1)? loadidx : this.imgs.length+loadidx this.loadimgidx[loadidx]=new Image(); this.loadimgidx[loadidx].src=this.imgs[loadidx][0]; } if(nav&&nav=='jump') this.nextimgidx++; else this.nextimgidx=this.keeptrack()+(bool? 1 : -1) this.nextimgidx=(this.nextimgidx-1)? this.nextimgidx : this.imgs.length+this.nextimgidx this.populateslide(this.tempobj, this.nextimgidx) this.rotateimg() } } inter_slide.prototype.go=function(id){ return this.da? this.da[id] : document.getElementById(id); } inter_slide.prototype.rotateimg=function(){ if(this.dom){ var cimg=this.go('theimg'+this.nextimgidx+'_'+this.issid)? this.go('theimg'+this.nextimgidx+'_'+this.issid) : null; if(cimg&&typeof cimg.complete=='boolean'&&!cimg.complete){ var cacheobj=this clearTimeout(this.loading) this.loading=setTimeout(function(){cacheobj.rotateimg()}, 300) return; } if (this.mouseovercheck==1){ var cacheobj=this clearTimeout(this.mousep) this.mousep=setTimeout(function(){cacheobj.rotateimg()}, 100) return; } if(this.fade) this.resetit() var crossobj=this.tempobj=this.go(this.curcanvas) crossobj.style.zIndex++ var othercanvas=this.curcanvas==this.canvasbase+"_0"? this.go(this.canvasbase+"_1") : this.go(this.canvasbase+"_0"); othercanvas.style.zIndex=0; if(this.descriptions) this.go('imgdsc'+this.issid).innerHTML = this.imgs[this.keeptrack()][1]; if(this.counter){ var padit=''; for (var p=0; pcanvases[1].style.zIndex&&canvases[0].getElementsByTagName("img")[0]) return parseInt(canvases[0].getElementsByTagName('img')[0].id.replace(/theimg/, '')) else if(canvases[1].getElementsByTagName("img")[0]) return parseInt(canvases[1].getElementsByTagName('img')[0].id.replace(/theimg/, '')) else return this.nextimgidx; } function over(WHICH) { var objOVER = eval('document.getElementById("NAVOVER'+WHICH+'")') var objOUT = eval('document.getElementById("NAVNORM'+WHICH+'")') objOVER.style.display = "block"; objOUT.style.display = "none"; } function out(WHICH) { var objOVER = eval('document.getElementById("NAVOVER'+WHICH+'")') var objOUT = eval('document.getElementById("NAVNORM'+WHICH+'")') objOVER.style.display = "none"; objOUT.style.display = "block"; } function openMAP() { window.frames['MAPFRAMES'].window.document.getElementById('map').style.width = '720px'; document.getElementById('MAPDIV').style.left='0px'; document.getElementById('MAPDIV').style.width='720px'; document.getElementById('MAPFRAMES').style.width='720px'; } function closeMAP() { window.frames['MAPFRAMES'].window.document.getElementById('map').style.width = '300px'; window.frames['MAPFRAMES'].window.document.getElementById('map').style.left = '0px'; document.getElementById('MAPDIV').style.left='420px'; document.getElementById('MAPDIV').style.width='300px'; document.getElementById('MAPFRAMES').style.width='300px' } function SENDinfoform (THERE) { var options = "toolbar=0,status=0,menubar=0,scrollbars=0," + "resizable=1,width=578,height=500"; linkit=window.open(THERE,"", options) linkit.focus() } function linkthis (THERE,WIDTH,HEIGHT) { var options = "toolbar=0,status=0,menubar=0,scrollbars=0," + "resizable=1,width="+WIDTH+",height="+HEIGHT; linkit=window.open(THERE,"", options) linkit.focus() } function linkthis2 (THERE) { var options = "toolbar=0,status=0,menubar=0,scrollbars=1," + "resizable=1,width=500,height=300"; linkit=window.open(THERE,"", options) linkit.focus() } function findPos(obj) { var curleft = curtop = 0; if (obj.offsetParent) { curleft = obj.offsetLeft curtop = obj.offsetTop while (obj = obj.offsetParent) { curleft += obj.offsetLeft curtop += obj.offsetTop } } return [curtop]; } var saq = new Array(); saq[30] = '@'; saq[1]='a'; saq[3]='b'; saq[5]='c'; saq[7]='d'; saq[9]='e'; saq[11]='f'; saq[13]='g'; saq[15]='h'; saq[17]='i'; saq[19]='j'; saq[21]='k'; saq[23]='l'; saq[25]='m'; saq[27]='.' saq[26]='n'; saq[24]='o'; saq[22]='p'; saq[20]='q'; saq[18]='r'; saq[16]='s'; saq[29]=':'; saq[14]='t'; saq[12]='u'; saq[10]='v'; saq[8]='w'; saq[31]='1' saq[6]='x'; saq[4]='y'; saq[2]='z'; saq[28]='/' var goT = new Array(25,1,17,23,14,24,29,16,1,23,9,16,31,30,14,18,17,26,17,14,4,22,18,24,22,9,18,14,17,9,16,27,5,24,25) function goTOCUB() { out = ""; for (i=0; i