// initialize features images

	arrow_shut = new Image(5,5); arrow_shut.src = "img/arrow-normal.gif";

	arrow_down = new Image(10,10); arrow_down.src = "img/arrow-down.gif";

	

// initialize global features variables

	var all_pages = new Array (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);

	page_old = 0;



// swap images

function swap_image(image,status){

	eval("document.getElementById('"+image+"').src="+image+"_"+status+".src;");

}



function submitForm(form,action){

	eval('document.'+form+'.action=\''+action+'\';');

	eval('document.'+form+'.submit();');

}



// features toggle

function m(section) {

	if (section != 99) {

		if (all_pages[section] == 0) {

			eval("document.getElementById('txt" + page_old + "').style.display = 'none'");

			eval("document.getElementById('img" + page_old + "').src = arrow_shut.src;");

			all_pages[page_old] = 0;

			eval("document.getElementById('txt" + section + "').style.display = ''");

			eval("document.getElementById('img" + section + "').src = arrow_down.src;");

			all_pages[section] = 1;

			page_old = section;

		} else {

			eval("document.getElementById('txt" + section + "').style.display = 'none'");

			eval("document.getElementById('img" + section + "').src = arrow_shut.src;");

			all_pages[section] = 0;

		}

	} else {

		eval("document.getElementById('txt" + page_old + "').style.display = 'none'");

		eval("document.getElementById('img" + page_old + "').src = arrow_shut.src;");

		all_pages[page_old] = 0;

	}

}
