function customWindowOpen(strUrl, strWindow, strParams, iWidth, iHeight)
{
	var
		iLeft, iTop;
	iLeft = (window.screen.width - iWidth) / 2;
	iTop = (window.screen.height - iHeight) / 2;
	strParams = strParams + ",width=" + iWidth.toString() + ",height=" + iHeight.toString() + ",left=" + iLeft.toString() + ",top=" + iTop.toString();
	window.open(strUrl, strWindow, strParams);
}

function getContent(x)
			{	
				
				var content=document.getElementById(x);
				var container=document.getElementById('stlContent');
				
				if(content!=null)
				{
					container.innerHTML = content.innerHTML  ;
				}	
				
			}
			
function radFunction(exec)
{
   if(exec==true)
   {
      var oSpans = document.getElementsByTagName('span');
      for (i=0; i<oSpans.length; i++)
      {
        if ((oSpans[i].id.indexOf('phcEText') > -1) &&
            (oSpans[i].id.indexOf('Editor') == -1) &&
                (oSpans[i].id.indexOf('Spell') == -1))
        {
        
            if(oSpans[i].innerHTML!='')
            {
				oSpans[i].style.display = '';
            }
        }
      }
    }
}         



