{"id":6359,"date":"2013-01-29T00:00:00","date_gmt":"2013-01-29T00:00:00","guid":{"rendered":"https:\/\/staging.canorml.org\/wp\/slide-test-2\/"},"modified":"2013-01-29T00:00:00","modified_gmt":"2013-01-29T00:00:00","slug":"slide-test-2","status":"publish","type":"post","link":"https:\/\/staging.canorml.org\/wp\/slide-test-2\/","title":{"rendered":"slide test"},"content":{"rendered":"<p>\/\/\/\/NO need to edit \/\/\/\/\/\/\/\/\/\/\/\/\/<\/p>\n<p>\/***********************************************<br \/>\n* Swiss Army Image slide show script  &#8211; \u00a9 John Davenport Scheuer: http:\/\/home.comcast.net\/~jscheuer1\/<br \/>\n* This notice MUST stay intact for legal use<br \/>\n* Visit Dynamic Drive at http:\/\/www.dynamicdrive.com\/ for full original source code<br \/>\n***********************************************\/<\/p>\n<p>function preloadctrl(im){<br \/>\nif (typeof im==&#8217;string&#8217;){<br \/>\nvar imo=new Image();<br \/>\nimo.src=im;<br \/>\n}<br \/>\n}<\/p>\n<p>if(document.images&amp;&#038;typeof preload_ctrl_images!=&#8217;undefined&#8217;&amp;&#038;preload_ctrl_images){<br \/>\nvar ctrlimgs=[previmg, stopimg, playimg, nextimg]<br \/>\nfor (var i_tem = 0; i_tem < ctrlimgs.length; i_tem++)\nif (ctrlimgs[i_tem])\npreloadctrl(ctrlimgs[i_tem])\n}\n\nvar iss=[]; \/\/array to cache inter_slide instances\n\nfunction inter_slide(){\nif(!document.images||arguments.length==0)\nreturn;\nvar imgs=arguments[0];\nvar width=null, height=null, delay=null;\nif(arguments.length==2)\ndelay=arguments[1];\nelse if(arguments.length==3||arguments.length==4)\nwidth=arguments[1], height=arguments[2], delay=arguments[3]? arguments[3] : null;\nthis.dom=(document.getElementById) \/\/modern dom browsers\nthis.da=document.all\nthis.delay=imgs.delay? imgs.delay : delay? delay : 3000+iss.length*750;\nthis.nextimgidx=0;\niss[this.issid=iss.length]=this;\nthis.imgs=imgs;\nif (imgs.random)\nthis.imgs.sort(function() {return 0.5 - Math.random();}) \/\/thanks to Mike (aka Mwinter) :)\nthis.imgborder=imgs.border? parseInt(imgs.border) : 0;\nif (!this.dom){\nthis.postimgs=new Array() \/\/preload imgs\nfor (p=0;p<imgs.length;p++){\nthis.postimgs[p]=new Image()\nthis.postimgs[p].src=this.imgs[p][0]\n}\n}\n\nif (this.dom){ \/\/if modern browsers (ie: Firefox, IE5+)\nthis.faded=0;\nthis.loadimgidx=[];\nthis.fade=!imgs.nofade;\nif(this.fade)\nthis.degree=10 \/\/initial opacity degree (10%)\nthis.pausecheck=imgs.pause;\nthis.mouseovercheck=0\nthis.canvasbase=\"canvas\"+this.issid\nthis.curcanvas=this.canvasbase+\"_0\"\nthis.descriptions=!imgs.no_descriptions;\nthis.man_start=imgs.manual_start;\nthis.addbr=!imgs.no_added_linebreaks;\nthis.no_auto=imgs.no_auto;\nthis.onclick=imgs.onclick;\nthis.specs=imgs.specs;\nthis.counter=imgs.counter;\nthis.ics=imgs.image_controls;\nthis.jumpto=imgs.jumpto;\nthis.no_c=imgs.no_controls;\nthis.target=imgs.target;\nthis.ualt=imgs.use_alt;\nthis.utit=imgs.use_title;\nthis.fadecolor=imgs.fadecolor;\nthis.ibut_hc=imgs.button_highlight;\nthis.dp=imgs.desc_prefix? imgs.desc_prefix : ' ';\nthis.imbcolor=imgs.border_color;\nthis.imbstyle=imgs.border_style;\nthis.width=imgs.width? imgs.width : width? width : null\nthis.width=this.width? this.width+this.imgborder*2 : null;\nthis.height=imgs.height? imgs.height : height? height : null\nthis.height=this.height? this.height+this.imgborder*2 : null;\nvar ief='', dims='';\nif(this.width||this.height)\ndims=this.width&amp;&#038;this.height? 'width:'+this.width+'px;height:'+this.height+'px;' : this.width? 'width:'+this.width+'px;' : 'height:'+this.height+'px;';\nif(this.fade&amp;&#038;document.body&amp;&#038;document.body.style)\nief=document.body.filters? 'filter:progid:DXImageTransform.Microsoft.alpha(opacity=0);' : typeof document.body.style.opacity=='string'? 'opacity:0;' : 'opacity:0.10;-moz-opacity:0.10;-khtml-opacity:0.10;';\nvar brs=this.addbr? '<br \/>&#8216; : &#8221;;<br \/>\nif (imgs.controls_top){<br \/>\nthis.controls();<br \/>\ndocument.write(brs)<br \/>\n}<br \/>\ndocument.write(&#8216;<\/p>\n<div align=\"center\">\n<div id=\"master'+this.issid+'\" style=\"position:relative;'+dims+'overflow:hidden;margin:0 auto;\">\n<div id=\"'+this.canvasbase+'_0\" style=\"position:absolute;'+dims+'top:0;left:0;'+ief+'background-color:'+(imgs.fadecolor? imgs.fadecolor : 'white')+'\"><\/div>\n<div id=\"'+this.canvasbase+'_1\" style=\"position:absolute;'+dims+'top:0;left:0;'+ief+'background-color:'+(imgs.fadecolor? imgs.fadecolor : 'white')+'\"><\/div>\n<\/div>\n<\/div>\n<p>&#8216;)<br \/>\nif(this.descriptions)<br \/>\ndocument.write(brs+&#8217;<\/p>\n<div align=\"center\">&#8216;+this.dp+&#8217;<span id=\"imgdsc'+this.issid+'\">&amp;nbsp;<\/span><\/div>\n<p>n&#8217;);<br \/>\nif(this.counter&amp;&#038;!this.descriptions)<br \/>\ndocument.write(brs);<br \/>\nif(this.counter)<br \/>\nthis.cntrl()<br \/>\nif (!imgs.controls_top){<br \/>\ndocument.write(this.ics? &#8221; : brs);<br \/>\nthis.controls();<br \/>\n}<br \/>\n}<br \/>\nelse<br \/>\ndocument.write(&#8216;<\/p>\n<div align=\"center\"><img decoding=\"async\" name=\"defaultslide'+this.issid+'\" src=\"'+this.postimgs[0].src+'\"><\/div>\n<p>&#8216;)<\/p>\n<p>if (this.dom) \/\/if modern browsers such as Firefox, IE5+<br \/>\nthis.startit()<br \/>\nelse{<br \/>\nthis.nextimgidx++<br \/>\nsetInterval(&#8220;iss[&#8220;+this.issid+&#8221;].rotateimg()&#8221;, this.delay)<br \/>\n}<br \/>\n}<\/p>\n<p>inter_slide.prototype.cntrl=function(){<br \/>\nthis.cpad=this.imgs.length.toString().length;<br \/>\ndocument.write(&#8216;<\/p>\n<div align=\"center\">Viewing Image: <b><span id=\"thecnt'+this.issid+'\"><\/span><\/b> of<span style=\"font-size:1ex;\">&amp;nbsp;<\/span>&amp;nbsp;<b>&#8216;+this.imgs.length+&#8217;<\/b><\/div>\n<p>&#8216;);<br \/>\n}<\/p>\n<p>inter_slide.prototype.controls=function(){<br \/>\nvar brs=this.addbr? &#8216;<br \/>&#8216; : &#8216; &amp;nbsp;&#8217;;<br \/>\nif(!this.ics&amp;&#038;!this.no_c)<br \/>\ndocument.write(&#8216;<\/p>\n<div align=\"center\"><input id=\"prev'+this.issid+'\" disabled type=\"button\" value=\" << \" onclick=\"iss['+this.issid+'].changeimg(false, 'nav');\">n&#8217;+<br \/>\n(this.no_auto? &#8216;&amp;nbsp;&amp;nbsp;&amp;nbsp;&#8217; : &#8216; <input id=\"gostp'+this.issid+'\" type=\"button\" value=\" Stop \" onclick=\"iss['+this.issid+'].gostop(this);\">n&#8217;)+<br \/>\n&#8216; <input id=\"next'+this.issid+'\" disabled type=\"button\" value=\" >> &#8221; onclick=&#8221;iss[&#8216;+this.issid+&#8217;].changeimg(true, &#8216;nav&#8217;);&#8221;>&#8217;+(this.jumpto? brs+&#8217;Jump to: <input disabled type=\"text\" size=\"'+this.imgs.length.toString().length+'\" id=\"goto'+this.issid+'\" onkeydown=\"iss['+this.issid+'].jumper(event);\"><input id=\"go'+this.issid+'\" disabled type=\"button\" onclick=\"iss['+this.issid+'].jumper();\" value=\"GO\">&#8216; : &#8221;)+&#8217;<\/div>\n<p>&#8216;)<br \/>\nelse if(this.ics&amp;&#038;!this.no_c){<br \/>\nvar op=document.body.filters? &#8216; style=&#8221;filter:alpha(opacity=100);&#8221;&#8216; : &#8216; style=&#8221;opacity:&#8217;+(this.man_start? 0.99 : 0.45)+&#8217;;&#8221;&#8216;;<br \/>\ndocument.write(&#8216;<\/p>\n<table align=\"center\" cellpadding=\"0\" cellspacing=\"10\">\n<tr>\n<td valign=\"middle\" align=\"center\" style=\"padding:2px 2px 1px 2px;\"><input'+op+' onmouseover=\"iss['+this.issid+'].ibute(this,1);\" onmouseout=\"iss['+this.issid+'].ibute(this,2);\" onmousedown=\"iss['+this.issid+'].ibute(this,3);\" onmouseup=\"iss['+this.issid+'].ibute(this,4);\" type=\"image\" title=\"Previous\" id=\"prev'+this.issid+'\" src=\"'+previmg+'\" onclick=\"iss['+this.issid+'].changeimg(false, 'nav');\"><\/td>\n<p>&#8216;+(this.no_auto? &#8216;<\/p>\n<td>&amp;nbsp;<\/td>\n<p>&#8216; : &#8216;<\/p>\n<td valign=\"middle\" align=\"center\" style=\"padding:2px 2px 1px 2px;\"><input onmouseover=\"iss['+this.issid+'].ibute(this,1);\" onmouseout=\"iss['+this.issid+'].ibute(this,2);\" onmousedown=\"iss['+this.issid+'].ibute(this,3);\" onmouseup=\"iss['+this.issid+'].ibute(this,4);\" title=\"Stop\" type=\"image\" id=\"gostp'+this.issid+'\" src=\"'+(this.g_fPlayMode? playimg : stopimg)+'\" onclick=\"iss['+this.issid+'].gostop(this);\"><\/td>\n<p>&#8216;)+&#8217;<\/p>\n<td valign=\"middle\" align=\"center\" style=\"padding:2px 2px 1px 2px;\"><input'+op+' onmouseover=\"iss['+this.issid+'].ibute(this,1);\" onmouseout=\"iss['+this.issid+'].ibute(this,2);\" onmousedown=\"iss['+this.issid+'].ibute(this,3);\" onmouseup=\"iss['+this.issid+'].ibute(this,4);\" type=\"image\" title=\"Next\" id=\"next'+this.issid+'\" src=\"'+nextimg+'\" onclick=\"iss['+this.issid+'].changeimg(true, 'nav');\"><\/td>\n<\/tr>\n<\/table>\n<p>n&#8217;);<br \/>\n}<br \/>\nelse<br \/>\nthis.no_c=1;<br \/>\n}<\/p>\n<p>inter_slide.prototype.jumper=function(e){<br \/>\nvar key;<br \/>\nif(typeof e==&#8217;object&#8217;)<br \/>\nkey=e.keyCode? e.keyCode : e.which? e.which : 1;<br \/>\nif(key&amp;&#038;key!==13)<br \/>\nreturn;<br \/>\nvar num=typeof e==&#8217;number&#8217;? e : parseInt(this.go(&#8216;goto&#8217;+this.issid).value);<br \/>\nif(num<=this.imgs.length&amp;&#038;num>0){<br \/>\nthis.nextimgidx=num-2;<br \/>\nthis.changeimg(true, &#8216;jump&#8217;);<br \/>\n}<br \/>\n}<\/p>\n<p>inter_slide.prototype.ibute=function(obj, i){<br \/>\nif(!obj.parentNode)<br \/>\nreturn;<br \/>\nif(i==1)<br \/>\nobj.parentNode.style.backgroundColor=this.ibut_hc? this.ibut_hc : &#8216;yellow&#8217;;<br \/>\nelse if(i==2)<br \/>\nobj.parentNode.style.backgroundColor=&#8217;transparent&#8217;;<br \/>\nelse if(i==3){<br \/>\nobj.parentNode.style.borderTop=obj.parentNode.style.borderLeft=&#8217;1px solid gray&#8217;;<br \/>\nobj.parentNode.style.paddingRight=&#8217;1px&#8217;;obj.parentNode.style.paddingBottom=0;<br \/>\n}<br \/>\nif (i==2||i==4){<br \/>\nobj.parentNode.style.borderTop=obj.parentNode.style.borderLeft=&#8217;none&#8217;;<br \/>\nobj.parentNode.style.paddingRight=&#8217;2px&#8217;;obj.parentNode.style.paddingBottom=&#8217;1px&#8217;;<br \/>\n}<br \/>\n}<\/p>\n<p>inter_slide.prototype.fadepic=function(){<br \/>\nif (this.fade&amp;&#038;this.degree<100){\nthis.faded=0\nthis.degree+=10\nif (this.tempobj.filters&amp;&#038;this.tempobj.filters[0]){\nif (typeof this.tempobj.filters[0].opacity==\"number\") \/\/if IE6+\nthis.tempobj.filters[0].opacity=this.degree\nelse \/\/else if IE5.5-\nthis.tempobj.style.filter=\"alpha(opacity=\"+this.degree+\")\"\n}\nelse if (this.tempobj.style.MozOpacity)\nthis.tempobj.style.MozOpacity=this.degree\/101\nelse if (this.tempobj.style.KhtmlOpacity)\nthis.tempobj.style.KhtmlOpacity=this.degree\/100\nelse if (this.tempobj.style.opacity&amp;&#038;!this.tempobj.filters)\nthis.tempobj.style.opacity=this.degree\/101\n}\nelse{\nthis.faded=1\nclearInterval(this.fadeclear)\nthis.nextcanvas=(this.curcanvas==this.canvasbase+\"_0\")? this.canvasbase+\"_0\" : this.canvasbase+\"_1\"\nthis.tempobj=this.go(this.nextcanvas)\nif(this.playing)\nthis.changeimg()\n}\n}\n\ninter_slide.prototype.populateslide=function(picobj, picidx){\nif(document.getElementsByTagName){\nif(picobj.getElementsByTagName('a')[0]&amp;&#038;picobj.getElementsByTagName('a')[0].onclick)\npicobj.getElementsByTagName('a')[0].onclick=null;\nif(picobj.getElementsByTagName('img')[0]&amp;&#038;picobj.getElementsByTagName('img')[0].onload)\npicobj.getElementsByTagName('img')[0].onload=null;\n}\npicobj.style.backgroundColor=this.imgs[picidx].fadecolor? this.imgs[picidx].fadecolor : this.fadecolor? this.fadecolor : 'white';\nvar slideHTML='\n\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" height=\"100%\">\n<tr>\n<td width=\"100%\" height=\"100%\" align=\"center\" valign=\"middle\" style=\"background:transparent none;\">&#8216;<br \/>\nif (this.imgs[picidx][2]){ \/\/if associated link exists for img<br \/>\nvar specs=this.imgs[picidx][4]? &#8220;, &#8216;&#8221;+this.imgs[picidx][4]+&#8221;&#8216;&#8221; : this.specs? &#8220;, &#8216;&#8221;+this.specs+&#8221;&#8216;&#8221; : &#8221;;<br \/>\nslideHTML+=&#8217;<a href=\"'+this.imgs[picidx][2]+'\"'+(this.imgs[picidx][3]? ' target=\"'+this.imgs[picidx][3]+'\"' : this.target? ' target=\"'+this.target+'\"' : '')+' onclick=\"'+(this.onclick? this.onclick : 'window.open(this.href, (this.target? this.target : '_self')'+specs+');return false;')+'\">&#8216;<br \/>\n}<br \/>\nslideHTML+=&#8217;<img decoding=\"async\" id=\"theimg'+picidx+'_'+this.issid+'\" src=\"'+(this.loadimgidx[picidx]&amp;&#038;typeof this.loadimgidx[picidx].complete=='boolean'&amp;&#038;this.loadimgidx[picidx].complete? this.loadimgidx[picidx].src : this.imgs[picidx][0])+'\" alt=\"'+(this.ualt? this.imgs[picidx][1] : 'Slide Show Image')+'\" title=\"'+(this.utit? this.imgs[picidx][1] : '')+'\" '+(this.imbcolor&amp;&#038;!this.imgs[picidx].noborder? 'style=\"border:'+this.imgborder+'px '+(this.imbstyle? this.imbstyle : 'solid')+' '+this.imbcolor+';\"' : 'border=\"'+(this.imgs[picidx].noborder? '0' : this.imgborder)+'\"')+(!this.width||!this.height? ' onload=\"iss['+this.issid+'].imgload(this);\"' : '')+'>&#8216;<br \/>\nif (this.imgs[picidx][2]) \/\/if associated link exists for img<br \/>\nslideHTML+=&#8217;<\/a>&#8216;<br \/>\nslideHTML+=&#8217;<\/td>\n<\/tr>\n<\/table>\n<p>&#8216;<br \/>\npicobj.innerHTML=slideHTML<br \/>\n}<\/p>\n<p>inter_slide.prototype.buttons=function(bool){<br \/>\nif(this.no_c)<br \/>\nreturn;<br \/>\nvar next=this.go(&#8216;next&#8217;+this.issid), prev=this.go(&#8216;prev&#8217;+this.issid);<br \/>\nnext.disabled=prev.disabled=!bool;<br \/>\nnext.title=bool? &#8216;next&#8217; : &#8221;;<br \/>\nprev.title=bool? &#8216;previous&#8217; : &#8221;;<br \/>\nif(this.jumpto&amp;&#038;!this.ics)<br \/>\nthis.go(&#8216;go&#8217;+this.issid).disabled=this.go(&#8216;goto&#8217;+this.issid).disabled=!bool;<br \/>\nif(this.ics){<br \/>\nif(!this.no_auto){<br \/>\nvar go=this.go(&#8216;gostp&#8217;+this.issid)<br \/>\ngo.title=bool? &#8216;Play&#8217; : &#8216;Stop&#8217;;<br \/>\ngo.src=bool? playimg : stopimg;<br \/>\n}<br \/>\nif(prev.filters&amp;&#038;prev.parentNode)<br \/>\nprev.parentNode.style.filter=next.parentNode.style.filter=&#8217;alpha(opacity=&#8217;+(bool? 100 : 45)+&#8217;)&#8217;;<br \/>\nelse if(prev.style.opacity&amp;&#038;!prev.filters)<br \/>\nprev.style.opacity=next.style.opacity=bool? 0.99 : 0.45;<br \/>\n}<br \/>\n}<\/p>\n<p>inter_slide.prototype.imgload=function(el){<br \/>\nif(!el&amp;&#038;!this.imgel)<br \/>\nreturn;<br \/>\nvar el=el? el : this.imgel;<br \/>\nif(el.width==0||el.height==0){<br \/>\nthis.imgel=el;<br \/>\nvar cacheobj=this;<br \/>\nclearTimeout(this.getdim)<br \/>\nthis.getdim=setTimeout(function(){cacheobj.imgload()}, 300)<br \/>\nreturn;<br \/>\n}<br \/>\nvar m=this.go(&#8216;master&#8217;+this.issid).style, c0=this.go(this.canvasbase+&#8217;_0&#8242;).style, c1=this.go(this.canvasbase+&#8217;_1&#8242;).style;<br \/>\nif(!this.width){<br \/>\nthis.width=el.width+this.imgborder*2;<br \/>\nm.width = c0.width = c1.width = this.width+&#8217;px&#8217;;<br \/>\n}<br \/>\nif(!this.height){<br \/>\nthis.height=el.height+this.imgborder*2;<br \/>\nm.height = c0.height = c1.height = this.height+&#8217;px&#8217;;<br \/>\n}<br \/>\n}<\/p>\n<p>inter_slide.prototype.changeimg=function(bool,nav){<br \/>\nif(this.playing){<br \/>\nthis.buttons(false)<br \/>\nthis.nextimgidx=(this.keeptrack()<this.imgs.length-1)? this.keeptrack()+1 : 0\nthis.populateslide(this.tempobj, this.nextimgidx)\nif(bool)\nthis.rotateimg()\nelse{\nclearTimeout(this.inprocess)\nthis.inprocess=setTimeout(\"iss[\"+this.issid+\"].rotateimg()\", this.delay)\n}\n}\nelse {\nif(!this.faded){\nif(nav&amp;&#038;nav=='nav')\nreturn;\nthis.nextimgidx=this.keeptrack()+(bool? 1 : -1)\nthis.nextimgidx=(this.nextimgidx<this.imgs.length)? this.nextimgidx : this.nextimgidx-this.imgs.length\nthis.nextimgidx=(this.nextimgidx>-1)? this.nextimgidx : this.imgs.length+this.nextimgidx<br \/>\nreturn;<br \/>\n}<br \/>\nif(this.fadeclear)<br \/>\nclearInterval(this.fadeclear);<br \/>\nif(bool){<br \/>\nvar loadidx=this.nextimgidx+2<br \/>\nloadidx=(loadidx<this.imgs.length)? loadidx : loadidx-this.imgs.length;\nloadidx=(loadidx>-1)? loadidx : this.imgs.length+loadidx;<br \/>\nthis.loadimgidx[loadidx]=new Image();<br \/>\nthis.loadimgidx[loadidx].src=this.imgs[loadidx][0];<br \/>\n}<br \/>\nelse{<br \/>\nvar loadidx=this.nextimgidx-2<br \/>\nloadidx=(loadidx<this.imgs.length)? loadidx : loadidx-this.imgs.length\nloadidx=(loadidx>-1)? loadidx : this.imgs.length+loadidx<br \/>\nthis.loadimgidx[loadidx]=new Image();<br \/>\nthis.loadimgidx[loadidx].src=this.imgs[loadidx][0];<br \/>\n}<br \/>\nif(nav&amp;&#038;nav==&#8217;jump&#8217;)<br \/>\nthis.nextimgidx++;<br \/>\nelse<br \/>\nthis.nextimgidx=this.keeptrack()+(bool? 1 : -1)<br \/>\nthis.nextimgidx=(this.nextimgidx<this.imgs.length)? this.nextimgidx : this.nextimgidx-this.imgs.length\nthis.nextimgidx=(this.nextimgidx>-1)? this.nextimgidx : this.imgs.length+this.nextimgidx<br \/>\nthis.populateslide(this.tempobj, this.nextimgidx)<br \/>\nthis.rotateimg()<br \/>\n}<br \/>\n}<\/p>\n<p>inter_slide.prototype.go=function(id){<br \/>\nreturn this.da? this.da[id] : document.getElementById(id);<br \/>\n}<\/p>\n<p>inter_slide.prototype.rotateimg=function(){<br \/>\nif(this.dom){<br \/>\nvar cimg=this.go(&#8216;theimg&#8217;+this.nextimgidx+&#8217;_&#8217;+this.issid)? this.go(&#8216;theimg&#8217;+this.nextimgidx+&#8217;_&#8217;+this.issid) : null;<br \/>\nif(cimg&amp;&#038;typeof cimg.complete==&#8217;boolean&#8217;&amp;&#038;!cimg.complete){<br \/>\nvar cacheobj=this<br \/>\nclearTimeout(this.loading)<br \/>\nthis.loading=setTimeout(function(){cacheobj.rotateimg()}, 300)<br \/>\nreturn;<br \/>\n}<br \/>\nif (this.mouseovercheck==1){<br \/>\nvar cacheobj=this<br \/>\nclearTimeout(this.mousep)<br \/>\nthis.mousep=setTimeout(function(){cacheobj.rotateimg()}, 100)<br \/>\nreturn;<br \/>\n}<br \/>\nif(this.fade)<br \/>\nthis.resetit()<br \/>\nvar crossobj=this.tempobj=this.go(this.curcanvas)<br \/>\ncrossobj.style.zIndex++<br \/>\nvar othercanvas=this.curcanvas==this.canvasbase+&#8221;_0&#8243;? this.go(this.canvasbase+&#8221;_1&#8243;) : this.go(this.canvasbase+&#8221;_0&#8243;);<br \/>\nothercanvas.style.zIndex=0;<br \/>\nif(this.descriptions)<br \/>\nthis.go(&#8216;imgdsc&#8217;+this.issid).innerHTML = this.imgs[this.keeptrack()][1];<br \/>\nif(this.counter){<br \/>\nvar padit=&#8221;;<br \/>\nfor (var p=0; p<this.cpad-(this.nextimgidx+1).toString().length; p++)\npadit+='<span style=\"visibility:hidden;\">0<\/span>&#8216;;<br \/>\nthis.go(&#8216;thecnt&#8217;+this.issid).innerHTML = padit+(this.keeptrack()<this.imgs.length? this.keeptrack()+1 : 1);\n}\nif (this.jumpto)\nthis.go('goto'+this.issid).value=this.keeptrack()<this.imgs.length? this.keeptrack()+1 : 1;\nthis.jumperidx=this.keeptrack()<this.imgs.length? this.keeptrack()+1 : 1;\nvar fadeobj=this\nclearInterval(this.fadeclear)\nthis.fadeclear=setInterval(function(){fadeobj.fadepic()},50)\nthis.curcanvas=(this.curcanvas==this.canvasbase+\"_0\")? this.canvasbase+\"_1\" : this.canvasbase+\"_0\"\n}\nelse{\nvar v4imgobj=document.images['defaultslide'+this.issid]\nv4imgobj.src=this.postimgs[this.nextimgidx].src\nthis.nextimgidx=(this.nextimgidx<this.imgs.length-1)? this.nextimgidx+1 : 0\n}\n}\n\ninter_slide.prototype.resetit=function(){\nthis.degree=10\nvar crossobj=this.go(this.curcanvas)\nif (crossobj.filters&amp;&#038;crossobj.filters[0]){\nif (typeof crossobj.filters[0].opacity==\"number\") \/\/if IE6+\ncrossobj.filters(0).opacity=this.degree\nelse \/\/else if IE5.5-\ncrossobj.style.filter=\"alpha(opacity=\"+this.degree+\")\"\n}\nelse if (crossobj.style.MozOpacity)\ncrossobj.style.MozOpacity=this.degree\/101\nelse if (crossobj.style.KhtmlOpacity)\ncrossobj.style.KhtmlOpacity=this.degree\/100\nelse if (crossobj.style.opacity&amp;&#038;!crossobj.filters)\ncrossobj.style.opacity=this.degree\/101\n}\n\ninter_slide.prototype.startit=function(){\nthis.playing=1\nvar crossobj=this.go(this.curcanvas)\nthis.populateslide(crossobj, this.nextimgidx)\nif (this.pausecheck==1){ \/\/if slideshow should pause onmouseover\nvar cacheobj=this\nvar crossobjcontainer=this.go(\"master\"+this.issid)\ncrossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}\ncrossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}\n}\nthis.rotateimg()\nif(this.no_auto)\nthis.gostop();\nelse if(this.man_start)\nthis.gostop(this.go('gostp'+this.issid));\nelse if(this.ics&amp;&#038;document.body.filters){ \/\/kludge for IE5.5 bug\nthis.buttons(false);\n}\n}\n\ninter_slide.prototype.gostop=function(el){\nif(el)\nel.value=el.value==' Stop '? ' Play ' : ' Stop ';\nif(this.inprocess&amp;&#038;this.playing){\nclearTimeout(this.inprocess);\nthis.nextimgidx-=this.faded;\n}\nthis.playing=!this.playing;\nif(this.playing){\nclearInterval(this.fadeclear)\nthis.faded=1\nthis.changeimg(true);\n}\nelse{\nvar loadidx=(this.keeptrack()<this.imgs.length-1)? this.keeptrack()+1 : 0\nthis.loadimgidx[loadidx]=new Image();\nthis.loadimgidx[loadidx].src=this.imgs[loadidx][0];\nthis.jumper(this.jumperidx? this.jumperidx : 0)\nthis.buttons(true);\n}\n}\n\ninter_slide.prototype.keeptrack=function(){\nif(!document.getElementsByTagName)\nreturn this.nextimgidx;\nvar canvases=[this.go('canvas'+this.issid+'_0'), this.go('canvas'+this.issid+'_1')]\nif(canvases[0].style.zIndex>canvases[1].style.zIndex&amp;&#038;canvases[0].getElementsByTagName(&#8220;img&#8221;)[0])<br \/>\nreturn parseInt(canvases[0].getElementsByTagName(&#8216;img&#8217;)[0].id.replace(\/theimg\/, &#8221;))<br \/>\nelse if(canvases[1].getElementsByTagName(&#8220;img&#8221;)[0])<br \/>\nreturn parseInt(canvases[1].getElementsByTagName(&#8216;img&#8217;)[0].id.replace(\/theimg\/, &#8221;))<br \/>\nelse<br \/>\nreturn this.nextimgidx;<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/\/\/\/NO need to edit \/\/\/\/\/\/\/\/\/\/\/\/\/ \/*********************************************** * Swiss Army Image slide show script &#8211; \u00a9 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==&#8217;string&#8217;){ var imo=new Image(); imo.src=im; } } if(document.images&amp;&#038;typeof preload_ctrl_images!=&#8217;undefined&#8217;&amp;&#038;preload_ctrl_images){ var ctrlimgs=[previmg, &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"slide test\" class=\"read-more button\" href=\"https:\/\/staging.canorml.org\/wp\/slide-test-2\/#more-6359\" aria-label=\"Read more about slide test\">Read more<\/a><\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-6359","post","type-post","status-publish","format-standard","hentry","no-featured-image-padding"],"acf":[],"_links":{"self":[{"href":"https:\/\/staging.canorml.org\/wp\/wp-json\/wp\/v2\/posts\/6359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.canorml.org\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.canorml.org\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.canorml.org\/wp\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.canorml.org\/wp\/wp-json\/wp\/v2\/comments?post=6359"}],"version-history":[{"count":0,"href":"https:\/\/staging.canorml.org\/wp\/wp-json\/wp\/v2\/posts\/6359\/revisions"}],"wp:attachment":[{"href":"https:\/\/staging.canorml.org\/wp\/wp-json\/wp\/v2\/media?parent=6359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.canorml.org\/wp\/wp-json\/wp\/v2\/categories?post=6359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.canorml.org\/wp\/wp-json\/wp\/v2\/tags?post=6359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}