
function maio1 (x, s) {

	if (x == 'b') {x = 'banavdelningen';}
	if (x == 'c') {x = 'bakficka';}
	if (x == 'e') {x = 'elavdelningen';}
	if (x == 'f') {x = 'fargval';}
	if (x == 'h') {x = 'H3A6_intressent';}
	if (x == 'i') {x = 'P7A7_teckning';}
	if (x == 'm') {x = 'maskinavdelningen';}
	if (x == 'o') {x = 'ordforanden';}
	if (x == 'p') {x = 'prylbod';}
	if (x == 'r') {x = 'resebyran';}
	if (x == 's') {x = 'sekreteraren';}
	if (x == 't') {x = 'trafikavdelningen';}
	if (x == 'u') {x = 'uppdateringar';}
	if (x == 'v') {x = 'verkstad';}
	if (x == 'w') {x = 'webbmaster';}

	maio2 (x, "smj.org", s);
}

function maio2 (x, y, s) {

	maio (x, y, '[ers&auml;tt]', s);
}

function maio1_e (x, s) {
	if (x == 'c') {x = 'the_chairman';}
	if (x == 's') {x = 'the_secretary';}
	if (x == 't') {x = 'traffic';}
	if (x == 'w') {x = 'webbmaster';}

	maio2_e (x, "smj.org", s);
}

function maio2_e (x, y, s) {
	maio (x, y, '[replace]', s);
}

function maio (x, y, z, s) {
	var a, b, c, d;
	a = '<a href=';
	b = '%' + String(40);
	a += '\"mai';
	c = '\">';
	a += 'lto:';
	b1 = unescape (b);
	b1 = x + b1 + y + '?subj';
	b1 += 'ect=' + s;
	b2 = x;
	if (b2 != 'webbmaster')  {b2 += z + y;}
	d = '</a>';

	document.write (a + b1 + c + b2 + d);
} 