<!--
function shutup()
{
	return true;
}
//window.onerror = shutup;
var bookinguide = 666;
var monthsF = new Array (31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
function doLeapYearF (inY)
{
	if ((inY % 400 == 0) || (inY % 4 == 0) && (!(inY % 100 == 0)))
	{
		monthsF[1] = 29;
	}
	else
	{
		monthsF[1] = 28;
	}
}
function setFDays(ipt, mn, inY)
{
	var sl = (ipt.selectedIndex) ? ipt.selectedIndex : 0;
	doLeapYearF(inY);
	ipt.length = 0;
	for (var i = 0; i < monthsF[mn-1]; i++)
	{
		ipt[ipt.length] = new Option (i+1, i+1);
	}
	sl = (sl > (ipt.length-1)) ? (ipt.length-1) : sl;
	ipt.options[sl].selected = true;
}
function spdate()
{
	with (document.spsearch)
	{
		setFDays(day, month[month.selectedIndex].value, year[year.selectedIndex].value);

	}
}
// -->


