function CookieCheck(HelpDeskPhone, HelpDeskEmail, Style, TitleStyle, TopStyle, BottomStyle)
{
	if (document.cookie == "")
	{
		document.write('<div align="center" class="' + Style + '"><table cellpadding="0" cellspacing="0" border="0"><tr>');
		document.write('<td valign="middle" class="' + TitleStyle + '">');
		document.write('Cookie Warning</td></tr><tr><td class="' + TopStyle + '">');
		document.write('<p>Please make sure you are using Internet Explorer. If you are using AOL, Compuserve or a similar service, please open Internet Explorer and try logging on to Tempo using it.</p>');
		document.write('<p>Cookies must be enabled in Internet Explorer for you to be able to log on to Tempo. To check for cookies in Internet Explorer please use the following instructions:</p>');
		document.write('<ol><li>Click on the <i><b>Tools</b></i> menu at the top of Internet Explorer.</li>');
		document.write('<li>Select <i><b>Internet Options</b></i>. The Internet Options window should now open up.</li>');
		document.write('<li>Click on the <i><b>Security</b></i> tab at the top of this window.</li>');
		document.write('<li>Click on <i><b>Default Level</b></i> near the bottom right of this window.</li>');
		document.write('<li>If you have a <i><b>Privacy</b></i> tab at the top, click on it and move on to step 6. If you do not have a <i><b>Privacy</b></i> tab, skip to step 7.</li>');
		document.write('<li>Click the <i><b>Default</b></i> button near the bottom right of this window.</li>');
		document.write('<li>Click on <i><b>OK</b></i> at the bottom of Internet Options.</li></ol>');
		document.write('</td></tr><tr><td class="' + BottomStyle + '">');
		document.write('<p>You should now have cookies enabled in Internet Explorer. Please click [Try again] to log on to Tempo.</p>');
		document.write('<p align="center"><input type="button" value="Try Again" onClick="document.location.reload()"></p>');
		document.write('<p>If you are still experiencing issues logging on you may contact our helpdesk by calling ' + HelpDeskPhone + ' or by emailing <a href="mailto:' + HelpDeskEmail + '">' + HelpDeskEmail + '</a></p></td></tr></table></div>');
		
	}
}

