var UI_TOP_MENU=0;
function BubbleOver(xdiv)
{
	var obj=document.getElementById(xdiv);
	obj.style.visibility="visible";
}
function BubbleOut(xdiv)
{
	if(UI_TOP_MENU==1)
	{
		var obj=document.getElementById(xdiv);
		obj.style.visibility="hidden";
	}
}


function callback(code)
{
	$("#FooterPopup_Plugins").fadeOut("slow",function(){}	);
	window.focus();
}

function footerpopup(n)
{
	hidePopup("frame1");
	hidePopup("frame2");
	showPopup("frame"+n);
//	$("#FooterPopup_Plugins").slideDown("slow",function(){}	);
    $('#FooterPopup_Plugins').fadeIn('slow', function() { });
}

function hidePopup(divname1){		var obj =document.getElementById(divname1);		obj.style.display="none";		}
function showPopup(divname1){		var obj =document.getElementById(divname1);		obj.style.display="block";	}





var deviceAndroid = "android";

//**************************
// Detects if the current device is an Android OS-based device.
function DetectAndroid()
{
   if (uagent.search(deviceAndroid) > -1)
      return true;
   else
      return false;
}


//**************************
// Detects if the current device is an Android OS-based device and
//   the browser is based on WebKit.
function DetectAndroidWebKit()
{
   if (DetectAndroid())
   {
     if (DetectWebkit())
        return true;
     else
        return false;
   }
   else
      return false;
}


