var gauge = bindows.loadGaugeIntoDiv("gauges/g_speedometer_03.xml", "gaugeDiv");
				var clock = bindows.loadGaugeIntoDiv("gauges/g_clock_bindows.xml", "clockDiv");
			
				var t = 0;
				var interval = 100;
				function updateGauge() {
					t += interval;
					var value = 80 + 80 * Math.sin(t/3000)
					gauge.needle.setValue(value);
					gauge.label.setText(Math.round(value));
				}
				updateGauge();
				setInterval(updateGauge, interval);
			
			
				function updateClock() {
					var t = new Date();
					t = { h: t.getHours(), m: t.getMinutes(), s: t.getSeconds() };
					clock.needleHours.setValue(t.h % 12 + t.m/60);
					clock.needleMinutes.setValue(t.m + t.s/60);
					clock.needleSeconds.setValue(t.s);
				}
				updateClock();
				setInterval(updateClock, 1000);

