/*function isAppletLoaded()
{
var Ajax = new Object();
var Page = new Object();

Page.width;
Page.height;
Page.top;

Page.loadOut = function ()
{
	document.getElementById('loading').innerHTML ='';	
}

Page.getPageCenterX = function ()
{
	var fWidth;
	var fHeight;		
	//For old IE browsers 
	if(document.all) 
	{ 
		fWidth 	= document.body.clientWidth; 
		fHeight = document.body.clientHeight; 
	} 
	//For DOM1 browsers 
	else if(document.getElementById &&!document.all)
	{ 
		fWidth 	= innerWidth; 
		fHeight = innerHeight; 
	} 
	else if(document.getElementById) 
	{ 
		fWidth 	= innerWidth; 
		fHeight = innerHeight; 		
	} 
	//For Opera 
	else if (is.op) 
	{ 
		fWidth 	= innerWidth; 
		fHeight = innerHeight; 		
	} 
	//For old Netscape 
	else if (document.layers) 
	{ 
		fWidth 	= window.innerWidth; 
		fHeight = window.innerHeight; 		
	}

	Page.width 	= fWidth;
	Page.height = fHeight;
	Page.top 	= window.document.body.scrollTop;
}

Ajax.RequestisAppletLoaded = function(feedurl, callbackMethod)
{
	Page.getPageCenterX();
	
	url = feedurl;
	
	Ajax.RequestisAppletLoaded = Ajax.createRequestObject();
	Ajax.RequestisAppletLoaded.onreadystatechange = callbackMethod;
	Ajax.RequestisAppletLoaded.open("POST", url, true);
	Ajax.RequestisAppletLoaded.send(url);
}

Ajax.ResponseisAppletLoaded = function ()
{
	if(Ajax.CheckReadyState(Ajax.RequestisAppletLoaded))
	{	
		var	response = Ajax.RequestisAppletLoaded.responseXML.documentElement;
		var _data 	 = response.getElementsByTagName('applet');
		var isLoaded  = response.getElementsByTagName('id')[0].firstChild.data;
		thisMovie("karaokePlayer").appletStatus(isLoaded);
	}
}

Ajax.createRequestObject = function()
{
	var obj;
	if(window.XMLHttpRequest)
	{
		obj = new XMLHttpRequest();
	}
	else if(window.ActiveXObject)
	{
		obj = new ActiveXObject("MSXML2.XMLHTTP");
	}
	return obj;
}

Ajax.CheckReadyState = function(obj)
{
	if(obj.readyState < 4) {		
		
		document.getElementById('loading').style.top = (Page.top + Page.height/2)+150;
		document.getElementById('loading').style.left = Page.width/2-675;
		document.getElementById('loading').style.position = "absolute";
		
		document.getElementById('loading').innerHTML = "<table align='center'><td class='columnHeader'>&nbsp;</td></table>";  
	}
	if(obj.readyState == 1) { document.getElementById('loading').innerHTML = " "; }
	if(obj.readyState == 2) { document.getElementById('loading').innerHTML = " "; }
	if(obj.readyState == 3) { document.getElementById('loading').innerHTML = " "; }	
	if(obj.readyState == 4)
	{
		if(obj.status == 200)
		{
			document.getElementById('loading').innerHTML = "<div class='floaterText'> </div>";
			//setTimeout('Page.loadOut()',2000);
			return true;
		}
		else
		{
			document.getElementById('loading').innerHTML = "HTTP " + obj.status;
		}
	}
}

	Ajax.RequestisAppletLoaded('content_ajax.php?method=isAppletLoadedXML', Ajax.ResponseisAppletLoaded);
	
} */