function isPopupBlocker(sPrefix)
{
	var oDate = new Date();
	var winURL = "PopupURL_" + oDate.getDate() + oDate.getTime();
	var winName = "PopupChecker_" + oDate.getDate() + oDate.getTime();
	
	try
	{
		var oWin = window.open(winURL,winName,"width=100,height=50,top=5000,left=5000");
		validateWindow(oWin,sPrefix);
	}
	catch(e)
	{ 
		popupBlockedHandler(sPrefix);
	}
}

function validateWindow(oWin,sPrefix)
{
	try
	{
		if (oWin == null || typeof(oWin) == "undefined") 
		{
			popupBlockedHandler(sPrefix);
		}
		else 
		{
				var oWinName = oWin.name;
				oWin.close();
		}
	} 
	catch(e)
	{ 
		popupBlockedHandler(sPrefix);
	}
}

function popupBlockedHandler(sPrefix)
{
	document.getElementById("pbWarningSpan").style.display = "";
}
//Images Cycling Code finished

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}