<!--
function notice_font(font_type_fn){

  h.style.fontFamily=font_type_fn;    
  n.style.fontFamily=font_type_fn;
  h.style.fontWeight="bold";
  n.style.fontWeight="bold";

  if(font_type_fn=='comic sans'){
    h.style.fontFamily='Comic Sans MS';
    n.style.fontFamily='Comic Sans MS';
    h.style.fontSize="14pt";    
    n.style.fontSize="12pt";
  }
  if(font_type_fn=='serif'){
    h.style.fontSize="16pt";    
    n.style.fontSize="14pt";
  }
  if(font_type_fn=='arial'){
    h.style.fontSize="14pt";    
    n.style.fontSize="12pt";
  }
  if(font_type_fn=='tahoma'){
    h.style.fontSize="14pt";    
    n.style.fontSize="12pt";
  }
}

function print_notice_html(q){
  if (e.display.value=="yes"){
    document.write("<center>");
    div_id_group='groupname'+q;
    document.write("<div id='" + div_id_group + "' style='font-weight:bold;font-size:15pt; margin-top:10; margin-bottom:-25'> </div><br/>");
    document.write("</center>");
  g=document.getElementById("groupname"+q);
    g.innerHTML=e.group.value;    

    document.write("<center><img src='notice_pin.jpg' width=450 height=28></center>");
    div_id_heading='divheading'+q;
    div_id_notice='divnotice'+q;
    document.write("<div align='center' style='margin-bottom:-20'>");

    document.write("<table width=450 border=1 cellspacing=0 cellpadding=2 style='border-width:1 3 3;border-color:#663300;'><tr><td style='background:beige;border-color:#663300;'>");
    document.write("<div id='",div_id_heading);
    document.write("' style='margin-right:5; margin-left:5;'></div>");
    document.write("<div id='",div_id_notice);
    document.write("' style='margin-right:5; margin-left:5;' align='center'>&nbsp<br/>");

    document.write("<br/>&nbsp<br/></div>");
    document.write("</td></tr></table></div>");
  }
}

function print_notice_js(p){
  if (e.display.value=="yes"){ 
    h=document.getElementById("divheading"+p);
    n=document.getElementById("divnotice"+p);
    h.innerHTML=e._heading.value;
    h.style.color=e._heading_colour.value;
    h.style.textAlign=e._heading_align.value;
    n.innerHTML=e._body.value;
    n.style.color=e._body_colour.value;
    n.style.textAlign=e._body_align.value;
    notice_font(e._font_type.value);
  }
}
-->
