// marqueeload.js

var ml_diag = 0;
var no_panes = 0;
marquee_pane = new Array();
marquee_line = new Array();

function marquee_add ( pane, line )
{
    marquee_pane[no_panes] = pane;
    marquee_line[no_panes] = line;
    no_panes++;

    if ( ml_diag == 1 )
        alert ( ' pane\n' + marquee_pane[no_panes-1] );
}

function marqueeload ()
{
    var config;

    config = '';
    config = config
        + '<div id="marqueecontainer" onmouseover="copyspeed=pausespeed" onmouseout="copyspeed=marqueespeed">'
        + '<div id="vmarquee" style="position: absolute; width: 98%;">';

    for ( var i = 0; i < no_panes; i++ )
    {
        if ( i > 0 ) config = config + '<br>&nbsp;';
		if ( marquee_line[i] == 0 )  config = config + '<hr width="66%" align="left" width="3">';

        config = config 
            + marquee_pane[i];
    }
    config = config 
        + '<br>&nbsp;';
        
    config = config 
        + '<hr width="66%" align="left" width="3">';

    config = config 
        + '</div>';
        
    config = config 
        + '</div>';
        
    document.write(config);

    if  ( ml_diag == 1 )
        alert ( ' header1\n' + config );
}


marquee_add ( '<b>KO Dance Program Annual Dance Concert</b><br>Dancers include: KO Dance Company, IB Dance,<br> Advanced Dance, Dance II, Step Team,<br> Oak Break Krew, Strutters, KODC Alumni.<br>May 5th and 6th at 7:00pm<br> in the KOHS Auditorium<br>$5 admission<br>Contact Mrs. Curry - <a href="mailto:fcurry@kleinisd.net">Email</a> \/ 832.484.5091', 0);   

marquee_add ( '<b>Concert Shirt and DVD order form: </b><br>&nbsp;&nbsp;<a href="2011 Concert Order Form.pdf">(Click Here)</a>', 0);

marquee_add ( '<b>KO Dance Company Auditions</b><br>Wednesday, May 11th from 3-5pm OR<br> Saturday, May 14th from 9-11am<br>Open to current 8th-11th graders<br>Contact Mrs. Curry  - <a href="mailto:fcurry@kleinisd.net">Email</a> / 832.484.5091 /<br>COMPANY <a href="company.htm">(Click Here)</a>', 0);

marquee_add ( '<b>Ever wonder how to really WATCH a dance performance?</b><br><a href="watching_dance.pdf">(Click Here)</a> to read a few tips.', 0 );

//marquee_add ( '<b>**NEW COURSE BEGINS FALL 2008**<br>DANCE COMPOSITION</b>, an advanced course for Juniors and Seniors only, begins next year.<br>(Click here) for more information.' );

//marquee_add ( 'The <b>ANNUAL DANCE PROGRAM FUND RAISER</b> will begin on Tuesday, October 14, 2008 and will last for 2 weeks with a goal to help pay for costumes, music, supplies and guest artists.<br> Checks should be made payable to KOHS Dance with item delivery occurring in mid to late November.<br> Shop for your holiday baking treats now<b>!</b>' );

marquee_add ( '<b>NEED DANCE CLOTHES FOR CLASS?</b><br><a href="dance_links_dance_attire.htm">(Click Here)</a> for DANCE ATTIRE.', 0 );

marquee_add ( '<b>DANCE CLASS WISH LIST:</b><ul><li>Band aids &nbsp;</li><li>Bobby &amp; safety pins&nbsp;</li><li>Crayons / map pencils &nbsp;</li><li>Fabric softener sheets&nbsp;</li><li>Hair ties &nbsp;</li><li>Kleenex &nbsp;</li><li>Glue / glue sticks &nbsp;</li><li>Lotion &nbsp;</li><li>Baby wipes &nbsp;</li><li>Hair spray &nbsp;</li><li>Pant hangars &nbsp;</li></ul>', 0 );

marquee_add ( '<b>EXTRA CREDIT:</b><br> Planning on attending a professional dance, music or theater performance?<br> <i>Want Extra Credit?</i><br> Prepare a 1 or 2 typed page paper discussing the costumes, dancers / musicians / actors, music, scenery and story. Then attach your ticket or program and turn in for Extra Credit.', 0 );
    
/*
marquee_add ( '<img src="journey_continues.jpg" alt="THE JOURNEY CONTINUES" border="0" align=""><br>&nbsp;<br> <b>&quot;THE JOURNEY CONTINUES&quot;</b> - Annual Dance Concert / Thursday, May 8th 7:00pm KO Auditorium / $5.00 admission / T-shirts for sale / Performances by KODanceCo, KO Strutters, and Dance II as well as Guest Artists from Sam Houston State University Dance Dept and Professional Ballroom Dancers Laura and Martin.' );

marquee_add ( '<b>LETTER TO PARENTS AND STUDENTS<br>&nbsp;&nbsp;&nbsp;UPCOMING DANCE CONCERT</b><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="lettertoparents2-08.pdf">(Click Here)</a> &nbsp;&nbsp;<a href="http://www.adobe.com/products/acrobat/readstep2.html"><img src="acrobat_reader.gif" width="88" height="31" alt="" border="0" align="absmiddle"></a>' );

marquee_add ( '<b>KODANCECO (DANCE 3-4) AND IB AUDITIONS:</b> Tuesday, April 15 from 3-5pm / <a href="kodance_auditions.htm">Click Here</a> for information.' );
*/

