setInterval(function() {
var bb = _g().getWidgetByName("tabpane1").getShowIndex();
if(bb == 0) {
_g().getWidgetByName('tabpane1').showCardByIndex(1);
} else {
}
}, 7000);
setInterval(function() {
var bb = _g().getWidgetByName("tabpane1").getShowIndex();
if(bb == 1) {
_g().getWidgetByName('tabpane1').showCardByIndex(2);
} else {
}
}, 8000);