
/***********************************************
* Conveyor belt slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/


//Specify the slider's width (in pixels)
var sliderwidth="1024px"
//Specify the slider's height
var sliderheight="124px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=1
//configure background color:
slidebgcolor="#FFFFFF"

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="got_the_bug_2_bugz_in_the_attic.html"><img src="cbpics/got_the_bug_2.jpg" alt="Got The Bug 2 album review" width="124" height="124" /></a>'
leftrightslide[1]='<a href="kamaal_the_abstract_q-tip.html"><img src="cbpics/kamaal_the_abstract.jpg" alt="Kamaal The Abstract album review" width="124" height="124" /></a>'
leftrightslide[2]='<a href="blacksummers_night_maxwell.html"><img src="cbpics/blacksummers_night.jpg" alt="BLACKsummers night album review" width="124" height="124" /></a>'
leftrightslide[3]='<a href="one_offs_remixes_b_sides_domu.html"><img src="cbpics/one_off_remixes_and_b_side.jpg" alt="One Offs, Remixes And B Sides album review" width="124" height="124" /></a>'
leftrightslide[4]='<a href="hyper_reality_clyde.html"><img src="cbpics/hyper_reality.jpg" alt="Hyper Reality album review" width="124" height="124" /></a>'
leftrightslide[5]='<a href="higher_michelle_amador.html"><img src="cbpics/higher.jpg" alt="Higher album review" width="124" height="124" /></a>'
leftrightslide[6]='<a href="the_new_continent.html"><img src="cbpics/the_new_continent.jpg" alt="The New Continent album review" width="124" height="124" /></a>'
leftrightslide[7]='<a href="the_after_suite.html"><img src="cbpics/the_after_suite.jpg" alt="The After Suite album review" width="124" height="124" /></a>'
leftrightslide[8]='<a href="when_planets_explode.html"><img src="cbpics/when_planets_explode.jpg" alt="When Planets Explode album review" width="124" height="124" /></a>'
leftrightslide[9]='<a href="in_search_of_hope.html"><img src="cbpics/in_search_of_hope.jpg" alt="In Search Of Hope album review" width="124" height="124" /></a>'
leftrightslide[10]='<a href="the_renaissance.html"><img src="cbpics/the_renaissance.jpg" alt="The Renaissance album review" width="124" height="124" /></a>'
leftrightslide[11]='<a href="a_next_set_a_rockers.html"><img src="cbpics/a_next_set_a_rockers.jpg" alt="A Next Set A Rockers album review" width="124" height="124" /></a>'
leftrightslide[12]='<a href="karen_p_broadcasting.html"><img src="cbpics/broad_casting.jpg" alt="broad casting album review" width="124" height="124" /></a>'
leftrightslide[13]='<a href="new_amerykah_part_one.html"><img src="cbpics/new_amerykah_part_one.jpg" alt="New Amerykah Part One.jpg album review" width="124" height="124" /></a>'
leftrightslide[14]='<a href="planet_pimp.html"><img src="cbpics/planet_pimp.jpg" alt="Planet Pimp album review" width="124" height="124" /></a> '
leftrightslide[15]='<a href="jazzrefreshed_vol1.html"><img src="cbpics/jazz_refreshed_vol1.jpg" alt="Jazz Re:freshed Vol 1 album review" width="124" height="124" /></a>'
leftrightslide[16]='<a href="sketches_of_a_man.html"><img src="cbpics/sketches_of_a_man.jpg" alt="Sketches Of A Man album review" width="124" height="124" /></a>'
leftrightslide[17]='<a href="this_thing_of_ours.html"><img src="cbpics/this_thing_of_ours.jpg" alt="This Thing Of Ours... album review" width="124" height="124" /></a>'
leftrightslide[18]='<a href="then_what_happened.html"><img src="cbpics/then_what_happened.jpg" alt="Then What Happened? album review" width="124" height="124" /></a>'
leftrightslide[19]='<a href="guaranteed_niceness.html"><img src="cbpics/guaranteed_niceness.jpg" alt="Guaranteed Niceness album review" width="124" height="124" /></a>'
leftrightslide[20]='<a href="loud_louder_stop.html"><img src="cbpics/loud_louder_stop.jpg" alt="Loud... Louder... Stop! album review" width="124" height="124" /></a>'
leftrightslide[21]='<a href="junkyard_gods.html"><img src="cbpics/junkyard_gods.jpg" alt="Junkyard Gods album review" width="124" height="124" /></a>'
leftrightslide[22]='<a href="4hero_mixing.html"><img src="cbpics/4hero_mixing.jpg" alt="...mixing album review" width="124" height="124" /></a>'
leftrightslide[23]='<a href="seven_ways_to_wonder.html"><img src="cbpics/seven_ways_to_wonder.jpg" alt="Seven Ways To Wonder album review" width="124" height="124" /></a>'
leftrightslide[24]='<a href="california.html"><img src="cbpics/california.jpg" alt="California album review" width="124" height="124" /></a>'
leftrightslide[25]='<a href="broadcite_acetate.html"><img src="cbpics/broadcite_acetate.jpg" alt="Broadcite Acetate album review" width="124" height="124" /></a>'
leftrightslide[26]='<a href="ruedyr.html"><img src="cbpics/ruedyr.jpg" alt="Ruedy album review" width="124" height="124" /></a>'
leftrightslide[27]='<a href="the_real_thing.html"><img src="cbpics/the_real_thing.jpg" alt="The Real Thing album review" width="124" height="124" /></a>'
leftrightslide[28]='<a href="art_of_love_and_warr.html"><img src="cbpics/art_of_love_and_warr.jpg" alt="The Art Of Love And War album review" width="124" height="124" /></a>'
leftrightslide[29]='<a href="the_politik.html"><img src="cbpics/the_politickr.jpg" alt="The Politik album review" width="124" height="124" /></a>'
leftrightslide[30]='<a href="collaborationsr.html"><img src="cbpics/collaborationsr.jpg" alt="Collaborations album review" width="124" height="124" /></a>'
leftrightslide[31]='<a href="mafleur.html"><img src="cbpics/mafleurr.jpg" alt="Ma Fleur album review" width="124" height="124" /></a>'
leftrightslide[32]='<a href="onesweetlife.html"><img src="cbpics/onesweetlifer.jpg" alt="One Sweet Life album review" width="124" height="124" /></a>'
leftrightslide[33]='<a href="4heror.html"><img src="cbpics/4heror.jpg" alt="Play With The Changes album review" width="124" height="124" /></a>'
leftrightslide[34]='<a href="bugzintheatticr.html"><img src="cbpics/bugz.jpg" alt="Back In The Dog House album review" width="124" height="124" /></a>'
leftrightslide[35]='<a href="returnoftherogue.html"><img src="cbpics/returnoftheroguer.jpg" alt="Return Of The Rogue album review" width="124" height="124" /></a>'
leftrightslide[36]='<a href="power_soulr.html"><img src="cbpics/power_soulr.jpg" alt="Power Soul album review" width="124" height="124" /></a>'


//Specify gap between each image (use HTML):
var imagegap=" "

//Specify pixels gap between each slideshow rotation (use integer):
var slideshowgap=5


////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+slideshowgap+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",30)
}
window.onload=fillup

function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
else
cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"

if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"
else
cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px"

}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+slideshowgap

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+slideshowgap
}
}


if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')
write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
