

function getLowerNav(cid){
   
	var ret = ""
	ret += "<table border=0 cellpadding=0 cellspacing=0 width=\"100%\">"
	ret += "<tr><td colspan=2><img src=images/pixel.gif width=1 height=20 border=0></td></tr>"
	ret += "<tr><td colspan=2>"
	
	ret += "<table border=0 cellpadding=0 cellspacing=0 width=\"100%\"><tr>"
	ret += "<td width=100% bgcolor=silver><img src=images/pixel.gif width=1 height=1 border=0></td>"
	ret += "<td width=13 bgcolor=white><img src=images/pixel.gif width=13 height=1 border=0></td>"
	ret += "</tr></table>"
	
	ret += "</td></tr>"
	ret += "<tr><td colspan=2><img src=images/pixel.gif width=1 height=4 border=0></td></tr>"
	ret += "<tr><td><table border=0 cellpadding=0 cellspacing=0><tr>"

	ret += getButton("Home", "index.asp", "|")
	ret += getButton("News", "news.asp?cid=" + cid, "|")
	ret += getButton("About us", "page.asp?pid=2", "|")
	ret += getButton("Client list", "page.asp?pid=19", "|")
	ret += getButton("Contact us", "page.asp?pid=21", "|")
	ret += getButton("Our events", "page.asp?pid=31", "|")
	
	ret += "<td><a href=\"Javascript:printPage()\"><img src=images/printer.gif border=0></a>&nbsp;&nbsp;</td>"
	ret += "<td><a id=printSwitch class=lowernav href=\"Javascript:printPage()\">Print view</a></td>"

	ret += "</tr></table></td><td align=right class=copy><div id=cr>&copy RPD Limited " + getYear() + "</div></td></tr>"
	ret += "<tr><td colspan=2><img src=images/pixel.gif width=1 height=10 border=0></td></tr>"
	ret += "</table>"
	return ret
}

function getButton(txt, url, sep)
{
	var ret = ""
	ret = "<td><a class=lowernav href=\"" + url + "\">" + txt + "</a>&nbsp;&nbsp;" + sep + "&nbsp;&nbsp;</td>"
	return ret
}

function getYear()
{
	var dt = new Date()
	return dt.getFullYear()
}
