function load_flash(p_swf_name, p_width, p_height)
{
i_status = "Good";

if (p_swf_name == "") {document.write('Flash name not passed to load_flash\(\) function.'); i_status = "Bad";}
if (p_width <=0) {document.write('Invalid width passed to load_flash\(\) function.'); i_status = "Bad";}
if (p_height <=0) {document.write('Invalid length passed to load_flash\(\) function.'); i_status = "Bad";}
if (i_status == "Bad") {return false;}

document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
document.write(' WIDTH="' + p_width + '" HEIGHT="' + p_height + '" id="' + p_swf_name + '">');
document.write(' <PARAM NAME="movie" VALUE="' + p_swf_name + '.swf">');
document.write(' <PARAM NAME="quality" VALUE=high>');
document.write(' <PARAM NAME="bgcolor" VALUE=#000000>');
document.write(' <PARAM NAME="wmode" VALUE="transparent">');
document.write('<EMBED src="' + p_swf_name + '.swf" quality=high bgcolor=#000000');
document.write('  wmode="transparent"');
document.write(' WIDTH="' + p_width + '" HEIGHT="' + p_height + '"');
document.write(' NAME="' + p_swf_name + '" TYPE="application/x-shockwave-flash"');
document.write(' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
document.write('</EMBED>');
document.write('</OBJECT>');
}

function Load_GlensCovers()
{
load_flash('GlensCovers', 150, 150);
}
