var leftlinks = new Array( 4);

leftlinks[ 0] = 'http://www.namotechnika.lt/./';
leftlinks[ 1] = 'http://www.namotechnika.lt/kodel.htm';
leftlinks[ 2] = 'http://www.namotechnika.lt/marmitek.htm';
leftlinks[ 3] = 'http://www.namotechnika.lt/x-10.htm';

function leftover( element)
{
	element.style.backgroundImage = 'url(images/a13.gif)';
	element.style.cursor = 'hand';
//	element.firstChild.style.color = 'black';
}

function leftout( element)
{
	element.style.backgroundImage = 'url(images/a12.gif)';
	element.style.cursor = 'auto';
//	element.firstChild.style.color = 'white';
}

function leftclick( id)
{
	window.location = leftlinks[ id - 1];
}

var mainlinks = new Array( 5);

mainlinks[ 0] = 'http://www.namotechnika.lt/apie.htm';
mainlinks[ 1] = 'http://www.namotechnika.lt/kontaktai.htm';
mainlinks[ 2] = 'http://www.namotechnika.lt/produktai/';
mainlinks[ 3] = 'http://www.namotechnika.lt/veikimas.htm';
mainlinks[ 4] = 'http://www.namotechnika.lt/uzsakyti/';

function mainover( str)
{
	document.getElementById( str+'1').style.backgroundImage = 'url(images/a151.gif)';
	document.getElementById( str+'2').style.backgroundImage = 'url(images/a152.gif)';
	document.getElementById( str+'3').style.backgroundImage = 'url(images/a153.gif)';

	document.getElementById( str+'1').style.cursor = 'hand';
	document.getElementById( str+'2').style.cursor = 'hand';
	document.getElementById( str+'3').style.cursor = 'hand';
}

function mainout( str)
{
	document.getElementById( str+'1').style.backgroundImage = 'url(images/a141.gif)';
	document.getElementById( str+'2').style.backgroundImage = 'url(images/a142.gif)';
	document.getElementById( str+'3').style.backgroundImage = 'url(images/a143.gif)';

	document.getElementById( str+'1').style.cursor = 'auto';
	document.getElementById( str+'2').style.cursor = 'auto';
	document.getElementById( str+'3').style.cursor = 'auto';
}

function mainclick( id)
{
	window.location = mainlinks[ id - 1];
}
