/* main */
function programme() {
}

function music() {
}

function none() {
}

/* programme */
function comment() {document.getElementById("submit").focus();}

function on() {document.getElementById("fon").setAttribute('class', ' ');}

function out() { document.getElementById("fon").setAttribute('class', 'stop');}

function draw2() {
var fon = new Image();
var canvas = document.getElementById("canva");
fon.src = "programme.png";

var context = canvas.getContext("2d");
context.drawImage(fon, 0, 0, 150, 150, 0, 0, 150, 150);
context.drawImage(fon, 150, 0, 150, 150, 150, 0, 150, 150);
context.drawImage(fon, 300, 0, 150, 150, 300, 0, 150, 150);
context.drawImage(fon, 450, 0, 150, 150, 450, 0, 150, 150);

context.drawImage(fon, 0, 150, 150, 150, 0, 150, 150, 150);
context.drawImage(fon, 150, 150, 150, 150, 150, 150, 150, 150);
context.drawImage(fon, 300, 150, 150, 150, 300, 150, 150, 150);
context.drawImage(fon, 450, 150, 150, 150, 450, 150, 150, 150);

	setTimeout('drawImage()', 1000);
	while (x<572) {
	context.drawImage(fon, x, y, 150, 150, x, y, 150, 150);

x+=150;
y+=150;
}
}



function draw() {
var fon = new Image();
var canvas = document.getElementById("canva");
var context = canvas.getContext("2d");
fon.src = "temppic-2.jpg";


var x=0;
var y=0;
	
	while (x<=600) {
		context.drawImage(fon, x, y, 150, 150, x, y, 150, 150);
		setTimeout('context.drawImage(fon, x, y, 150, 150, x, y, 150, 150)', 1000);
		x+=150;
	}



};



/* music */


