section html func doPrint(_data) switch(Type) case 0: print('' + Caption + '') event(onPrint, _data) end