function outheader(win)
{
    win.document.write("<html>");
    win.document.write("<head>");
    win.document.write("<meta http-equiv='Content-Language' content='en-us'>");
    win.document.write("<meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>");
    win.document.write("<meta name='GENERATOR' content='Microsoft FrontPage 4.0'>");
    win.document.write("<meta name='ProgId' content='FrontPage.Editor.Document'>");
    win.document.write("<title>Loan Program</title>");
    win.document.write("</head>");
    win.document.write("<body>");
}

function outtext(win, funccode)
{
	switch( funccode ) {
	case 1 : win.document.write("<p><b>Fixed Rate Mortgage</b> - A loan where the rate does not change for the life of the loan.</p>"); break ;
	case 2 : win.document.write("<p><b>No Income Qualification</b> - A loan where you state your income and the investor does not verify that income. Normally loan qualification depends on your credit score, income and monthly debt payments. This loan only depends on your credit score. Naturally, you must have excellent credit for this type of loan.</p>"); break ;
	case 3 : win.document.write("<p><b>Fixed ARMS</b> - These loans have a fixed interest rate for some period of time and then float with the market. The 5 year fixed ARM is very popular.</p>"); break ;
	case 4 : win.document.write("<p><b>Interest Only</b> - These loans only require that you pay interest on the loan instead of paying both principal and interest. They also require the smallest monthly payment of all of our loans.</p>"); break ;
	case 5 : win.document.write("<p><b>No Money Down </b>- Although priced slightly higher, a zero money down loan only requires you to pay closing costs. You can purchase your home with very little out of pocket expense.</p>"); break ;
	case 6 : win.document.write(" "); break ;
	}
		
}

function outtrailor(win)
{
    win.document.write("</body>");
    win.document.write("</html>");
}

function doaction( funccode )
{
	win = window.open( "", "Preview", "height=160,width=320,dependent=yes" ) ;
   outheader(win) ;
	outtext( win, funccode ) ;
	outtrailor(win) ;
	win.document.close() ;
}


