<!--
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" && firstdisplayed=="no"){
    firstdisplayed="yes";
    document.write("<center>");
    //document.write("<span style='font-size:6pt'>&nbsp <br/> </span>");
    document.write("<span id='groupname' style='font-weight:bold'> </span><br/>");
    document.write("<span style='font-size:6pt'>&nbsp <br/> </span>");
    document.write("</center>");
    g=document.getElementById("groupname");
    g.innerHTML=e.group.value;    
  }
  if (e.display.value=="yes"){
    document.write("<center><img src='notice_pin.jpg' width=450 height=30></center>");
    div_id_heading='divheading'+q;
    div_id_notice='divnotice'+q;
    document.write("<div align='center'>");

    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("These notice boards are posetd by the respective association, group, club, society etc</b>");
    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);
  }
}
-->
