<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Listings &#8211; gtcars</title>
	<atom:link href="https://gtcars.gr/listings/feed/" rel="self" type="application/rss+xml" />
	<link>https://gtcars.gr</link>
	<description>GTcars - Μεταχειρισμένα Αυτοκίνητα &#124; Audi &#124; Mercedes &#124; Honda &#124; Smart &#124; Παγανή Μυτιλήνης</description>
	<lastBuildDate>Thu, 31 Aug 2017 22:52:28 +0000</lastBuildDate>
	<language>el</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>
	<item>
		<title>MASERATI 422 &#8217;90</title>
		<link>https://gtcars.gr/listings/maserati-422-90/</link>
		
		<dc:creator><![CDATA[Gina Tiniakou]]></dc:creator>
		<pubDate>Thu, 31 Aug 2017 16:06:47 +0000</pubDate>
				<guid isPermaLink="false">http://www.gtcars.gr/?post_type=listings&#038;p=2618</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="vc_row wpb_row vc_row-fluid"><div class="stm-vc-single-car-content-left wpb_column vc_column_container vc_col-sm-12 vc_col-lg-9"><div class="vc_column-inner"><div class="wpb_wrapper">
<h1 class="title h2">MASERATI 422 &#8217;90</h1>
<div class="single-car-actions">
    <ul class="list-unstyled clearfix">

        <!--Stock num-->
                    <li>
                <div class="stock-num heading-font"><span>stock                        # </span>8846991</div>
            </li>
        
        <!--Schedule-->
                    <li>
                <a href="#" class="car-action-unit stm-schedule" data-toggle="modal" data-target="#test-drive">
                    <i class="stm-icon-steering_wheel"></i>
                    Schedule Test Drive                </a>
            </li>
        
        <!--COmpare-->
        			<li data-compare-id="2618">
				<a href="#" class="car-action-unit add-to-compare stm-added" style="display: none;" data-id="2618" data-action="remove">
					<i class="stm-icon-added stm-unhover"></i>
					<span class="stm-unhover">in compare list</span>
					<div class="stm-show-on-hover">
						<i class="stm-icon-remove"></i>
						Remove from list					</div>
				</a>
				<a href="#" class="car-action-unit add-to-compare" data-id="2618" data-action="add">
					<i class="stm-icon-add"></i>
					Add to compare				</a>
			</li>
        
        <!--PDF-->
                                    <li>
                    <a
                        href=""
                        class="car-action-unit stm-brochure"
                        title="Download brochure"
                        download>
                        <i class="stm-icon-brochure"></i>
                        Car brochure                    </a>
                </li>
                    

        <!--Share-->
                    <li class="stm-shareble">

                <a
                    href="#"
                    class="car-action-unit stm-share"
                    title="Share this"
                    download>
                    <i class="stm-icon-share"></i>
                    Share this                </a>

				            </li>
        
        <!--Print button-->
        
        <!--Certified Logo 1-->
        
        <!--Certified Logo 2-->
        
    </ul>
</div>


<div class="stm-car-carousels">

	<!--New badge with videos-->
				<div class="stm-car-medias">
			<div class="stm-listing-videos-unit stm-car-videos-2618">
				<i class="fa fa-film"></i>
				<span>1 Video</span>
			</div>
		</div>

		<script>
			jQuery(document).ready(function(){

				jQuery(".stm-car-videos-2618").on('click', function() {
					jQuery.fancybox.open([
												{
							href  : "https://www.youtube.com/watch?v=TEXJ-8pJWG4"
						},
											], {
						type: 'iframe',
						padding: 0
					}); //open
				}); //click
			}); //ready

		</script>
				<div class="special-label h5" style=background-color:#8224e3;>
            SPECIAL        </div>
		<div class="stm-big-car-gallery">

		
										
																																																																																																																																														
        
	</div>

			<div class="stm-thumbs-car-gallery">

			
														
            																																																																																																																																					
            
		</div>
	</div>


<!--Enable carousel-->
<script>
	jQuery(document).ready(function($){
		var big = $('.stm-big-car-gallery');
		var small = $('.stm-thumbs-car-gallery');
		var flag = false;
		var duration = 800;

		var owlRtl = false;
		if( $('body').hasClass('rtl') ) {
			owlRtl = true;
		}

		big
			.owlCarousel({
				rtl: owlRtl,
				items: 1,
				smartSpeed: 800,
				dots: false,
				nav: false,
				margin:0,
				autoplay: false,
				loop: false,
				responsiveRefreshRate: 1000
			})
			.on('changed.owl.carousel', function (e) {
				$('.stm-thumbs-car-gallery .owl-item').removeClass('current');
				$('.stm-thumbs-car-gallery .owl-item').eq(e.item.index).addClass('current');
				if (!flag) {
					flag = true;
					small.trigger('to.owl.carousel', [e.item.index, duration, true]);
					flag = false;
				}
			});

		small
			.owlCarousel({
				rtl: owlRtl,
				items: 5,
				smartSpeed: 800,
				dots: false,
				margin: 22,
				autoplay: false,
				nav: true,
				loop: false,
				navText: [],
				responsiveRefreshRate: 1000,
				responsive:{
					0:{
						items:2
					},
					500:{
						items:4
					},
					768:{
						items:5
					},
					1000:{
						items:5
					}
				}
			})
			.on('click', '.owl-item', function(event) {
				big.trigger('to.owl.carousel', [$(this).index(), 400, true]);
			})
			.on('changed.owl.carousel', function (e) {
				if (!flag) {
					flag = true;
					big.trigger('to.owl.carousel', [e.item.index, duration, true]);
					flag = false;
				}
			});

		if($('.stm-thumbs-car-gallery .stm-single-image').length < 6) {
			$('.stm-single-car-page .owl-controls').hide();
			$('.stm-thumbs-car-gallery').css({'margin-top': '22px'});
		}
	})
</script>
	<div class="wpb_tabs wpb_content_element" data-interval="0">
		<div class="wpb_wrapper wpb_tour_tabs_wrapper ui-tabs stm_tabs_style_1  vc_clearfix">
			<ul class="wpb_tabs_nav ui-tabs-nav vc_clearfix"><li><a href="#tab-90676444-d4f2-8">ΠΕΡΙΓΡΑΦΗ</a></li><li><a href="#tab-1446536246604-2-8">ΙΔΙΑΙΤΕΡΟΤΗΤΕΣ</a></li><li><a href="#tab-1446536320841-4-6">ΕΠΙΚΟΙΝΩΝΙΑ</a></li></ul>
	<div id="tab-90676444-d4f2-8" class="wpb_tab ui-tabs-panel wpb_ui-tabs-hide vc_clearfix">
		
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ul>
<li>ΤΕΧΝΙΚΟΣ ΚΑΙ ΠΟΙΟΤΙΚΟΣ ΕΛΕΓΧΟΣ</li>
<li>ΤΕΧΝΙΚΗ ΥΠΟΣΤΗΡΙΞΗ ΚΑΙ ΜΕΤΑ ΤΗΝ ΠΩΛΗΣΗ</li>
<li>ΔΕΚΤΟΣ ΚΑΘΕ ΕΛΕΓΧΟΣ ΣΕ ΑΝΤΙΠΡΟΣΩΠΕΙΑ Η&#8217; ΣΥΝΕΡΓΕΙΟ ΤΗΣ ΕΠΙΛΟΓΗΣ ΣΑΣ</li>
<li>ΒΙΟΛΟΓΙΚΟΣ ΚΑΘΑΡΙΣΜΟΣ</li>
<li>ΔΥΝΑΤΟΤΗΤΑ ΔΟΚΙΜΗΣ (ΤEST DRIVE)</li>
<li>ΑΠΟΣΤΟΛΗ ΣΕ ΟΛΗ ΤΗΝ ΕΛΛΑΔΑ</li>
</ul>
<blockquote><p>
ΑΓΟΡΑΖΟΥΜΕ ΜΕΤΡΗΤΟΙΣ ΤΟ ΜΕΤΑΧΕΙΡΙΣΜΕΝΟ ΣΑΣ ΑΥΤΟΚΙΝΗΤΟ.</p>
<p>ΒΑΣΙΚΗ ΠΡΟΥΠΟΘΕΣΗ ΝΑ ΕΙΝΑΙ ΑΤΡΑΚΑΡΙΣΤΟ ΚΑΙ ΝΑ ΥΠΑΡΧΕΙ ΒΙΒΛΙΟ SERVICE.
</p></blockquote>
<p><span style="color: #ff0000;"><strong>1 χλμ ΕΘΝΙΚΗΣ ΟΔΟΥ MYΤΙΛΗΝΗΣ-ΚΑΛΛΟΝΗΣ </strong><strong>ΑΝΟΙΚΤΑ ΚΑΙ ΚΥΡΙΑΚΗ ΚΑΤΟΠΙΝ ΡΑΝΤΕΒΟΥ</strong></span></p>

		</div>
	</div>

	</div>

	<div id="tab-1446536246604-2-8" class="wpb_tab ui-tabs-panel wpb_ui-tabs-hide vc_clearfix">
		
	<div class="stm-car-listing-data-single stm-border-top-unit ">
		<div class="title heading-font">ΙΔΙΑΙΤΕΡΟΤΗΤΕΣ</div>
	</div>

<div class="">
	    <div class="stm-single-listing-car-features">
        <div class="lists-inline">
            <ul class="list-style-2" style="font-size: 13px;">
                                                <li>Ανταλλαγή με Car δεκτή</li>
                                                <li>Δερμάτινα Καθίσματα</li>
                                                <li>Ηλεκτρικά Καθίσματα</li>
                                                <li>Ηλεκτρικά παράθυρα</li>
                                            </ul>
            <ul class="list-style-2" style="font-size: 13px;">
                                <li>Κεντρικό κλείδωμα</li>
                            </ul>
        </div>
    </div>
</div><div class="vc_separator wpb_content_element vc_separator_align_center vc_sep_width_100 vc_sep_pos_align_center vc_separator_no_text vc_sep_color_grey vc_custom_1445932251080  vc_custom_1445932251080" ><span class="vc_sep_holder vc_sep_holder_l"><span  class="vc_sep_line"></span></span><span class="vc_sep_holder vc_sep_holder_r"><span  class="vc_sep_line"></span></span>
</div>
	</div>

	<div id="tab-1446536320841-4-6" class="wpb_tab ui-tabs-panel wpb_ui-tabs-hide vc_clearfix">
		<div class="vc_row wpb_row vc_inner vc_row-fluid single-car-form"><div class="stm-border-right wpb_column vc_column_container vc_col-sm-4"><div class="vc_column-inner"><div class="wpb_wrapper">


    <div class="icon-box vc_custom_1498216646020 icon_box_10459 stm-layout-box-car_dealer  "
         style="color:#232628">
        <div class="boat-line"></div>
                    <div
                    class="icon vc_custom_1498216646018 boat-third-color"
                    style="font-size:27px;color:#cc621a; ">
                <i class="fa fa-envelope-o"></i>
            </div>
                <div class="icon-text">
                        <h4 class="title heading-font"
            style="color:#232628">
            Πληροφορίες        </h4>
                                                </div>
        </div>

    

<style>
        .icon_box_10459:after,
    .icon_box_10459:before {
     background-color: #ffffff;
        }

    }
    .icon_box_10459 .icon-box-bottom-triangle {
        border-right-color: rgba(255,255,255, 0.9);
    }

    .icon_box_10459:hover .icon-box-bottom-triangle {
        border-right-color: rgba(255,255,255, 1);
    }

            .icon-box .icon-text .content a {
        color: #232628;
    }

                </style>
	<div class="wpb_text_column wpb_content_element  vc_custom_1498216669387" >
		<div class="wpb_wrapper">
			<p style="line-height: 18px;"><span style="color: #888888; font-size: 13px;">Σε όλα μας τα αυτοκίνητα γίνονται διευκολύνσεις τιμών. Δεκτός κάθε έλεγχος, μηχανικός ή αμαξώματος.</span></p>

		</div>
	</div>



    <div class="icon-box vc_custom_1501239308445 icon_box_29483 stm-layout-box-car_dealer  "
         style="color:#232628">
        <div class="boat-line"></div>
                    <div
                    class="icon vc_custom_1501239308445 boat-third-color"
                    style="font-size:30px;color:#cc621a; ">
                <i class="stm-icon-pin"></i>
            </div>
                <div class="icon-text">
                                <div class="content" >
                <h5>ΠΑΓΑΝΗ ΜΥΤΙΛΗΝΗΣ 81100 ΛΕΣΒΟΣ</h5>
            </div>
                                            </div>
        </div>

    

<style>
        .icon_box_29483:after,
    .icon_box_29483:before {
        }

    }
    .icon_box_29483 .icon-box-bottom-triangle {
        border-right-color: rgba(, 0.9);
    }

    .icon_box_29483:hover .icon-box-bottom-triangle {
        border-right-color: rgba(, 1);
    }

            .icon-box .icon-text .content a {
        color: #232628;
    }

                </style>


    <div class="icon-box vc_custom_1501239643178 icon_box_4296 stm-layout-box-car_dealer  "
         style="color:#232628">
        <div class="boat-line"></div>
                    <div
                    class="icon vc_custom_1501239643177 boat-third-color"
                    style="font-size:30px;color:#cc621a; ">
                <i class="stm-icon-phone"></i>
            </div>
                <div class="icon-text">
                                <div class="content" >
                <h6 style="margin-bottom: 0; font-weight: 400;"></h6>
<h5>22510-29793 / 22510-46300</h5>
<h5>6932298784 / 6932222153</h5>
            </div>
                                            </div>
        </div>

    

<style>
        .icon_box_4296:after,
    .icon_box_4296:before {
        }

    }
    .icon_box_4296 .icon-box-bottom-triangle {
        border-right-color: rgba(, 0.9);
    }

    .icon_box_4296:hover .icon-box-bottom-triangle {
        border-right-color: rgba(, 1);
    }

            .icon-box .icon-text .content a {
        color: #232628;
    }

                </style>


    <div class="icon-box vc_custom_1501239621948 icon_box_66528 stm-layout-box-car_dealer  "
         style="color:#232628">
        <div class="boat-line"></div>
                    <div
                    class="icon vc_custom_1501239621947 boat-third-color"
                    style="font-size:30px;color:#cc621a; ">
                <i class="stm-icon-mail"></i>
            </div>
                <div class="icon-text">
                                <div class="content" >
                <h6 style="margin-bottom: 0; font-weight: 400;"></h6>
<h5><span dir="ltr">gtcarsgr@</span>gmail.com</h5>
            </div>
                                            </div>
        </div>

    

<style>
        .icon_box_66528:after,
    .icon_box_66528:before {
        }

    }
    .icon_box_66528 .icon-box-bottom-triangle {
        border-right-color: rgba(, 0.9);
    }

    .icon_box_66528:hover .icon-box-bottom-triangle {
        border-right-color: rgba(, 1);
    }

            .icon-box .icon-text .content a {
        color: #232628;
    }

                </style></div></div></div><div class="stm-col-pad-left wpb_column vc_column_container vc_col-sm-8"><div class="vc_column-inner"><div class="wpb_wrapper">


    <div class="icon-box vc_custom_1498216790546 icon_box_74902 stm-layout-box-car_dealer  "
         style="color:#232628">
        <div class="boat-line"></div>
                    <div
                    class="icon vc_custom_1498216790543 boat-third-color"
                    style="font-size:27px;color:#6c98e1; ">
                <i class="fa fa-paper-plane"></i>
            </div>
                <div class="icon-text">
                        <h4 class="title heading-font"
            style="color:#232628">
            Στείλτε το μήνυμα σας        </h4>
                                                </div>
        </div>

    

<style>
        .icon_box_74902:after,
    .icon_box_74902:before {
     background-color: #ffffff;
        }

    }
    .icon_box_74902 .icon-box-bottom-triangle {
        border-right-color: rgba(255,255,255, 0.9);
    }

    .icon_box_74902:hover .icon-box-bottom-triangle {
        border-right-color: rgba(255,255,255, 1);
    }

            .icon-box .icon-text .content a {
        color: #232628;
    }

                </style>[contact-form-7]</div></div></div></div>
	</div>

		</div>
	</div>
</div></div></div><div class="stm-vc-single-car-sidebar-right wpb_column vc_column_container vc_col-sm-12 vc_col-lg-3"><div class="vc_column-inner"><div class="wpb_wrapper">

    
    <div class="single-car-prices">
        <div class="single-regular-price text-center">

                                                <span class="labeled">Τιμη</span>
                                <span class="h3">14 000€</span>
                    </div>
    </div>

    

            <div
            class="price-description-single">Τιμή με ΦΠΑ</div>
    




    <div class="single-car-data">
                
        <table>
            	            	            
                                                                                <tr>
                            <td class="t-label">Αμαξωμα</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Χιλιομετρα</td>
                                                            <td class="t-value h6">73.300</td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Καυσιμο</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Κυβικα</td>
                                                            <td class="t-value h6">2.000</td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Ίπποι</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Ετος</td>
                                                            <td class="t-value h6">1990</td>
                                                    </tr>
                                                	            	            
                            	            	            
                                                                                <tr>
                            <td class="t-label">Σασμαν</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Κινηση</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                    	            	            
                                                                                <tr>
                            <td class="t-label">Χρωμα</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Πόρτες</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Καθίσματα</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                
            <!--VIN NUMBER-->
                    </table>
    </div>


<div class="stm_auto_loan_calculator">
	<div class="title">
		<i class="stm-icon-calculator"></i>
		<h5>Financing calculator</h5>
	</div>
	<div class="row">
		<div class="col-md-12">

			<!--Amount-->
			<div class="form-group">
				<div class="labeled">Vehicle price <span class="orange">(€)</span></div>
				<input type="text" class="numbersOnly vehicle_price" value="14000"/>
			</div>

			<div class="row">
				<div class="col-md-6 col-sm-6">
					<!--Interest rate-->
					<div class="form-group md-mg-rt">
						<div class="labeled">Interest rate <span class="orange">(%)</span></div>
						<input type="text" class="numbersOnly interest_rate" value="" />
					</div>
				</div>
				<div class="col-md-6 col-sm-6">
					<!--Period-->
					<div class="form-group md-mg-lt">
						<div class="labeled">Period <span class="orange">(month)</span></div>
						<input type="text" class="numbersOnly period_month" value=""/>
					</div>
				</div>
			</div>

			<!--Down Payment-->
			<div class="form-group">
				<div class="labeled">Down Payment <span class="orange">(€)</span></div>
				<input type="text" class="numbersOnly down_payment" value=""/>
			</div>


			<a href="#" class="button button-sm calculate_loan_payment dp-in">Calculate</a>


			<div class="calculator-alert alert alert-danger">

			</div>

		</div>

		<!--Results-->
		<div class="col-md-12">
			<div class="stm_calculator_results">
				<div class="stm-calc-results-inner">
					<div class="stm-calc-label">Monthly Payment</div>
					<div class="monthly_payment h5"></div>

					<div class="stm-calc-label">Total Interest Payment</div>
					<div class="total_interest_payment h5"></div>

					<div class="stm-calc-label">Total Amount to Pay</div>
					<div class="total_amount_to_pay h5"></div>
				</div>
			</div>
		</div>
	</div>
</div>

<script>
	(function($) {
		"use strict";

		$(document).ready(function () {
			var vehicle_price;
			var interest_rate;
			var down_payment;
			var period_month;

			var stmCurrency = "€";
			var stmPriceDel = " ";
			var stmCurrencyPos = "right";

			$('.calculate_loan_payment').on('click', function(e){
				e.preventDefault();

				//Useful vars
				var current_calculator = $(this).closest('.stm_auto_loan_calculator');

				var calculator_alert = current_calculator.find('.calculator-alert');
				//First of all hide alert
				calculator_alert.removeClass('visible-alert');

				//4 values for calculating
				vehicle_price = parseFloat(current_calculator.find('input.vehicle_price').val());

				interest_rate = parseFloat(current_calculator.find('input.interest_rate').val());
				interest_rate = interest_rate/1200;

				down_payment = parseFloat(current_calculator.find('input.down_payment').val());

				period_month = parseFloat(current_calculator.find('input.period_month').val());

				//Help vars

				var validation_errors = true;

				var monthly_payment = 0;
				var total_interest_payment = 0;
				var total_amount_to_pay = 0;

				//Check if not nan
				if(isNaN(vehicle_price)){
					calculator_alert.text("Please fill Vehicle Price field");
					calculator_alert.addClass('visible-alert');
					current_calculator.find('input.vehicle_price').closest('.form-group').addClass('has-error');
					validation_errors = true;
				} else if (isNaN(interest_rate)) {
					calculator_alert.text("Please fill Interest Rate field");
					calculator_alert.addClass('visible-alert');
					current_calculator.find('input.interest_rate').closest('.form-group').addClass('has-error');
					validation_errors = true;
				} else if (isNaN(period_month)) {
					calculator_alert.text("Please fill Period field");
					calculator_alert.addClass('visible-alert');
					current_calculator.find('input.period_month').closest('.form-group').addClass('has-error');
					validation_errors = true;
				} else if (isNaN(down_payment)) {
					calculator_alert.text("Please fill Down Payment field");
					calculator_alert.addClass('visible-alert');
					current_calculator.find('input.down_payment').closest('.form-group').addClass('has-error');
					validation_errors = true;
				} else if (down_payment > vehicle_price) {
					//Check if down payment is not bigger than vehicle price
					calculator_alert.text("Down payment can not be more than vehicle price");
					calculator_alert.addClass('visible-alert');
					current_calculator.find('input.down_payment').closest('.form-group').addClass('has-error');
					validation_errors = true;
				} else {
					validation_errors = false;
				}

				if(!validation_errors) {
					var interest_rate_unused = interest_rate;
					var mathPow = Math.pow(1 + interest_rate, period_month);

					if(interest_rate == 0) {
						interest_rate_unused = 1;
					}

					monthly_payment = (interest_rate_unused != 1) ? (vehicle_price - down_payment) * interest_rate_unused * mathPow : (vehicle_price - down_payment) / period_month;
					var monthly_payment_div = (mathPow - 1);
					if(monthly_payment_div == 0) {
						monthly_payment_div = 1;
					}

					monthly_payment = monthly_payment/monthly_payment_div;
                    monthly_payment = monthly_payment.toFixed(2);

                    total_amount_to_pay = down_payment + (monthly_payment*period_month);
                    total_amount_to_pay = (interest_rate == 0) ? vehicle_price : total_amount_to_pay.toFixed(2);

                    total_interest_payment = total_amount_to_pay - vehicle_price;
                    total_interest_payment = (interest_rate == 0) ? 0 : total_interest_payment.toFixed(2);

					current_calculator.find('.stm_calculator_results').slideDown();
					current_calculator.find('.monthly_payment').text(stm_get_price_view(monthly_payment, stmCurrency, stmCurrencyPos, stmPriceDel ));
					current_calculator.find('.total_interest_payment').text(stm_get_price_view(total_interest_payment, stmCurrency, stmCurrencyPos, stmPriceDel ));
					current_calculator.find('.total_amount_to_pay').text(stm_get_price_view(total_amount_to_pay, stmCurrency, stmCurrencyPos, stmPriceDel ));
				} else {
					current_calculator.find('.stm_calculator_results').slideUp();
					current_calculator.find('.monthly_payment').text('');
					current_calculator.find('.total_interest_payment').text('');
					current_calculator.find('.total_amount_to_pay').text('');
				}
			})

			$(".numbersOnly").on("keypress keyup blur",function (event) {
				//this.value = this.value.replace(/[^0-9\.]/g,'');
				$(this).val($(this).val().replace(/[^0-9\.]/g,''));
				if ((event.which != 46 || $(this).val().indexOf('.') != -1) && (event.which < 48 || event.which > 57)) {
					event.preventDefault();
				}

				if ( $(this).val() != '' ){
					$(this).closest('.form-group').removeClass('has-error');
				}
			});

					});

	})(jQuery);
</script>

</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"></div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
		</div>
	</div>
</div></div></div></div>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>HARLEY DAVIDSON SOFTAIL CUSTOM</title>
		<link>https://gtcars.gr/listings/kia-optima-lt-perfect-condition/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 02 Dec 2015 06:47:06 +0000</pubDate>
				<guid isPermaLink="false">http://motors.stylemixthemes.com/demo/?post_type=listings&#038;p=1210</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="vc_row wpb_row vc_row-fluid"><div class="stm-vc-single-car-content-left wpb_column vc_column_container vc_col-sm-12 vc_col-lg-9"><div class="vc_column-inner"><div class="wpb_wrapper">
<h1 class="title h2">HARLEY DAVIDSON SOFTAIL CUSTOM</h1>
<div class="single-car-actions">
    <ul class="list-unstyled clearfix">

        <!--Stock num-->
                    <li>
                <div class="stock-num heading-font"><span>stock                        # </span>5766910</div>
            </li>
        
        <!--Schedule-->
                    <li>
                <a href="#" class="car-action-unit stm-schedule" data-toggle="modal" data-target="#test-drive">
                    <i class="stm-icon-steering_wheel"></i>
                    Schedule Test Drive                </a>
            </li>
        
        <!--COmpare-->
        			<li data-compare-id="1210">
				<a href="#" class="car-action-unit add-to-compare stm-added" style="display: none;" data-id="1210" data-action="remove">
					<i class="stm-icon-added stm-unhover"></i>
					<span class="stm-unhover">in compare list</span>
					<div class="stm-show-on-hover">
						<i class="stm-icon-remove"></i>
						Remove from list					</div>
				</a>
				<a href="#" class="car-action-unit add-to-compare" data-id="1210" data-action="add">
					<i class="stm-icon-add"></i>
					Add to compare				</a>
			</li>
        
        <!--PDF-->
                                    <li>
                    <a
                        href=""
                        class="car-action-unit stm-brochure"
                        title="Download brochure"
                        download>
                        <i class="stm-icon-brochure"></i>
                        Car brochure                    </a>
                </li>
                    

        <!--Share-->
                    <li class="stm-shareble">

                <a
                    href="#"
                    class="car-action-unit stm-share"
                    title="Share this"
                    download>
                    <i class="stm-icon-share"></i>
                    Share this                </a>

				            </li>
        
        <!--Print button-->
        
        <!--Certified Logo 1-->
        
        <!--Certified Logo 2-->
        
    </ul>
</div>


<div class="stm-car-carousels">

	<!--New badge with videos-->
				<div class="stm-big-car-gallery">

					<div class="stm-single-image" data-id="big-image-1766">
				<a href="https://gtcars.gr/wp-content/uploads/2015/12/5766910_8_b.jpg" class="stm_fancybox" rel="stm-car-gallery">
					<img fetchpriority="high" decoding="async" width="798" height="466" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_8_b-798x466.jpg" class="img-responsive wp-post-image" alt="" srcset="https://gtcars.gr/wp-content/uploads/2015/12/5766910_8_b-798x466.jpg 798w, https://gtcars.gr/wp-content/uploads/2015/12/5766910_8_b-350x205.jpg 350w" sizes="(max-width: 798px) 100vw, 798px" />				</a>
			</div>
		
		
																						<div class="stm-single-image" data-id="big-image-1760">
						<a href="https://gtcars.gr/wp-content/uploads/2015/12/5766910_1_b.jpg" class="stm_fancybox" rel="stm-car-gallery">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_1_b-798x466.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</a>
					</div>
																								<div class="stm-single-image" data-id="big-image-1761">
						<a href="https://gtcars.gr/wp-content/uploads/2015/12/5766910_3_b.jpg" class="stm_fancybox" rel="stm-car-gallery">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_3_b-798x466.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</a>
					</div>
																								<div class="stm-single-image" data-id="big-image-1762">
						<a href="https://gtcars.gr/wp-content/uploads/2015/12/5766910_4_b.jpg" class="stm_fancybox" rel="stm-car-gallery">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_4_b-798x466.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</a>
					</div>
																								<div class="stm-single-image" data-id="big-image-1763">
						<a href="https://gtcars.gr/wp-content/uploads/2015/12/5766910_5_b.jpg" class="stm_fancybox" rel="stm-car-gallery">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_5_b-798x466.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</a>
					</div>
																								<div class="stm-single-image" data-id="big-image-1764">
						<a href="https://gtcars.gr/wp-content/uploads/2015/12/5766910_6_b.jpg" class="stm_fancybox" rel="stm-car-gallery">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_6_b-798x466.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</a>
					</div>
																								<div class="stm-single-image" data-id="big-image-1759">
						<a href="https://gtcars.gr/wp-content/uploads/2015/12/5766910_0_b.jpg" class="stm_fancybox" rel="stm-car-gallery">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_0_b-798x466.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</a>
					</div>
																								<div class="stm-single-image" data-id="big-image-1765">
						<a href="https://gtcars.gr/wp-content/uploads/2015/12/5766910_7_b.jpg" class="stm_fancybox" rel="stm-car-gallery">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_7_b-798x466.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</a>
					</div>
									
        
	</div>

			<div class="stm-thumbs-car-gallery">

							<div class="stm-single-image" id="big-image-1766">
					<img decoding="async" width="350" height="205" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_8_b-350x205.jpg" class="img-responsive wp-post-image" alt="" srcset="https://gtcars.gr/wp-content/uploads/2015/12/5766910_8_b-350x205.jpg 350w, https://gtcars.gr/wp-content/uploads/2015/12/5766910_8_b-798x466.jpg 798w" sizes="(max-width: 350px) 100vw, 350px" />				</div>
			
			
            																				<div class="stm-single-image" id="big-image-1760">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_1_b-350x205.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</div>
																									<div class="stm-single-image" id="big-image-1761">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_3_b-350x205.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</div>
																									<div class="stm-single-image" id="big-image-1762">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_4_b-350x205.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</div>
																									<div class="stm-single-image" id="big-image-1763">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_5_b-350x205.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</div>
																									<div class="stm-single-image" id="big-image-1764">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_6_b-350x205.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</div>
																									<div class="stm-single-image" id="big-image-1759">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_0_b-350x205.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</div>
																									<div class="stm-single-image" id="big-image-1765">
							<img decoding="async" src="https://gtcars.gr/wp-content/uploads/2015/12/5766910_7_b-350x205.jpg" alt="HARLEY DAVIDSON SOFTAIL CUSTOM full"/>
						</div>
												
            
		</div>
	</div>


<!--Enable carousel-->
<script>
	jQuery(document).ready(function($){
		var big = $('.stm-big-car-gallery');
		var small = $('.stm-thumbs-car-gallery');
		var flag = false;
		var duration = 800;

		var owlRtl = false;
		if( $('body').hasClass('rtl') ) {
			owlRtl = true;
		}

		big
			.owlCarousel({
				rtl: owlRtl,
				items: 1,
				smartSpeed: 800,
				dots: false,
				nav: false,
				margin:0,
				autoplay: false,
				loop: false,
				responsiveRefreshRate: 1000
			})
			.on('changed.owl.carousel', function (e) {
				$('.stm-thumbs-car-gallery .owl-item').removeClass('current');
				$('.stm-thumbs-car-gallery .owl-item').eq(e.item.index).addClass('current');
				if (!flag) {
					flag = true;
					small.trigger('to.owl.carousel', [e.item.index, duration, true]);
					flag = false;
				}
			});

		small
			.owlCarousel({
				rtl: owlRtl,
				items: 5,
				smartSpeed: 800,
				dots: false,
				margin: 22,
				autoplay: false,
				nav: true,
				loop: false,
				navText: [],
				responsiveRefreshRate: 1000,
				responsive:{
					0:{
						items:2
					},
					500:{
						items:4
					},
					768:{
						items:5
					},
					1000:{
						items:5
					}
				}
			})
			.on('click', '.owl-item', function(event) {
				big.trigger('to.owl.carousel', [$(this).index(), 400, true]);
			})
			.on('changed.owl.carousel', function (e) {
				if (!flag) {
					flag = true;
					big.trigger('to.owl.carousel', [e.item.index, duration, true]);
					flag = false;
				}
			});

		if($('.stm-thumbs-car-gallery .stm-single-image').length < 6) {
			$('.stm-single-car-page .owl-controls').hide();
			$('.stm-thumbs-car-gallery').css({'margin-top': '22px'});
		}
	})
</script>
	<div class="wpb_tabs wpb_content_element" data-interval="0">
		<div class="wpb_wrapper wpb_tour_tabs_wrapper ui-tabs stm_tabs_style_1  vc_clearfix">
			<ul class="wpb_tabs_nav ui-tabs-nav vc_clearfix"><li><a href="#tab-90676444-d4f2-8">ΠΕΡΙΓΡΑΦΗ</a></li><li><a href="#tab-1446536246604-2-8">ΙΔΙΑΙΤΕΡΟΤΗΤΕΣ</a></li><li><a href="#tab-1446536320841-4-6">ΕΠΙΚΟΙΝΩΝΙΑ</a></li></ul>
	<div id="tab-90676444-d4f2-8" class="wpb_tab ui-tabs-panel wpb_ui-tabs-hide vc_clearfix">
		
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
		</div>
	</div>

	</div>

	<div id="tab-1446536246604-2-8" class="wpb_tab ui-tabs-panel wpb_ui-tabs-hide vc_clearfix">
		
	<div class="stm-car-listing-data-single stm-border-top-unit ">
		<div class="title heading-font">ΙΔΙΑΙΤΕΡΟΤΗΤΕΣ</div>
	</div>

<div class="">
	</div><div class="vc_separator wpb_content_element vc_separator_align_center vc_sep_width_100 vc_sep_pos_align_center vc_separator_no_text vc_sep_color_grey vc_custom_1445932251080  vc_custom_1445932251080" ><span class="vc_sep_holder vc_sep_holder_l"><span  class="vc_sep_line"></span></span><span class="vc_sep_holder vc_sep_holder_r"><span  class="vc_sep_line"></span></span>
</div>
	</div>

	<div id="tab-1446536320841-4-6" class="wpb_tab ui-tabs-panel wpb_ui-tabs-hide vc_clearfix">
		<div class="vc_row wpb_row vc_inner vc_row-fluid single-car-form"><div class="stm-border-right wpb_column vc_column_container vc_col-sm-4"><div class="vc_column-inner"><div class="wpb_wrapper">


    <div class="icon-box vc_custom_1498313075264 icon_box_20652 stm-layout-box-car_dealer  "
         style="color:#232628">
        <div class="boat-line"></div>
                    <div
                    class="icon vc_custom_1498313075261 boat-third-color"
                    style="font-size:27px;color:#cc621a; ">
                <i class="fa fa-envelope-o"></i>
            </div>
                <div class="icon-text">
                        <h4 class="title heading-font"
            style="color:#232628">
            Πληροφορίες        </h4>
                                                </div>
        </div>

    

<style>
        .icon_box_20652:after,
    .icon_box_20652:before {
     background-color: #ffffff;
        }

    }
    .icon_box_20652 .icon-box-bottom-triangle {
        border-right-color: rgba(255,255,255, 0.9);
    }

    .icon_box_20652:hover .icon-box-bottom-triangle {
        border-right-color: rgba(255,255,255, 1);
    }

            .icon-box .icon-text .content a {
        color: #232628;
    }

                </style>
	<div class="wpb_text_column wpb_content_element  vc_custom_1498313113442" >
		<div class="wpb_wrapper">
			<p style="line-height: 18px;"><span style="color: #888888; font-size: 13px;">Σε όλα μας τα οχήματα γίνονται διευκολύνσεις τιμών. Δεκτός κάθε έλεγχος, μηχανικός ή αμαξώματος.</span></p>

		</div>
	</div>



    <div class="icon-box vc_custom_1501720246265 icon_box_47953 stm-layout-box-car_dealer  "
         style="color:#232628">
        <div class="boat-line"></div>
                    <div
                    class="icon vc_custom_1501720246129 boat-third-color"
                    style="font-size:30px;color:#cc621a; ">
                <i class="stm-icon-pin"></i>
            </div>
                <div class="icon-text">
                                <div class="content" >
                <h5>ΠΑΓΑΝΗ ΜΥΤΙΛΗΝΗΣ 81100 ΛΕΣΒΟΣ</h5>
            </div>
                                            </div>
        </div>

    

<style>
        .icon_box_47953:after,
    .icon_box_47953:before {
        }

    }
    .icon_box_47953 .icon-box-bottom-triangle {
        border-right-color: rgba(, 0.9);
    }

    .icon_box_47953:hover .icon-box-bottom-triangle {
        border-right-color: rgba(, 1);
    }

            .icon-box .icon-text .content a {
        color: #232628;
    }

                </style>


    <div class="icon-box vc_custom_1501720384312 icon_box_86212 stm-layout-box-car_dealer  "
         style="color:#232628">
        <div class="boat-line"></div>
                    <div
                    class="icon vc_custom_1501720384185 boat-third-color"
                    style="font-size:30px;color:#cc621a; ">
                <i class="stm-icon-phone"></i>
            </div>
                <div class="icon-text">
                                <div class="content" >
                <h6 style="margin-bottom: 0; font-weight: 400;"></h6>
<h5>22510-29793 / 22510-46300</h5>
<h5>6932298784 / 6932222153</h5>
            </div>
                                            </div>
        </div>

    

<style>
        .icon_box_86212:after,
    .icon_box_86212:before {
        }

    }
    .icon_box_86212 .icon-box-bottom-triangle {
        border-right-color: rgba(, 0.9);
    }

    .icon_box_86212:hover .icon-box-bottom-triangle {
        border-right-color: rgba(, 1);
    }

            .icon-box .icon-text .content a {
        color: #232628;
    }

                </style>


    <div class="icon-box vc_custom_1501720865376 icon_box_83895 stm-layout-box-car_dealer  "
         style="color:#232628">
        <div class="boat-line"></div>
                    <div
                    class="icon vc_custom_1501720865246 boat-third-color"
                    style="font-size:30px;color:#cc621a; ">
                <i class="stm-icon-mail"></i>
            </div>
                <div class="icon-text">
                                <div class="content" >
                <h6 style="margin-bottom: 0; font-weight: 400;"></h6>
<h5><span dir="ltr">gtcarsgr@</span>gmail.com</h5>
            </div>
                                            </div>
        </div>

    

<style>
        .icon_box_83895:after,
    .icon_box_83895:before {
        }

    }
    .icon_box_83895 .icon-box-bottom-triangle {
        border-right-color: rgba(, 0.9);
    }

    .icon_box_83895:hover .icon-box-bottom-triangle {
        border-right-color: rgba(, 1);
    }

            .icon-box .icon-text .content a {
        color: #232628;
    }

                </style></div></div></div><div class="stm-col-pad-left wpb_column vc_column_container vc_col-sm-8"><div class="vc_column-inner"><div class="wpb_wrapper">


    <div class="icon-box vc_custom_1498313199752 icon_box_60553 stm-layout-box-car_dealer  "
         style="color:#232628">
        <div class="boat-line"></div>
                    <div
                    class="icon vc_custom_1498313199750 boat-third-color"
                    style="font-size:27px;color:#6c98e1; ">
                <i class="fa fa-paper-plane"></i>
            </div>
                <div class="icon-text">
                        <h4 class="title heading-font"
            style="color:#232628">
            Στείλτε το μήνυμα σας        </h4>
                                                </div>
        </div>

    

<style>
        .icon_box_60553:after,
    .icon_box_60553:before {
     background-color: #ffffff;
        }

    }
    .icon_box_60553 .icon-box-bottom-triangle {
        border-right-color: rgba(255,255,255, 0.9);
    }

    .icon_box_60553:hover .icon-box-bottom-triangle {
        border-right-color: rgba(255,255,255, 1);
    }

            .icon-box .icon-text .content a {
        color: #232628;
    }

                </style>[contact-form-7]</div></div></div></div>
	</div>

		</div>
	</div>
</div></div></div><div class="stm-vc-single-car-sidebar-right wpb_column vc_column_container vc_col-sm-12 vc_col-lg-3"><div class="vc_column-inner"><div class="wpb_wrapper">

    
    <div class="single-car-prices">
        <div class="single-regular-price text-center">

                                                <span class="labeled">Τιμή</span>
                                <span class="h3">22 000€</span>
                    </div>
    </div>

    

            <div
            class="price-description-single">Τιμή με ΦΠΑ</div>
    




    <div class="single-car-data">
                
        <table>
            	            	            
                                                                                <tr>
                            <td class="t-label">Αμαξωμα</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Χιλιομετρα</td>
                                                            <td class="t-value h6">15.000</td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Καυσιμο</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Κυβικα</td>
                                                            <td class="t-value h6">1340</td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Ίπποι</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Ετος</td>
                                                            <td class="t-value h6">2013</td>
                                                    </tr>
                                                	            	            
                            	            	            
                                                                                <tr>
                            <td class="t-label">Σασμαν</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                <tr>
                            <td class="t-label">Κινηση</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                    	            	            
                                                                                <tr>
                            <td class="t-label">Χρωμα</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                	            	            
                                                                                    	            	            
                                                                                <tr>
                            <td class="t-label">Καθίσματα</td>
                                                                                            <td class="t-value h6"></td>
                                                    </tr>
                                                
            <!--VIN NUMBER-->
                    </table>
    </div>


<div class="stm_auto_loan_calculator">
	<div class="title">
		<i class="stm-icon-calculator"></i>
		<h5>Financing calculator</h5>
	</div>
	<div class="row">
		<div class="col-md-12">

			<!--Amount-->
			<div class="form-group">
				<div class="labeled">Vehicle price <span class="orange">(€)</span></div>
				<input type="text" class="numbersOnly vehicle_price" value="22000"/>
			</div>

			<div class="row">
				<div class="col-md-6 col-sm-6">
					<!--Interest rate-->
					<div class="form-group md-mg-rt">
						<div class="labeled">Interest rate <span class="orange">(%)</span></div>
						<input type="text" class="numbersOnly interest_rate" value="" />
					</div>
				</div>
				<div class="col-md-6 col-sm-6">
					<!--Period-->
					<div class="form-group md-mg-lt">
						<div class="labeled">Period <span class="orange">(month)</span></div>
						<input type="text" class="numbersOnly period_month" value=""/>
					</div>
				</div>
			</div>

			<!--Down Payment-->
			<div class="form-group">
				<div class="labeled">Down Payment <span class="orange">(€)</span></div>
				<input type="text" class="numbersOnly down_payment" value=""/>
			</div>


			<a href="#" class="button button-sm calculate_loan_payment dp-in">Calculate</a>


			<div class="calculator-alert alert alert-danger">

			</div>

		</div>

		<!--Results-->
		<div class="col-md-12">
			<div class="stm_calculator_results">
				<div class="stm-calc-results-inner">
					<div class="stm-calc-label">Monthly Payment</div>
					<div class="monthly_payment h5"></div>

					<div class="stm-calc-label">Total Interest Payment</div>
					<div class="total_interest_payment h5"></div>

					<div class="stm-calc-label">Total Amount to Pay</div>
					<div class="total_amount_to_pay h5"></div>
				</div>
			</div>
		</div>
	</div>
</div>

<script>
	(function($) {
		"use strict";

		$(document).ready(function () {
			var vehicle_price;
			var interest_rate;
			var down_payment;
			var period_month;

			var stmCurrency = "€";
			var stmPriceDel = " ";
			var stmCurrencyPos = "right";

			$('.calculate_loan_payment').on('click', function(e){
				e.preventDefault();

				//Useful vars
				var current_calculator = $(this).closest('.stm_auto_loan_calculator');

				var calculator_alert = current_calculator.find('.calculator-alert');
				//First of all hide alert
				calculator_alert.removeClass('visible-alert');

				//4 values for calculating
				vehicle_price = parseFloat(current_calculator.find('input.vehicle_price').val());

				interest_rate = parseFloat(current_calculator.find('input.interest_rate').val());
				interest_rate = interest_rate/1200;

				down_payment = parseFloat(current_calculator.find('input.down_payment').val());

				period_month = parseFloat(current_calculator.find('input.period_month').val());

				//Help vars

				var validation_errors = true;

				var monthly_payment = 0;
				var total_interest_payment = 0;
				var total_amount_to_pay = 0;

				//Check if not nan
				if(isNaN(vehicle_price)){
					calculator_alert.text("Please fill Vehicle Price field");
					calculator_alert.addClass('visible-alert');
					current_calculator.find('input.vehicle_price').closest('.form-group').addClass('has-error');
					validation_errors = true;
				} else if (isNaN(interest_rate)) {
					calculator_alert.text("Please fill Interest Rate field");
					calculator_alert.addClass('visible-alert');
					current_calculator.find('input.interest_rate').closest('.form-group').addClass('has-error');
					validation_errors = true;
				} else if (isNaN(period_month)) {
					calculator_alert.text("Please fill Period field");
					calculator_alert.addClass('visible-alert');
					current_calculator.find('input.period_month').closest('.form-group').addClass('has-error');
					validation_errors = true;
				} else if (isNaN(down_payment)) {
					calculator_alert.text("Please fill Down Payment field");
					calculator_alert.addClass('visible-alert');
					current_calculator.find('input.down_payment').closest('.form-group').addClass('has-error');
					validation_errors = true;
				} else if (down_payment > vehicle_price) {
					//Check if down payment is not bigger than vehicle price
					calculator_alert.text("Down payment can not be more than vehicle price");
					calculator_alert.addClass('visible-alert');
					current_calculator.find('input.down_payment').closest('.form-group').addClass('has-error');
					validation_errors = true;
				} else {
					validation_errors = false;
				}

				if(!validation_errors) {
					var interest_rate_unused = interest_rate;
					var mathPow = Math.pow(1 + interest_rate, period_month);

					if(interest_rate == 0) {
						interest_rate_unused = 1;
					}

					monthly_payment = (interest_rate_unused != 1) ? (vehicle_price - down_payment) * interest_rate_unused * mathPow : (vehicle_price - down_payment) / period_month;
					var monthly_payment_div = (mathPow - 1);
					if(monthly_payment_div == 0) {
						monthly_payment_div = 1;
					}

					monthly_payment = monthly_payment/monthly_payment_div;
                    monthly_payment = monthly_payment.toFixed(2);

                    total_amount_to_pay = down_payment + (monthly_payment*period_month);
                    total_amount_to_pay = (interest_rate == 0) ? vehicle_price : total_amount_to_pay.toFixed(2);

                    total_interest_payment = total_amount_to_pay - vehicle_price;
                    total_interest_payment = (interest_rate == 0) ? 0 : total_interest_payment.toFixed(2);

					current_calculator.find('.stm_calculator_results').slideDown();
					current_calculator.find('.monthly_payment').text(stm_get_price_view(monthly_payment, stmCurrency, stmCurrencyPos, stmPriceDel ));
					current_calculator.find('.total_interest_payment').text(stm_get_price_view(total_interest_payment, stmCurrency, stmCurrencyPos, stmPriceDel ));
					current_calculator.find('.total_amount_to_pay').text(stm_get_price_view(total_amount_to_pay, stmCurrency, stmCurrencyPos, stmPriceDel ));
				} else {
					current_calculator.find('.stm_calculator_results').slideUp();
					current_calculator.find('.monthly_payment').text('');
					current_calculator.find('.total_interest_payment').text('');
					current_calculator.find('.total_amount_to_pay').text('');
				}
			})

			$(".numbersOnly").on("keypress keyup blur",function (event) {
				//this.value = this.value.replace(/[^0-9\.]/g,'');
				$(this).val($(this).val().replace(/[^0-9\.]/g,''));
				if ((event.which != 46 || $(this).val().indexOf('.') != -1) && (event.which < 48 || event.which > 57)) {
					event.preventDefault();
				}

				if ( $(this).val() != '' ){
					$(this).closest('.form-group').removeClass('has-error');
				}
			});

					});

	})(jQuery);
</script>

</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"></div></div></div></div>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
