﻿/*
All available categories for BCS are stored in the category array.
All available countries per category are stored in the categoryCountry array.
All category/country relationships are stored in the categorySite array.
All available languages for BCS are stored in the langName array.
All available languages per business site are stored in the buildLand() Function.
*/

category = new Array("Aluminium Composite Material", "Coil Coated Aluminium", "Conservatories", "Curtain Wall", "Doors", "Framing", "Railings", "Shutters", "Windows")

categoryCountry = new Array()
categoryCountry[category[0]] = "Africa, Albania, Andorra, Asia, Austria, Belarus, Belgium, Bosnia-Herzegovina, Bulgaria, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, Hungary, Iceland, India, Ireland, Italy, Latvia, Luxembourg, Macedonia, Malta, Middle East, Moldova, Monaco, Netherlands, Norway, Poland, Portugal, Romania, Russia, Serbia/Montenegro, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom, United States"
categoryCountry[category[1]] = "Africa, Albania, Andorra, Asia, Austria, Belarus, Belgium, Bosnia-Herzegovina, Bulgaria, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, Hungary, Iceland, India, Ireland, Italy, Latvia, Luxembourg, Macedonia, Malta, Middle East, Moldova, Monaco, Netherlands, Norway, Poland, Portugal, Romania, Russia,Serbia/Montenegro, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom, United States"
categoryCountry[category[2]] = "Africa, Albania, Andorra, Asia, Austria, Belarus, Belgium, Bosnia-Herzegovina, Bulgaria, Canada, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, Hungary, Iceland, India, Ireland, Italy, Latvia, Luxembourg, Macedonia, Malta, Middle East, Moldova, Monaco, Netherlands, Norway, Poland, Portugal, Romania, Russia, Serbia/Montenegro, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom, United States"
categoryCountry[category[3]] = "Africa, Albania, Andorra, Asia, Austria, Belarus, Belgium, Bosnia-Herzegovina, Bulgaria, Canada, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, Hungary, Iceland, India, Ireland, Italy, Latvia, Luxembourg, Macedonia, Malta, Middle East, Moldova, Monaco, Netherlands, Norway, Poland, Portugal, Romania, Russia, Serbia/Montenegro, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom, United States"
categoryCountry[category[4]] = "Africa, Albania, Andorra, Asia, Austria, Belarus, Belgium, Bosnia-Herzegovina, Bulgaria, Canada, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, Hungary, Iceland, India, Ireland, Italy, Latvia, Luxembourg, Macedonia, Malta, Middle East, Moldova, Monaco, Netherlands, Norway, Poland, Portugal, Romania, Russia, Serbia/Montenegro, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom, United States"
categoryCountry[category[5]] = "Africa, Albania, Andorra, Asia, Austria, Belarus, Belgium, Bosnia-Herzegovina, Bulgaria, Canada, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, Hungary, Iceland, India, Ireland, Italy, Latvia, Luxembourg, Macedonia, Malta, Middle East, Moldova, Monaco, Netherlands, Norway, Poland, Portugal, Romania, Russia, Serbia/Montenegro, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom, United States"
categoryCountry[category[6]] = "Africa, Albania, Andorra, Asia, Austria, Belarus, Belgium, Bosnia-Herzegovina, Bulgaria, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, Hungary, Iceland, India, Ireland, Italy, Latvia, Luxembourg, Macedonia, Malta, Middle East, Moldova, Monaco, Netherlands, Norway, Poland, Portugal, Romania, Russia, Serbia/Montenegro, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom, United States"
categoryCountry[category[7]] = "Africa, Albania, Andorra, Asia, Austria, Belarus, Belgium, Bosnia-Herzegovina, Bulgaria, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, Hungary, Iceland, India, Ireland, Italy, Latvia, Luxembourg, Macedonia, Malta, Middle East, Moldova, Monaco, Netherlands, Norway, Poland, Portugal, Romania, Russia, Serbia/Montenegro, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom, United States"
categoryCountry[category[8]] = "Africa, Albania, Andorra, Asia, Austria, Belarus, Belgium, Bosnia-Herzegovina, Bulgaria, Canada, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, Hungary, Iceland, India, Ireland, Italy, Latvia, Luxembourg, Macedonia, Malta, Middle East, Moldova, Monaco, Netherlands, Norway, Poland, Portugal, Romania, Russia, Serbia/Montenegro, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom"


//all category/country combinations are listed below
categorySite = new Array()
categorySite[category[0] + "|Africa"] = "/aap_reyno/"
categorySite[category[0] + "|Albania"] = "/aap_reyno/"
categorySite[category[0] + "|Andorra"] = "/aap_reyno/"
categorySite[category[0] + "|Austria"] = "/aap_reyno/"
categorySite[category[0] + "|Asia"] = "/aap_reyno/"
categorySite[category[0] + "|Belarus"] = "/aap_reyno/"
categorySite[category[0] + "|Belgium"] = "/aap_reyno/"
categorySite[category[0] + "|Bosnia-Herzegovina"] = "/aap_reyno/"
categorySite[category[0] + "|Bulgaria"] = "/aap_reyno/"
categorySite[category[0] + "|Croatia"] = "/aap_reyno/"
categorySite[category[0] + "|Czech Republic"] = "/aap_reyno/"
categorySite[category[0] + "|Denmark"] = "/aap_reyno/"
categorySite[category[0] + "|Estonia"] = "/aap_reyno/"
categorySite[category[0] + "|Finland"] = "/aap_reyno/"
categorySite[category[0] + "|France"] = "/aap_reyno/"
categorySite[category[0] + "|Georgia"] = "/aap_reyno/"
categorySite[category[0] + "|Germany"] = "/aap_reyno/"
categorySite[category[0] + "|Greece"] = "/aap_reyno/"
categorySite[category[0] + "|Hungary"] = "/aap_reyno/"
categorySite[category[0] + "|Iceland"] = "/aap_reyno/"
categorySite[category[0] + "|India"] = "/kawneer_india/"
categorySite[category[0] + "|Ireland"] = "/aap_dublin/"
categorySite[category[0] + "|Italy"] = "/aap_reyno/"
categorySite[category[0] + "|Latvia"] = "/aap_reyno/"
categorySite[category[0] + "|Luxembourg"] = "/aap_reyno/"
categorySite[category[0] + "|Macedonia"] = "/aap_reyno/"
categorySite[category[0] + "|Malta"] = "/aap_reyno/"
categorySite[category[0] + "|Middle East"] = "/aap_reyno/"
categorySite[category[0] + "|Moldova"] = "/aap_reyno/"
categorySite[category[0] + "|Monaco"] = "/aap_reyno/"
categorySite[category[0] + "|Netherlands"] = "/aap_reyno/"
categorySite[category[0] + "|Norway"] = "/aap_reyno/"
categorySite[category[0] + "|Poland"] = "/aap_reyno/"
categorySite[category[0] + "|Portugal"] = "/kawneer_portugal/"
categorySite[category[0] + "|Romania"] = "/aap_reyno/"
categorySite[category[0] + "|Russia"] = "/aap_reyno/"
categorySite[category[0] + "|Serbia/Montenegro"] = "/aap_reyno/"
categorySite[category[0] + "|Slovakia"] = "/aap_reyno/"
categorySite[category[0] + "|Slovenia"] = "/aap_reyno/"
categorySite[category[0] + "|Spain"] = "/aap_reyno/"
categorySite[category[0] + "|Sweden"] = "/aap_reyno/"
categorySite[category[0] + "|Switzerland"] = "/aap_reyno/"
categorySite[category[0] + "|Turkey"] = "/aap_reyno/"
categorySite[category[0] + "|Ukraine"] = "/aap_reyno/"
categorySite[category[0] + "|United Kingdom"] = "/aap_reyno/"
categorySite[category[0] + "|United States"] = "/aap_eastman/"
categorySite[category[1] + "|Africa"] = "/aap_reyno/"
categorySite[category[1] + "|Albania"] = "/aap_reyno/"
categorySite[category[1] + "|Andorra"] = "/aap_reyno/"
categorySite[category[1] + "|Austria"] = "/aap_reyno/"
categorySite[category[1] + "|Asia"] = "/aap_reyno/"
categorySite[category[1] + "|Belarus"] = "/aap_reyno/"
categorySite[category[1] + "|Belgium"] = "/aap_reyno/"
categorySite[category[1] + "|Bosnia-Herzegovina"] = "/aap_reyno/"
categorySite[category[1] + "|Bulgaria"] = "/aap_reyno/"
categorySite[category[1] + "|Croatia"] = "/aap_reyno/"
categorySite[category[1] + "|Czech Republic"] = "/aap_reyno/"
categorySite[category[1] + "|Denmark"] = "/aap_reyno/"
categorySite[category[1] + "|Estonia"] = "/aap_reyno/"
categorySite[category[1] + "|Finland"] = "/aap_reyno/"
categorySite[category[1] + "|France"] = "/aap_reyno/"
categorySite[category[1] + "|Georgia"] = "/aap_reyno/"
categorySite[category[1] + "|Germany"] = "/aap_reyno/"
categorySite[category[1] + "|Greece"] = "/aap_reyno/"
categorySite[category[1] + "|Hungary"] = "/aap_reyno/"
categorySite[category[1] + "|Iceland"] = "/aap_reyno/"
categorySite[category[1] + "|India"] = "/kawneer_india/"
categorySite[category[1] + "|Ireland"] = "/aap_dublin/"
categorySite[category[1] + "|Italy"] = "/aap_reyno/"
categorySite[category[1] + "|Latvia"] = "/aap_reyno/"
categorySite[category[1] + "|Luxembourg"] = "/aap_reyno/"
categorySite[category[1] + "|Macedonia"] = "/aap_reyno/"
categorySite[category[1] + "|Malta"] = "/aap_reyno/"
categorySite[category[1] + "|Middle East"] = "/aap_reyno/"
categorySite[category[1] + "|Moldova"] = "/aap_reyno/"
categorySite[category[1] + "|Monaco"] = "/aap_reyno/"
categorySite[category[1] + "|Netherlands"] = "/aap_reyno/"
categorySite[category[1] + "|Norway"] = "/aap_reyno/"
categorySite[category[1] + "|Poland"] = "/aap_reyno/"
categorySite[category[1] + "|Portugal"] = "/kawneer_portugal/"
categorySite[category[1] + "|Romania"] = "/aap_reyno/"
categorySite[category[1] + "|Russia"] = "/aap_reyno/"
categorySite[category[1] + "|Serbia/Montenegro"] = "/aap_reyno/"
categorySite[category[1] + "|Slovakia"] = "/aap_reyno/"
categorySite[category[1] + "|Slovenia"] = "/aap_reyno/"
categorySite[category[1] + "|Spain"] = "/aap_reyno/"
categorySite[category[1] + "|Sweden"] = "/aap_reyno/"
categorySite[category[1] + "|Switzerland"] = "/aap_reyno/"
categorySite[category[1] + "|Turkey"] = "/aap_reyno/"
categorySite[category[1] + "|Ukraine"] = "/aap_reyno/"
categorySite[category[1] + "|United Kingdom"] = "/aap_reyno/"
categorySite[category[1] + "|United States"] = "/aap_eastman/"
categorySite[category[2] + "|Africa"] = "/kawneer_france/"
categorySite[category[2] + "|Albania"] = "/aas_deutschland/"
categorySite[category[2] + "|Andorra"] = "/kawneer_france/"
categorySite[category[2] + "|Austria"] = "/aas_deutschland/"
categorySite[category[2] + "|Asia"] = "/kawneer_namer/"
categorySite[category[2] + "|Belarus"] = "/aas_deutschland/"
categorySite[category[2] + "|Belgium"] = "/architectuursystemen/"
categorySite[category[2] + "|Bosnia-Herzegovina"] = "/aas_deutschland/"
categorySite[category[2] + "|Bulgaria"] = "/aas_deutschland/"
categorySite[category[2] + "|Canada"] = "/kawneer_namer/"
categorySite[category[2] + "|Croatia"] = "/aas_deutschland/"
categorySite[category[2] + "|Czech Republic"] = "/aas_deutschland/"
categorySite[category[2] + "|Denmark"] = "/architectuursystemen/"
categorySite[category[2] + "|Estonia"] = "/aas_deutschland/"
categorySite[category[2] + "|Finland"] = "/architectuursystemen/"
categorySite[category[2] + "|France"] = "/kawneer_france/"
categorySite[category[2] + "|Georgia"] = "/aas_deutschland/"
categorySite[category[2] + "|Germany"] = "/aas_deutschland/"
categorySite[category[2] + "|Greece"] = "/aas_deutschland/"
categorySite[category[2] + "|Hungary"] = "/aas_deutschland/"
categorySite[category[2] + "|Iceland"] = "/aas_deutschland/"
categorySite[category[2] + "|India"] = "/kawneer_india/"
categorySite[category[2] + "|Ireland"] = "/aap_dublin/"
categorySite[category[2] + "|Italy"] = "/kawneer_france/"
categorySite[category[2] + "|Latvia"] = "/aas_deutschland/"
categorySite[category[2] + "|Luxembourg"] = "/architectuursystemen/"
categorySite[category[2] + "|Macedonia"] = "/aas_deutschland/"
categorySite[category[2] + "|Malta"] = "/kawneer_france/"
categorySite[category[2] + "|Middle East"] = "/aas_deutschland/"
categorySite[category[2] + "|Moldova"] = "/aas_deutschland/"
categorySite[category[2] + "|Monaco"] = "/kawneer_france/"
categorySite[category[2] + "|Netherlands"] = "/architectuursystemen/"
categorySite[category[2] + "|Norway"] = "/architectuursystemen/"
categorySite[category[2] + "|Poland"] = "/aas_deutschland/"
categorySite[category[2] + "|Portugal"] = "/kawneer_portugal/"
categorySite[category[2] + "|Romania"] = "/aas_deutschland/"
categorySite[category[2] + "|Russia"] = "/aas_deutschland/"
categorySite[category[2] + "|Serbia/Montenegro"] = "/aas_deutschland/"
categorySite[category[2] + "|Slovakia"] = "/aas_deutschland/"
categorySite[category[2] + "|Slovenia"] = "/aas_deutschland/"
categorySite[category[2] + "|Spain"] = "/kawneer_france/"
categorySite[category[2] + "|Sweden"] = "/architectuursystemen/"
categorySite[category[2] + "|Switzerland"] = "/aas_deutschland/"
categorySite[category[2] + "|Turkey"] = "/aas_deutschland/"
categorySite[category[2] + "|Ukraine"] = "/aas_deutschland/"
categorySite[category[2] + "|United Kingdom"] = "/kawneer_uk/"
categorySite[category[2] + "|United States"] = "/kawneer_namer/"
categorySite[category[3] + "|Africa"] = "/kawneer_france/"
categorySite[category[3] + "|Albania"] = "/aas_deutschland/"
categorySite[category[3] + "|Andorra"] = "/kawneer_france/"
categorySite[category[3] + "|Austria"] = "/aas_deutschland/"
categorySite[category[3] + "|Asia"] = "/kawneer_namer/"
categorySite[category[3] + "|Belarus"] = "/aas_deutschland/"
categorySite[category[3] + "|Belgium"] = "/architectuursystemen/"
categorySite[category[3] + "|Bosnia-Herzegovina"] = "/aas_deutschland/"
categorySite[category[3] + "|Bulgaria"] = "/aas_deutschland/"
categorySite[category[3] + "|Canada"] = "/kawneer_namer/"
categorySite[category[3] + "|Croatia"] = "/aas_deutschland/"
categorySite[category[3] + "|Czech Republic"] = "/aas_deutschland/"
categorySite[category[3] + "|Denmark"] = "/architectuursystemen/"
categorySite[category[3] + "|Estonia"] = "/aas_deutschland/"
categorySite[category[3] + "|Finland"] = "/architectuursystemen/"
categorySite[category[3] + "|France"] = "/kawneer_france/"
categorySite[category[3] + "|Georgia"] = "/aas_deutschland/"
categorySite[category[3] + "|Germany"] = "/aas_deutschland/"
categorySite[category[3] + "|Greece"] = "/aas_deutschland/"
categorySite[category[3] + "|Hungary"] = "/aas_deutschland/"
categorySite[category[3] + "|Iceland"] = "/aas_deutschland/"
categorySite[category[3] + "|India"] = "/kawneer_india/"
categorySite[category[3] + "|Ireland"] = "/aap_dublin/"
categorySite[category[3] + "|Italy"] = "/kawneer_france/"
categorySite[category[3] + "|Latvia"] = "/aas_deutschland/"
categorySite[category[3] + "|Luxembourg"] = "/architectuursystemen/"
categorySite[category[3] + "|Macedonia"] = "/aas_deutschland/"
categorySite[category[3] + "|Malta"] = "/kawneer_france/"
categorySite[category[3] + "|Middle East"] = "/aas_deutschland/"
categorySite[category[3] + "|Moldova"] = "/aas_deutschland/"
categorySite[category[3] + "|Monaco"] = "/kawneer_france/"
categorySite[category[3] + "|Netherlands"] = "/architectuursystemen/"
categorySite[category[3] + "|Norway"] = "/architectuursystemen/"
categorySite[category[3] + "|Poland"] = "/aas_deutschland/"
categorySite[category[3] + "|Portugal"] = "/kawneer_portugal/"
categorySite[category[3] + "|Romania"] = "/aas_deutschland/"
categorySite[category[3] + "|Russia"] = "/aas_deutschland/"
categorySite[category[3] + "|Serbia/Montenegro"] = "/aas_deutschland/"
categorySite[category[3] + "|Slovakia"] = "/aas_deutschland/"
categorySite[category[3] + "|Slovenia"] = "/aas_deutschland/"
categorySite[category[3] + "|Spain"] = "/kawneer_france/"
categorySite[category[3] + "|Sweden"] = "/architectuursystemen/"
categorySite[category[3] + "|Switzerland"] = "/aas_deutschland/"
categorySite[category[3] + "|Turkey"] = "/aas_deutschland/"
categorySite[category[3] + "|Ukraine"] = "/aas_deutschland/"
categorySite[category[3] + "|United Kingdom"] = "/kawneer_uk/"
categorySite[category[3] + "|United States"] = "/kawneer_namer/"
categorySite[category[4] + "|Africa"] = "/kawneer_france/"
categorySite[category[4] + "|Albania"] = "/aas_deutschland/"
categorySite[category[4] + "|Andorra"] = "/kawneer_france/"
categorySite[category[4] + "|Austria"] = "/aas_deutschland/"
categorySite[category[4] + "|Asia"] = "/kawneer_namer/"
categorySite[category[4] + "|Belarus"] = "/aas_deutschland/"
categorySite[category[4] + "|Belgium"] = "/architectuursystemen/"
categorySite[category[4] + "|Bosnia-Herzegovina"] = "/aas_deutschland/"
categorySite[category[4] + "|Bulgaria"] = "/aas_deutschland/"
categorySite[category[4] + "|Canada"] = "/kawneer_namer/"
categorySite[category[4] + "|Croatia"] = "/aas_deutschland/"
categorySite[category[4] + "|Czech Republic"] = "/aas_deutschland/"
categorySite[category[4] + "|Denmark"] = "/architectuursystemen/"
categorySite[category[4] + "|Estonia"] = "/aas_deutschland/"
categorySite[category[4] + "|Finland"] = "/architectuursystemen/"
categorySite[category[4] + "|France"] = "/kawneer_france/"
categorySite[category[4] + "|Georgia"] = "/aas_deutschland/"
categorySite[category[4] + "|Germany"] = "/aas_deutschland/"
categorySite[category[4] + "|Greece"] = "/aas_deutschland/"
categorySite[category[4] + "|Hungary"] = "/aas_deutschland/"
categorySite[category[4] + "|Iceland"] = "/aas_deutschland/"
categorySite[category[4] + "|India"] = "/kawneer_india/"
categorySite[category[4] + "|Ireland"] = "/aap_dublin/"
categorySite[category[4] + "|Italy"] = "/kawneer_france/"
categorySite[category[4] + "|Latvia"] = "/aas_deutschland/"
categorySite[category[4] + "|Luxembourg"] = "/architectuursystemen/"
categorySite[category[4] + "|Macedonia"] = "/aas_deutschland/"
categorySite[category[4] + "|Malta"] = "/kawneer_france/"
categorySite[category[4] + "|Middle East"] = "/aas_deutschland/"
categorySite[category[4] + "|Moldova"] = "/aas_deutschland/"
categorySite[category[4] + "|Monaco"] = "/kawneer_france/"
categorySite[category[4] + "|Netherlands"] = "/architectuursystemen/"
categorySite[category[4] + "|Norway"] = "/architectuursystemen/"
categorySite[category[4] + "|Poland"] = "/aas_deutschland/"
categorySite[category[4] + "|Portugal"] = "/kawneer_portugal/"
categorySite[category[4] + "|Romania"] = "/aas_deutschland/"
categorySite[category[4] + "|Russia"] = "/aas_deutschland/"
categorySite[category[4] + "|Serbia/Montenegro"] = "/aas_deutschland/"
categorySite[category[4] + "|Slovakia"] = "/aas_deutschland/"
categorySite[category[4] + "|Slovenia"] = "/aas_deutschland/"
categorySite[category[4] + "|Spain"] = "/kawneer_france/"
categorySite[category[4] + "|Sweden"] = "/architectuursystemen/"
categorySite[category[4] + "|Switzerland"] = "/aas_deutschland/"
categorySite[category[4] + "|Turkey"] = "/aas_deutschland/"
categorySite[category[4] + "|Ukraine"] = "/aas_deutschland/"
categorySite[category[4] + "|United Kingdom"] = "/kawneer_uk/"
categorySite[category[4] + "|United States"] = "/kawneer_namer/"
categorySite[category[5] + "|Africa"] = "/kawneer_france/"
categorySite[category[5] + "|Albania"] = "/aas_deutschland/"
categorySite[category[5] + "|Andorra"] = "/kawneer_france/"
categorySite[category[5] + "|Austria"] = "/aas_deutschland/"
categorySite[category[5] + "|Asia"] = "/kawneer_namer/"
categorySite[category[5] + "|Belarus"] = "/aas_deutschland/"
categorySite[category[5] + "|Belgium"] = "/architectuursystemen/"
categorySite[category[5] + "|Bosnia-Herzegovina"] = "/aas_deutschland/"
categorySite[category[5] + "|Bulgaria"] = "/aas_deutschland/"
categorySite[category[5] + "|Canada"] = "/kawneer_namer/"
categorySite[category[5] + "|Croatia"] = "/aas_deutschland/"
categorySite[category[5] + "|Czech Republic"] = "/aas_deutschland/"
categorySite[category[5] + "|Denmark"] = "/architectuursystemen/"
categorySite[category[5] + "|Estonia"] = "/aas_deutschland/"
categorySite[category[5] + "|Finland"] = "/architectuursystemen/"
categorySite[category[5] + "|France"] = "/kawneer_france/"
categorySite[category[5] + "|Georgia"] = "/aas_deutschland/"
categorySite[category[5] + "|Germany"] = "/aas_deutschland/"
categorySite[category[5] + "|Greece"] = "/aas_deutschland/"
categorySite[category[5] + "|Hungary"] = "/aas_deutschland/"
categorySite[category[5] + "|Iceland"] = "/aas_deutschland/"
categorySite[category[5] + "|India"] = "/kawneer_india/"
categorySite[category[5] + "|Ireland"] = "/aap_dublin/"
categorySite[category[5] + "|Italy"] = "/kawneer_france/"
categorySite[category[5] + "|Latvia"] = "/aas_deutschland/"
categorySite[category[5] + "|Luxembourg"] = "/architectuursystemen/"
categorySite[category[5] + "|Macedonia"] = "/aas_deutschland/"
categorySite[category[5] + "|Malta"] = "/kawneer_france/"
categorySite[category[5] + "|Middle East"] = "/aas_deutschland/"
categorySite[category[5] + "|Moldova"] = "/aas_deutschland/"
categorySite[category[5] + "|Monaco"] = "/kawneer_france/"
categorySite[category[5] + "|Netherlands"] = "/architectuursystemen/"
categorySite[category[5] + "|Norway"] = "/architectuursystemen/"
categorySite[category[5] + "|Poland"] = "/aas_deutschland/"
categorySite[category[5] + "|Portugal"] = "/kawneer_portugal/"
categorySite[category[5] + "|Romania"] = "/aas_deutschland/"
categorySite[category[5] + "|Russia"] = "/aas_deutschland/"
categorySite[category[5] + "|Serbia/Montenegro"] = "/aas_deutschland/"
categorySite[category[5] + "|Slovakia"] = "/aas_deutschland/"
categorySite[category[5] + "|Slovenia"] = "/aas_deutschland/"
categorySite[category[5] + "|Spain"] = "/kawneer_france/"
categorySite[category[5] + "|Sweden"] = "/architectuursystemen/"
categorySite[category[5] + "|Switzerland"] = "/aas_deutschland/"
categorySite[category[5] + "|Turkey"] = "/aas_deutschland/"
categorySite[category[5] + "|Ukraine"] = "/aas_deutschland/"
categorySite[category[5] + "|United Kingdom"] = "/kawneer_uk/"
categorySite[category[5] + "|United States"] = "/kawneer_namer/"
categorySite[category[6] + "|Africa"] = "/greenhouse/"
categorySite[category[6] + "|Albania"] = "/greenhouse/"
categorySite[category[6] + "|Andorra"] = "/greenhouse/"
categorySite[category[6] + "|Austria"] = "/greenhouse/"
categorySite[category[6] + "|Asia"] = "greenhouse"
categorySite[category[6] + "|Belarus"] = "/greenhouse/"
categorySite[category[6] + "|Belgium"] = "/greenhouse/"
categorySite[category[6] + "|Bosnia-Herzegovina"] = "/greenhouse/"
categorySite[category[6] + "|Bulgaria"] = "/greenhouse/"
categorySite[category[6] + "|Croatia"] = "/greenhouse/"
categorySite[category[6] + "|Czech Republic"] = "/greenhouse/"
categorySite[category[6] + "|Denmark"] = "/architectuursystemen/"
categorySite[category[6] + "|Estonia"] = "/greenhouse/"
categorySite[category[6] + "|Finland"] = "/architectuursystemen/"
categorySite[category[6] + "|France"] = "/greenhouse/"
categorySite[category[6] + "|Georgia"] = "/greenhouse/"
categorySite[category[6] + "|Germany"] = "/greenhouse/"
categorySite[category[6] + "|Greece"] = "/aas_deutschland/"
categorySite[category[6] + "|Hungary"] = "/greenhouse/"
categorySite[category[6] + "|Iceland"] = "/aas_deutschland/"
categorySite[category[6] + "|India"] = "/kawneer_india/"
categorySite[category[6] + "|Ireland"] = "/aap_dublin/"
categorySite[category[6] + "|Italy"] = "/greenhouse/"
categorySite[category[6] + "|Latvia"] = "/greenhouse/"
categorySite[category[6] + "|Luxembourg"] = "/greenhouse/"
categorySite[category[6] + "|Macedonia"] = "/greenhouse/"
categorySite[category[6] + "|Malta"] = "/greenhouse/"
categorySite[category[6] + "|Middle East"] = "/aas_deutschland/"
categorySite[category[6] + "|Moldova"] = "/greenhouse/"
categorySite[category[6] + "|Monaco"] = "/greenhouse/"
categorySite[category[6] + "|Netherlands"] = "/greenhouse/"
categorySite[category[6] + "|Norway"] = "/architectuursystemen/"
categorySite[category[6] + "|Poland"] = "/greenhouse/"
categorySite[category[6] + "|Portugal"] = "/kawneer_portugal/"
categorySite[category[6] + "|Romania"] = "/greenhouse/"
categorySite[category[6] + "|Russia"] = "/aas_deutschland/"
categorySite[category[6] + "|Serbia/Montenegro"] = "/greenhouse/"
categorySite[category[6] + "|Slovakia"] = "/greenhouse/"
categorySite[category[6] + "|Slovenia"] = "/greenhouse/"
categorySite[category[6] + "|Spain"] = "/greenhouse/"
categorySite[category[6] + "|Sweden"] = "/architectuursystemen/"
categorySite[category[6] + "|Switzerland"] = "/greenhouse/"
categorySite[category[6] + "|Turkey"] = "/aas_deutschland/"
categorySite[category[6] + "|Ukraine"] = "/greenhouse/"
categorySite[category[6] + "|United Kingdom"] = "/greenhouse/"
categorySite[category[6] + "|United States"] = "/greenhouse/"
categorySite[category[7] + "|Africa"] = "/greenhouse/"
categorySite[category[7] + "|Albania"] = "/greenhouse/"
categorySite[category[7] + "|Andorra"] = "/greenhouse/"
categorySite[category[7] + "|Austria"] = "/greenhouse/"
categorySite[category[7] + "|Asia"] = "greenhouse"
categorySite[category[7] + "|Belarus"] = "/greenhouse/"
categorySite[category[7] + "|Belgium"] = "/greenhouse/"
categorySite[category[7] + "|Bosnia-Herzegovina"] = "/greenhouse/"
categorySite[category[7] + "|Bulgaria"] = "/greenhouse/"
categorySite[category[7] + "|Croatia"] = "/greenhouse/"
categorySite[category[7] + "|Czech Republic"] = "/greenhouse/"
categorySite[category[7] + "|Denmark"] = "/architectuursystemen/"
categorySite[category[7] + "|Estonia"] = "/greenhouse/"
categorySite[category[7] + "|Finland"] = "/architectuursystemen/"
categorySite[category[7] + "|France"] = "/greenhouse/"
categorySite[category[7] + "|Georgia"] = "/greenhouse/"
categorySite[category[7] + "|Germany"] = "/greenhouse/"
categorySite[category[7] + "|Greece"] = "/aas_deutschland/"
categorySite[category[7] + "|Hungary"] = "/greenhouse/"
categorySite[category[7] + "|Iceland"] = "/aas_deutschland/"
categorySite[category[7] + "|India"] = "/kawneer_india/"
categorySite[category[7] + "|Ireland"] = "/aap_dublin/"
categorySite[category[7] + "|Italy"] = "/greenhouse/"
categorySite[category[7] + "|Latvia"] = "/greenhouse/"
categorySite[category[7] + "|Luxembourg"] = "/greenhouse/"
categorySite[category[7] + "|Macedonia"] = "/greenhouse/"
categorySite[category[7] + "|Malta"] = "/greenhouse/"
categorySite[category[7] + "|Middle East"] = "/aas_deutschland/"
categorySite[category[7] + "|Moldova"] = "/greenhouse/"
categorySite[category[7] + "|Monaco"] = "/greenhouse/"
categorySite[category[7] + "|Netherlands"] = "/greenhouse/"
categorySite[category[7] + "|Norway"] = "/architectuursystemen/"
categorySite[category[7] + "|Poland"] = "/greenhouse/"
categorySite[category[7] + "|Portugal"] = "/kawneer_portugal/"
categorySite[category[7] + "|Romania"] = "/greenhouse/"
categorySite[category[7] + "|Russia"] = "/aas_deutschland/"
categorySite[category[7] + "|Serbia/Montenegro"] = "/greenhouse/"
categorySite[category[7] + "|Slovakia"] = "/greenhouse/"
categorySite[category[7] + "|Slovenia"] = "/greenhouse/"
categorySite[category[7] + "|Spain"] = "/greenhouse/"
categorySite[category[7] + "|Sweden"] = "/architectuursystemen/"
categorySite[category[7] + "|Switzerland"] = "/greenhouse/"
categorySite[category[7] + "|Turkey"] = "/aas_deutschland/"
categorySite[category[7] + "|Ukraine"] = "/greenhouse/"
categorySite[category[7] + "|United Kingdom"] = "/greenhouse/"
categorySite[category[7] + "|United States"] = "/greenhouse/"
categorySite[category[8] + "|Africa"] = "/kawneer_france/"
categorySite[category[8] + "|Albania"] = "/aas_deutschland/"
categorySite[category[8] + "|Andorra"] = "/kawneer_france/"
categorySite[category[8] + "|Austria"] = "/aas_deutschland/"
categorySite[category[8] + "|Asia"] = "/kawneer_namer/"
categorySite[category[8] + "|Belarus"] = "/aas_deutschland/"
categorySite[category[8] + "|Belgium"] = "/architectuursystemen/"
categorySite[category[8] + "|Bosnia-Herzegovina"] = "/aas_deutschland/"
categorySite[category[8] + "|Bulgaria"] = "/aas_deutschland/"
categorySite[category[8] + "|Canada"] = "/kawneer_namer/"
categorySite[category[8] + "|Croatia"] = "/aas_deutschland/"
categorySite[category[8] + "|Czech Republic"] = "/aas_deutschland/"
categorySite[category[8] + "|Denmark"] = "/architectuursystemen/"
categorySite[category[8] + "|Estonia"] = "/aas_deutschland/"
categorySite[category[8] + "|Finland"] = "/architectuursystemen/"
categorySite[category[8] + "|France"] = "/kawneer_france/"
categorySite[category[8] + "|Georgia"] = "/aas_deutschland/"
categorySite[category[8] + "|Germany"] = "/aas_deutschland/"
categorySite[category[8] + "|Greece"] = "/aas_deutschland/"
categorySite[category[8] + "|Hungary"] = "/aas_deutschland/"
categorySite[category[8] + "|Iceland"] = "/aas_deutschland/"
categorySite[category[8] + "|India"] = "/kawneer_india/"
categorySite[category[8] + "|Ireland"] = "/aap_dublin/"
categorySite[category[8] + "|Italy"] = "/kawneer_france/"
categorySite[category[8] + "|Latvia"] = "/aas_deutschland/"
categorySite[category[8] + "|Luxembourg"] = "/architectuursystemen/"
categorySite[category[8] + "|Macedonia"] = "/aas_deutschland/"
categorySite[category[8] + "|Malta"] = "/kawneer_france/"
categorySite[category[8] + "|Middle East"] = "/aas_deutschland/"
categorySite[category[8] + "|Moldova"] = "/aas_deutschland/"
categorySite[category[8] + "|Monaco"] = "/kawneer_france/"
categorySite[category[8] + "|Netherlands"] = "/architectuursystemen/"
categorySite[category[8] + "|Norway"] = "/architectuursystemen/"
categorySite[category[8] + "|Poland"] = "/aas_deutschland/"
categorySite[category[8] + "|Portugal"] = "/kawneer_portugal/"
categorySite[category[8] + "|Romania"] = "/aas_deutschland/"
categorySite[category[8] + "|Russia"] = "/aas_deutschland/"
categorySite[category[8] + "|Serbia/Montenegro"] = "/aas_deutschland/"
categorySite[category[8] + "|Slovakia"] = "/aas_deutschland/"
categorySite[category[8] + "|Slovenia"] = "/aas_deutschland/"
categorySite[category[8] + "|Spain"] = "/kawneer_france/"
categorySite[category[8] + "|Sweden"] = "/architectuursystemen/"
categorySite[category[8] + "|Switzerland"] = "/aas_deutschland/"
categorySite[category[8] + "|Turkey"] = "/aas_deutschland/"
categorySite[category[8] + "|Ukraine"] = "/aas_deutschland/"
categorySite[category[8] + "|United Kingdom"] = "/kawneer_uk/"
categorySite[category[8] + "|United States"] = "/kawneer_namer/"


langName = new Array()
langName["de"] = "Deutsch"
langName["en"] = "English"
langName["fr"] = "Français"
langName["nl"] = "Nederlands"
langName["pt"] = "Português"

function buildCategory(objSelect) {
	objSelect.options.length = 0;
	objSelect.options[0] = new Option("Select Below", "");
	for (var i = 0; i < category.length; i++) {
		objSelect.options[i+1] = new Option(category[i], category[i]);
	}		
}

function buildCountry(strCategory) {
	var objSelect = document.bcs_product.country;
	if (strCategory != "") {
		var countryArray = categoryCountry[strCategory].split(", ");
		objSelect.options.length = 0;
		objSelect.options[0] = new Option("Select Below", "");
		for (var i = 0; i < countryArray.length; i++) {
			objSelect.options[i+1] = new Option(countryArray[i], countryArray[i]);
		}		
	} else {
		objSelect.options.length = 0;
		objSelect.options[0] = new Option("Select Below", "");
	}
}

function buildLang(objForm) {
	strCategory = objForm.category.options[objForm.category.selectedIndex].value;
	strCountry = objForm.country.options[objForm.country.selectedIndex].value;
	var objSelect = document.bcs_product.language;
	if (strCategory != "" && strCountry != "") {
		strCatCountry = strCategory + "|" + strCountry;
		strBuSite = categorySite[strCatCountry];
		switch (strBuSite) {
			case "/aap_dublin/":
				BuLang = new Array("en");
				break;
			case "/aap_reyno/":
				BuLang = new Array("de", "en", "fr");
				break;
			case "/aap_eastman/":
				BuLang = new Array("en");
				break;
			case "/architectuursystemen/":
				BuLang = new Array("en", "nl");
				break;
			case "/aas_deutschland/":
				BuLang = new Array("de", "en");
				break;
			case "/greenhouse/":
				BuLang = new Array("de", "en", "nl");
				break;
			case "/kawneer_france/":
				BuLang = new Array("de", "en", "fr");
				break;
			case "/kawneer_uk/":
				BuLang = new Array("en");
				break;
			case "/kawneer_namer/":
				BuLang = new Array("en");
				break;
			case "/kawneer_portugal/":
				BuLang = new Array("pt");
				break;
			case "/kawneer_india/":
				BuLang = new Array("en");
				break;
			default:
				BuLang = new Array("en");
		}
		objSelect.options.length = 0;
		objSelect.options[0] = new Option("Select Below", "");
		for (var i = 0; i < BuLang.length; i++) {
			objSelect.options[i+1] = new Option(langName[BuLang[i]], BuLang[i]);
		}		
	} else {
		objSelect.options.length = 0;
		objSelect.options[0] = new Option("Select Below", "");
	}
}

function goCategory(objForm) {
	strCategory = objForm.category.options[objForm.category.selectedIndex].value;
	strCountry = objForm.country.options[objForm.country.selectedIndex].value;
	strLanguage = objForm.language.options[objForm.language.selectedIndex].value;
	if (strLanguage != "") {
		strURL = categorySite[strCategory + "|" + strCountry]
		if (strURL.charAt(0) == "/") {
			location.href = "/bcs" + strURL + strLanguage + "/home.asp";
		} else {
			var win = window.open(strURL, "win");
		}
	}
}