<?php
$srv="http://".$_SERVER['HTTP_HOST'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- calculator css -->
        <link href="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/css/allcalculators.css" rel="stylesheet" type="text/css" media="all" />
        <style type="text/css">
        .calname a{
          font-size:14px;
        }
        .stick_option{
        display:none;
        }
        .caclulator{
        padding:20px 0px;
        }
            .cal-name,
            .summary-heading,
            .cal-type,
            .fundperfonmance .blue,
            .blue a:link,
            .fundperfonmance .blue>a,
            .fundname:hover .whythismf,
            .fundname:hover .closewhythismf {
                color: #030303;
            }
            
            .btn.submit,
            .calname a,
            .cal-result .summary .table th,
            .cal-result .sip-tg .nav li,
            .presales-container .ins-amt,
            .pre-inputbox #removeButton > span,
            .presales-result .lc-box,
            .presales-cal .sip-tg .nav li,
            .presales-cal .summary table th {
                background: #409e04;
            }
            
            .cal-name {
                border-bottom: 1px solid #00418c;
            }
            
            .fundname:hover .whythismf,
            .fundname:hover .closewhythismf {
                border: 1px solid #00418c;
            }
            
            .amount-text,
            .fundperfonmance .green {
                color: #a4d035;
            }
            
            .cal-result .nav-pills>li.active>a,
            .cal-result .nav-pills>li.active>a:focus,
            .cal-result .nav-pills>li.active>a:hover,
            .pre-inputbox #btnAdd > span,
            .presales-cal .nav-pills>li.active>a,
            .presales-cal .nav-pills>li.active>a:focus,
            .presales-cal .nav-pills>li.active>a:hover {
                background: #a4d035 !important;
            }
            h2{
                font-size: 25px;
    font-family: OpenSans-Semibold;
    margin-bottom: 20px;
}
#sipbarchart
{
    overflow: unset !important;
}
#sipbarchart .highcharts-container 
{
    width: 100%;
}
        </style>
        <!-- /calculator css -->
</head>
<body>

    
    <section id="calculator" class="tab">
    	<div class="container">
        	<div class="row">
<div class="row">
                        <div class="col-sm-12">
                            <div class="cal-type wow fadeInDown" data-wow-delay="0.3s">MF Tools Calculators</div>
                            <div class="calname wow fadeInDown" data-wow-delay="0.3s"> <a href="javascript:void(0)" onclick="auto_load_sipper();"><i class="fa fa-line-chart" aria-hidden="true"></i><span>SIP Performance</span></a> <a href="javascript:void(0)" onclick="auto_load_stpper_cal();"><i class="fa fa-calculator"></i><span>STP Performance</span></a> <a href="javascript:void(0)" onclick="auto_load_swpper();"><i class="fa fa-stack-overflow" aria-hidden="true"></i><span>SWP Performance</span></a> <a href="javascript:void(0)" onclick="auto_load_fundperformance();"><i class="fa fa-pie-chart" aria-hidden="true"></i><span>Top Performer</span></a> <a href="javascript:void(0)" onclick="auto_nav();"><i class="fa fa-universal-access" aria-hidden="true"></i><span>NAV Finder </span></a> <a href="javascript:void(0)" onclick="auto_dividend();"><i class="fa fa-history" aria-hidden="true"></i><span>Dividend History</span></a> <a href="javascript:void(0)" onclick="auto_balance();"><i class="fa fa-table" aria-hidden="true"></i><span>SIP/LS Balancer</span></a> <a href="javascript:void(0)" onclick="auto_load_schemeper();"><i class="fa fa-money" aria-hidden="true"></i><span>Scheme Performance</span></a> </div>
                        </div>
                      </div>
                    

                    <div class="row">
                        <div class="col-sm-12">
                            <div class="cal-type wow fadeInDown" data-wow-delay="0.3s">Financial Calculators</div>
                            <div class="calname wow fadeInDown" data-wow-delay="0.3s"> <a href="javascript:void(0)" onclick="auto_load();"><i class="fa fa-line-chart" aria-hidden="true"></i><span>SIP Calculator</span></a> <a href="javascript:void(0)" onclick="auto_load_marriage();"><i class="fa fa-gratipay" aria-hidden="true"></i><span>Marriage Planning</span></a> <a href="javascript:void(0)" onclick="auto_load_childeducation();"><i class="fa fa-graduation-cap" aria-hidden="true"></i><span>Education Planning</span></a> <a href="javascript:void(0)" onclick="auto_load_sip_ometer();"><i class="fa  fa-tachometer" aria-hidden="true"></i><span>SIP-O-Meter</span></a> <a href="javascript:void(0)" onclick="auto_load_lumpsum_cal();"><i class="fa fa-pie-chart" aria-hidden="true"></i><span>Lumpsum</span></a> <a href="javascript:void(0)" onclick="auto_load_humanlife();"><i class="fa fa-universal-access" aria-hidden="true"></i> </i><span>Life Insurance Planning</span></a> <a href="javascript:void(0)" onclick="auto_load_retier_plan();"><i class="fa fa-blind" aria-hidden="true"></i> <span>Retirement Planning</span></a> <a href="javascript:void(0)" onclick="auto_load_emi_cal();"><i class="fa fa-table" aria-hidden="true"></i><span>EMI Calculator</span></a> <a href="javascript:void(0)" onclick="auto_load_incometax();"><i class="fa fa-money" aria-hidden="true"></i><span>Income Tax</span></a> <a href="javascript:void(0)" onclick="auto_load_house_plan();"><i class="fa fa-home" aria-hidden="true"></i> <span>House Planning</span></a> <a href="javascript:void(0)" onclick="auto_load_car_plan();"><i class="fa fa-car" aria-hidden="true"></i><span>Car Planning</span></a> <a href="javascript:void(0)" onclick="auto_load_vacation_plan();"><i class="fa fa-plane" aria-hidden="true"></i><span>Vacation Planning</span></a> <a href="javascript:void(0)" onclick="auto_load_delaycost();"><i class="fa fa-clock-o" aria-hidden="true"></i><span>Delay Cost</span></a> </div>
                        </div>
                    </div>

                    <div id="loading_1"></div>

                    <div class="row">
                        <div class="col-sm-12">
                            <div class="reslultbox" id="showdiv"> </div>
                        </div>
                    </div>					
                </div>            	
            </div>
            
        </div>
    </section>    

 
<!-- calculator css -->
                <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
                <script src="https://code.highcharts.com/stock/highstock.js"></script>
                <script src="https://code.highcharts.com/modules/exporting.js"></script>
                <script language="javascript" type="text/javascript" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/js/calculater.js"></script>
                <script language="javascript" type="text/javascript" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/js/cheetah_scripts.js"></script>
                <script src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/js/jquery.timetabs.min.js" type="text/javascript"></script>
                <script type="text/javascript" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/js/jquery-ui.js"></script>
                <script src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/js/jquery.range.js"></script>
        <script src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/js/jquery.datetimepicker.full.js"></script>
                <script>
                    $(document).ready(function() {

                        $("#my_option_slide").on("click", function() {

                            $("#top_most_opt").slideToggle();

                            $("#my_option_slide i").toggleClass("iactive");

                        });

                    });

                    $(document).ready(function() {

                        $('[data-toggle="tooltip"]').tooltip();

                    });

                    //start mf tools calculator

                    function auto_load_sipper() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/siptools.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                            }

                        });

                    }

                    function auto_load_stpper_cal() {

                        $('#loading_1').html('<img style="margin-right:157px;" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/stpperform.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                            }

                        });

                    }

                    function auto_load_stpper() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/stpperform.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                            }

                        });

                    }

                    function auto_load_swpper() {

                        $('#loading_1').html('<img class="calloader" src="all_calculator/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/swpperform.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                            }

                        });


                    }

                    function auto_load_fundperformance() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/fund_performance.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            data: {
                                cat: 'Large-cap'
                            },

                            success: function(response) {

                                if (response != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(response);

                            }

                        });

                    }

                    function auto_nav() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/navfinder.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                calculateSIPAmount();

                            }

                        });

                    }

                    function auto_dividend() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/dividendtools.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                calculateSIPAmount();

                            }

                        });

                    }

                    function auto_balance() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/balancer_calc.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                balancercalc();

                            }

                        });

                    }

                    function auto_load_schemeper() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/schemeperform.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                            }

                        });

                    }

                    function auto_load() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/sipcalc.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                calculateSIPAmount();

                            }

                        });

                    }

                    function auto_load_marriage() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/ajax_marriage_calc.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                calculateChildMarrPlan();

                            }

                        });

                    }

                    function auto_load_childeducation() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/ajax_Education_calc.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                calculateChildEduPlan();

                            }

                        });

                    }

                    function auto_load_sip_ometer() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/sip-o-meter.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                            }

                        });

                    }

                    function auto_load_lumpsum_cal() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/lumpsum_calc.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                calculateLumpsumAmount();

                            }

                        });

                    }

                    function auto_load_humanlife() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/humanlife.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                life_calculate();

                            }

                        });

                    }

                    function auto_load_retier_plan() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/retierment_calc.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                testret();

                            }

                        });

                    }

                    function auto_load_emi_cal() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/emi_calculator.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                calculateEmiPlan();

                            }

                        });

                    }

                    function auto_load_incometax() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/incometaxcalc.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                            }

                        });

                    }

                    function auto_load_house_plan() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/House_calc.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                house_plan();

                            }

                        });

                    }

                    function auto_load_car_plan() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/Car_calc.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                car_plan();

                            }

                        });

                    }

                    function auto_load_vacation_plan() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/Vacation_calc.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                vacation_plan();

                            }

                        });

                    }

                    function auto_load_delaycost() {

                        $('#loading_1').html('<img class="calloader" src="https://my-eoffice.com/advisor/calculatornew/bootstrap_4/images/image.gif">');

                        $.ajax({

                            url: "https://my-eoffice.com/advisor/calculatornew/bootstrap_4/delaycost.php?url_host=<?php echo $srv; ?>",

                            cache: false,

                            success: function(data) {

                                if (data != '') {

                                    $('#loading_1').html('');

                                }

                                $("#showdiv").html(data);

                                sipdelay1();

                            }

                        });

                    }
                </script>
                <!-- calculator css -->

</body>
</html>