具体的にどのようなOBJECTタグを埋め込もうとしているのでしょうか?
お知らせください。
(追記)
コメントをありがとうございます。
下のような方法ではどうでしょう。
embedタグの問題については、Cherenkovさんが指摘されているように、IE6のバグです。
<html lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">
window.onload = function() {
var url='';
var tag1='<object width="590" height="500"><param name="movie" value="' + url + '&autoplay=0&loop=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>';
var tag2= '<embed src="' + url + '&autoplay=0&loop=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="590" height="500"></embed>';
var tag3 = '</object>';
tag = tag1 + tag2 + tag3;
[if lte IE 6.0]>
tag = tag2;
<![endif]
document.getElementById("test").innerHTML = tag;
}
</script>
</head>
<body>
ここに<object id="test">OBJECTタグ</object>を埋め込みます
</body>
</html>
回答に追記しました。