function mainema(dom,use) {
	var full1 = use + "@" + dom;
	document.write('<a href="' + 'mail' + 'to:' + use + '@' + dom + '?subject=Website%20Enquiry" title="Click To Email Us">' + full1 + '</a>')
}
function externalLinks() { 
 if (!document.getElementsByTagName) return; 
 var anchors = document.getElementsByTagName("a"); 
 for (var qi=0; qi<anchors.length; qi++) { 
   var anchor = anchors[qi]; 
   if (anchor.getAttribute("href") && 
       anchor.getAttribute("rel") == "external") 
     anchor.target = "_blank"; 
 }
goResize();
}
function goResize() {
var grs0 = document.getElementById("steel_beam_calculations_menu");
var grs1 = document.getElementById("steel_beam_calculations_maincontentwrapper").offsetHeight;
var grs2 = grs0.offsetHeight;
if (grs1 > grs2) { grs0.style.height = grs1 + "px"; }
}
function cst() {
cfta = document.getElementById("cquestion");
if (cfta.value == "Please enter your comments here") {
cfta.value = "";
}
}