
function updateVIPSpecialDisplay(json)
{
	var html1 = "";
	if (json.cell1 != null)
	{
		for (var i = 0; i <= 6; ++i)
		{
			var line = i + 1;
			if (json.cell1[i] != null && json.cell1[i].line != '')
			{
				var isBold = false;
				html1 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell1[i].weight == 'b')
				{
					html1 += "<b>";
					isBold = true;
				}
				html1 += "<font face=\"" + json.cell1[i].font + "\"";
				html1 += " color=\"" + json.cell1[i].color + "\"";
				html1 += " size=\"" + json.cell1[i].size + "\" >";
				html1 += json.cell1[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html1 += "</b>";
				}

				html1 += "</p>";

			}
			else
			{
				html1 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html1 != '')
	{
		jQuery("#cell1").html(html1);
	}
	
	var html2 = "";
	if (json.cell2 != null)
	{
		for (var i = 0; i <= 6; ++i)
		{
			var line = i + 1;
			if (json.cell2[i] != null && json.cell2[i].line != '')
			{
				var isBold = false;
				html2 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell2[i].weight == 'b')
				{
					html2 += "<b>";
					isBold = true;
				}
				html2 += "<font face=\"" + json.cell2[i].font + "\"";
				html2 += " color=\"" + json.cell2[i].color + "\"";
				html2 += " size=\"" + json.cell2[i].size + "\" >";
				html2 += json.cell2[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html2 += "</b>";
				}

				html2 += "</p>";

			}
			else
			{
				html2 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html2 != '')
	{
		jQuery("#cell2").html(html2);
	}
	
	var html3 = "";
	if (json.cell3 != null)
	{
		for (var i = 0; i <= 6; ++i)
		{
			var line = i + 3;
			if (json.cell3[i] != null && json.cell3[i].line != '')
			{
				var isBold = false;
				html3 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell3[i].weight == 'b')
				{
					html3 += "<b>";
					isBold = true;
				}
				html3 += "<font face=\"" + json.cell3[i].font + "\"";
				html3 += " color=\"" + json.cell3[i].color + "\"";
				html3 += " size=\"" + json.cell3[i].size + "\" >";
				html3 += json.cell3[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html3 += "</b>";
				}

				html3 += "</p>";

			}
			else
			{
				html3 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html3 != '')
	{
		jQuery("#cell3").html(html3);
	}
	
	var html4 = "";
	if (json.cell4 != null)
	{
		for (var i = 0; i <= 6; ++i)
		{
			var line = i + 1;
			if (json.cell4[i] != null && json.cell4[i].line != '')
			{
				var isBold = false;
				html4 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell4[i].weight == 'b')
				{
					html4 += "<b>";
					isBold = true;
				}
				html4 += "<font face=\"" + json.cell4[i].font + "\"";
				html4 += " color=\"" + json.cell4[i].color + "\"";
				html4 += " size=\"" + json.cell4[i].size + "\" >";
				html4 += json.cell4[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html4 += "</b>";
				}

				html4 += "</p>";

			}
			else
			{
				html4 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html4 != '')
	{
		jQuery("#cell4").html(html4);
	}
	
	var html5 = "";
	if (json.cell5 != null)
	{
		for (var i = 0; i <= 6; ++i)
		{
			var line = i + 1;
			if (json.cell5[i] != null && json.cell5[i].line != '')
			{
				var isBold = false;
				html5 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell5[i].weight == 'b')
				{
					html5 += "<b>";
					isBold = true;
				}
				html5 += "<font face=\"" + json.cell5[i].font + "\"";
				html5 += " color=\"" + json.cell5[i].color + "\"";
				html5 += " size=\"" + json.cell5[i].size + "\" >";
				html5 += json.cell5[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html5 += "</b>";
				}

				html5 += "</p>";

			}
			else
			{
				html5 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html5 != '')
	{
		jQuery("#cell5").html(html5);
	}
	
	var html6 = "";
	if (json.cell6 != null)
	{
		for (var i = 0; i <= 6; ++i)
		{
			var line = i + 1;
			if (json.cell6[i] != null && json.cell6[i].line != '')
			{
				var isBold = false;
				html6 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell6[i].weight == 'b')
				{
					html6 += "<b>";
					isBold = true;
				}
				html6 += "<font face=\"" + json.cell6[i].font + "\"";
				html6 += " color=\"" + json.cell6[i].color + "\"";
				html6 += " size=\"" + json.cell6[i].size + "\" >";
				html6 += json.cell6[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html6 += "</b>";
				}

				html6 += "</p>";

			}
			else
			{
				html6 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html6 != '')
	{
		jQuery("#cell6").html(html6);
	}
}


function updateSpecialDisplay(json)
{
	var html1 = "";
	if (json.cell1 != null)
	{
		for (var i = 0; i <= 7; ++i)
		{
			var line = i + 1;
			if (json.cell1[i] != null && json.cell1[i].line != '')
			{
				var isBold = false;
				html1 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell1[i].weight == 'b')
				{
					html1 += "<b>";
					isBold = true;
				}
				html1 += "<font face=\"" + json.cell1[i].font + "\"";
				html1 += " color=\"" + json.cell1[i].color + "\"";
				html1 += " size=\"" + json.cell1[i].size + "\" >";
				html1 += json.cell1[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html1 += "</b>";
				}

				html1 += "</p>";

			}
			else
			{
				html1 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html1 != '')
	{
		jQuery("#cell1").html(html1);
	}

	var html2 = "";
	if (json.cell2 != null)
	{
		for (var i = 0; i <= 7; ++i)
		{
			var line = i + 1;
			if (json.cell2[i] != null && json.cell2[i].line != '')
			{
				var isBold = false;
				html2 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell2[i].weight == 'b')
				{
					html2 += "<b>";
					isBold = true;
				}
				html2 += "<font face=\"" + json.cell2[i].font + "\"";
				html2 += " color=\"" + json.cell2[i].color + "\"";
				html2 += " size=\"" + json.cell2[i].size + "\" >";
				html2 += json.cell2[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html2 += "</b>";
				}

				html2 += "</p>";

			}
			else
			{
				html2 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html2 != '')
	{
		jQuery("#cell2").html(html2);
	}

	var html3 = "";
	if (json.cell3 != null)
	{
		for (var i = 0; i <= 7; ++i)
		{
			var line = i + 1;
			if (json.cell3[i] != null && json.cell3[i].line != '')
			{
				var isBold = false;
				html3 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell3[i].weight == 'b')
				{
					html3 += "<b>";
					isBold = true;
				}
				html3 += "<font face=\"" + json.cell3[i].font + "\"";
				html3 += " color=\"" + json.cell3[i].color + "\"";
				html3 += " size=\"" + json.cell3[i].size + "\" >";
				html3 += json.cell3[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html3 += "</b>";
				}

				html3 += "</p>";

			}
			else
			{
				html3 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html3 != '')
	{
		jQuery("#cell3").html(html3);
	}

	var html4 = "";
	if (json.cell4 != null)
	{
		for (var i = 0; i <= 7; ++i)
		{
			var line = i + 1;
			if (json.cell4[i] != null && json.cell4[i].line != '')
			{
				var isBold = false;
				html4 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell4[i].weight == 'b')
				{
					html4 += "<b>";
					isBold = true;
				}
				html4 += "<font face=\"" + json.cell4[i].font + "\"";
				html4 += " color=\"" + json.cell4[i].color + "\"";
				html4 += " size=\"" + json.cell4[i].size + "\" >";
				html4 += json.cell4[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html4 += "</b>";
				}

				html4 += "</p>";

			}
			else
			{
				html4 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html4 != '')
	{
		jQuery("#cell4").html(html4);
	}

	var html5 = "";
	if (json.cell5 != null)
	{
		for (var i = 0; i <= 7; ++i)
		{
			var line = i + 1;
			if (json.cell5[i] != null && json.cell5[i].line != '')
			{
				var isBold = false;
				html5 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell5[i].weight == 'b')
				{
					html5 += "<b>";
					isBold = true;
				}
				html5 += "<font face=\"" + json.cell5[i].font + "\"";
				html5 += " color=\"" + json.cell5[i].color + "\"";
				html5 += " size=\"" + json.cell5[i].size + "\" >";
				html5 += json.cell5[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html5 += "</b>";
				}

				html5 += "</p>";

			}
			else
			{
				html5 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html5 != '')
	{
		jQuery("#cell5").html(html5);
	}

	var html6 = "";
	if (json.cell6 != null)
	{
		for (var i = 0; i <= 7; ++i)
		{
			var line = i + 1;
			if (json.cell6[i] != null && json.cell6[i].line != '')
			{
				var isBold = false;
				html6 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell6[i].weight == 'b')
				{
					html6 += "<b>";
					isBold = true;
				}
				html6 += "<font face=\"" + json.cell6[i].font + "\"";
				html6 += " color=\"" + json.cell6[i].color + "\"";
				html6 += " size=\"" + json.cell6[i].size + "\" >";
				html6 += json.cell6[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html6 += "</b>";
				}

				html6 += "</p>";

			}
			else
			{
				html6 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html6 != '')
	{
		jQuery("#cell6").html(html6);
	}

	var html7 = "";
	if (json.cell7 != null)
	{
		for (var i = 0; i <= 7; ++i)
		{
			var line = i + 1;
			if (json.cell7[i] != null && json.cell7[i].line != '')
			{
				var isBold = false;
				html7 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell7[i].weight == 'b')
				{
					html7 += "<b>";
					isBold = true;
				}
				html7 += "<font face=\"" + json.cell7[i].font + "\"";
				html7 += " color=\"" + json.cell7[i].color + "\"";
				html7 += " size=\"" + json.cell7[i].size + "\" >";
				html7 += json.cell7[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html7 += "</b>";
				}

				html7 += "</p>";

			}
			else
			{
				html7 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html7 != '')
	{
		jQuery("#cell7").html(html7);
	}

	var html8 = "";
	if (json.cell8 != null)
	{
		for (var i = 0; i <= 7; ++i)
		{
			var line = i + 1;
			if (json.cell8[i] != null && json.cell8[i].line != '')
			{
				var isBold = false;
				html8 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">";
				if (json.cell8[i].weight == 'b')
				{
					html8 += "<b>";
					isBold = true;
				}
				html8 += "<font face=\"" + json.cell8[i].font + "\"";
				html8 += " color=\"" + json.cell8[i].color + "\"";
				html8 += " size=\"" + json.cell8[i].size + "\" >";
				html8 += json.cell8[i].line + "&nbsp;</font>";

				if (isBold)
				{
					html8 += "</b>";
				}

				html8 += "</p>";

			}
			else
			{
				html8 += "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\">&nbsp</p>";
			}
		}
	}

	if (html8 != '')
	{
		jQuery("#cell8").html(html8);
	}
	
}


