function clearFormInput(theId,theContent) {
	if (theId.value == theContent) {
		theId.value = '';
	}
}
var tabLast = 'tab-home';
var tabOpen;
function toggleTab(id) {
	tabOpen = 'tab-'+id;
	Effect.BlindUp(tabLast, { queue: { position: 'front', scope: 'tabs' }, duration: 0.5 });
	if (id=='home') {
		Effect.Appear(tabOpen, { queue: { position: 'end', scope: 'tabs'}, duration: 1.0 });
		Effect.Fade('logo_aiga', { queue: { position: 'front', scope: 'homepromo' }, duration: 0.5 });
		Effect.Appear('promo-wrapper', { queue: { position: 'end', scope: 'homepromo' }, duration: 0.5 });
	} else {
		Effect.BlindDown(tabOpen, { queue: { position: 'end', scope: 'tabs'}, duration: 1.0, limit: 1 });
		Effect.Fade('promo-wrapper', { queue: { position: 'front', scope: 'homepromo' }, duration: 0.5 });
		Effect.Appear('logo_aiga', { queue: { position: 'end', scope: 'homepromo' }, duration: 0.5 });
	}
	tabLast = tabOpen;
}
