/* programming by vashkevich.com */
function year_copyright(first)
{
	t = new Date();
	y = t.getYear();
	if(y<200)
	{
		y += 1900;
	}
	else
	{
		y = y;
	}
	if(y>first)
	{
		document.write("&copy; " + first + "—" + y);
	}
	else
	{
		document.write("&copy; " + first);
	}
}
function interval_launch(function_name,time_interval)
{
	eval(function_name);
	setInterval(function_name,time_interval);
}
function show_time(format,form_element)
{
	t = new Date();
	y = t.getYear();
	m = t.getMonth();
	d = t.getDate();
	w = t.getDay();
	hr = t.getHours();
	mn = t.getMinutes();
	sc = t.getSeconds();

	y = ((y < 200) ? y += 1900 : y)
	hr = ((hr < 10) ? "0" : "") + hr;
	mn = ((mn < 10) ? "0" : "") + mn;
	sc = ((sc < 10) ? "0" : "") + sc;
	
	if(format && form_element)
	{
		f = eval("document." + form_element);
		f.value = eval(format);
	}
	else
	{
		document.write(eval(format));
	}
}
/* programming by vashkevich.com */