function showClock(obj){

//Aded by Takeshi Sugimoto on 2008/05/01 for SSL
var str = '';
var vstr='';
if(obj.ssl == '1'){
	str = '<embed src="/';
}
else{
	str = '<embed src="/';
}
//--

	str += obj.clockfile;
	str += "?";
	vstr+=	obj.clockfile;
	vstr += "?";
	for( prop in obj ) {
		if( 'clockfile' == prop 
			|| 'width' == prop
			|| 'height' == prop
			|| 'wmode' == prop
			|| 'type' == prop
		) continue;
	
		//Added by takeshi on 2007/01/29 (to display mutibyte chars by using URL encoding)
		if(prop == "Title" || prop == "Message"){
			str += ( prop + "=" + obj[prop] + "&" );
			vstr += ( prop + "=" + obj[prop] + "&" );
		}
		else{
			str += ( prop + "=" + _escape(obj[prop]) + "&" );
			vstr += ( prop + "=" + _escape(obj[prop]) + "&" );
		}
		//--
	}
	str += '" ';
	str += ' width="' + obj.width + '"';
	str += ' height="' + obj.height + '"';
	str += ' wmode="' + obj.wmode + '"';
	str += ' type="application/x-shockwave-flash">';
	
	
	str =' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="' + obj.width + '"   height="' + obj.height + '"> <param name="movie" value="'+vstr+'" />'+str;
	str += '</object>';
	document.write( str );
}

function _escape(str){
	str = str.replace(/ /g, '+');
	str = str.replace(/%/g, '%25');
	str = str.replace(/\?/, '%3F');
	str = str.replace(/&/, '%26');
	return str;
}

function showBanner(BannerLink){
	document.write(BannerLink);
}
