  function changeClass(id, className){
	if(document.all)
		eval("document.all." + id + ".className = '" + className + "'");
	else if(document.getElementById)
		eval("document.getElementById('" + id + "').className = '" + className + "'");
	}
function startPics(){

one = document.images[3].src;

document.images[3].src = document.images[5].src;
document.images[5].src = document.images[6].src;
document.images[6].src = document.images[4].src;
document.images[4].src = one;
	setTimeout('startPics()', 1500);
}

function pic(){

one = document.images[3].src;

document.images[3].src = document.images[5].src;
document.images[5].src = document.images[6].src;
document.images[6].src = document.images[4].src;
document.images[4].src = one;

}


var picNum = parseInt(0);


var G1Pic = new Array();
G1Pic[0] = '<img src="../Images/jeckRappin.jpg" border="0" alt="Jeck breakin it down" height="480" width="640" align="middle">';
G1Pic[1] = '<a href="http://aftermathmusic.com/" name="pines"><img src="../Images/Eminem.jpg" border="0" alt="Eminem" height="480" width="640" align="middle"></a>';
G1Pic[2] = '<img src="../Images/brelji.jpg" border="0" alt="brelji" height="640" width="480" align="middle">';
G1Pic[3] = '<img src="../Images/sludge.jpg" border="0" alt="Sludge and Jeck" height="480" width="640" align="middle">';

var G1Cap = new Array();
G1Cap[0] = 'Jeck breakin it down';
G1Cap[1] = 'Marshal Mathers working with Pines at Private Studios.<br> Note: <a href="http://aftermathmusic.com/" >Eminem</a> is not on the album or in the band, we just like this photo';
G1Cap[2] = 'Brelgi';
G1Cap[3] = 'Sludge and Jeck at Q101 studios in Chicago.';



var G2Pic = new Array();
G2Pic[0] = '<a href="http://highstreeto.com/Photos/cover.html"><img src="../Images/albumCover.jpg" border="0" alt="Album Cover" width="425" height="425" align="middle"></a>';
G2Pic[1] = '<a href="http://highstreeto.com/Photos/back.html"><img src="../Images/backCover.jpg" border="0" alt="Back Cover" width="425" height="425" align="middle"></a>';
G2Pic[2] = '<a href="http://highstreeto.com/Photos/credits.html"><img src="../Images/credits.jpg" border="0" alt="Credits" width="425" height="425" align="middle"></a>';
G2Pic[3] = '<a href="http://highstreeto.com/Photos/cartoon.html"><img src="../Images/DKCartoonBorder.jpg" border="0" alt="Dave King Cartoon" width="425" height="425" align="middle"></a>';

var G2Cap = new Array();
G2Cap[0] = 'Album Cover Design by Tristan Duke and <a href="mailto:kris@theinvisible.us" class="link">Kris Bauer</a>';
G2Cap[1] = 'Back Cover with track listing designed by Dave King';
G2Cap[2] = 'Album Credits';
G2Cap[3] = 'High Street Orchestra cartoon by Dave King';

var G3Pic = new Array();
G3Pic[0] = '<img src="../Images/Bauer.jpg" alt="Bauer" height="480" width="640" align="middle">';
G3Pic[1] = '<img src="../Images/hapki.jpg" alt="hapki" height="480" width="640" align="middle">';
G3Pic[2] = '<img src="../Images/JeckApt.jpg" alt="Jeck and Ken" height="480" width="640" align="middle">';

var G3Cap = new Array();
G3Cap[0] = 'Bauer';
G3Cap[1] = '<a href="mailto:bicyclepunk@hotmail.com">Hapki</a> wants to babysit your kids.';
G3Cap[2] = 'Ken working on the video';

function G1Advance(pic, action){
	if (action=='next'){
		picNum ++;
		if (picNum > 3)
			picNum = 0;
	}
	else{
		picNum --;
		if (picNum < 0)
			picNum = 3;
	}
	document.getElementById('photocell').innerHTML = G1Pic[picNum];
	document.getElementById('captioncell').innerHTML = G1Cap[picNum];
}

function G2Advance(pic, action){
	if (action=='next'){
		picNum ++;
		if (picNum > 3)
			picNum = 0;
	}
	else{
		picNum --;
		if (picNum < 0)
			picNum = 3;
	}
	document.getElementById('photocell').innerHTML = G2Pic[picNum];
	document.getElementById('captioncell').innerHTML = G2Cap[picNum];
}

function G3Advance(pic, action){
	if (action=='next'){
		picNum ++;
		if (picNum > 2)
			picNum = 0;
	}
	else{
		picNum --;
		if (picNum < 0)
			picNum = 2;
	}
	document.getElementById('photocell').innerHTML = G3Pic[picNum];
	document.getElementById('captioncell').innerHTML = G3Cap[picNum];
}

function addLink(form){
alert("hi there");
url = form.url.value;
link = form.link.value;

path = ' <a href="' + url + '" class="link">' + link + '</a>';
alert(path);
}