function print_flash(url,width,height){
        classid='D27CDB6E-AE6D-11cf-96B8-444553540000';
//        codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0';
	codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflah.cab#version=10,0,0,2';
        pluginspace='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash';
        document.write('<object classid="clsid:'+classid+'" codebase="'+codebase+'" width="'+width+'" height="'+height+'">');
        document.write('<param name=movie value="'+url+'">');
        document.write('<param name=quality value=high>');
        document.write('<embed src="'+url+'" quality=high pluginspage="'+pluginspace+'" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'">');
        document.write('</embed></object>');
}

function swfWrite(variable)
{
        var features = variable.split("|");
        var url = features[0];
        var width = features[1];
        var height = features[2];

        var swfTags;
        swfTags = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,2' width='" + width + "' height='" + height + "'>";
    swfTags = swfTags + "<param name='movie' value='" + url + "'>";
    swfTags = swfTags + "<param name='quality' value='high'>";
    swfTags = swfTags + "<param name='loop' value='1'>";
        swfTags = swfTags + "<param name='wmode' value='transparent' >";
    swfTags = swfTags + "<embed src='" + url + "' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='" + width + "' height='" + height + "'></embed></object>";

        document.write(swfTags);
}
