function source(editor)
{
	var width;
	var height;
	switch (editor)
	{
		case 2:
			width = 470;
			height = 260;
			break;
		case 3:
			width = 470;
			height = 405;
			break;
		default:
			editor = 1;
			width = 470;
			height = 290;
			break;
	}
	var src = window.open('/resources/source.aspx?id=' + editor,'source','width='+width+',height='+height+',titlebar=0,toolbar=0,scrollbars=0');
	if (src)
		src.focus();
	return;
}
