function Phone () {
	this.pict = new Array(new Image(),new Image(),new Image(),new Image());
	this.pict[0].src = '/img/phone/phone31.png';
	this.pict[0].delay = 200;
	this.pict[1].src = '/img/phone/phone32.png';
	this.pict[1].delay = 200;
	this.pict[2].src = '/img/phone/phone33.png';
	this.pict[2].delay = 200;
	this.pict[3].src = '/img/phone/phone34.png';
	this.pict[3].delay = 10000;
}
var _phone = new Phone();
var j=0;
var iPhone = 0;
function chgPhone () {
	iPhone = (iPhone+1)%4;
	$('phone').src = _phone.pict[iPhone].src;
	//$('debug').innerHTML = (j++)+' '+iPhone+' '+_phone.pict[iPhone].delay;
	setTimeout(chgPhone,_phone.pict[iPhone].delay);	
}
Event.observe(window,'load',chgPhone);	
