	//Fade-in image slideshow- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

var slideshow_width='403px' //SET IMAGE WIDTH
var slideshow_height='271px' //SET IMAGE HEIGHT
var pause=4500 //SET PAUSE BETWEEN SLIDE (3000=3 seconds)

var fadeimages0=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages0[0]="./imagesCo_Intro_H39x26/2MCs_village_creek_crossing_Laos_H39x26-BS.jpg"
fadeimages0[1]="./imagesCo_Intro_H39x26/Terraced_rice_padis_Vietnam_H39x26-BS.jpg"
fadeimages0[2]="./imagesCo_Intro_H39x26/5mcs_on_curve_Laos_H39x26-BS.jpg"
fadeimages0[3]="./imagesCo_Intro_H39x26/Standing_on_jar_POJ_Laos_H39x26_BS.jpg"
fadeimages0[4]="./imagesCo_Intro_H39x26/RR_mc_standing_Bagan_ruin_Burma_H39x26-BS.jpg"
fadeimages0[5]="./imagesCo_Intro_H39x26/Angkor_Wat_hill_view_H39x26-BS.jpg"
fadeimages0[6]="./imagesCo_Intro_H39x26/Kao_Sok_NP_Thailand_H39x26-BS.jpg"
fadeimages0[7]="./imagesCo_Intro_H39x26/Drinking_tea_Rajasthan_style_H39x26-BS.jpg"
fadeimages0[8]="./imagesCo_Intro_H39x26/River_into_Kanglor_Cave_Lao_H39x26-BS.jpg"
fadeimages0[9]="./imagesCo_Intro_H39x26/Butress_root_mc_crop_Angkor_H39x26Lasso-BS.jpg"
////NO need to edit beyond here/////////////

var preloadedimages0=new Array()
for (p=0;p<fadeimages0.length;p++){
preloadedimages0[p]=new Image()
preloadedimages0[p].src=fadeimages0[p]
}

var ie4=document.all
var dom=document.getElementById

if (ie4||dom)
document.write('<div style="position:relative;width:'+slideshow_width+';height:'+slideshow_height+';overflow:hidden"><div  id="canvas00" style="position:absolute;width:'+slideshow_width+';height:'+slideshow_height+';top:0;left:0;filter:alpha(opacity=10);-moz-opacity:10"></div><div id="canvas01" style="position:absolute;width:'+slideshow_width+';height:'+slideshow_height+';top:0;left:0;filter:alpha(opacity=10);-moz-opacity:10"></div></div>')
else
document.write('<img name="defaultslide0" src="'+fadeimages0[0]+'">')

var curpos0=10
var degree0=10
var curcanvas0="canvas00"
var curimageindex0=0
var nextimageindex0=1


function fadepic0(){
if (curpos0<100){
curpos0+=10
if (tempobj0.filters)
tempobj0.filters.alpha.opacity=curpos0
else if (tempobj0.style.MozOpacity)
tempobj0.style.MozOpacity=curpos0/100
}
else{
clearInterval(dropslide0)
nextcanvas0=(curcanvas0=="canvas00")? "canvas00" : "canvas01"
tempobj0=ie4? eval("document.all."+nextcanvas0) : document.getElementById(nextcanvas0)
tempobj0.innerHTML='<img src="'+fadeimages0[nextimageindex0]+'">'
nextimageindex0=(nextimageindex0<fadeimages0.length-1)? nextimageindex0+1 : 0
setTimeout("rotateimage0()",pause)
}
}

function rotateimage0(){
if (ie4||dom){
resetit0(curcanvas0)
var crossobj0=tempobj0=ie4? eval("document.all."+curcanvas0) : document.getElementById(curcanvas0)
crossobj0.style.zIndex++
var temp0='setInterval("fadepic0()",50)'
dropslide0=eval(temp0)
curcanvas0=(curcanvas0=="canvas00")? "canvas01" : "canvas00"
}
else
document.images.defaultslide0.src=fadeimages0[curimageindex0]
curimageindex0=(curimageindex0<fadeimages0.length-1)? curimageindex0+1 : 0
}

function resetit0(what){
curpos0=10
var crossobj0=ie4? eval("document.all."+what) : document.getElementById(what)
if (crossobj0.filters)
crossobj0.filters.alpha.opacity=curpos0
else if (crossobj0.style.MozOpacity)
crossobj0.style.MozOpacity=curpos0/100
}

function startit0(){
var crossobj0=ie4? eval("document.all."+curcanvas0) : document.getElementById(curcanvas0)
crossobj0.innerHTML='<img src="'+fadeimages0[curimageindex0]+'">'
rotateimage0()
}

if (ie4||dom)
window.onload=startit0
else
setInterval("rotateimage0()",pause)


