var timID;
var delay = 200;
var delay2 = 10000;
var step = 5;
		
function title_onload()
{
	timID = window.setInterval("moveLine()",delay);
}

function moveLine()
{
	var proc;
	proc = parseInt(tit.style.left) + step;
	tit.style.left = proc + "%";
	if (proc >= "0") window.clearInterval(timID);
}

function index_onload()
{
	timID = window.setTimeout("loadmain()",delay2);
}

function loadmain()
{
	window.location.href="index1.html";
}

function paint_open(st)
{
	if(open(st,"big_paint","width=700,height=400,top=200,left=100")) return false;
}

function contact_open(st)
{
	if(open(st,"contact","width=600,height=400,top=200,left=100")) return false;
}
