function common(title, background)
{
	document.write("<head>");

	document.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">");
	document.write("<meta name=\"keywords\" content=\"QWERTY, keyboard, text, input, mobile, assistive, SmallQWERTY, Sokey, Mobience\">");
	document.write("<meta name=\"publisher\" content=\"Mobience\">");

	document.write("<title>" + title + "</title>");

	document.write("<style>");
	document.write("<!--");
	document.write("a:link, a:visited { color: #0066FF; text-decoration: none; }");
	document.write("a:hover { color: #0066FF; text-decoration: underline; }");
	document.write("a:active { color: #FF3333; text-decoration: underline; }");
	document.write("body, td, th { color: #000000; text-decoration: none; }");
	document.write("body { background-color: " + background + " }");

	document.write(".small { font-size: small; font-family: Calibri; }");
	document.write(".medium { font-size: medium; font-family: Calibri; }");
	document.write(".large { font-size: large; font-family: Calibri; }");
	document.write(".xlarge { font-size: x-large; font-family: Calibri; }");
	document.write(".title { font-size: x-large; font-family: Calibri; font-weight: bold; }");
	document.write("-->");
	document.write("</style>");

	document.write("</head>");
}