</HTML> tag keeps disappearing (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


JohnLearner -> </HTML> tag keeps disappearing (4/29/2004 10:11:32)

I'm cheating a bit by posting in the Newbies' Forum 'cos I've built a lot of sites, but I've never seen this before...

When I save my page in FP2000, the </HTML> tag right at the end keeps disappearing. I've tried cutting all the code, saving the blank page, pasting all the code into Notepad, and then cutting it and pasting it back into the HTML view of the page in FP. As soon as I save, </HTML> has gone again!

I have a lot of Javascript on the page - could that be the cause? Here it is: http://www.wealthcare-uk.com/01_full_pensions_audit.html

All help welcome...

John.




BobbyDouglas -> RE: </HTML> tag keeps disappearing (4/29/2004 11:06:22)

Can you post the code somewhere in a .txt formate. That way when you save it FP will not modify the code.

Do you happen to have a second html closing tag?
What version of FP are you using?




dpf -> RE: </HTML> tag keeps disappearing (4/29/2004 11:14:44)

did you try switching to html mode in FP, typing it in and saving? wow, that is a wierd one. are there any tables or anything open? or maybe shoved wayyyyyyyy to the bottom so u have to scroll to see it? you and I know that most coders add the closing tag as soon as they build a shell...why would fp ever delete it? well, good luck and let us know the outcome




JohnLearner -> RE: </HTML> tag keeps disappearing (4/29/2004 11:16:33)

"Can you post the code somewhere in a .txt formate. That way when you save it FP will not modify the code." Did you mean "paste"? That's what I did, isn't it, Bobby? If so, it still modified it!

"Do you happen to have a second html closing tag?" No.

"What version of FP are you using?" FP2000.




JohnLearner -> RE: </HTML> tag keeps disappearing (4/29/2004 11:19:59)

dpf,

I've tried everything! LOL

I don't use frames either, so it's not that. I've created many pages already in building this site, and I had noticed the problem before, but I just re-added the tag and all was fine. Now, it won't 'hold' it. It's *very* weird...




reric -> RE: </HTML> tag keeps disappearing (4/29/2004 11:25:56)

you need to add an extra </table>tag just before you add in the </html> tag. notice your first table has no tag before you add your next table but each one after does. so what happens is that all your tables are nested into the first table.




BobbyDouglas -> RE: </HTML> tag keeps disappearing (4/29/2004 11:28:50)

I am not sure what you did, but it sounded like you used FP to save the file. Do this:

Open the page, fix the code in the HTML view, then paste the code inside of Notepad. Then upload the txt file here.

Notepad will NOT change the code.




reric -> RE: </HTML> tag keeps disappearing (4/29/2004 11:33:12)

when i copied his code into my frontpage, I had to add that extra /table for the /html to work. in other words he had an open table. Frontpage won't end an html if another table tag is open.




dpf -> RE: </HTML> tag keeps disappearing (4/29/2004 11:37:48)

quote:

Frontpage won't end an html if another table tag is open.


interesting..and good to know..... so FP is doing a compiler-like edit - signally that something is missing.. i sure didnt know that but not a bad idea.




reric -> RE: </HTML> tag keeps disappearing (4/29/2004 11:45:03)

i belive they are. You would think that a window should pop or something to tell you that.[:D]




BobbyDouglas -> RE: </HTML> tag keeps disappearing (4/29/2004 12:16:00)

FP does not remove tags such as </html> closing tags because in some instance you are missing a </table> tag.

This is an error if it happens, and it is not normal for FP to do this.




BobbyDouglas -> RE: </HTML> tag keeps disappearing (4/29/2004 12:19:35)

I do not have the exact code you are using inside of FrontPage since you have not posted it. Once you post that, I will see if I can get it to work.

Anyhow, for the page you sent me to, try this code:

<HTML>
<HEAD>
<TITLE>WealthCare-UK.com Full Pensions Audit</TITLE>
<meta name="description" CONTENT="Independent Financial Advisers (IFAs) - UK Financial Planning by Handscombes, UK Independent Financial Advisers, specialising in financial planning for the individual and in employee benefits for businesses">
<meta name="keywords" CONTENT="Independent Financial Advisers, IFAs, IFAs Luton, UK financial planning, UK independent financial advisers, IFA, IFA Luton, luton financial advisers, adviser, advisors, advisor, financial advice, luton, uk financial services, investing, investments, wealth management, wealthcare, isas, unit trusts, investment trusts, with-profits bonds, insurance, life insurance, assurance, life assurance, offshore funds, pensions, retirement planning, mortgages, tax planning, taxation advice, corporate financial planning, portfolio, balanced portfolio, companies, company pensions, stakeholder pensions, equities, capital, venture capital, endowments, inheritance tax, inheritance tax planning, inheritance tax advice, capital gains tax, cgt, income, finance, interest, bedfordshire, beds, lu1 1rx, lu1">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<META NAME="RATING" CONTENT="General">
<META NAME="ROBOTS" CONTENT="index, follow">
<META NAME="REVISIT-AFTER" CONTENT="4 weeks">

<Script language="JavaScript">
<!--hide from other browsers 

// This message must be included in all use of scripts.
// This script is the property of Ian Dickson and may only be used with permission.
// Permissions are NOT expensive. The commercial use licence (for a modal IFA, for the ENTIRE 
// library) is just £10pm plus VAT, so please do not abuse my rights.
// Web Designers - I am happy to agree licence terms. My normal terms are that for each 
// site you use them on, I get £10pm plus VAT (irrespective of the number of scripts used on 
// the site. 
// This can be charged to the client directly or bundled into your own charges, whichever 
 // suits you.
// Contact details - Ian Dickson, http://www.iandickson.com, 01452 862637


   
function computepenaudit() { 

      // maths et al to be computed
      // assumes 1%pa charges as per Stakeholder
      // Earnings cap ignored due to general nature of maths, not specific to pensions.
      // setting up the data


alert("These figures are only illustrative. An assessment of your needs will be confirmed before a recommendation can be made. Key features, including a projection which is personal to your circumstances, will be provided if a recommendation for an investment product is made.")


var x1=1/12;   
var x2=document.penaudit.growth.value*0.99;
var r=Math.pow(x2,x1);
var n=document.penaudit.term.value*12;
var curfundproj=document.penaudit.curfund.value*Math.pow(x2,document.penaudit.term.value);
var a=document.penaudit.invest.value;
var salary=document.penaudit.salary.value;
var annuityrate=document.penaudit.userannuity.value;
var inflation1=document.penaudit.inflation.value;

if (document.penaudit.growth.value>1.09){
alert("Your chosen growth rate is considered too high and cannot be processed. At present the maximium growth rates considered reasonable by the Financial Services Industry Regulators are 9% for tax efficient investments, 8% for the rest. Middle of the road rates are 7% for tax efficient investments, 6% for the rest.");
curfundproj=0;
a=0;
salary=0;
}
if (document.penaudit.growth.value>1.075 && document.penaudit.growth.value <1.0900001){
alert("You are being too optimistic about future growth. We can show you the results you request, but frankly, you shouldn't do any serious planning on this basis. Much better to be more cautious and use a lower growth rate.");
}

if (document.penaudit.growth.value-inflation1>0.04500001){
alert("The gap between growth and inflation is too high and so cannot be computed. The Financial Services Regulators assume that in the long term wages growth will be 3% less than investment growth, and retail price inflation will be 4.5% less than investment growth. This calculator will not compute figures if the difference exceeds 4.5%.");
curfundproj=0;
a=0;
salary=0;
}


var fundpart1=(r-1);
var fundpart2=Math.pow(r,n);
var fund=a*r*(fundpart2-1)/fundpart1+curfundproj;
document.penaudit.fund.value=Math.round(fund);


var pension=fund*annuityrate;
document.penaudit.pension.value=Math.round(pension);


var inflation2=Math.pow(inflation1,document.penaudit.term.value);
var finalsalarypension=salary*document.penaudit.yearsfinal.value*(1/document.penaudit.accrual.value);

var realfund=fund/inflation2;
document.penaudit.realfund.value=Math.round(realfund);

var realpension=(pension/inflation2)+finalsalarypension;
document.penaudit.realpension.value=Math.round(realpension);   



}

//clears form
    function clearpenaudit() {

    }

//stop hiding from other browsers -->
</script>

<STYLE>
BODY
{scrollbar-face-color: #07D894; scrollbar-shadow-color: #FFFFBF; 
scrollbar-highlight-color: #ADDCF1; scrollbar-3dlight-color: #FFFFBF; 
scrollbar-darkshadow-color: #049F69; scrollbar-track-color: #ADDCF1;
scrollbar-arrow-color: #FFFFBF}
</STYLE>

</HEAD>

<body bgcolor="#FFFFBF" vlink="#5B5BFF" alink="#07D894" style="font-family: Verdana; font-size: 10pt; color: #049F69" link="#5B5BFF" text="#049F69">

<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td width="100%">
        <table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
          <tr>
            <td width="20%" height="36" bgcolor="#ADDCF1">
              <p align="center"><img border="0" src="images/animated_ifa_logo.gif" width="100" height="100"></td>
            <td width="60%" height="36" bgcolor="#5B5BFF">
              <p align="center"><font color="#07D894"><font size="6" face="Verdana">WealthCare-UK.com<br>
              </font><font face="Verdana" size="3">A Partner Site to
              Handscombes.com</font><font face="Verdana" size="2"><br>
              <i>Perfect WealthCare!</i></font></font></td>
            <td width="20%" height="36" bgcolor="#ADDCF1">
              <p align="center"><img border="0" src="images/fsa_logo_iriswipe.gif" width="119" height="109"></p>
            </td>
          </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
          <tr>
            <td width="20%" height="36">
              <p align="center"><font face="Verdana" size="2"><a href="index_new.htm">Home
              Page<br>
              </a></font><a href="list_of_calcs01_all.htm"><font size="2">All
              calculators</font></a></p>
            </td>
            <td width="60%" height="36">
              <p align="center"><font size="4" color="#5B5BFF">Full Pensions Audit</font><br>
              <font color="#5B5BFF" size="2">(</font><font size="2" color="#FF00FF">Test
              page</font><font color="#5B5BFF" size="2">)</font></p>
            </td>
            <td width="20%" height="36">
              <p align="center"><font face="Verdana" size="2"><a href="http://www.handscombes.com/" target="_blank">Handscombes.com<br>
              </a><a href="http://www.handscombes.co.uk/" target="_blank">Handscombes.co.uk</a></font></p>
            </td>
          </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
          <tr>
            <td width="100%" height="36" colspan="3" style="border: 1px solid #FF0000; ">
              <p align="center"><font color="#FF0000" size="2">Please note that
              all the calculators on this site are <b>educational tools</b> and <b>not</b>
              projections. Do <b>not</b> use them as anything more than a guide
              for yourself. You will need to <a  href="mailto:wealthcareukcom@handscombes.com">contact
              us</a> to proceed with any transactions which may be linked to
              your use of these online tools (calculators). We look forward to
              hearing from you!<br>
              </font><b><font face="Verdana" size="2"><a href="http://www.handscombes.com/index2.htm" target="_blank">Handscombes</a></font><font color="#07D894" size="2">
              UK tel: (+44) (0)1582 400202. Fax: (+44) (0)1582 400951.</font></b></td>
          </tr>
        </table>
        <p align="center"><font color="#5B5BFF" size="3"><b>Full Pensions Audit</b></font></p>
        <p><font size="2">This is a complex calculator because it is a complex subject.</font></p>
<P>
<font size="2">
This calculator will help highlight how close to your target you are with regard to establishing a decent pension.</font>
<P>
<font size="2">
It will only provide a very general picture and we strongly recommend that we conduct a proper audit of your position in which we will assess all of your current arangements and make suitable recommendations.  That said if you enter all the information correctly and it suggests that you need to save £300
pm, and you are only saving £50 then it is fair to say that some additional planning will be needed.<br>
</font> 
<FORM name=penaudit>
<table width="95%" >
<tr><td align=left>
<b><font size="2">1) Enter the rate of accrual as 60 for if you are in a 1/60th scheme, 80 if 1/80th etc: DEFAULT=1. Enter 1 if this section not applicable in your case to avoid divide by zero error in other math.</font></b></td><td align=right>
<font size="2">
<input type=text Name=accrual size="20" ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">2) Enter the total number of years service you expect to have by the time you want to retire. Set at 0 if not applicable to you:</font></b></td><td align=right>
<font size="2">
<input type=text Name=yearsfinal size="20" ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">3) What is your salary as defined by the pension scheme? Normally only includes basic pay, no bonuses or overtime. Set at 0 if not applicable to you:</font></b></td><td align=right>
<font size="2">
<input type=text Name=salary size="20" ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">4) Enter the current value of long term savings. Set at 0 if none.</font></b></td><td align=right>
<font size="2">
<input type=text Name=curfund size="20" ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<B><font size="2">5) Enter your  current monthly savings rate. Set at 0 if none:</font></B></td><td align=right>
<font size="2">
<input type=text Name=invest size="20" ></font></td></tr>
</table>
<table width="95%">
<tr><td align=left>
<B><font size="2">6) Enter the number of complete years to retirement:</font></B></td><td align=right>
<font size="2">
<input type=text Name=term size="20" ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<B><font size="2">7) Enter your assumed growth rate, eg 1.09 for 9%:</font></B></td><td align=right>
<font size="2">
<input type=text Name=growth size="20" ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<B><font size="2">8) Enter your assumed inflation rate, eg 1.05 for 5%:</font></B></td><td align=right>
<font size="2">
<input type=text Name=inflation size="20" ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">9) Enter your desired annual retirement income, ( in todays terms):</font></b></td><td align=right>
<font size="2">
<input type=text Name=targetretinc size="20" ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">10) Enter your expected annuity rate, eg 0.1 for 10%:</font></b></td><td align=right>
<font size="2">
<input type=text Name=userannuity size="20" ></font></td></tr>
</table>
<font size="2">
<input type="button" value="Compute" onclick=computepenaudit()>
<input type="reset" value="Clear Fields" onclick=clearpenaudit()>
<BR>
</font>
<table width="95%" >
<tr><td align=left>
<B><font size="2">Projected Fund:</font></B></td><td align=right>
<font size="2">
<input type=text name=fund size="20" ></font></td></tr>
</table>
<table width="95%">
<tr><td align=left>
<b><font size="2">Projected Pension using your annuity rate:</font></b></td><td align=right>
<font size="2">
<input type=text name=pension size="20" ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">Projected Fund in real terms,(allowing for inflation):</font></b></td><td align=right>
<font size="2">
<input type=text name=realfund size="20" ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">Projected Pension in real terms using your inflation and annuity assumptions for fund based pensions, with any Defined Benefit pension added:</font></b></td><td align=right>
<input type=text name=realpension size="20" ></td></tr>
</table>
</Form>
<P>
<b><font color="#5B5BFF" size="3">Explanatory Notes</font></b>
<P> <font size="2" color="#FF0000"> The detail of pensions is very complex, however you can view this calculator 
  as being two parts, to represent two sorts of pension.</font> 
<P><font size="2" color="#FF0000">The first of these are those schemes where your pension is contractually determined 
  by your time of service and salary, and NOT affected by the fluctuation of the 
  underlying funds. Parts (1)-(3) are for this type of scheme.</font>
<P><font size="2" color="#FF0000">The second of these are those where the pension is determined entirely by the 
  fund, and, by taking pension to mean retirement income, we also allow for it 
  to include investments that are not legally structured as pensions, eg ISAs.</font>
<P><font size="2" color="#FF0000">Of course most people have complex positions. The important thing when using 
  this calculator is to avoid double counting - for example if you are a member 
  of the first type of scheme you might be contributing £150 pm, but £100 
  is to the scheme in general, and £50 is a personal top up, (currently 
  worth £10,000). For the purposes of this calculator you ignore the value 
  of the scheme (which you probably can't find out anyway), and only count the 
  £10,000 in "current value of long term savings" and £50 
  in the "monthly savings rate".</font>
<ul>
  <li><b><font color="#049F69">Accrual Rate</font><font color="#FF0000" size="2">
    </font> </b><font color="#FF0000" size="2">- The rate at which you accumulate pension for each 
    year of service. You need to know this. Guessing is very risky as it may lead 
    to an over optimistic assessment of your pension position. That said most 
    good schemes provide one sixtieth of salary for each year of service, (hence 
    the oft quoted pension being 40/60, ie two thirds of salary for 40 years service 
    with the same employer).<br>
    </font> 
  <li><b><font color="#049F69">Expected Years Service by Retirement</font><font color="#FF0000" size="2">
    </font> </b><font color="#FF0000" size="2">- This refers to any time that 
    you have spent or will spend in a good company defined benefits scheme (one 
    that pays you a pension according to the number of years service, rather than 
    according to the size of any fund that you may accumulate). Most large employer 
    schemes are of this type.</font> 
    <P> <font color="#FF0000" size="2"> If you have been in such a scheme for ten years, and expect to stay until 
      retirement in twenty more, then enter 30.</font> 
    <P> <font color="#FF0000" size="2"> If you have spent five years with such an employer and then left, enter 
      five. However note that this calculator assumes that your current salary 
      is the relevant one, whereas in fact presumably your scheme salary was lower. 
      In this case the calculator will OVERESTIMATE your pension.</font> 
    <P> <font color="#FF0000" size="2"> If you have benefits from such a scheme and want to see how they affect 
      you then run the calculator using the term, the salary value that you had 
      when you left the scheme, and the term to retirement that applied when you 
      left the scheme. This will be more accurate, but still not to be relied 
      upon.<br>
    </font> 
  <li><b><font color="#049F69">Value of Current Investments</font></b> <font color="#FF0000"><font size="2"> - The current value of all of your long 
    term savings, be they personal pension funds, shares, deposits etc. EG if 
    £12,000 in pensions, £3,500 in ISAs/PEPs and £12,000 in 
    deposits/shares etc enter 27500.</font><br>
    </font> 
  <li><b><font color="#049F69">Savings Rate</font></b> <font color="#FF0000" size="2"> - How much each year you are setting aside for long 
    term investment, either explicitly to pensions, or implicity in general savings. 
    If your arrangements seem to be falling short of your desired pension you 
    need to adjust this figure to see how much you need to invest to meet your 
    target. Include any employer pension contributions if known.<br>
    </font> 
  <li><b><font color="#049F69">Inflation and Growth Assumptions</font></b> 
  <font color="#FF0000" size="2"> - Choose your own, but note that 
    the highest growth rate allowed in formal projections is 9% (for which inflation 
    is assumed to be 4.5%) and the cautious one is 5% (with inflation of 0.5%). 
    As well as the absolute levels of each, it is important to understand that 
    over the long term there cannot be a huge difference between growth and inflation, 
    and differentials of over 4.5% will lead to over optimistic pension projections.</font> 
    <P><font color="#FF0000" size="2"> Because of the way that the math operates there is an added complexity 
      when considering the effect of Inflation on Regular Savings. In short if 
      you invest £1000 a year then , because of inflation, it appears that each 
      year you invest less and less in real terms. If you want to se what happens 
      if you invest the same amount in real terms then set the Inflation at 1, 
      and use a conservative growth rate.</font><P> <font color="#FF0000" size="2"> Enter in the form 1.06 for 6%.</font><P> <font color="#FF0000" size="2"> In the internal math the growth rate is reduced by 1% to represent fund 
      charges, as per Stakeholder. Your actual pension costs may be different.<br>
    </font> 
    <li><b><font color="#049F69">Annuity Rate</font></b> <font color="#FF0000" size="2"> - Choose your own assumption, but if you want to be 
    cautious then 6-7% is a good guide. Enter as a decimal, eg 0.07.<br>
    </font> 
  <li><b><font color="#049F69">Desired Pension</font><font color="#FF0000" size="2">
    </font> </b><font color="#FF0000" size="2">- The annual pension you would like if you were to 
    retire today.<br>
    </font> 
  <li><b><font color="#049F69">Projected Pension Fund</font></b> <font color="#FF0000" size="2"> - The value of the fund at retirement.<br>
    </font> 
  <li><b><font color="#049F69">Projected Pension</font></b> <font color="#FF0000" size="2"> - The pension that the fund will provide for your 
    selected annuity rate.<br>
    </font> 
  <li><b><font color="#049F69">Fund Value in Real Terms</font></b> <font color="#FF0000" size="2"> - The value of the fund in todays money.<br>
    </font> 
  <li><b><font color="#049F69">Pension Value in Real Terms</font></b> <font color="#FF0000" size="2"> - This is the number that counts. The 
    value in todays terms of your pensions, both from any fund, and from any employers 
    scheme. State Pensions are ignored.</font> 
</ul>
      <p align="center"><form>
      <div align="center"><center><p><input type="button" name="back" value="<< Back"  onClick="history.go(-1);" style="BACKGROUND: #ADDCF1; COLOR: rgb(91,91,255); FONT-STYLE: italic;  FONT-VARIANT: normal; FONT-WEIGHT: bold"></p>
      </center></div>
</form>
        <p align="center"><font size="2" color="#5B5BFF"><a href="http://www.handscombes.com/">Handscombes</a>
            offers thanks to <a href="http://www.iandickson.com/" target="_blank">Mr.Ian
            Dickson</a> for the use of these Calculators.</font>
        </p>
        <table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
          <tr>
            <td width="100%" height="1" bgcolor="#ADDCF1" valign="top" colspan="4">
              <p align="center"><font size="2" color="#5B5BFF">WealthCare-UK.com
              is copyrighted by Handscombes, the trading name of Handscombe
              Financial Planning Limited, which is regulated by the UK Financial
              Services Authority for investment business.<br>
              Copyright © 2002-2004 WealthCare-UK.com All Rights Reserved.</font></td>
          </tr>
        </table>

</BODY>
</html>




gorilla -> RE: </HTML> tag keeps disappearing (4/29/2004 12:21:14)

With respect bobby, it may not be normal but it is a very well known and common bug in all versions of FP. To be fair FP2003 doesn't do it as often but it does still do it.

Even worse if often does it because it itsefl has "forgotten" to close a table tag or a <tr> <td>. it has even be known to forget to close <p>.

The answer is to check your code visually. Not always easy when FP goes into what I call "spaghetti mode."

Remember also in your options to ALWAYS set "preserve existing html"





JohnLearner -> RE: </HTML> tag keeps disappearing (4/29/2004 12:37:48)

OK - lots of interesting & helpful replies. I've tried a few things, but no luck so far. Here's the code as it is at http://www.wealthcare-uk.com/01_full_pensions_audit.html now:-

<HTML>
<HEAD>
<TITLE>WealthCare-UK.com Full Pensions Audit</TITLE>
<meta name="description" CONTENT="Independent Financial Advisers (IFAs) - UK Financial Planning by Handscombes, UK Independent Financial Advisers, specialising in financial planning for the individual and in employee benefits for businesses">
<meta name="keywords" CONTENT="Independent Financial Advisers, IFAs, IFAs Luton, UK financial planning, UK independent financial advisers, IFA, IFA Luton, luton financial advisers, adviser, advisors, advisor, financial advice, luton, uk financial services, investing, investments, wealth management, wealthcare, isas, unit trusts, investment trusts, with-profits bonds, insurance, life insurance, assurance, life assurance, offshore funds, pensions, retirement planning, mortgages, tax planning, taxation advice, corporate financial planning, portfolio, balanced portfolio, companies, company pensions, stakeholder pensions, equities, capital, venture capital, endowments, inheritance tax, inheritance tax planning, inheritance tax advice, capital gains tax, cgt, income, finance, interest, bedfordshire, beds, lu1 1rx, lu1">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<META NAME="RATING" CONTENT="General">
<META NAME="ROBOTS" CONTENT="index, follow">
<META NAME="REVISIT-AFTER" CONTENT="4 weeks">

<Script language="JavaScript">
<!--hide from other browsers

// This message must be included in all use of scripts.
// This script is the property of Ian Dickson and may only be used with permission.
// Permissions are NOT expensive. The commercial use licence (for a modal IFA, for the ENTIRE
// library) is just £10pm plus VAT, so please do not abuse my rights.
// Web Designers - I am happy to agree licence terms. My normal terms are that for each
// site you use them on, I get £10pm plus VAT (irrespective of the number of scripts used on
// the site.
// This can be charged to the client directly or bundled into your own charges, whichever
// suits you.
// Contact details - Ian Dickson, http://www.iandickson.com, 01452 862637



function computepenaudit() {

// maths et al to be computed
// assumes 1%pa charges as per Stakeholder
// Earnings cap ignored due to general nature of maths, not specific to pensions.
// setting up the data


alert("These figures are only illustrative. An assessment of your needs will be confirmed before a recommendation can be made. Key features, including a projection which is personal to your circumstances, will be provided if a recommendation for an investment product is made.")


var x1=1/12;
var x2=document.penaudit.growth.value*0.99;
var r=Math.pow(x2,x1);
var n=document.penaudit.term.value*12;
var curfundproj=document.penaudit.curfund.value*Math.pow(x2,document.penaudit.term.value);
var a=document.penaudit.invest.value;
var salary=document.penaudit.salary.value;
var annuityrate=document.penaudit.userannuity.value;
var inflation1=document.penaudit.inflation.value;

if (document.penaudit.growth.value>1.09){
alert("Your chosen growth rate is considered too high and cannot be processed. At present the maximium growth rates considered reasonable by the Financial Services Industry Regulators are 9% for tax efficient investments, 8% for the rest. Middle of the road rates are 7% for tax efficient investments, 6% for the rest.");
curfundproj=0;
a=0;
salary=0;
}
if (document.penaudit.growth.value>1.075 && document.penaudit.growth.value <1.0900001){
alert("You are being too optimistic about future growth. We can show you the results you request, but frankly, you shouldn't do any serious planning on this basis. Much better to be more cautious and use a lower growth rate.");
}

if (document.penaudit.growth.value-inflation1>0.04500001){
alert("The gap between growth and inflation is too high and so cannot be computed. The Financial Services Regulators assume that in the long term wages growth will be 3% less than investment growth, and retail price inflation will be 4.5% less than investment growth. This calculator will not compute figures if the difference exceeds 4.5%.");
curfundproj=0;
a=0;
salary=0;
}


var fundpart1=(r-1);
var fundpart2=Math.pow(r,n);
var fund=a*r*(fundpart2-1)/fundpart1+curfundproj;
document.penaudit.fund.value=Math.round(fund);


var pension=fund*annuityrate;
document.penaudit.pension.value=Math.round(pension);


var inflation2=Math.pow(inflation1,document.penaudit.term.value);
var finalsalarypension=salary*document.penaudit.yearsfinal.value*(1/document.penaudit.accrual.value);

var realfund=fund/inflation2;
document.penaudit.realfund.value=Math.round(realfund);

var realpension=(pension/inflation2)+finalsalarypension;
document.penaudit.realpension.value=Math.round(realpension);



}

//clears form
function clearpenaudit() {

}

//stop hiding from other browsers -->
</script>

<STYLE>
BODY
{scrollbar-face-color: #07D894; scrollbar-shadow-color: #FFFFBF;
scrollbar-highlight-color: #ADDCF1; scrollbar-3dlight-color: #FFFFBF;
scrollbar-darkshadow-color: #049F69; scrollbar-track-color: #ADDCF1;
scrollbar-arrow-color: #FFFFBF}
</STYLE>

</HEAD>

<body bgcolor="#FFFFBF" vlink="#5B5BFF" alink="#07D894" style="font-family: Verdana; font-size: 10pt; color: #049F69" link="#5B5BFF" text="#049F69">

<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
<tr>
<td width="20%" height="36" bgcolor="#ADDCF1">
<p align="center"><img border="0" src="images/animated_ifa_logo.gif" width="100" height="100"></td>
<td width="60%" height="36" bgcolor="#5B5BFF">
<p align="center"><font color="#07D894"><font size="6" face="Verdana">WealthCare-UK.com<br>
</font><font face="Verdana" size="3">A Partner Site to
Handscombes.com</font><font face="Verdana" size="2"><br>
<i>Perfect WealthCare!</i></font></font></td>
<td width="20%" height="36" bgcolor="#ADDCF1">
<p align="center"><img border="0" src="images/fsa_logo_iriswipe.gif" width="119" height="109"></p>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
<tr>
<td width="20%" height="36">
<p align="center"><font face="Verdana" size="2"><a href="index_new.htm">Home
Page<br>
</a></font><a href="list_of_calcs01_all.htm"><font size="2">All
calculators</font></a></p>
</td>
<td width="60%" height="36">
<p align="center"><font size="4" color="#5B5BFF">Full Pensions Audit</font><br>
<font color="#5B5BFF" size="2">(</font><font size="2" color="#FF00FF">Test
page</font><font color="#5B5BFF" size="2">)</font></p>
</td>
<td width="20%" height="36">
<p align="center"><font face="Verdana" size="2"><a href="http://www.handscombes.com/" target="_blank">Handscombes.com<br>
</a><a href="http://www.handscombes.co.uk/" target="_blank">Handscombes.co.uk</a></font></p>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
<tr>
<td width="100%" height="36" colspan="3" style="border: 1 solid #FF0000">
<p align="center"><font color="#FF0000" size="2">Please note that
all the calculators on this site are <b>educational tools</b> and <b>not</b>
projections. Do <b>not</b> use them as anything more than a guide
for yourself. You will need to <a href="mailto:wealthcareukcom@handscombes.com">contact
us</a> to proceed with any transactions which may be linked to
your use of these online tools (calculators). We look forward to
hearing from you!<br>
</font><b><font face="Verdana" size="2"><a href="http://www.handscombes.com/index2.htm" target="_blank">Handscombes</a></font><font color="#07D894" size="2">
UK tel: (+44) (0)1582 400202. Fax: (+44) (0)1582 400951.</font></b></td>
</tr>
</table>
<p align="center"><font color="#5B5BFF" size="3"><b>Full Pensions Audit</b></font></p>
<p><font size="2">This is a complex calculator because it is a complex subject.</font></p>
<P>
<font size="2">
This calculator will help highlight how close to your target you are with regard to establishing a decent pension.</font>
<P>
<font size="2">
It will only provide a very general picture and we strongly recommend that we conduct a proper audit of your position in which we will assess all of your current arangements and make suitable recommendations. That said if you enter all the information correctly and it suggests that you need to save £300
pm, and you are only saving £50 then it is fair to say that some additional planning will be needed.<br>
</font>
<FORM name=penaudit>
<table width="95%" >
<tr><td align=left>
<b><font size="2">1) Enter the rate of accrual as 60 for if you are in a 1/60th scheme, 80 if 1/80th etc: DEFAULT=1. Enter 1 if this section not applicable in your case to avoid divide by zero error in other math.</font></b></td><td align=right>
<font size="2">
<input type=text Name=accrual ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">2) Enter the total number of years service you expect to have by the time you want to retire. Set at 0 if not applicable to you:</font></b></td><td align=right>
<font size="2">
<input type=text Name=yearsfinal ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">3) What is your salary as defined by the pension scheme? Normally only includes basic pay, no bonuses or overtime. Set at 0 if not applicable to you:</font></b></td><td align=right>
<font size="2">
<input type=text Name=salary ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">4) Enter the current value of long term savings. Set at 0 if none.</font></b></td><td align=right>
<font size="2">
<input type=text Name=curfund ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<B><font size="2">5) Enter your current monthly savings rate. Set at 0 if none:</font></B></td><td align=right>
<font size="2">
<input type=text Name=invest ></font></td></tr>
</table>
<table width="95%">
<tr><td align=left>
<B><font size="2">6) Enter the number of complete years to retirement:</font></B></td><td align=right>
<font size="2">
<input type=text Name=term ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<B><font size="2">7) Enter your assumed growth rate, eg 1.09 for 9%:</font></B></td><td align=right>
<font size="2">
<input type=text Name=growth ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<B><font size="2">8) Enter your assumed inflation rate, eg 1.05 for 5%:</font></B></td><td align=right>
<font size="2">
<input type=text Name=inflation ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">9) Enter your desired annual retirement income, ( in todays terms):</font></b></td><td align=right>
<font size="2">
<input type=text Name=targetretinc ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">10) Enter your expected annuity rate, eg 0.1 for 10%:</font></b></td><td align=right>
<font size="2">
<input type=text Name=userannuity ></font></td></tr>
</table>
<font size="2">
<input type="button" value="Compute" onclick=computepenaudit()>
<input type="reset" value="Clear Fields" onclick=clearpenaudit()>
<BR>
</font>
<table width="95%" >
<tr><td align=left>
<B><font size="2">Projected Fund:</font></B></td><td align=right>
<font size="2">
<input type=text name=fund ></font></td></tr>
</table>
<table width="95%">
<tr><td align=left>
<b><font size="2">Projected Pension using your annuity rate:</font></b></td><td align=right>
<font size="2">
<input type=text name=pension ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">Projected Fund in real terms,(allowing for inflation):</font></b></td><td align=right>
<font size="2">
<input type=text name=realfund ></font></td></tr>
</table>
<table width="95%" >
<tr><td align=left>
<b><font size="2">Projected Pension in real terms using your inflation and annuity assumptions for fund based pensions, with any Defined Benefit pension added:</font></b></td><td align=right>
<input type=text name=realpension ></td></tr>
</table>
</Form>
<P>
<b><font color="#5B5BFF" size="3">Explanatory Notes</font></b>
<P> <font size="2" color="#FF0000"> The detail of pensions is very complex, however you can view this calculator
as being two parts, to represent two sorts of pension.</font>
<P><font size="2" color="#FF0000">The first of these are those schemes where your pension is contractually determined
by your time of service and salary, and NOT affected by the fluctuation of the
underlying funds. Parts (1)-(3) are for this type of scheme.</font>
<P><font size="2" color="#FF0000">The second of these are those where the pension is determined entirely by the
fund, and, by taking pension to mean retirement income, we also allow for it
to include investments that are not legally structured as pensions, eg ISAs.</font>
<P><font size="2" color="#FF0000">Of course most people have complex positions. The important thing when using
this calculator is to avoid double counting - for example if you are a member
of the first type of scheme you might be contributing £150 pm, but £100
is to the scheme in general, and £50 is a personal top up, (currently
worth £10,000). For the purposes of this calculator you ignore the value
of the scheme (which you probably can't find out anyway), and only count the
£10,000 in "current value of long term savings" and £50
in the "monthly savings rate".</font>
<ul>
<li><b><font color="#049F69">Accrual Rate</font><font color="#FF0000" size="2">
</font> </b><font color="#FF0000" size="2">- The rate at which you accumulate pension for each
year of service. You need to know this. Guessing is very risky as it may lead
to an over optimistic assessment of your pension position. That said most
good schemes provide one sixtieth of salary for each year of service, (hence
the oft quoted pension being 40/60, ie two thirds of salary for 40 years service
with the same employer).<br>
</font>
<li><b><font color="#049F69">Expected Years Service by Retirement</font><font color="#FF0000" size="2">
</font> </b><font color="#FF0000" size="2">- This refers to any time that
you have spent or will spend in a good company defined benefits scheme (one
that pays you a pension according to the number of years service, rather than
according to the size of any fund that you may accumulate). Most large employer
schemes are of this type.</font>
<P> <font color="#FF0000" size="2"> If you have been in such a scheme for ten years, and expect to stay until
retirement in twenty more, then enter 30.</font>
<P> <font color="#FF0000" size="2"> If you have spent five years with such an employer and then left, enter
five. However note that this calculator assumes that your current salary
is the relevant one, whereas in fact presumably your scheme salary was lower.
In this case the calculator will OVERESTIMATE your pension.</font>
<P> <font color="#FF0000" size="2"> If you have benefits from such a scheme and want to see how they affect
you then run the calculator using the term, the salary value that you had
when you left the scheme, and the term to retirement that applied when you
left the scheme. This will be more accurate, but still not to be relied
upon.<br>
</font>
<li><b><font color="#049F69">Value of Current Investments</font></b> <font color="#FF0000"><font size="2"> - The current value of all of your long
term savings, be they personal pension funds, shares, deposits etc. EG if
£12,000 in pensions, £3,500 in ISAs/PEPs and £12,000 in
deposits/shares etc enter 27500.</font><br>
</font>
<li><b><font color="#049F69">Savings Rate</font></b> <font color="#FF0000" size="2"> - How much each year you are setting aside for long
term investment, either explicitly to pensions, or implicity in general savings.
If your arrangements seem to be falling short of your desired pension you
need to adjust this figure to see how much you need to invest to meet your
target. Include any employer pension contributions if known.<br>
</font>
<li><b><font color="#049F69">Inflation and Growth Assumptions</font></b> <font color="#FF0000" size="2"> - Choose your own, but note that
the highest growth rate allowed in formal projections is 9% (for which inflation
is assumed to be 4.5%) and the cautious one is 5% (with inflation of 0.5%).
As well as the absolute levels of each, it is important to understand that
over the long term there cannot be a huge difference between growth and inflation,
and differentials of over 4.5% will lead to over optimistic pension projections.</font>
<P> <font color="#FF0000" size="2"> Because of the way that the math operates there is an added complexity
when considering the effect of Inflation on Regular Savings. In short if
you invest £1000 a year then , because of inflation, it appears that each
year you invest less and less in real terms. If you want to se what happens
if you invest the same amount in real terms then set the Inflation at 1,
and use a conservative growth rate.</font>
<P> <font color="#FF0000" size="2"> Enter in the form 1.06 for 6%.</font>
<P> <font color="#FF0000" size="2"> In the internal math the growth rate is reduced by 1% to represent fund
charges, as per Stakeholder. Your actual pension costs may be different.<br>
</font>
<li><b><font color="#049F69">Annuity Rate</font></b> <font color="#FF0000" size="2"> - Choose your own assumption, but if you want to be
cautious then 6-7% is a good guide. Enter as a decimal, eg 0.07.<br>
</font>
<li><b><font color="#049F69">Desired Pension</font><font color="#FF0000" size="2">
</font> </b><font color="#FF0000" size="2">- The annual pension you would like if you were to
retire today.<br>
</font>
<li><b><font color="#049F69">Projected Pension Fund</font></b> <font color="#FF0000" size="2"> - The value of the fund at retirement.<br>
</font>
<li><b><font color="#049F69">Projected Pension</font></b> <font color="#FF0000" size="2"> - The pension that the fund will provide for your
selected annuity rate.<br>
</font>
<li><b><font color="#049F69">Fund Value in Real Terms</font></b> <font color="#FF0000" size="2"> - The value of the fund in todays money.<br>
</font>
<li><b><font color="#049F69">Pension Value in Real Terms</font></b> <font color="#FF0000" size="2"> - This is the number that counts. The
value in todays terms of your pensions, both from any fund, and from any employers
scheme. State Pensions are ignored.</font>
</ul>
<p align="center"><form>
<div align="center"><center><p><input type="button" name="back" value="<< Back" onClick="history.go(-1);" style="BACKGROUND: #ADDCF1; COLOR: rgb(91,91,255); FONT-STYLE: italic; FONT-VARIANT: normal; FONT-WEIGHT: bold"></p>
</center></div>
</form>
<p align="center"><font size="2" color="#5B5BFF"><a href="http://www.handscombes.com/">Handscombes</a>
offers thanks to <a href="http://www.iandickson.com/" target="_blank">Mr.Ian
Dickson</a> for the use of these Calculators.</font>
</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
<tr>
<td width="100%" height="1" bgcolor="#ADDCF1" valign="top" colspan="4">
<p align="center"><font size="2" color="#5B5BFF">WealthCare-UK.com
is copyrighted by Handscombes, the trading name of Handscombe
Financial Planning Limited, which is regulated by the UK Financial
Services Authority for investment business.<br>
Copyright © 2002-2004 WealthCare-UK.com All Rights Reserved.</font></td>
</tr>
</table>

</BODY>




gorilla -> RE: </HTML> tag keeps disappearing (4/29/2004 12:42:45)

YOu're unlikely to come up with a permanent fix for this. What you can do is put it in by hand in html view. Then immediately hit ctrl+s do NOT use the menus. Then hit the frontpage refresh icon to clear FP's cache and refresh it.

Then validate it @ w3c.




JohnLearner -> RE: </HTML> tag keeps disappearing (4/29/2004 13:00:43)

gorilla ,

It's not my day - http://validator.w3.org/ said:-

Fatal Error: No DOCTYPE specified!
I could not parse this document, because it does not include a DOCTYPE Declaration.

I've even tried clipping everything (in Normal View), inserting a new 100% table and then pasting everything into it. It worked...once! Then I corrected something, and it's back to where we were.

I think we're looking at a back-to-square-one situation here, folks - I'll keep trying stuff based on all your ideas till I find the problem. I'll also add the DOCTYPE Declaration and try W3 again...




gorilla -> RE: </HTML> tag keeps disappearing (4/29/2004 13:27:54)

Do a search here for doctypes. Failure to put one in is a really seriously basic error. FP doesn't do it for you btw. You have to do it by hand if you're using FP. so once you get thngs working save as a template.

Always use a full doctype btw or be prepared to live with IE going into quirks mode as it attempts to render your pages.




reric -> RE: </HTML> tag keeps disappearing (4/29/2004 14:00:18)

Ok here is what i mean... notice your first table..there is no end table in the code. notice in your saecond table in blue... at the end there is an end quote in this table and in every other table after that.. now the end table quote at the very end only ends the table just before it. What you need to do is add another end table quote to close up this first table then add in the end html quote and you should be all set.
quote:

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
<tr>
<td width="20%" height="36" bgcolor="#ADDCF1">
<p align="center"><img border="0" src="images/animated_ifa_logo.gif" width="100" height="100"></td>
<td width="60%" height="36" bgcolor="#5B5BFF">
<p align="center"><font color="#07D894"><font size="6" face="Verdana">WealthCare-UK.com<br>
</font><font face="Verdana" size="3">A Partner Site to
Handscombes.com</font><font face="Verdana" size="2"><br>
<i>Perfect WealthCare!</i></font></font></td>
<td width="20%" height="36" bgcolor="#ADDCF1">
<p align="center"><img border="0" src="images/fsa_logo_iriswipe.gif" width="119" height="109"></p>
</td>
</tr>
</table>




dpf -> RE: </HTML> tag keeps disappearing (4/29/2004 14:27:29)

gorilla(mydreams)
do you have a reference for doc types? i found only one in the search here and the link was dead....or slumbering.
thanks




gorilla -> Dreams have been known to come true you know :-) (4/29/2004 15:07:14)

Anybody who gives me a feed line like
quote:

gorilla(mydreams)
deserves what they get. In your case what you get is the info I have posted here:

http://www.frontpagewebmaster.com/fb.asp?m=197560

[:)]




BobbyDouglas -> RE: Dreams have been known to come true you know :-) (4/29/2004 15:20:03)

Are you saying this problem is because of not specifying a doctype?

The code I used and posted worked for me, I couldn't get this same problem that you are having.




JohnLearner -> RE: Dreams have been known to come true you know :-) (4/29/2004 15:31:39)

No, Bobby, I'm saying that that's why W3 could parse it - that's what their site said...

reric, I get your point. Thnx. I'll add that tag in, but not tonight. Back tomorrow when the sun's up!

Thank y'all again. :)




BobbyDouglas -> RE: Dreams have been known to come true you know :-) (4/29/2004 15:53:33)

No, Bobby, I'm saying that that's why W3 could parse it - that's what their site said...
- I was talking to Mhaircaish. Wondernig if by not specifying a doctype the problem occured in FP where it erased some of the code.

What I would do if I was you, delete all of the Javascript, and then test the page.

Then work from the inside out. Start in the middle of the page and delete the table. See if that works. Then delete another table above and below the one you just deleted. See if that works, and keep doing this until you narrow down your problem.




dpf -> RE: Dreams have been known to come true you know :-) (4/29/2004 21:58:25)

quote:

Anybody who gives me a feed line like

lol..thanks buddy




jaybee -> RE: </HTML> tag keeps disappearing (4/30/2004 1:14:56)

If it's any help, I had a load of pages that FP kept dropping the final tag from as well. It's obviously nothing personal John. [;)]

The code all validated fine then I opened it up in FP2000 at work. When I got back home and opened it in 2003............ tags gone. Put them back again and it's been fine since. Gorilly is as always correct. FP2000 buggy buggy bug. [:'(]




JohnLearner -> RE: </HTML> tag keeps disappearing (4/30/2004 5:54:58)

reric's answer was the one - the </table> tag was missing for the first table. But, when I put it in, the look of the page in Normal View wasn't right, but OK in browsers.

I don't like that situation, so I just removed the offending table completely - it seemed to be superfluous anyway. Lateral thinking, folks! It worked. It's perfect now - I've checked the page in IE6, Mozilla/Netscape & Opera.

All praise to the Forum, and thanks for your help, all of you - you really made an effort to help, and you did!

John. :)




reric -> RE: </HTML> tag keeps disappearing (4/30/2004 7:47:40)

your welcome. glad to help.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.171875