function OpenWebPageEditOld(pool, type, id, language)
{
	var url = baseEditPath + "WebPageEdit.aspx?pool=" + encodeURIComponent(pool) + "&type=" + encodeURIComponent(type) + "&id=" + encodeURIComponent(id) + "&language=" + encodeURIComponent(language) + "&random=" + encodeURIComponent(Math.random());
	var webPageEditWindow = window.open(url, "PageEditieren", "top=0,left=0,screenX=0,screenY=0,width=1000,height=620,outerWidth=1000,outerHeight=620,scrollbars=yes,resizable=yes,status=yes");
	webPageEditWindow.focus();
}

function OpenWebPageEdit(pool, type, id, language, content, sectionnumber)
{
	var url = baseEditPath + "WebPageEdit.aspx?pool=" + encodeURIComponent(pool) + "&type=" + encodeURIComponent(type) + "&id=" + encodeURIComponent(id) + "&language=" + encodeURIComponent(language) + "&contentname=" + encodeURIComponent(content) + "&sectionnumber=" + encodeURIComponent(sectionnumber) + "&random=" + encodeURIComponent(Math.random());
	var webPageEditWindow = window.open(url, "PageEditieren", "top=0,left=0,screenX=0,screenY=0,width=1000,height=620,outerWidth=1000,outerHeight=620,scrollbars=yes,resizable=yes,status=yes");
	webPageEditWindow.focus();
}
