function whichversion()
	{
	var myBrowser = navigator.userAgent;
	if((myBrowser.lastIndexOf("MSIE") != -1) &&
		(myBrowser.lastIndexOf("4.0") != -1)) return "IE4"
	else if((myBrowser.lastIndexOf("4.0") != -1) &&
		(myBrowser.lastIndexOf("MSIE") == -1)) return "NS4"
	
	}


var selecteddiv="div_six";
var selecteddiv1 ="six";


function highlight1(id) 
{
	
	
	if (whichversion() == 'IE4')
	{

	var id1 = "div_" + id;
	eval(id1 + ".bgColor = 'black'");
	substr = id.substring(0,3);
	
	if (substr == 'one')
		{
	window.document.all.line.bgColor = '716a75';
	window.document.all.one.bgColor = '716a75';
		}
	else if (substr == 'two')
		{
	window.document.all.line.bgColor = '7077a2';
	window.document.all.two.bgColor = '7077a2';
		}
	else if (substr == 'thr')
		{
	window.document.all.line.bgColor = 'f38b02';
	window.document.all.three.bgColor = 'f38b02';
		}	
	
	else if (substr == 'fou')
		{
	window.document.all.line.bgColor = 'E75252';
	window.document.all.four.bgColor = 'E75252';
		}
	else if (substr == 'fiv')
		{
	window.document.all.line.bgColor = '81a765';
	window.document.all.five.bgColor = '81a765';
		}
	}
	
	if (whichversion() == 'NS4')
	{
	
	}

}

function unhighlight1(id) {

	if (whichversion() == 'IE4')
	{
	
	var id1 = "div_" + id;
	substr = id.substring(0,3);
	
	if (substr == 'one')
	{eval(id1 + ".bgColor = '716a75'");}

	if (substr == 'two')
	{eval(id1 + ".bgColor = '7077a2'");}

	if (substr == 'thr')
	{eval(id1 + ".bgColor = 'f38b02'");}

	if (substr == 'fou')
	{eval(id1 + ".bgColor = 'E75252'");}
	
	if (substr == 'fiv')
	{eval(id1 + ".bgColor = '81a765'");}	
	
	}
	
	if (whichversion() == 'NS4')
	{
	
	}
}



var tohidenext="item0";

function show(division)
	{
	var division1="item" + division;
		
	if (whichversion() == "NS4")
	{
	window.document.layers[tohidenext].visibility='hide';
	tohidenext=division1;
	
	var status=document.layers[division1];
		if(status.visibility=='hide')
			{status.visibility='show';}
		else status.visibility='hide'}

	else if (whichversion() == "IE4")
	{
	window.document.all[tohidenext].style.visibility='hidden';
	tohidenext=division1;
	var status=document.all[division1].style;
	if(status.visibility=='visible')
			{status.visibility='hidden'}
		else status.visibility='visible'}
	}

var tohidenext1="itemair0";

function show1(division)
	{
	var division1="itemair" + division;
		
	if (whichversion() == "NS4")
	{
	window.document.layers[tohidenext1].visibility='hide';
	tohidenext1=division1;
	
	var status=document.layers[division1];
		if(status.visibility=='hide')
			{status.visibility='show';}
		else status.visibility='hide'}

	else if (whichversion() == "IE4")
	{
	window.document.all[tohidenext1].style.visibility='hidden';
	tohidenext1=division1;
	var status=document.all[division1].style;
	if(status.visibility=='visible')
			{status.visibility='hidden'}
		else status.visibility='visible'}
	}
	
function maintain() 
{
	if (whichversion() == 'IE4')
	{
		
	//alert(idstore);

	if (idstore == 'one')
		{eval(idstore + ".bgColor = '716a75'");
			window.document.all.line.bgColor = '716a75';
			}
	else if (idstore == 'two')
		{eval(idstore + ".bgColor = '7077a2'");
			window.document.all.line.bgColor = '7077a2';
			}
	else if (idstore == 'three')
		{eval(idstore + ".bgColor = 'f38b02'");
			window.document.all.line.bgColor = 'f38b02';
			}
	else if (idstore == 'four')
		{eval(idstore + ".bgColor = 'E75252'");
			window.document.all.line.bgColor = 'E75252';
			}
	else if (idstore == 'five')
		{eval(idstore + ".bgColor = '81a765'");
			window.document.all.line.bgColor = '81a765';
			}
	}
	else if (whichversion() == 'NS4')
	{
	}
}

function load()
{

if (screen.availwidth<=640) {

if (whichversion() == "NS4")
	{
	
	}

	else if (whichversion() == "IE4")
	{
window.document.all('div_one').style.left = 10;
window.document.all('div_two').style.left = 100;
window.document.all('div_three').style.left = 191;
window.document.all('div_four').style.left = 336;
window.document.all('div_five').style.left = 430;
	}
}
else if (screen.availwidth<=800) {

if (whichversion() == "NS4")
	{
	
	}

	else if (whichversion() == "IE4")
	{
window.document.all('div_one').style.left = 79;
window.document.all('div_two').style.left = 170;
window.document.all('div_three').style.left = 262;
window.document.all('div_four').style.left = 406;
window.document.all('div_five').style.left = 501;
	}
} 

else {
	if (whichversion() == "NS4")
	{
	
	}

	else if (whichversion() == "IE4")
	{
	window.document.all('div_one').style.left = 191;
	window.document.all('div_two').style.left = 282;
	window.document.all('div_three').style.left = 373;
	window.document.all('div_four').style.left = 518;
	window.document.all('div_five').style.left = 613;
	}
	

}

}

