function IncludeJSfile(FileName) { document.write('<script type="text/javascript" src="' + FileName + '"></script>'); }
IncludeJSfile('include/Tween.js');
IncludeJSfile('include/OpacityTween.js');
IncludeJSfile('include/Sequence.js');
function startanim() {
	t1 = new Sequence();
	t1.addChild(new Tween(document.getElementById('label1').style, 'paddingLeft', '',260,500,3,'px'));
	t1.addChild(new Tween(document.getElementById('label1').style, 'paddingLeft', '',500,500,5,'px'));
	t1.addChild(new OpacityTween(document.getElementById('img2'),Tween.regularEaseOut,0,100,5));
	t1.addChild(new Tween(document.getElementById('label2').style, 'paddingRight', '',260,450,3,'px'));
	t1.addChild(new Tween(document.getElementById('label2').style, 'paddingTop', '',10,10,5,'px'));
	t1.addChild(new OpacityTween(document.getElementById('img3'),Tween.regularEaseOut,0,100,5));
	t1.addChild(new Tween(document.getElementById('label3').style, 'paddingLeft', '',260,500,3,'px'));
	t1.addChild(new Tween(document.getElementById('label3').style, 'paddingTop', '',100,100,5,'px'));
	t1.addChild(new OpacityTween(document.getElementById('img4'),Tween.regularEaseOut,0,100,5));
	t1.addChild(new Tween(document.getElementById('label4').style, 'paddingLeft', '',260,450,3,'px'));
	t1.addChild(new Tween(document.getElementById('label4').style, 'paddingTop', '',5,5,5,'px'));
	t1.addChild(new OpacityTween(document.getElementById('img5'),Tween.regularEaseOut,0,100,5));
	t1.addChild(new Tween(document.getElementById('label5').style, 'paddingLeft', '',260,450,3,'px'));
	t1.addChild(new Tween(document.getElementById('label5').style, 'paddingTop', '',5,5,5,'px'));
	t1.addChild(new OpacityTween(document.getElementById('img6'),Tween.regularEaseOut,0,100,3));
	t1.onMotionFinished = function(){ t1.rewind(); t1.start(); };
	t1.start();
}
window.onload = function() { startanim(); }