for the text box calculate method
if(page1.sub1.dropdown.rawValue == "building1")
{this.rawValue = "building1 address line1" + "\r" + "building1 address line2" + "\r" + "building1 address line3"}
etc..
Oh, and make sure the script is set to javascript, or it won't work!