

//
function PrintPreview()
{
	print();
}


/*
function PrintPreview()
{
    if(window.ActiveXObject == null || document.body.insertAdjacentHTML == null) return;
    var sWebBrowserCode = '<object width="0" height="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>';
    
	document.body.insertAdjacentHTML('beforeEnd', sWebBrowserCode); 
	var objWebBrowser = document.body.lastChild;
	if(objWebBrowser == null) return;
	objWebBrowser.ExecWB(7, 1);
	document.body.removeChild(objWebBrowser);
}
*/


function toggleLayer1(id)
{
	if (document.getElementById(id).style.visibility == "hidden")
		{
			document.getElementById(id).style.visibility = "visible";
			document.getElementById(id).style.display = "block";
		}
	else
		{
			document.getElementById(id).style.visibility = "hidden";
			document.getElementById(id).style.display = "none";
		}
}


function fnc_SelectedIndex(yymm)
{
	url = "../" + yymm + "/index.php";
	location.href = url;
}


function fnc_Location(url)
{
	location.href = url;
}


function fnc_Print(id, url)
{
	document.getElementById(id).href = "../common/css/" + url;
	print();
}
