function em_go(itemvalue){ if (itemvalue == '281'){email = "info@projectable.com";} if (itemvalue == '836'){email = "info@projectable";} if (itemvalue == '837'){email = "info@projectable";} document.location.href = 'mailto:' + email; } function em_show(itemvalue){ if (itemvalue == '281'){text = "info@projectable.com";} if (itemvalue == '836'){text = "info@projectable";} if (itemvalue == '837'){text = "info@projectable.com";} document.write(text); }