<!---

function getRoom()
{
	if(_ninChatRoomName)
		return _ninChatRoomName;
	else 
		return "";
}

function getBackCol()
{
	if(_ninChatBackCol)
		return _ninChatBackCol;
	else 
		return "";
}

function getTextCol()
{
	if(_ninChatTextCol)
		return _ninChatTextCol;
	else 
		return "";
}

function getNameCol()
{
	if(_ninChatNameCol)
		return _ninChatNameCol;
	else 
		return "";
}

function getStyle()
{
	if(_ninChatStyles)
		return _ninChatStyles;
	else
		return "";
}

function UnloadEvent()
{
	//alert("Omg you're closing");
	var flashObj 
	if(document.all)
		flashObj = document.getElementById('_ninChatMain');
	else
		flashObj = document._ninChatMain;
	
		
	try{
		flashObj.SaveBuffer();
	}
	catch(err)
	{
		alert("Error occured: "+err.description);
	}
}

function handleErr(msg,url,l)
{
	alert("Error message is:  "+msg);
}

function _ninChatOpenTab(destination)
{
	alert("Redirect");
	window.location = destination;
}

document.write('<div id="_ninChatView" style="width:'+_ninChatWidth+'px; height:'+_ninChatHeight+'px; margin:0px; border=0px; padding:0px;">');
document.write('	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="' + _ninChatWidth + '" height="' + _ninChatHeight + '" id="_ninChatMain" align="middle">');
document.write('	<param name="allowScriptAccess" value="always" />');
document.write('	<param name="allowFullScreen" value="false" />');
document.write('	<param name="movie" value="http://chat.bloglue.jp/Chat.swf?blah=' + Math.random() + '" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />	');
document.write('	<embed src="http://chat.bloglue.jp/Chat.swf?blah=' + Math.random() + '" quality="high" bgcolor="#000000" width="' + _ninChatWidth + '" height="' + _ninChatHeight + '" name="_ninChatMain" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('	</object>');
document.write('</div>');

//window.onbeforeunload = UnloadEvent;

onerror = handleErr;

-->
