bkground = new Image();
bkground.src= "images/band/woodstockbackground2a.jpg";
bkground1 = new Image();
bkground1.src= "images/band/2008concertbackground2.jpg" 
bkground3 = new Image();
bkground3.src= "images/band/2008concertbackground3.jpg" 
bkground4 = new Image();
bkground4.src= "images/band/2008concertbackground4.jpg" 

var timerCnt=0;
var currframe

bkgimg=new Image();
bkgimg.src="images/gray1.jpg";
bandshell=new Image();
bandshell.src = "images/band/2004a.jpg";
bandshell.src = "images/band/greybkg1.jpg";

var bkg="29299c";
var bkg1="29299c";
var bkg1="00005a";
var Idx = 9999;

var i=0;
var k=0;
var w=0;
var h=0;
var ww=0;
var hh=0;

var map=380
var n=10
var maploop=380

var nn;
var j=101;
var jj=0;
var showTimer=1;
var concertTimer;
var startMusic=new Date;

  var pictureArray=99;
  var picture2Array=99;

  var picture = new Array();
  var picture2 = new Array();

  var pictureSV= new Image();
  var tempPic  = new Image();

  var pictureEnd1= new Image();
  var pictureEnd2= new Image();
  var pictureEnd3= new Image();  

flag2=new Image ();
flag2.src  = "images/flag2.jpg";

pictureEnd1.src = "images/fwp55.jpg";
pictureEnd2.src = "images/fwp56.jpg";

bluebkg1= new Image();
bluebkg2= new Image();
bluebkg3= new Image();
bluebkg4= new Image();
bluebkg5= new Image();


for (i=0;i<pictureArray;i++)
{
picture[i] = new Image();
}

for (i=0;i<picture2Array;i++)
{
picture2[i] = new Image();
}

i=0;
//picture[i++].src = "images/wwodstock19.jpg"
//picture[i++].src = "images/wwodstock18.jpg"
//picture[i++].src = "images/wwodstock17.jpg"
//picture[i++].src = "images/wwodstock16.jpg"
//picture[i++].src = "images/wwodstock15.jpg"
//picture[i++].src = "images/wwodstock14.jpg"
//picture[i++].src = "images/wwodstock13.jpg"
//////cture[i++].src = "images/wwodstock12.jpg"
//////cture[i++].src = "images/wwodstock11.jpg"
//picture[i++].src = "images/wwodstock10.jpg"
//////cture[i++].src = "images/wwodstock09.jpg"
//////cture[i++].src = "images/wwodstock08.jpg"
//picture[i++].src = "images/wwodstock07.jpg"
//picture[i++].src = "images/wwodstock06.jpg"
//picture[i++].src = "images/wwodstock05.jpg"
//////cture[i++].src = "images/wwodstock04.jpg"


picture[i++].src = "images/map12.jpg"
picture[i++].src = "images/map11.jpg"
picture[i++].src = "images/map10.jpg"
picture[i++].src = "images/map09.jpg"
picture[i++].src = "images/map08.jpg"
picture[i++].src = "images/map07.jpg"
picture[i++].src = "images/map06.jpg"
picture[i++].src = "images/map05.jpg"
picture[i++].src = "images/map04.jpg"
picture[i++].src = "images/map03.jpg"
picture[i++].src = "images/map02.jpg"
picture[i++].src = "images/map01.jpg"

picture[i++].src = "images/wwodstock03.jpg"
picture[i++].src = "images/wwodstock02.jpg"
picture[i++].src = "images/wwodstock01.jpg"
picture[i++].src = "images/wwodstock01.jpg"
pictureArray=i-1;

i=0;
picture2[0].src = "images/band/2008BW.jpg"
picture2[i++].src = "images/band/2008BW.jpg"
picture2[i++].src = "images/band/2008A6.jpg"
picture2[i++].src = "images/band/2008A5.jpg"
picture2[i++].src = "images/band/2008A4.jpg"
picture2[i++].src = "images/band/2008A3.jpg"
picture2[i++].src = "images/band/2008A2.jpg"
picture2[i++].src = "images/band/2004a.jpg"
picture2Array=i-1;
i=0;

scrollfont="18";
scrollwidth=150;
var scrollerwidth="300px"
var scrollerheight="150px"
var scrollerspeed=1
//parent.scrollercontent=concertscrolltext

var main='<html><head></head>'

	+ '<body  id="maintb" '
	+ 'background="' 
	+ bkground1.src 
	+ '" bgcolor="99ceee" '
	+ 'height=700 width=1400>'
	+ '<table id="maintb1" cols=1 border=0 cellspacing=1 cellpadding=1 height=300 width=1400 > '
	+ '<tr><td >'
		+ '<table cols=3 border=0 cellspacing=0 cellpadding=2 >'
		+ '<tr  >'
		+ '<td width=1>&nbsp</td>'
		+ '<td><table align=left height=' + bandh + ' width=' + bandw + 'border=0 bordercolor=1438fe cellspacing=2 cellpadding=2 ><tr><td align=center valign=top>'
		+ '<td width=10% >&nbsp</td>'
		+ '</tr>'
+ '&nbsp'
//+ '<div id="type">'
//+ '<span id="typing", speed="40" class="typewriter1">The DCamp Family Band<br>Presents a band concert<br>of patriotic music at<br>Woodstock Square<br>Woodstock, Il<br>on July 5th <br>at 4:00 pm</span>'
//+ '<span id="typing2",           class="typewriter2">The DCamp Family Band<br>Presents a band concert<br>of patriotic music at<br>Woodstock Square<br>Woodstock, Il<br>on July 5th <br>at 4:00 pm</span>' 
//+ '</div>'


+ '<tr><td><img src="images/gray1.jpg" style="position:absolute; top: 0.1pt; left:19.0pt; opacity:0.3;filter:alpha(opacity=10); z-index:1" />'
//+ ' onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"'
//+ ' onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" />'
+ '</td></tr>'

+ '<div id="scroll" class="scrollclass">'
+ '<tr>'
+ '<td width=10	>&nbsp</td>'
+ '<td id="fire2" class="'  + scrollfont + '" width="'  + scrollwidth + '" height=100 valign=top align=center bgcolor="000000">'
+ '<table width=100% height=180 border=0><tr><td id="scrolltxt" class="'  + scrollfont + '"><script src=concert2008scroll.js><\/script></td></tr></table></td>'
+ '<td width=10	>&nbsp</td>'
+ '</tr>'
+ '</div>'



+ '<tr>'
+ '<td 	>&nbsp</td>'
+ '<img id="img9" src="' + flag2.src + '"  name="bands9" border=0 '
+ '  style="position:relative; left:0.0pt;top: -10.0pt;  opacity:0.00;filter:alpha(opacity=0); z-index:9 " />'

//+ '<img id="img9a" src="' + brassL.src + '" name="bands9a" border=0 '
//+ '  style="position:absolute; left:20.0pt;top: 200.0pt;  opacity:0.00;filter:alpha(opacity=0); z-index:8 " />'
//+ '<img id="img9B" src="' + brassR.src + '" name="bands9b" border=0 '
//+ '  style="position:absolute; left:300.0pt;top: 200.0pt;  opacity:0.00;filter:alpha(opacity=0); z-index:8 " />'

+ '<img id="img7" src="' + bandshell.src + '"  name="bands7" align=middle border=2 height=320 width=480 '
+ '  style="position:absolute; left:20.0pt;top: 0.0pt; align:left; opacity:0.0;filter:alpha(opacity=0); z-index:5 " />'

+ '<img id="img8" src="' + bkgimg.src + '"  name="bands8" border=2 height=320 width=480 '
+ '  style="position:absolute; left:20.0pt;top: 0.0pt; align:left; opacity:0.10;filter:alpha(opacity=10); z-index:8 " />'

+ '<img id="img6" src="' + bandshell.src + '"  name="bands6" border=2 height=320 width=480'
+ '  style="position:absolute; left:20pt;top: 0.0pt;  align:left; opacity:0.10;filter:alpha(opacity=10); z-index:4 " />'



+ '<div class="imgx">'
+ '<img id="imgx" src="' + bandshell.src + '"  name="imgx" border=2 height=380 width=380 />'
+ '</div>'

+ '<div class="imgx2">'
+ '<img id="imgx2" src="' + bkground4.src + '"  name="imgx2" border=0 width=1000 />'
+ '</div>'

+ '<div class="imgx3">'
+ '<img id="imgx3" src="' + bkground4.src + '"  name="imgx3" border=0 width=1400 />'
+ '</div>'


//+ '<img  id="img4" src=images/fire4.gif name="bands4" border=0 height=200 width=200 '
//+ '  style="position:absolute; left:20.0px; top 5.0px;  opacity:0.0;filter:alpha(opacity=00); z-index:5 " />'
//+ '<img  id="img4b" src=images/fire2.gif name="bands4b" border=0 height=200 width=200 '
//+ '  style="position:absolute; left:240.0px; top 5.0px;  opacity:0.0;filter:alpha(opacity=00); z-index:6 " />'
//+ '<img  id="img4c" src=images/fire1.gif name="bands4c" border=0 height=300 width=300 '
//+ '  style="position:absolute; left:440.0px; top 150.0px;  opacity:0.0;filter:alpha(opacity=00); z-index:5 " />'

//+ '<img id="img1" src="images/band/2008concertbackground2.jpg" name="head1" border=0 width=1400 '
//+ '  style="position:absolute; left:0.0pt;top 0.0pt;  opacity:1.0;filter:alpha(opacity=100); z-index:1 " />'


+ '</td>'
+ '</tr>'
+ '</td></tr></table>'
+ '<td  >&nbsp</td>'
+ '</tr>'
+ '</table>'
+ '</tr>'
+ '</table>'
+ '</body>'
+ '</html>'



var mainout='<html><head></head>'

	+ '<body  id="maintb" bgcolor="99ceee" '
	+ 'height=700 width=1400>'
	+ '<table id="maintb1" cols=1 border=0 cellspacing=1 cellpadding=1 height=300 width=1400 > '
	+ '<tr><td >'
		+ '<table cols=3 border=0 cellspacing=0 cellpadding=2 >'
		+ '<tr  >'
		+ '<td width=1>&nbsp</td>'
		+ '<td><table align=left height=' + bandh + ' width=' + bandw + 'border=0 bordercolor=99ceee cellspacing=2 cellpadding=2 ><tr><td align=center valign=top>'
		+ '<td width=10% >&nbsp</td>'
		+ '</tr>'
	+ '<tr><td>&nbsp</td></tr></table>'
	+ '</tr>'
	+ '</table>'
	+ '</body>'
	+ '</html>'


//-----------------------------------------------------------------------------
function startConcertInfo()
{
    expandHeader()
    DspHead2First()

i=0;
j=101;
    currframe=window.STATS.document.getElementById("stats").innerHTML
    window.MAIN.document.write(main);
    //window.HEAD.document.getElementById('head').style.backgroundColor=99ceee;
    window.MENU.document.getElementById('menu').style.backgroundColor="99ceee";
    pictureSV.src=picture[0].src;
    
   window.MAIN.document.getElementById("imgx").src=pictureSV.src;
   
concertTimer = setTimeout("runzoomSlides()", 100)
//concertTimer2 = setTimeout("runConcertSlides()", 21999)
}




//-----------------------------------------------------------------------------
function runzoomSlides()
{
      
if (document.all)
{
     j = j + 2
     jj=j*n
     if (jj >  380)
     {
        j=0;
        w=380;
        ww=0;
        hh=0;
        h=380;
        if (i <= pictureArray)
            {
            i++;
	    tempPic.src=picture[i].src
            window.MAIN.document.getElementById("imgx").src=tempPic.src
            }
        }

        if (i < pictureArray)
        {
            
	 tempPic.src=picture[i].src
            h=380 + jj/2
            w=380 + jj/2
            hh=jj/4  * -1
            ww=jj/4 * -1            

            tempPic.width=h
	    tempPic.height=w

            window.MAIN.document.getElementById("imgx").src=tempPic.src
         window.MAIN.document.getElementById("imgx").height=h;
         window.MAIN.document.getElementById("imgx").width=w;
            window.MAIN.document.getElementById("imgx").style.marginLeft=ww
            window.MAIN.document.getElementById("imgx").style.marginTop=hh
window.status=hh + "," + ww + "  j=" + j + " jj=" + jj
            //window.MAIN.document.getElementById("imgx").align="middle"

        t = setTimeout("runzoomSlides()", 40)
        }
    }
}





//-----------------------------------------------------------------------------
function runConcertSlides()
{
      


if (document.all)
{
//        document.images.bands.style.filter="blendTrans(duration=2)"
//        document.images.bands.style.filter="blendTrans(duration=crossFadeDuration)"
//        document.images.bands.filters.blendTrans.Apply()
//+ ' onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"'
     j = j + 5 
     if (j >  100)
     {
        j=0;
        if (i <= pictureArray)
            {
          //  window.MAIN.document.getElementById("img6").src=picture[i].src
            pictureSV.src=picture[i].src;
            i++;
            window.MAIN.document.images.bands7.filters.alpha.opacity=j
            
            window.MAIN.document.getElementById("img7").src=picture[i].src
            //buildmsg(i);
            }
        }
        if (i*10 < 50){ jj = 50 - (i *10)}
        window.MAIN.document.images.bands8.filters.alpha.opacity=jj
        window.MAIN.document.images.bands7.filters.alpha.opacity=j
        window.MAIN.document.images.bands6.filters.alpha.opacity=100
        if (i < pictureArray) t = setTimeout("runConcertSlides()", 1)
    }
}
//}
