
function playMovie1( a, href ) {
 
	 	

// remove element if exists
    var container = document.getElementById("playing1");
	var flash_movie1 = document.getElementById( "flash_movie1" );
	
	if( flash_movie1 ) {
		container.removeChild( flash_movie1 );
	}	
	
	// create new element
    var embed = document.createElement("EMBED");
	embed.setAttribute( "allowFullScreen", "false" );
	embed.setAttribute( "src", href );
	embed.setAttribute( "type", "application/x-shockwave-flash" );
	embed.setAttribute( "width", "410" );
	embed.setAttribute( "height", "150" );
	embed.setAttribute( "id", "flash_movie1" );
    
	

	// clear out the cell
	cell = a.parentNode;
	cell.id	= 'playing1';
	
	//while( cell.hasChildNodes() ) {
		//cell.removeChild( cell.firstChild );
	//}
	
	// insert the element into the cell
	cell.appendChild( embed );
	
	

}

function playMovie2( a, href ) {
 
	 	

// remove element if exists
    var container = document.getElementById("playing2");
	var flash_movie2 = document.getElementById( "flash_movie2" );
	
	if( flash_movie2 ) {
		container.removeChild( flash_movie2 );
	}	
	
	// create new element
    var embed = document.createElement("EMBED");
	embed.setAttribute( "allowFullScreen", "false" );
	embed.setAttribute( "src", href );
	embed.setAttribute( "type", "application/x-shockwave-flash" );
	embed.setAttribute( "width", "410" );
	embed.setAttribute( "height", "150" );
	embed.setAttribute( "id", "flash_movie2" );
     
	

	// clear out the cell
	cell = a.parentNode;
	cell.id	= 'playing2';
	
	//while( cell.hasChildNodes() ) {
	//	cell.removeChild( cell.firstChild );
	//}
	
	// insert the element into the cell
	cell.appendChild( embed );



}

function playMovie3(a, href) {



    // remove element if exists
    var container = document.getElementById("playing3");
    var flash_movie3 = document.getElementById("flash_movie3");

    if (flash_movie3) {
        container.removeChild(flash_movie3);
    }

    // create new element
    var embed = document.createElement("EMBED");
    embed.setAttribute("allowFullScreen", "false");
    embed.setAttribute("src", href);
    embed.setAttribute("type", "application/x-shockwave-flash");
    embed.setAttribute("width", "410");
    embed.setAttribute("height", "150");
    embed.setAttribute("id", "flash_movie3");



    // clear out the cell
    cell = a.parentNode;
    cell.id = 'playing3';

    //while( cell.hasChildNodes() ) {
    //	cell.removeChild( cell.firstChild );
    //}

    // insert the element into the cell
    cell.appendChild(embed);



}

function playMovie4(a, href) {



    // remove element if exists
    var container = document.getElementById("playing4");
    var flash_movie4 = document.getElementById("flash_movie4");

    if (flash_movie4) {
        container.removeChild(flash_movie4);
    }

    // create new element
    var embed = document.createElement("EMBED");
    embed.setAttribute("allowFullScreen", "false");
    embed.setAttribute("src", href);
    embed.setAttribute("type", "application/x-shockwave-flash");
    embed.setAttribute("width", "300");
    embed.setAttribute("height", "250");
    embed.setAttribute("id", "flash_movie4");



    // clear out the cell
    cell = a.parentNode;
    cell.id = 'playing4';

    //while( cell.hasChildNodes() ) {
    //	cell.removeChild( cell.firstChild );
    //}

    // insert the element into the cell
    cell.appendChild(embed);



}

function playMovie5(a, href) {



    // remove element if exists
    var container = document.getElementById("playing5");
    var flash_movie5 = document.getElementById("flash_movie5");

    if (flash_movie5) {
        container.removeChild(flash_movie5);
    }

    // create new element
    var embed = document.createElement("EMBED");
    embed.setAttribute("allowFullScreen", "false");
    embed.setAttribute("src", href);
    embed.setAttribute("type", "application/x-shockwave-flash");
    embed.setAttribute("width", "300");
    embed.setAttribute("height", "450");
    embed.setAttribute("id", "flash_movie5");



    // clear out the cell
    cell = a.parentNode;
    cell.id = 'playing5';

    //while( cell.hasChildNodes() ) {
    //	cell.removeChild( cell.firstChild );
    //}

    // insert the element into the cell
    cell.appendChild(embed);



}

function playMovie6(a, href) {



    // remove element if exists
    var container = document.getElementById("playing6");
    var flash_movie6 = document.getElementById("flash_movie6");

    if (flash_movie6) {
        container.removeChild(flash_movie6);
    }

    // create new element
    var embed = document.createElement("EMBED");
    embed.setAttribute("allowFullScreen", "false");
    embed.setAttribute("src", href);
    embed.setAttribute("type", "application/x-shockwave-flash");
    embed.setAttribute("width", "610");
    embed.setAttribute("height", "300");
    embed.setAttribute("id", "flash_movie6");



    // clear out the cell
    cell = a.parentNode;
    cell.id = 'playing6';

    //while( cell.hasChildNodes() ) {
    //	cell.removeChild( cell.firstChild );
    //}

    // insert the element into the cell
    cell.appendChild(embed);



}

function playMovie7(a, href) {



    // remove element if exists
    var container = document.getElementById("playing7");
    var flash_movie7 = document.getElementById("flash_movie7");

    if (flash_movie7) {
        container.removeChild(flash_movie7);
    }

    // create new element
    var embed = document.createElement("EMBED");
    embed.setAttribute("allowFullScreen", "false");
    embed.setAttribute("src", href);
    embed.setAttribute("type", "application/x-shockwave-flash");
    embed.setAttribute("width", "468");
    embed.setAttribute("height", "60");
    embed.setAttribute("id", "flash_movie7");



    // clear out the cell
    cell = a.parentNode;
    cell.id = 'playing7';

    //while( cell.hasChildNodes() ) {
    //	cell.removeChild( cell.firstChild );
    //}

    // insert the element into the cell
    cell.appendChild(embed);



}

function playMovie8(a, href) {



    // remove element if exists
    var container = document.getElementById("playing8");
    var flash_movie8 = document.getElementById("flash_movie8");

    if (flash_movie8) {
        container.removeChild(flash_movie8);
    }

    // create new element
    var embed = document.createElement("EMBED");
    embed.setAttribute("allowFullScreen", "false");
    embed.setAttribute("src", href);
    embed.setAttribute("type", "application/x-shockwave-flash");
    embed.setAttribute("width", "481");
    embed.setAttribute("height", "67");
    embed.setAttribute("id", "flash_movie8");



    // clear out the cell
    cell = a.parentNode;
    cell.id = 'playing8';

    //while( cell.hasChildNodes() ) {
    //	cell.removeChild( cell.firstChild );
    //}

    // insert the element into the cell
    cell.appendChild(embed);



}

function playMovie9(a, href) {



    // remove element if exists
    var container = document.getElementById("playing9");
    var flash_movie9 = document.getElementById("flash_movie9");

    if (flash_movie9) {
        container.removeChild(flash_movie9);
    }

    // create new element
    var embed = document.createElement("EMBED");
    embed.setAttribute("allowFullScreen", "false");
    embed.setAttribute("src", href);
    embed.setAttribute("type", "application/x-shockwave-flash");
    embed.setAttribute("width", "531");
    embed.setAttribute("height", "66");
    embed.setAttribute("id", "flash_movie9");



    // clear out the cell
    cell = a.parentNode;
    cell.id = 'playing9';

    //while( cell.hasChildNodes() ) {
    //	cell.removeChild( cell.firstChild );
    //}

    // insert the element into the cell
    cell.appendChild(embed);



}

function playMovie10(a, href) {



    // remove element if exists
    var container = document.getElementById("playing10");
    var flash_movie10 = document.getElementById("flash_movie10");

    if (flash_movie10) {
        container.removeChild(flash_movie10);
    }

    // create new element
    var embed = document.createElement("EMBED");
    embed.setAttribute("allowFullScreen", "false");
    embed.setAttribute("src", href);
    embed.setAttribute("type", "application/x-shockwave-flash");
    embed.setAttribute("width", "300");
    embed.setAttribute("height", "45");
    embed.setAttribute("id", "flash_movie10");



    // clear out the cell
    cell = a.parentNode;
    cell.id = 'playing10';

    //while( cell.hasChildNodes() ) {
    //	cell.removeChild( cell.firstChild );
    //}

    // insert the element into the cell
    cell.appendChild(embed);



}
