	function setstyle(title) {
	  var i, a, main;
	  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
		if(a.getAttribute("rel").indexOf("stylesheet") != -1) {
			a.disabled = true;
			if(a.getAttribute("title") == title) { a.disabled = false; }
		}
	  }
	}

	function writeemail(x,y,z,a) {
		document.write('<a href=\"mailto:' + x);
		document.write('&#');
		document.write('64' + y + '.');
		document.write(z + '?subject=' + a + '\">');
		document.write(x);
		document.write('&#');
		document.write('64' + y + '.');
		document.write(z);
		document.write('<\/a>');
		}

	function popup(x,y,z,a) {
		var link = x;
		var popupwindow = '';
		if (!popupwindow.closed && popupwindow.location) {
			popupwindow.location.href = url;
		} else {
			if (!y) { y = 665; }
			if (!z) { z = 490; }
			if (!a) { a = 'no'; }
			var options = 'width=' + y + ',height=' + z + ',status=no,toolbar=no,location=no,menubar=no,scrollbars=' + a;
			popupwindow=window.open(link,'help',options);
			if (!popupwindow.opener) { popupwindow.opener = self; }
		}
		if (window.focus) { popupwindow.focus(); }
		}
