// JavaScript Document

function consumer_tags ()
{
	page_url = new Array(10)
	page_tag = new Array(10)
	
	page_url[1] = "http://www.nhbc.co.uk/Aboutus/Contactus/"
	page_tag[1] = ""
	
	page_url[2] = "https://secure.nhbc.co.uk/osp_forms/Feedback.jsp"
	page_tag[2] = ""
	
	page_url[3] = "http://www.nhbc.co.uk/Homewarranties/Abouthomewarranties/"
	page_tag[3] = ""
	
	page_url[4] = "https://secure.nhbc.co.uk/BuilderRegister/BuilderRegister/search.jsp?nhbcsite=consumer"
	page_tag[4] = ""
	
	page_url[5] = "http://www.nhbc.co.uk/Claims/Aboutclaims/"
	page_tag[5] = ""
	
	page_url[6] = "https://secure.nhbc.co.uk/ClaimsOnline/ClaimsOnLine/"
	page_tag[6] = ""
	
	page_url[7] = "https://secure.nhbc.co.uk/internet/CreateUser.jsp?ReturnURL=https://secure.nhbc.co.uk/ClaimsOnline/ClaimsOnLine&ApplicationName=Claims%20Online"
	page_tag[7] = ""
	
	page_url[8] = "http://www.nhbc.co.uk/NHBCpublications/Publicationdownload/"
	page_tag[8] = ""
	
	page_url[9] = "https://secure.nhbc.co.uk/osp_forms/PublicationRequest.jsp"
	page_tag[9] = ""
	
	page_url[10] = "http://www.nhbc.co.uk/Newscentre/UKnewhouse-buildingstatistics/"
	page_tag[10] = ""
		
	
	var nhbc_url
	nhbc_url = location.href
	
	for (pos=1; pos<=10; pos++)
	{
		if (nhbc_url == page_url[pos] || nhbc_url == page_url[pos] + "index.html")
		{
			document.write ("<img height=\"1\" width=\"1\" src=\"" + page_tag[pos] + "\"/>")
		} 
	}
}

function builder_tags ()
{
	page_url = new Array(17)
	page_tag = new Array(17)
	
	page_url[1] = "http://www.nhbcbuilder.co.uk/Aboutus/Contactus/"
	page_tag[1] = ""
	
	page_url[2] = "http://www.nhbcbuilder.co.uk/Builderregistration/Becomearegisteredbuilder/Applicationform/"
	page_tag[2] = ""
	
	page_url[3] = "https://secure.nhbc.co.uk/BuilderRegister/BuilderRegister/search.jsp?nhbcsite=builder"
	page_tag[3] = ""
	
	page_url[4] = "http://www.nhbcbuilder.co.uk/Buildersupportservices/Technicaladvicesupport/"
	page_tag[4] = ""
	
	page_url[5] = "http://www.nhbcbuilder.co.uk/Consultancyservices/SustainabilityServices/"
	page_tag[5] = ""
	
	page_url[6] = "http://www.nhbcbuilder.co.uk/Consultancyservices/HealthandSafety/"
	page_tag[6] = ""
	
	page_url[7] = "http://www.nhbcbuilder.co.uk/Consultancyservices/Training/"
	page_tag[7] = ""
	
	page_url[8] = "https://secure.nhbc.co.uk/CourseFinder/CourseFinder.jsp"
	page_tag[8] = ""
	
	page_url[9] = "http://www.nhbcbuilder.co.uk/Consultancyservices/AcousticServices/"
	page_tag[9] = ""
	
	page_url[10] = "http://www.nhbcbuilder.co.uk/NHBCshop/TechnicalStandards/"
	page_tag[10] = ""
	
	page_url[11] = "http://www.nhbcbuilder.co.uk/NHBCshop/Siteflags/"
	page_tag[11] = ""

	page_url[12] = "http://www.nhbcbuilder.co.uk/NHBCshop/Sitepromotionalproducts/"
	page_tag[12] = ""

	page_url[13] = "http://www.nhbcbuilder.co.uk/NHBCshop/HSproducts/"
	page_tag[13] = ""
		
	page_url[14] = "http://www.nhbcbuilder.co.uk/NHBCshop/Publicationsforsale/"
	page_tag[14] = ""
			
	page_url[15] = "http://www.nhbcbuilder.co.uk/NHBCshop/Otherpublications/"
	page_tag[15] = ""

	page_url[16] = "http://www.nhbcbuilder.co.uk/NHBCpublications/Publicationdownload/"
	page_tag[16] = ""
	
	page_url[17] = "http://www.nhbcbuilder.co.uk/NHBCpublications/VideoandCD-ROMrequest/"
	page_tag[17] = ""
	

	var nhbc_url
	nhbc_url = location.href
	
	for (pos=1; pos<=17; pos++)
	{
		if (nhbc_url == page_url[pos] || nhbc_url == page_url[pos] + "index.html")
		{
			document.write ("<img height=\"1\" width=\"1\" src=\"" + page_tag[pos] + "\"/>")
		} 
	}
}
// END

