function feature(str1, str2, str3) {

	var element1 = document.getElementById(str1);

	var element2 = document.getElementById(str2);

	var element3 = document.getElementById(str3);

			

	element1.style.display = 'block';

	element2.style.display = 'none';

	element3.style.display = 'none';

	

	var tab1 = document.getElementById("featuretxt1");

	var tab2 = document.getElementById("featuretxt2");

	var tab3 = document.getElementById("featuretxt3");

	

	if(str1 == 'feature1') {

		tab1.style.backgroundImage = "url('images1/new/featured-tab.gif')";

		tab2.style.backgroundImage = "url('images1/new/featured-n.gif')";

		tab3.style.backgroundImage = "url('images1/new/featured-n.gif')";

		document.getElementById("sel1").style.color = '#ba5d20';

		document.getElementById("sel2").style.color = '#030303';

		document.getElementById("sel3").style.color = '#030303';

		tab1.style.height = 23+'px';

		tab2.style.height = 22+'px';

		tab3.style.height = 22+'px';

	}

	if(str1 == 'feature2') {

		tab2.style.backgroundImage = "url('images1/new/featured-tab.gif')";

		tab1.style.backgroundImage = "url('images1/new/featured-n.gif')";

		tab3.style.backgroundImage = "url('images1/new/featured-n.gif')";

		document.getElementById("sel2").style.color = '#ba5d20';

		document.getElementById("sel3").style.color = '#030303';

		document.getElementById("sel1").style.color = '#030303';

		tab2.style.height = 23+'px';

		tab1.style.height = 22+'px';

		tab3.style.height = 22+'px';

	}

	if(str1 == 'feature3') {

		tab3.style.backgroundImage = "url('images1/new/featured-tab.gif')";

		tab2.style.backgroundImage = "url('images1/new/featured-n.gif')";

		tab1.style.backgroundImage = "url('images1/new/featured-n.gif')";

		document.getElementById("sel3").style.color = '#ba5d20';

		document.getElementById("sel2").style.color = '#030303';

		document.getElementById("sel1").style.color = '#030303';

		tab3.style.height = 23+'px';

		tab2.style.height = 22+'px';

		tab1.style.height = 22+'px';

	}

}



function numbtn(box1, box2, box3, box4, box5, box6) {

	var element1 = document.getElementById(box1);

	var element2 = document.getElementById(box2);

	var element3 = document.getElementById(box3);

	var element4 = document.getElementById(box4);

	var element5 = document.getElementById(box5);
	
	var element6 = document.getElementById(box6);

			

	element1.style.display = 'block';

	element2.style.display = 'none';

	element3.style.display = 'none';

	element4.style.display = 'none';

	element5.style.display = 'none';
	
	element6.style.display = 'none';

	

	var tab1 = document.getElementById("numactive");

	var tab2 = document.getElementById("number1");

	var tab3 = document.getElementById("number2");

	var tab4 = document.getElementById("number3");

	var tab5 = document.getElementById("number4");
	
	var tab6 = document.getElementById("number5");

	

	if(box1 == 'box1') {

		tab1.style.backgroundImage = "url('images1/new/number-active-bg.gif')";

		tab2.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab3.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab4.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab5.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";
		
		tab6.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		return change('a1');

	}

	if(box1 == 'box2') {

		tab2.style.backgroundImage = "url('images1/new/number-active-bg.gif')";

		tab1.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab3.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab4.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab5.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";
		
		tab6.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		return change('a2');

	}

	if(box1 == 'box3') {

		tab3.style.backgroundImage = "url('images1/new/number-active-bg.gif')";

		tab2.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab1.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab4.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab5.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";
		
		tab6.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		return change('a3');

	}

	if(box1 == 'box4') {

		tab4.style.backgroundImage = "url('images1/new/number-active-bg.gif')";

		tab2.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab3.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab1.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab5.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";
		
		tab6.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		return change('a4');

	}

	if(box1 == 'box5') {

		tab5.style.backgroundImage = "url('images1/new/number-active-bg.gif')";
		
		tab1.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab2.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab3.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab4.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";
		
		tab6.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		return change('a5');

	}
	
	if(box1 == 'box6') {

		tab6.style.backgroundImage = "url('images1/new/number-active-bg.gif')";
		
		tab1.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";
		
		tab2.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab3.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";

		tab4.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";
		
		tab5.style.backgroundImage = "url('images1/new/number-normal-bg.gif')";
		
		return change('a6');

	}

}



function change(str) {

	if(str == 'a1') {

		document.getElementById("a1").style.color = '#000';

		document.getElementById("a2").style.color = '#ba5d20';

		document.getElementById("a3").style.color = '#ba5d20';

		document.getElementById("a4").style.color = '#ba5d20';

		document.getElementById("a5").style.color = '#ba5d20';
		
		document.getElementById("a6").style.color = '#ba5d20';

	}

	if(str == 'a2') {

		document.getElementById("a1").style.color = '#ba5d20';

		document.getElementById("a2").style.color = '#000';

		document.getElementById("a3").style.color = '#ba5d20';

		document.getElementById("a4").style.color = '#ba5d20';

		document.getElementById("a5").style.color = '#ba5d20';
		
		document.getElementById("a6").style.color = '#ba5d20';

	}

	if(str == 'a3') {

		document.getElementById("a1").style.color = '#ba5d20';

		document.getElementById("a2").style.color = '#ba5d20';

		document.getElementById("a3").style.color = '#000';

		document.getElementById("a4").style.color = '#ba5d20';

		document.getElementById("a5").style.color = '#ba5d20';
		
		document.getElementById("a6").style.color = '#ba5d20';

	}

	if(str == 'a4') {

		document.getElementById("a1").style.color = '#ba5d20';

		document.getElementById("a2").style.color = '#ba5d20';

		document.getElementById("a3").style.color = '#ba5d20';

		document.getElementById("a4").style.color = '#000';

		document.getElementById("a5").style.color = '#ba5d20';
		
		document.getElementById("a6").style.color = '#ba5d20';

	}

	if(str == 'a5') {

		document.getElementById("a1").style.color = '#ba5d20';

		document.getElementById("a2").style.color = '#ba5d20';

		document.getElementById("a3").style.color = '#ba5d20';

		document.getElementById("a4").style.color = '#ba5d20';

		document.getElementById("a5").style.color = '#000';
		
		document.getElementById("a6").style.color = '#ba5d20';

	}
	
	if(str == 'a6') {

		document.getElementById("a1").style.color = '#ba5d20';

		document.getElementById("a2").style.color = '#ba5d20';

		document.getElementById("a3").style.color = '#ba5d20';

		document.getElementById("a4").style.color = '#ba5d20';

		document.getElementById("a5").style.color = '#ba5d20';
		
		document.getElementById("a6").style.color = '#000';

	}

	return true;

}