
OpenFileManager = function (callBackFunction, serverPath, type, userID)
{
	var baseURL = "/_Public/Controls/FCKeditor/editor/";
	var openURL = baseURL + "filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx";
	if(typeof(type) != "undefined" && type != null && type != "")
		openURL += "&Type=" + type;
	if(typeof(serverPath) == "undefined" || serverPath == null || serverPath == "")
	{
		if(!(typeof(userID) == "undefined" || userID == null || userID == ""))
			openURL += "&UserID=" + userID;
	}
	else
		openURL += "&ServerPath=" + serverPath;
	if(typeof(callBackFunction) != "undefined" && callBackFunction != null && callBackFunction != "")
		openURL += "&CallBackFunction=" + callBackFunction;
	
	var oWidth = screen.width * 0.7;
	var oHeight = screen.height * 0.7;
	
	window.open(openURL, null, "width=" + oWidth + ",height=" + oHeight + ",status=yes");
}

function selectAllItem(obj)
		{
		var es = obj.getElementsByTagName("input") ;
				for (var i=0;i<es.length;i++)
				{
					var e = es[i];
					if (e.type=="checkbox")
					{	
						    e.checked=true;  
					}
				}
		}
		
function clearAllItem(obj)
		{
		var es = obj.getElementsByTagName("input") ;
				for (var i=0;i<es.length;i++)
				{
					var e = es[i];
					if (e.type=="checkbox")
					{	
						    e.checked=!e.checked;
					}
				}
		}
		
function document.onmouseover()
         {
            self.status='http://www.business.com.ws';return true
		 }
		 
		
		