if(window.location.href.indexOf("control_panel")==-1) { document.write(''); function MM_openBrWindow(theURL,winName,features) { //v2.0 w = window.open(theURL,winName,features); w.focus(); } ///////configure the below four variables to change the style of the slider/////// //set the scrollerwidth and scrollerheight to the width/height of the LARGEST image in your slideshow! var scrollerwidth = '190px' var scrollerheight = '320px' var scrollerbgcolor = 'white' var pausebetweenimages = 5000 var slideimages=new Array(); listing = ''; listing += ''; listing += ' '; listing += ' '; listing += ' '; listing += ' '; listing += ''; slideimages[0] = listing; slideimages[1] = listing; var ie=document.all var dom=document.getElementById if (slideimages.length-1>1) i_rot=2 else i_rot=0 function move1(whichlayer){ tlayer=eval(whichlayer) if (tlayer.left>0&&tlayer.left<=5){ tlayer.left=0 setTimeout("move1(tlayer)",pausebetweenimages) setTimeout("move2(document.main.document.second)",pausebetweenimages) return } if (tlayer.left>=tlayer.document.width*-1){ tlayer.left-=5 setTimeout("move1(tlayer)",50) } else{ tlayer.left=parseInt(scrollerwidth)+5 tlayer.document.write(slideimages[i_rot]) tlayer.document.close() if (i_rot==slideimages.length-1) i_rot=0 else i_rot++ } } function move2(whichlayer){ tlayer2=eval(whichlayer) if (tlayer2.left>0&&tlayer2.left<=5){ tlayer2.left=0 setTimeout("move2(tlayer2)",pausebetweenimages) setTimeout("move1(document.main.document.first)",pausebetweenimages) return } if (tlayer2.left>=tlayer2.document.width*-1){ tlayer2.left-=5 setTimeout("move2(tlayer2)",50) } else{ tlayer2.left=parseInt(scrollerwidth)+5 tlayer2.document.write(slideimages[i_rot]) tlayer2.document.close() if (i_rot==slideimages.length-1) i_rot=0 else i_rot++ } } function move3(whichdiv){ tdiv=eval(whichdiv) tdiv.style.display = 'inline'; if (parseInt(tdiv.style.left)>0&&parseInt(tdiv.style.left)<=5){ tdiv.style.left=0+"px" setTimeout("move3(tdiv)",pausebetweenimages) setTimeout("move4(scrollerdiv2)",pausebetweenimages) return } if (parseInt(tdiv.style.left)>=tdiv.offsetWidth*-1){ tdiv.style.left=parseInt(tdiv.style.left)-5+"px" setTimeout("move3(tdiv)",50) } else{ tdiv.style.left=scrollerwidth tdiv.innerHTML=slideimages[i_rot] if (i_rot==slideimages.length-1) i_rot=0 else i_rot++ } } function move4(whichdiv){ tdiv2=eval(whichdiv) tdiv2.style.display = 'inline'; if (parseInt(tdiv2.style.left)>0&&parseInt(tdiv2.style.left)<=5){ tdiv2.style.left=0+"px" setTimeout("move4(tdiv2)",pausebetweenimages) setTimeout("move3(scrollerdiv1)",pausebetweenimages) return } if (parseInt(tdiv2.style.left)>=tdiv2.offsetWidth*-1){ tdiv2.style.left=parseInt(tdiv2.style.left)-5+"px" setTimeout("move4(scrollerdiv2)",50) } else{ tdiv2.style.left=scrollerwidth tdiv2.innerHTML=slideimages[i_rot] if (i_rot==slideimages.length-1) i_rot=0 else i_rot++ } } function startscroll(){ if (ie||dom){ scrollerdiv1=ie? first2 : document.getElementById("first2") scrollerdiv2=ie? second2 : document.getElementById("second2") move3(scrollerdiv1) scrollerdiv2.style.left=scrollerwidth } else if (document.layers){ document.main.visibility='show' move1(document.main.document.first) document.main.document.second.left=parseInt(scrollerwidth)+5 document.main.document.second.visibility='show' } } //CSS Submenu Hack BEGIN //window.onload=startscroll function handleError() { return true; } window.onerror = handleError; function init() { startscroll(); startList(); } window.onload=init; //CSS Submenu Hack END document.writeln('') document.writeln('') if (document.layers) document.write(slideimages[0]) document.writeln('') document.writeln('') if (document.layers) document.write(slideimages[1]) document.writeln('') document.writeln('') document.writeln('') if (ie||dom){ document.writeln('
') document.writeln('
') document.writeln('
') document.write(slideimages[0]) document.writeln('
') document.writeln('') document.writeln('
') document.writeln('
') } }