/***************************************
2008.04.06 JEANS50's RSS Reader
***************************************/

var J50Reader = {
 fplugin: false
,fversion: 0
,fversion_l: 8
,fsrc: "http://otona.yomiuri.co.jp/jeans50/rss/jeans50.swf?rss_url=" + escape("http://otona.yomiuri.co.jp/jeans50/rss/jeans50.xml")
,fwidth: 185
,fheight: 345
,write: function(_s) { document.write(_s); }
,getFplugin: function() { return this.fplugin; }
,setFplugin: function(_f) { this.fplugin = _f; }
,getFversion: function() { return this.fversion; }
,setFversion: function(_s) { this.fversion = _s; }
,displayDCBP: function() {

	if(this.getFplugin() && (this.getFversion() >= this.fversion_l)){
	this.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' + this.fwidth +'" height="' + this.fheight +'" id="bp" align="">');
	this.write('<param name="movie" value="' + this.fsrc + '">');
	this.write('<param name="quality" value="high">');
	this.write('<param name="bgcolor" value="#ffffff">');
	this.write('<embed src="' + this.fsrc + '" quality="high" bgcolor="#ffffff"  width="' + this.fwidth +'" height="' + this.fheight +'" name="bp" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
	this.write('</object>');
	}
}
};


var buf_bp = new Object();

if(/*@cc_on!@*/false){
document.write('<scr'+'ipt type="text/VBScript">\n');
document.write('on error resume next \n');
document.write('fplugin=IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash")) \n');
document.write('fversion=Left(Hex(Int(CreateObject("ShockwaveFlash.ShockwaveFlash").FlashVersion)),1)\n');
document.write('</scr'+'ipt>\n');
buf_bp.fplugin  = fplugin;
buf_bp.fversion = parseInt("0x" + fversion);
}else{
buf_bp.fplugin = navigator.mimeTypes && navigator.mimeTypes['application/x-shockwave-flash']?navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin:false;
if(buf_bp.fplugin != null){
buf_bp.buf = navigator.plugins["Shockwave Flash"].description.match(/([0-9]+)/);
buf_bp.fversion = buf_bp.buf[0];
}
}
J50Reader.setFplugin(buf_bp.fplugin);
J50Reader.setFversion(buf_bp.fversion);
J50Reader.displayDCBP();
