function LoadFlashBanner(w, h, url)
{
	document.write('<object type="application/x-shockwave-flash" id="v-' + Math.random() +
		'" data="' + url + '" width="' + w + '" height="' + h +
		'"><param name="quality" value="high" /><param name="wmode" value="transparent" />');
	document.write('<param name="movie" value="' + url + '" />');
	document.write('</object>');
}

function writeFlash(filename, width, height, id, isResizable)
{
    if (isResizable)
        if (filename.indexOf("?") > 0) 
            filename += "&random=" + Math.random();
        else
            filename += "?random=" + Math.random();

    document.write('<object type=\"application/x-shockwave-flash\" id=\"'+id+'\" data=\"'+filename+'\" width=\"'+width+'\" height=\"'+height+'\"');

	if (isResizable)
        document.write(' nativeWidth=\"'+width+'\" nativeHeight=\"'+height+'\" resizable="true"');
	
	document.write('><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" />');
    
	document.write('<param name=\"movie\" value=\"'+filename+'\" />');
	document.write('</object>');
}
