<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

 //Anti-spam email link - HTML ""
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//Anti-spam email link - HTML "<script language="JavaScript" type="text/javascript">email()</script>"
function email() {
user = "sales";
site = "sm-engineering.co.uk";
document.write('<a href=\"mailto:' + user + '@' + site + '?subject=website contact message\">');
document.write(user + '@' + site + '</a>');
}

function movepic(img_name,img_src, img_alt) {
document[img_name].src=img_src;
document[img_name].alt=img_alt;
}

function user_message(thelink, id)
	{
	var is_confirmed = confirm('' + id + '');
		if (is_confirmed) {thelink.href;}
		return is_confirmed;
	}

//-->
