myData = new LoadVars(); message.html = true; myData.onLoad = function () { var _loc1 = this; myText_txt.htmlText = "hi"; Test_txt.htmlText = _loc1.test; AboutUs_txt = _loc1.aboutus; Food_txt = _loc1.food; _global.content = new Array(myText_txt, AboutUs_txt, Food_txt, Test_txt); }; myData.load("index2.php");