// Version 2.0 Beta
// initialised signal
var initialised;

// Define object array
var objArray = new Array()

// initialize function, use this function to initialize all layer objects and event handler
function init() {
// Construct all objects, for dropdown menu, slide menu and news boxes, popup box...
	for (i=0; i<=objArray.length-1; i++) {
		thisObjArray=objArray[i].split(' ');
		theObj=thisObjArray[0]; theParent=thisObjArray[1]; theLeft=thisObjArray[2]; theTop=thisObjArray[3];
		eval(theObj+'Obj = new ConstructObject(\''+theObj+'\',\''+theParent+'\')');
		eval(theObj+'ContentObj = new ConstructObject(\''+theObj+'Content\',\''+theObj+'\')');
		eval(theObj+'Obj.MoveObj('+theLeft+','+theTop+')');
	}
// use initialised varible to prevent fire a event handler to access any unloaded object
	initialised=true;
}