	function create_item(detFolderId,det)
	{
		var width = 700;
		var height = 527;
		var left;
		var top;
		left = window.screenLeft + 10;
		top = window.screenTop - 30;
		if((left + width/2) > screen.availWidth || (top + width/2) > screen.availHeight)
		{
			left = 0;
			top = 0;
		}
		var params = "height=" + height + ",width=" + width + ",left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top + "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1";
		window.open(pt_13689.transformURL("http://publisher.state.pa.us:7087/ptcs/published_tools/content_item.jsp?fid=" + detFolderId + "&det=" + det + "&title=ContentItemNewArticleTitle"), '', params);
	}

		function edit_item(item)
		{
			var width = 700;
			var height = 527;
			var left;
			var top;
			left = window.screenLeft + 10;
			top = window.screenTop - 30;
			if((left + width/2) > screen.availWidth || (top + width/2) > screen.availHeight)
			{
				left = 0;
				top = 0;
			}
			var params = "height=" + height + ",width=" + width + ",left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top + "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1";
			window.open(pt_13689.transformURL("http://publisher.state.pa.us:7087/ptcs/published_tools/content_item.jsp?ciid="+item+"&title=ContentItemEditArticleTitle"), '', params);
		}

		function edit_item_fullURL(openURL)
		{
			var width = 700;
			var height = 527;
			var left;
			var top;
			left = window.screenLeft + 10;
			top = window.screenTop - 30;
			if((left + width/2) > screen.availWidth || (top + width/2) > screen.availHeight)
			{
				left = 0;
				top = 0;
			}
			var params = "height=" + height + ",width=" + width + ",left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top + "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1";
			window.open(pt_13689.transformURL(openURL), '', params);
		}

		function create_item_infolder(detFolderId,det,folderId)
		{
			var width = 700;
			var height = 527;
			var left;
			var top;
			left = window.screenLeft + 10;
			top = window.screenTop - 30;
			if((left + width/2) > screen.availWidth || (top + width/2) > screen.availHeight)
			{
				left = 0;
				top = 0;
			}
			var params = "height=" + height + ",width=" + width + ",left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top + "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1";
			window.open(pt_13689.transformURL('http://publisher.state.pa.us:7087/ptcs/published_tools/content_item.jsp?det=' + det + '&dfid=' + detFolderId + '&fid=' + folderId + '&title=ContentItemNewArticleTitle'), '', params);
		}