﻿// JScript File
function SetMenuClass(strTdId, strClass, strImgID, strImgSrc)
{
	if (!document.getElementById ||
		'undefined' == typeof(document.getElementById))
		return;

	var tdCell = document.getElementById(strTdId);
	if ('undefined' == typeof(tdCell) ||
		null == tdCell ||
		'undefined' == typeof(tdCell.className))
		return;

	tdCell.className = strClass;

	var img = document.getElementById(strImgID);
	if ('undefined' == typeof(img) ||
		null == img ||
		'undefined' == typeof(img.src))
		return;

	img.src = strImgSrc;
}

