How to add months by quarter using java script
<p>Hereby i am the following inputs:</p>

<p><strong>Months to be separated by</strong> : 4 months</p>

<p><strong>Will have the date with month and year</strong>: 07-05-2011.</p>

<p>Now i need to add months by 4 using java script or jquery. How can this be done?</p>

<p><strong>For example:</strong></p>

<p><strong>I am having the date as : 01-01-2011 and the duration is 4</strong></p>

<p><strong>My output should be:</strong></p>

<p>01-12-2010</p>

<p>01-04-2011</p>

<p>01-08-2011</p>

<p>01-12-2011</p>

<p><strong>For example if it is:</strong></p>

<p><strong>I am having the date as : 01-06-2011 and the duration is 4</strong></p>

<p><strong>My output should be:</strong></p>

<p>01-06-2011</p>

<p>01-10-2011</p>

<p>01-02-2012</p>

<p>01-06-2012</p>

<p>Thanks in advance</p>
