﻿function loadChildren(source, targetid)
{
	var target = $("#" + targetid);
	if(target.length)
	{
		target.html("<option>" + loadingLit + "</option>");
		target.load("/data.aspx?type=childloader&id=" + source.value,function(){
		if(typeof(setMonth) == "function")
			setMonth();
		});
	}
	else
		alert("Failed to find target " + targetid);
}
