/* FUNCTION : GENERATE E MAIL ADDRESS */
function generate_address() {
    domain = "ritcheyconsulting.org";
    atsign = "@";
        username = "ritchey";
    addr = username + atsign + domain;
    document.write("<" + "a" + " " + "href=" + "mail" + "to:" + addr + ">" + addr + "</a>");
    }
/* ---------- END FUNCTION ---------- */
        
/* FUNCTION : PUT HOME PICTURE */
function puthome()
        {
        document.write("<div class='NormalText'>");
        document.write("<a href='index.html' target='_top'><IMG SRC='graphics/home.jpg' border='0' align='left' alt='Home to Frames'></a>");
        document.write("</div>");
        }
/* ---------- END FUNCTION ---------- */



/* FUNCTION : PUT RC BILD */
function put_ml()
        {
        document.write("&nbsp;&nbsp;&nbsp;<img src='logo/rc5.png' title='Ritchey Consulting' border='0' alt='Ritchey Consulting'>");
		document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src='graphics/sds-ma1.png' alt='Strategic decision support with morphological analysis.'>");
        }
/* ---------- END FUNCTION PUTLOGO ---------- */

/* FUNCTION : PUT SPACES */
function put_spaces()
        {
Numspaces=57
i=0
for (i=1; i<=Numspaces; i=i+1) 
   		{
		document.write("&nbsp;");
        }
		}
/* ------ END FUNCTION PUT_FLAG_SWE ---- */

/* FUNCTION : PUT_FLAG_Swedish */
function put_flag_swe()
        {
        }
/* ---------- END FUNCTION PUT_FLAG_SWE---------- */



/* FUNCTION : X_PUT LOGO */
function putlogo()
        {
        }
/* ---------- END FUNCTION ---------- */

/* FUNCTION : X_PUT LOGO */
function x_putlogo()
        {
        document.write("<TABLE cellSpacing=0 cellPadding=0 align='left' width='102%' height='44' border=0><TR><TD  background='graphics/malogo2.gif'</TD></TR></TABLE><br><br>");
        }
/* ---------- END FUNCTION PUTLOGO ---------- */



/* FUNCTION: SET BACKGROUND COLOR */
function setbgcolor()
        {
        document.write("<body bgcolor='yellow'>");
        }
/* ---------- END FUNCTION ---------- */

/* FUNCTION : writeday - RIGHT OUT THE DAY OF THE WEEK */
function writeday()
        {
         var dayName=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
         var y=new Date();
         // document.write("<center><b>" +dayName[y.getDay()]+ "</b>");
         document.write(dayName[y.getDay()]);
        }
/* ---------- END FUNCTION --------- */

/* FUNCTION : writedate() - RIGHT OUT DATE */
function writedate()
        {
         datum=new Date();
         day=datum.getDate();
         if(day<10) day="0"+day;
         manad=datum.getMonth()+1;
         if(manad<10) manad="0"+manad;
         document.write(datum.getFullYear()+'-'+manad+'-'+day);
        }
/* ---------- END FUNCTION --------- */

/* FUNCTION : WRITE COPYRIGHT DATES  */
function WriteCopy()
        {
         document.write("<i>&copy; 2003-2010, Swedish Morphological Society<br>");
        }
/* ---------- END FUNCTION WRITE COPYRIGHT---------- */

/* FUNCTION : "writefoot" - WRITE A FOOTER WITH COPYRIGHT, NAME, E-MAIL AND LAST MODIFIED */
function WriteFoot()
        {
         document.write("<i>Copyright &copy; 2007-2010, Tom Ritchey<br>");
         document.write("<img src='kuvert.jpg' alt='e-mail'>&nbsp;")
         generate_address();
         document.write("<br>");
         }
/* ---------- END FUNCTION ---------- */

/* FUNCTION : WRITE LAST MODIFIED */
function WriteLastModified()
        {
        document.write("<font size='1'>Last revised: " +document.lastModified+ ".</font>");
        }
/* ---------- END FUNCTION ---------- */





