function loadForum(){
	currentPath=new String;
	currentPath=document.location.host;
	rExp = /www/gi;
	newPath='http:\/\/' + currentPath.replace(rExp,'forums');
	document.location=newPath;
}

var hoff = 10;
var voff = 558;
var sitebase = location.href.substring(0,location.href.indexOf('/',8)+1);
var filepath = location.href.substring(sitebase.length,location.href.length+1);
var sc_project=640042; 
var sc_partition=5; 
var sc_security="a06933d5"; 
var sc_invisible;

if(filepath=="index.html" || filepath==""){
	document.write("<img style=\"position: absolute; top: 10px; left: 18px;\" src=\"/common/hra-shield.gif\" width=\"140\" height=\"165\" alt=\"HRA Shield\" />");
	sc_invisible=0;
}
else{
	document.write("<a href=\"/index.html\"><img style=\"border: none; position: absolute; top: 10px; left: 18px;\" src=\"/common/hra-shield-home.gif\" width=\"140\" height=\"165\" alt=\"Back to the HRA Home Page\" /></a>");
	sc_invisible=1;
}

new menu (MENU_ITEMS, MENU_POS);

x = hoff+13;
y = voff+10;
document.write("<div class=\"small-menu-text\" style=\"text-align: center; position: absolute; top: "+y+"px; left: "+x+"px; width: 130px;\" >You may need Adobe Reader to view some of the files from this site<br /><a href=\"http://www.adobe.com/products/acrobat/readermain.html\" target=\"_blank\"><img style=\"border: none; padding: 5px;\" src=\"/common/getacro.gif\" width=\"88\" height=\"31\" alt=\"Get Acrobat Reader\" ></a></div>");

x = hoff+13;
y=  voff+97;
document.write("<div class=\"small-menu-text\" style=\"text-align: center; position: absolute; top: "+y+"px; left: "+x+"px; width: 130px;\" >Site Maintained By<br />");
function hiveware_enkoder(){var i,j,x,y,x=
"x=\"783d227a3f2435274e726838347a3f5e2434343534667a38683b7a39383564383a3f5e" +
"5e6638355e2438393235663635363868643868665e5e5e243d3765383867343539347b3f29" +
"343537683833386635293d6835333838343437383771742a6534676639363936346b3f3234" +
"32343837386739383d6b3e3338393534673934657a306e3936383839383b39356770696637" +
"363b3838383765766a3d3434343765343a34366b2d3f333634343432356534342b7d346638" +
"3939383334377b2d3f3638323b3836383a377770673835393936383438347565633236373a" +
"356638383572672a38683537653466373829272966386534353b3434662d7a303937383532" +
"37663838757764673833653434383b3b7576743835383432386539382a6b2e3339363a3837" +
"386836342b2b383b35383b386338383d217b68383a5e243d6c3934673f6778393538636e2a" +
"3334377a30656534666a6374383b3443762a343238322b2b6738393d7a3f3539387a307538" +
"6836776475393b3676742a323838332b3d6538337b3f29383437293d6835663471742a6639" +
"376b3f326534363d6b3e3837347a306e383438677069353438766a3d6839676b2d3f383534" +
"382b7d3836387b2d3f6834387a307537396777647539373476742a3563386b2e356437342b" +
"3d213238656871743434672a6b3f386835353d6b6735383e7a306738656e6770383b376976" +
"6a3564383d6b2d6638373f382b6534397d7b2d3432343f7a30343239757764353934757674" +
"6835342a6b2e383567352b3d356535217b3f6637347b307568386577647534343376742a35" +
"67346c2b3d243d6c3f6778636e2a7a30656a637443762a322b2b3d7a3f7a30757764757674" +
"2a332b3d7b3f29293d6871742a6b3f323d6b3e7a306e677069766a3d6b2d3f382b7d7b2d3f" +
"7a307577647576742a6b2e352b3d216871742a6b3f353d6b3e7a306e677069766a3d6b2d3f" +
"382b7d7b2d3f7a307577647576742a6b2e352b3d217b3f7b307577647576742a6c2b3d223b" +
"793d27273b783d756e6573636170652878293b666f7228693d303b693c782e6c656e677468" +
"3b692b2b297b6a3d782e63686172436f646541742869292d323b6966286a3c3332296a2b3d" +
"39343b792b3d537472696e672e66726f6d43686172436f6465286a297d79\";y='';for(i=" +
"0;i<x.length;i+=2){y+=unescape('%'+x.substr(i,2));}y";
while(x=eval(x));}hiveware_enkoder();
document.write("</div>");

x = hoff+13;
y = voff+153;
document.write("<div class=\"small-menu-text\" style=\"text-align: center; position: absolute; top: "+y+"px; left: "+x+"px; width: 130px;\" >Labeled with<br /><a href=\"http://www.icra.org/sitelabel/\" target=\"_blank\" title=\"Internet Content Ratings Association\"><img style= \"border: none;\" src=\"/common/icra_sw.gif\" width=\"88\" height=\"31\" alt=\"Internet Content Rating Association\"></a></div>");

if(filepath=="planning.html"){
	x = hoff+13;
	y = voff+208;
	document.write("<div class=\"small-menu-text\" style=\"text-align: center; position: absolute; top: "+y+"px; left: "+x+"px; width: 130px;\">Interactive Map<br />courtesy of<br /><a title=\"MAGIC Interactive Maps\" href=\"http://www.magic.gov.uk\" target=\"_blank\"><img src=\"/common/magic.gif\" width=\"89\" height=\"31\" alt=\"\" style=\"border: none;\" /></a></div>");
}