
// (C) 2003 by CodeLifter.com
// Free for all users, but leave in this header.

var SlideShowSpeed = 3000;

var CrossFadeDuration = 2;

var Picture = new Array(); 
var Caption = new Array(); 
var Description = new Array(); 
var showHot = false;    

Picture[1]  = 		'images/gallery/bugs/	Best-bug.jpg	';
Picture[2]  =		'images/gallery/bugs/	bug-1.jpg	';
Picture[3]  = 		'images/gallery/bugs/	bug-1_profile.jpg	';
Picture[4]  = 		'images/gallery/bugs/	Bug-2-profile.jpg	';
Picture[5]  = 		'images/gallery/bugs/	Bug-2.jpg	';
Picture[6]  =		'images/gallery/bugs/	Bug-3.jpg	';
Picture[7]  =		'images/gallery/bugs/	Bug-4.jpg	';
Picture[8]  =		'images/gallery/bugs/	Bug-4.profile.jpg	';
Picture[9]  = 		'images/gallery/bugs/	Bug-5--other-profile.jpg	';
Picture[10]  = 		'images/gallery/bugs/	Bug-5-.profile.jpg	';
Picture[11]  = 		'images/gallery/bugs/	Bug-5.jpg	';
Picture[12]  =		'images/gallery/bugs/	bug-6-profile.jpg	';
Picture[13]  = 		'images/gallery/bugs/	bug-6.jpg	';
Picture[14]  = 		'images/gallery/bugs/	bug-7-profile.jpg	';
Picture[15]  = 		'images/gallery/bugs/	bug-7.jpg	';
Picture[16]  = 		'images/gallery/bugs/	Bug-8.-front-on.jpg	';
Picture[17]  = 		'images/gallery/bugs/	Bug-8.-profile.jpg	';
Picture[18]  = 		'images/gallery/bugs/	_K2I4364fleur.jpg	';

				
				
				





Caption[1]  = 		"	Best-bug.jpg	";
Caption[2]  = 		"	bug-1.jpg	";
Caption[3]  = 		"	bug-1_profile.jpg	";
Caption[4]  = 		"	Bug-2-profile.jpg	";
Caption[5]  = 		"	Bug-2.jpg	";
Caption[6]  = 		"	Bug-3.jpg	";
Caption[7]  = 		"	Bug-4.jpg	";
Caption[8]  = 		"	Bug-4.profile.jpg	";
Caption[9]  = 		"	Bug-5--other-profile.jpg	";
Caption[10]  = 		"	Bug-5-.profile.jpg	";
Caption[11]  = 		"	Bug-5.jpg	";
Caption[12]  = 		"	bug-6-profile.jpg	";
Caption[13]  = 		"	bug-6.jpg	";
Caption[14]  = 		"	bug-7-profile.jpg	";
Caption[15]  = 		"	bug-7.jpg	";
Caption[16]  = 		"	Bug-8.-front-on.jpg	";
Caption[17]  = 		"	Bug-8.-profile.jpg	";
Caption[18]  = 		"	The-bugs-House-2.jpg	";

				











var tss;
var iss;
var jss = 0;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function control(how){
if (showHot){
if (how=="1") jss = 1; 
if (how=="2") jss = 2; 
if (how=="3") jss = 3; 
if (how=="4") jss = 4; 
if (how=="5") jss = 5; 
if (how=="6") jss = 6; 
if (how=="7") jss = 7; 
if (how=="8") jss = 8; 
if (how=="9") jss = 9;
if (how=="10") jss = 10; 
if (how=="11") jss = 11; 
if (how=="12") jss = 12; 
if (how=="13") jss = 13; 
if (how=="14") jss = 14; 
if (how=="15") jss = 15; 
if (how=="16") jss = 16; 
if (how=="17") jss = 17; 
if (how=="18") jss = 18; 




if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration2)";
document.images.PictureBox.style.filter="blendTrans(durationCrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply()}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];

if (document.all) document.images.PictureBox.filters.blendTrans.Play();
}}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


