// JavaScript Document
function goArchive()
{
	location.href = 'index.php?date='+document.getElementById('yyyy').value+'-'+document.getElementById('mm').value+'-'+document.getElementById('dd').value;
}
function clock(clocksize,swf)
{
	if(!clocksize)
		clocksize = '100';
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+clocksize+'" height="'+clocksize+'">');
	document.write('<param name="movie" value="'+swf+'">');
	document.write('<param name="quality" value="high">');
	//document.write('<param name="bgcolor" value="#FFFFFF">');
	document.write('<param name="wmode" value="transparent">');
	document.write('<param name="menu" value="false">');
	document.write('<embed src="'+swf+'" width="'+clocksize+'" height="'+clocksize+'" quality="high" wmode="transparent" menu="false"></embed>');
	document.write('</object>');
}
function ShowHide(id)
{
	var targetElement = document.getElementById(id);
	if(targetElement.style.display == 'none')
		targetElement.style.display='';
	else if(targetElement.style.display == '')
		targetElement.style.display='none'		
	return false;
}
function delConfirm(str)
{
	return window.confirm(str);
}
