
//<!--
var sliderwidth=443;
var sliderheight=135;
var slidespeed=4;
var timerDelay=20;
slidebgcolor="#DFD4AF";
var animatetime;
var topRow='';
var bottomRow='';
var copyspeed=slidespeed;
var actualwidth='';
var actualheight='';
var cross_slide, ns_slide;
function jNull(){}
function stopanimation(){
window.clearInterval(animatetime);
}
function fillup(){
cross_slide=document.getElementById? document.getElementById("slidingGallery") : document.all.slidingGallery;
cross_slide.innerHTML=leftrightslide;
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth;
if (actualwidth==0) actualwidth=5000;
}
function startslideleft(){
if (cross_slide){
stopanimation();
animatetime=setInterval("slideleft()",timerDelay)
}
}
function startslideright(){
if (cross_slide){
stopanimation();
animatetime=setInterval("slideright()",timerDelay)
}
}
function slideleft(){
if (parseInt(cross_slide.style.left)>(-actualwidth+sliderwidth)){
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
}else stopanimation(); 
}
function slideright(){
if (parseInt(cross_slide.style.left)<0){
cross_slide.style.left=parseInt(cross_slide.style.left)+copyspeed+"px"
}else stopanimation(); 
}
htmlCode='<table width=100% border=0><tr><td width="3%" align=center><a href="#"><img src="images/thumb-1.jpg" width="123" height="117" hspace="7" vspace="5" border="0" ></a></td><td width="4%" align=center><a href="#"></a><a href="#"><img src="images/thumb-2.jpg" width="123" height="117" hspace="7" vspace="5" border="0" ></a></td><td width="21%" align=center><a href="#"><img src="images/thumb-3.jpg" width="123" height="117" hspace="7" vspace="5" border=0 ></a></td><td width="4%" align="center"><a href="#"></a><a href="#"><img src="images/thumb-4.jpg" width="123" height="117" hspace="7" vspace="5" border="0"></a></td><td width="15%"><a href="#"><img src="images/thumb-5.jpg" width="123" height="117" hspace="7" vspace="5" border="0" /></a><td width="5%"><a href="#"><img src="images/thumb-6.jpg" width="123" height="117" hspace="7" vspace="5" border="0" ></a></tr></table>';
leftrightslide=htmlCode;
document.write('<span id="temp" style="visibility:hidden; position:absolute;top:-10000px;left:-10000px;">'+ htmlCode +'</span>');
with (document){
write('<table width="479" border="0" cellspacing="2" cellpadding="0" align=center><tr>');
write('<td onmouseover="startslideright();" onmouseout="stopanimation();"><img src="images/left-arrow.jpg"></td>');
write('<td width=' + sliderwidth + '>');
write('<div id="divwrap" style="position:relative;width:'+ sliderwidth +'px;height:'+sliderheight+'px;overflow:hidden;background-color:'+slidebgcolor+';" onMouseover="stopanimation()">');
write('<div id="slidingGallery" style="vertical-align: middle;position:absolute;left:0px;top:0px"></div>');
write('</div>');
write('</td>');
write('<td onmouseover="startslideleft();" onmouseout="stopanimation();" align=right><img src="images/right-arrow.jpg"></td>');
write('</tr></table>');
}
window.onload=fillup;
//-->
