< Real estate companies in qatar | Steps Real Estate <div class="col-md-4 col-sm-12 col-xs-12 applydesc"> <div class="applydetails"> <h3>Apply Now</h3> <form method="post" id="jobapply" action="https://www.steps.com.qa/index.php/index/sendcareerform" enctype="multipart/form-data"> <div class="jobapply-form"> <input class="form-control txtOnly" type="text" placeholder="Please enter your name" id="name" name="name" maxlength="22"> </div> <div class="jobapply-form"> <input class="form-control" type="text" placeholder="Please enter your email address" id="email" name="email"> </div> <div class="jobapply-form"> <input class="form-control" type="text" placeholder="Please enter your mobile number" onKeyPress="return check(event,value)" id="txtF" onInput="checkLength()" name="mobile" maxlength="8" minlength="8"> </div> <div class="jobapply-form"> <input class="form-control" type="text" placeholder="Please enter your communication address" id="address" name="address"> </div> <div class="jobapply-form"> <input class="form-control" type="file" id="userfile" name="userfile" onChange="return fileValidation()"> <div class="fileformat" style="display:none;color:#FF3B30;">Please upload file having extensions .doc/.docx/.pdf only.</div> </div> <div class="jobapply-form" style="display:none;"> <input class="form-control" type="text" id="position" name="position"> </div> <div class="jobapply-form" style="display:none;" id="progressLabel" name="progressLabel"> <i class="fa fa-spinner fa-spin" style="font-size:36px;"></i> <span style="color:#FF3B30;">Please wait while we upload your data...</span> </div> <div class="jobapply-form"> <div class="form-group g-recaptcha" data-sitekey="6LdE5bkZAAAAAHUfZ_rCZNvLoarl67lTZpV-mft6"> </div> <div class="jobsubmit"> <input onClick="javascript:validateJobApply();" class="button btn1 navbar-btn largesearch-btn" value="Submit" type="submit"> </div> </form> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!--Welcome area --> </body> </html> <!--<div class="testimonial-area testmonial_link" style="border-top: 1px solid #D1D1D1;border-bottom: 1px solid #D1D1D1;/* background: #555 url(https://www.steps.com.qa/assets/img/bg-footer.jpg) repeat scroll 0% 0% */;color: #535353;"> <div style="padding: 40px 0 71px;;/* background: rgba(255, 255, 255, 0.89) none repeat scroll 0% 0%; */"> <div class="container"> <div class="row"> <div class="col-md-2 col-sm-6 col-xs-12 customtestimonialrow"> <div class="asks-first"> <div class="asks-first-circle"> <a href="https://www.steps.com.qa/index.php/index/about/"><img src="https://www.steps.com.qa/assets/img/welcome-about.png"></a> </div> <div class="asks-first-info"> <a href="https://www.steps.com.qa/index.php/index/about/">About Us</a> </div> <!--<div class="asks-first-arrow"> <a href="https://www.steps.com.qa/index.php/index/about/"><span class="fa fa-angle-right"></span></a> </div>--> <!--</div> </div> <div class="col-md-2 col-sm-6 col-xs-12 customtestimonialrow"> <div class="asks-first"> <div class="asks-first-circle"> <a href="https://www.steps.com.qa/index.php/index/properties/"><img src="https://www.steps.com.qa/assets/img/welcome-property.png"></a> </div> <div class="asks-first-info"> <a href="https://www.steps.com.qa/index.php/index/properties/">Property List</a> </div> <!--<div class="asks-first-arrow"> <a href="https://www.steps.com.qa/index.php/index/properties/"><span class="fa fa-angle-right"></span></a> </div>--> <!--</div> </div> <div class="col-md-2 col-sm-6 col-xs-12 customtestimonialrow1"> <div class="asks-first"> <div class="asks-first-circle"> <a href="https://www.steps.com.qa/index.php/index/property_management/"><img src="https://www.steps.com.qa/assets/img/welcome-propertymgnt.png"></a> </div> <div class="asks-first-info"> <a href="https://www.steps.com.qa/index.php/index/property_management/">Property Management</a> </div> <!--<div class="asks-first-arrow"> <a href="https://www.steps.com.qa/index.php/index/property_management/"><span class="fa fa-angle-right"></span></a> </div>--> <!--</div> </div> <div class="col-md-2 col-sm-6 col-xs-12 customtestimonialrow"> <div class="asks-first"> <div class="asks-first-circle"> <a href="https://www.steps.com.qa/index.php/index/career/"><img src="https://www.steps.com.qa/assets/img/welcome-career.png"></a> </div> <div class="asks-first-info"> <a href="https://www.steps.com.qa/index.php/index/career/">Careers</a> </div> <!--<div class="asks-first-arrow"> <a href="https://www.steps.com.qa/index.php/index/career/"><span class="fa fa-angle-right"></span></a> </div>--> <!--</div> </div> <div class="col-md-2 col-sm-6 col-xs-12 customtestimonialrow contactr"> <div class="asks-first"> <div class="asks-first-circle"> <a href="https://www.steps.com.qa/index.php/index/contact/"><img src="https://www.steps.com.qa/assets/img/welcome-contact.png"></a> </div> <div class="asks-first-info"> <a href="https://www.steps.com.qa/index.php/index/contact/">Contact Us</a> </div> <!--<div class="asks-first-arrow"> <a href="https://www.steps.com.qa/index.php/index/contact/"><span class="fa fa-angle-right"></span></a> </div>--> <!--</div> </div> </div> </div> </div> </div> --> <!--TESTIMONIALS --> <div class="testimonial-area"> <section id="video-landing1"> <div class="container"> <div class="col-lg-7 col-md-7 col-sm-7 col-xs-12"> <div class="col-md-12 col-sm-12 col-xs-12 feature-title "> <h4 class="wow fadeInDown animated" data-wow-delay="0.20s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInRight;">Our Simple 3-step process to Sell / Rent a property</h4> </div> <div class="col-md-12 col-sm-12 col-xs-12 " id="nav-slider" style="margin-top:90px;text-align:center;"> <div class="row "> <!--<div class="steps sidebar custom-navigation slide_controll"> <div class="col-md-3 col-xs-4 col-sm-6 step1"> <img src="https://www.steps.com.qa/assets/img/appoint.png" > </div> <div class="col-md-3 col-xs-4 col-sm-6 step1"> <img class="switch" src="https://www.steps.com.qa/assets/img/home.png"> </div> <div class="col-md-3 col-xs-4 col-sm-6 step1"> <img class="switch" src="https://www.steps.com.qa/assets/img/feedback.png"> </div> <div class="col-md-3 col-xs-4 col-sm-6 step1"> <img class="thumb-img" src="https://www.steps.com.qa/assets/img/offer.png"> </div> </div> --> <div class="steps sidebar custom-navigation slide_controll"> <div class="col-md-2 col-xs-4 col-sm-6 step1 wow fadeInDown animated" data-wow-delay="0.20s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInDown;"> <!---<a href="javascript:void(0)" >---> <img src="https://www.steps.com.qa/assets/img/appoint.png" alt="call us" > <!--</a>---> </div> <div class="center-con stepssize"> <div class="round"> <div id="cta"> <span class="arrow primera next "></span> <span class="arrow segunda next "></span> </div> </div> </div> <div class="col-md-2 col-xs-4 col-sm-6 step1 wow fadeInDown animated" data-wow-delay="0.40s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInDown;""> <!---<a href="javascript:void(0)">---> <img class="switch" src="https://www.steps.com.qa/assets/img/home.png" alt="marketing"> <!---</a>----> </div> <!--<div class="stepssize"><i class="fa fa-arrow-right"></i></div>--> <div class="center-con stepssize"> <div class="round"> <div id="cta"> <span class="arrow primera next "></span> <span class="arrow segunda next "></span> </div> </div> </div> <div class="col-md-2 col-xs-4 col-sm-6 step1 wow fadeInDown animated" data-wow-delay="0.60s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInDown;""> <!---<a href="javascript:void(0)">----> <img class="switch" src="https://www.steps.com.qa/assets/img/feedback.png" alt="contract signing"> <!---</a>-----> </div> <div class="stepssize"><i class="fa fa-angle-double-right"></i></div> <div class="col-md-2 col-xs-4 col-sm-6 step1 wow fadeInDown animated" data-wow-delay="1.20s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInDown;""> <!---<a href="javascript:void(0)">----> <img class="thumb-img" src="https://www.steps.com.qa/assets/img/offer.png" alt="save time and money"> <!---</a>----> </div> </div> </div> </div> </div> <div class="col-lg-5 col-md-5 col-sm-5 col-xs-12"> <video autoplay="autoplay" muted="true" loop="true"> <source src="https://www.steps.com.qa/video/explainervideo.m4v" type="video/mp4"> </video> </div> </div> </section> </div> <!-- boy-sale area --> <div class="testimonial-area recent-property" style="background-color: #FCFCFC;padding-bottom: 20px;padding-top: 27px;"> <div class="container"> <div class="row"> <div class="col-md-12 col-sm-12 text-center page-title"> <!-- /.feature title --> <h1 class="wow fadeInDown animated" data-wow-delay="0.20s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInRight;"> Our Team </h1> <p class="wow fadeInDown animated" data-wow-delay="0.20s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInLeft;">Steps Real Estate is one of the leading real estate companies in Qatar possessing over a decade of experience .</p> </div> </div> <div class="row"> <div class="row testimonial"> <div class="col-md-12 "> <div class="team-border"> <div class="col-md-6 col-sm-7" style="top: 10px;"> <div id="owl-demo" class="owl-carousel owl-theme"> <div class="item"> <div class="client-face" data-wow-delay=".9s"> <img src="https://www.steps.com.qa/uploads/9cdeb3b4bfb6123ed33ae9348cb76a89.jpg" alt="Team members" class="circle"> <div class="symbol"> <a href="#leader-139" data-toggle="modal" class="teammember"><i class="fa fa-arrow-right faa-passing animated-hover" aria-hidden="true"></i></a> </div> <div class="client-text1"> <ul> <li>Samson Manuel</li> <li>Sales Executive</li> <li>samson@steps.com.qa</li> <li>Commercial</li> <li>Connect with us <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>  <a href="https://www.linkedin.com/in/steps-real-estate-7269a7134/" target="_blank"><i class="fa fa-linkedin"></i></a></strong></li> </ul> </div> </div> </div> <div class="item"> <div class="client-face" data-wow-delay=".9s"> <img src="https://www.steps.com.qa/uploads/9b46ec6b9ff38b8c561091f6cc5bb60f.jpg" alt="Team members" class="circle"> <div class="symbol"> <a href="#leader-140" data-toggle="modal" class="teammember"><i class="fa fa-arrow-right faa-passing animated-hover" aria-hidden="true"></i></a> </div> <div class="client-text1"> <ul> <li>Mohammed Elyamany</li> <li>Sales Executive</li> <li>m.elyamany@steps.com.qa</li> <li>Commercial</li> <li>Connect with us <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>  <a href="https://www.linkedin.com/in/steps-real-estate-7269a7134/" target="_blank"><i class="fa fa-linkedin"></i></a></strong></li> </ul> </div> </div> </div> <div class="item"> <div class="client-face" data-wow-delay=".9s"> <img src="https://www.steps.com.qa/uploads/9d352c5f43cd5edab353a4d570c1dd16.jpg" alt="Team members" class="circle"> <div class="symbol"> <a href="#leader-141" data-toggle="modal" class="teammember"><i class="fa fa-arrow-right faa-passing animated-hover" aria-hidden="true"></i></a> </div> <div class="client-text1"> <ul> <li>Shakir Ali </li> <li>Sales Executive</li> <li>shakir.a@steps.com.qa</li> <li>Residential</li> <li>Connect with us <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>  <a href="https://www.linkedin.com/in/steps-real-estate-7269a7134/" target="_blank"><i class="fa fa-linkedin"></i></a></strong></li> </ul> </div> </div> </div> <div class="item"> <div class="client-face" data-wow-delay=".9s"> <img src="https://www.steps.com.qa/uploads/f4acf2065bb3b8b4ddb8b4d3d6128fab.jpg" alt="Team members" class="circle"> <div class="symbol"> <a href="#leader-142" data-toggle="modal" class="teammember"><i class="fa fa-arrow-right faa-passing animated-hover" aria-hidden="true"></i></a> </div> <div class="client-text1"> <ul> <li>Amr Elshpeny</li> <li>Sales Executive</li> <li>amr@steps.com.qa</li> <li>Residential</li> <li>Connect with us <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>  <a href="https://www.linkedin.com/in/steps-real-estate-7269a7134/" target="_blank"><i class="fa fa-linkedin"></i></a></strong></li> </ul> </div> </div> </div> <div class="item"> <div class="client-face" data-wow-delay=".9s"> <img src="https://www.steps.com.qa/uploads/ba42b7dd6314434c3f857d0d3af55f2b.jpg" alt="Team members" class="circle"> <div class="symbol"> <a href="#leader-144" data-toggle="modal" class="teammember"><i class="fa fa-arrow-right faa-passing animated-hover" aria-hidden="true"></i></a> </div> <div class="client-text1"> <ul> <li>Mohammed Ben Mohammed</li> <li>Sales Executive</li> <li>mohamed.ben@steps.com.qa</li> <li>Residential</li> <li>Connect with us <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>  <a href="https://www.linkedin.com/in/steps-real-estate-7269a7134/" target="_blank"><i class="fa fa-linkedin"></i></a></strong></li> </ul> </div> </div> </div> <div class="item"> <div class="client-face" data-wow-delay=".9s"> <img src="https://www.steps.com.qa/uploads/0e82f329f19c6637849fa8dd3d8b5e93.jpg" alt="Team members" class="circle"> <div class="symbol"> <a href="#leader-146" data-toggle="modal" class="teammember"><i class="fa fa-arrow-right faa-passing animated-hover" aria-hidden="true"></i></a> </div> <div class="client-text1"> <ul> <li>Bibin Silva</li> <li>Sales Executive</li> <li>bibin@steps.com.qa</li> <li>Residential</li> <li>Connect with us <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>  <a href="https://www.linkedin.com/in/bibin-silva-57b6591a4/" target="_blank"><i class="fa fa-linkedin"></i></a></strong></li> </ul> </div> </div> </div> </div> </div> <div class="col-md-6 col-sm-5" style=" margin-top: 23px;"> <div class="client-text"> <p><span>Our team of professionals are highly trained, well experienced & dedicated. They work effectively to meet all your expectation for a successful real estate transaction.</span></p> <p><span>Our workforce is available, reliable, motivated and ready to act quickly and efficiently in every situation, at any given time based on your requirements.</span></p> <p><span>At Steps Real Estate service is a fact and not just a promise. We want to learn all about you and your real estate requirements; from there we develop solutions to your specific necessities.</span></p> <p><span>Your requirements are our priority!</span></p> <a href="https://www.steps.com.qa/index.php/index/ourteam/real-estate-consulting-expert-in-doha"> <button class="btn btn-primary">Meet Our Team</button></a> </div> </div> </div> </div> </div> </div> </div> </div> <!-- boy-sale area --> <!-- <div class="boy-sale-area"> <div class="container"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <div class="row"> </div> </div> </div> </div> --> <!-- Footer area--> <div class="footer-area"> <div class="footer"> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-4 col-sm-6 wow fadeInRight animated defaultsection"> <div class="single-footer about"> <h4 class="wow fadeInDown animated" data-wow-delay="0.20s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInDown;">Contact Us </h4> <div class="footer-title-line"></div> <!--<p><span>Our team of professionals are highly trained, well experienced & dedicated. They work effectively to meet all your expectation for a successful real estate transaction.</span></p> <p><span>Our workforce is available, reliable, motivated and ready to act quickly and efficiently in every situation, at any given time based on your requirements.</span></p> <p><span>At Steps Real Estate service is a fact and not just a promise. We want to learn all about you and your real estate requirements; from there we develop solutions to your specific necessities.</span></p> <p><span>Your requirements are our priority!</span></p>--> <ul class="footer-adress"> <li><i class="pe-7s-map-marker strong"> </i> P.O.BOX 92349 Doha Qatar</li> <li><i class="pe-7s-mail strong"> </i> contact@steps.com.qa</li> <li><i class="pe-7s-call strong"> </i> +974 44687461</li> </ul> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 wow fadeInRight animated defaultsection"> <div class="single-footer"> <h4 class="wow fadeInDown animated" data-wow-delay="0.20s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInDown;">Quick links </h4> <div class="footer-title-line"></div> <ul class="footer-menu"> <li><a href="https://www.steps.com.qa/index.php/index">Home</a></li> <li><a href="https://www.steps.com.qa/index.php/index/about/property-consulting-company-in-doha">About Us</a></li> <li><a href="https://www.steps.com.qa/index.php/index/propertymanagement/doha-property-management-company">Property Management</a></li> <li><a href="https://www.steps.com.qa/index.php/index/consultingcompany/real-estate-consulting-companies-in-qatar">Careers</a></li> <li><a href="https://www.steps.com.qa/index.php/index/realestatecompany/real-estate-companies-in-qatar">Contact Us</a></li> <li><a href="https://www.steps.com.qa/index.php/privacypolicy">Privacy Policy</a></li> <li><a href="https://www.steps.com.qa/index.php/Termsandcondition">Terms & Condition</a></li> </ul> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 wow fadeInRight animated"> <div class="single-footer"> <h4 class="wow fadeInDown animated" data-wow-delay="0.20s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInDown;">Latest News</h4> <div class="footer-title-line"></div> <ul class="footer-blog"> <li> <div class="col-md-4 col-sm-4 col-xs-4 blg-thumb p0"> <a href="https://www.steps.com.qa/index.php/index/newsevents/24"> <img src="https://www.steps.com.qa/uploads/89b1571c54ca56caf362894c3d6424e0.jpeg" alt="news events"> </a> <span class="blg-date">20-12-2018</span> </div> <div class="col-md-8 col-sm-8 col-xs-8 blg-entry" style="padding: 0px 10px;"> <h6> <a href="https://www.steps.com.qa/index.php/index/newsevents/24">Palm Villa Residence</a></h6> <p style="line-height: 15px; padding: 8px 2px;color:#ffffff;"> Steps Real Estate launched ‘... </p> </div> </li> </ul> <ul class="footer-blog"> <li> <div class="col-md-4 col-sm-4 col-xs-4 blg-thumb p0"> <a href="https://www.steps.com.qa/index.php/index/newsevents/23"> <img src="https://www.steps.com.qa/uploads/353df0f0c6f8d4a02776b69fbb0b142a.jpeg" alt="news events"> </a> <span class="blg-date">20-12-2018</span> </div> <div class="col-md-8 col-sm-8 col-xs-8 blg-entry" style="padding: 0px 10px;"> <h6> <a href="https://www.steps.com.qa/index.php/index/newsevents/23">The Legend Suites </a></h6> <p style="line-height: 15px; padding: 8px 2px;color:#ffffff;"> Steps Real Estate launched The... </p> </div> </li> </ul> </div> </div> <div class="col-lg-3 col-md-4 col-sm-6 wow fadeInRight animated defaultsection"> <div class="single-footer news-letter"> <h4 class="wow fadeInDown animated" data-wow-delay="0.20s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInDown;">STAY IN TOUCH</h4> <div class="footer-title-line"></div> <p>Our new updates will reach you.</p> <form id="contact2" method="post" action=""> <div class="input-group"> <input class="form-control placeholderfontstyle" name="email" id="emailsubscription" type="text" placeholder="E-mail ... " > <span class="input-group-btn"> <button class="btn btn-primary subscribe" type="submit"><i class="pe-7s-paper-plane pe-2x"></i></button> </span> </div> <div class="emailmessage"></div> </form> </div> <div class="col-md-12 col-sm-12 col-xs-12 "> <div class="row"> <div class="social"> <div class="col-md-2 col-xs-4 first"> <!--<a class="wow fadeInUp animated" href="https://twitter.com/ target="blank""> --> <a class="wow fadeInUp animated" href="https://twitter.com/" target="blank"> <div class="social-icon"> <img class="thumb-img" alt="twitter image" src="https://www.steps.com.qa/assets/img/twitter.png"> <!--<i class="fa fa-twitter"></i>--></div></a> </div> <div class="col-md-2 col-xs-4 second"> <a class="wow fadeInUp animated" href="https://www.facebook.com/stepsrealestateqatar/" target="blank" data-wow-delay="0.2s"> <div class="social-icon"> <img class="thumb-img" alt="facebook image" src="https://www.steps.com.qa/assets/img/fb.png"> <!--<i class="fa fa-facebook"></i>--> </div></a> </div> <div class="col-md-2 col-xs-4 third"> <a class="wow fadeInUp animated" href="https://plus.google.com/" target="blank" data-wow-delay="0.3s"> <div class="social-icon"> <img class="thumb-img" alt="google plus image" src="https://www.steps.com.qa/assets/img/GooglePlus.png"> <!--<i class="fa fa-google-plus"></i>--></div></a> </div> <div class="col-md-2 col-xs-4 fourth"> <a class="wow fadeInUp animated" href="https://instagram.com/" target="blank" data-wow-delay="0.4s"> <div class="social-icon"> <!--<i class="fa fa-instagram"></i>--> <img class="thumb-img" alt="instagram image" src="https://www.steps.com.qa/assets/img/Instagram.png"> </div></a> </div> <div class="col-md-2 col-xs-4 fifth"> <a class="wow fadeInUp animated" href="https://in.linkedin.com/company/steps-real-estate-qatar" target="blank" data-wow-delay="0.6s"> <div class="social-icon"> <!--<i class="fa fa-linkedin"></i>--> <img class="thumb-img" alt="Linkedin Image" src="https://www.steps.com.qa/assets/img/LinkedIn.png"> </div></a> </div> <div class="col-md-2 col-xs-4 sixth"> <a class="wow fadeInUp animated" href="https://www.youtube.com/channel/UC8rMKI57b35vjI1oLRfjeHQ" target="blank" data-wow-delay="0.6s"> <div class="social-icon"> <!--<i class="fa fa-linkedin"></i>--> <img class="thumb-img" alt="youtube image" src="https://www.steps.com.qa/assets/img/Youtube.png"> </div></a> </div> </div> </div> </div> </div> </div> </div> <div class="footer-copy text-center" style="background-color:#778899;"> <div class="container"> <div class="row"> <div class="pull-left"> <span style="color:white!important;"><a href="https://www.steps.com.qa/" target="blank">Steps Real Estate</a>, All rights reserved 2019</span> </div> <!--<div class="pull-right"> <span> <a href="https://whitefonttech.com/" target="_blank"> </a></span> </div>--> </div> </div> </div> </div> </div> <div class="mobile-area"> <div class="container"> <div class="property-details"> <ul class="dealer-contacts"> <li class="phone"> <i class="fa fa-phone fa-x strong agenticon"> </i> <!--<a href="javascript:void(0)" class="callnow">Call</a>--> <a href="tel:+974 4468 7461" class="callnow">Call</a> </li> <li class="mail"> <i class="fa fa-envelope fa-x strong agenticon"> </i> <a href="#" class="email" data-toggle="modal" data-target="#contactform1">Email</a> </li> </ul> </div> </div> </div> <div id="stop" class="scrollTop"> <span><i class="fa fa-arrow-up"></i></i></span> </div> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/modernizr-2.6.2.min.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/jquery-1.10.2.min.js"></script> <!--<script type="text/javascript" src="https://www.steps.com.qa/bootstrap/js/bootstrap.min.js"></script>--> <!--<script type="text/javascript" src="https://www.steps.com.qa/vendors/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>--> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/bootstrap-select.min.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/bootstrap-hover-dropdown.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/easypiechart.min.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/index.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/jquery.easypiechart.min.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/owl.carousel.min.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/owl.carousel-homeslide.min.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/wow.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/bootstrap3-typeahead.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/jquery.validate.min.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/icheck.min.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/price-range.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/lightslider.min.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/main.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/jquery-ui.js"></script> <!-- <script type="text/javascript" src="https://www.steps.com.qa/assets/js/bootstrap-tagsinput.js"></script>--> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/flexslider.js?v=1"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/move.js"></script> <!-- tagit js --> <!--<script type="text/javascript" src="https://www.steps.com.qa/assets/js/tag-it.min.js"></script>--> <!-- autocomplet location js --> <!--<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>--> <script type="text/javascript" src="https://www.steps.com.qa/bootstrap/js/bootstrap.min.js"></script> <!-- advertisement page date restriction --> <script type="text/javascript" src="https://www.steps.com.qa/vendors/bootstrap-datepicker/js/bootstrap-datepicker.js"></script> <link type="text/css" rel="stylesheet" href="https://www.steps.com.qa/vendors/bootstrap-datepicker/css/bootstrap-datepicker.css" /> <!-- advertisement page date restriction --> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/tagmanager.js"></script> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/jquery.auto-complete.js"></script> <script src="https://www.google.com/recaptcha/api.js" async defer></script> <div class="modal fade" id="contactform1" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title">Contact Us</h4> </div> <form method="post" id="contact1" action="https://www.steps.com.qa/index.php/index/sendgeneralenquiry"> <div class="modal-body"> <div class="row" style="margin-left: 0px;"> <div class="col-md-6"> <div class="row"> <div style="margin: 10px;"> <textarea rows="2" name="enquirymessage" id="enquirymessage" class="form-control" cols="30" placeholder="Hi...please contact me..." maxlength="350"> Hi...please contact me... </textarea> </div> </div> <div class="row"> <div style="margin: 10px;"><input type="text" name="enquiryname" id="enquiryname" class="form-control txtOnly" placeholder="please enter your name"></div> </div> <div class="row"> <div style="margin: 10px;"><input type="mail" name="enquiryemail" id="enquiryemail" class="form-control" placeholder="Please enter your email address"></div> </div> <div class="row"> <div style="margin: 10px;"><input type="number" name="enquirymobile" id="enquirymobile" class="form-control" placeholder="Please enter your mobile number" maxlength="8" minlength="8"></div> </div> </div> </div> </div> <div class="col-sm-12"> <div class="form-group g-recaptcha" data-sitekey="6LdE5bkZAAAAAHUfZ_rCZNvLoarl67lTZpV-mft6"> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="submit" class="btn btn-default btncommonemailsend">Send</button> </div> </div> </form> <!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> <div class="modal fade product_view" id="leader-139" role="dialog" > <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <div class="modal-header1"> <a href="#" data-dismiss="modal" class="class pull-right"><span class="glyphicon glyphicon-remove"></span></a> </div> <div class="row"> <div class="col-md-4 product_img"> <img src="https://www.steps.com.qa/uploads/9cdeb3b4bfb6123ed33ae9348cb76a89.jpg" class="image-responsive" alt="Real Estate"> <div class="follow"> Connect with us : <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>    <a href="https://www.linkedin.com/in/steps-real-estate-7269a7134/" target="_blank"><i class="fa fa-linkedin"></i></a> </div> </div> <div class="col-md-8 product_content"> <div class="leader-detail" style="color:#007294;"> <h5>Samson Manuel</h5> <h6>Sales Executive</h6> <h6>samson@steps.com.qa</h6> <h6>Commercial</h6> </div> <hr> <p>Expert in Commercial</p> </div> </div> </div> </div> </div> </div> <div class="modal fade product_view" id="leader-140" role="dialog" > <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <div class="modal-header1"> <a href="#" data-dismiss="modal" class="class pull-right"><span class="glyphicon glyphicon-remove"></span></a> </div> <div class="row"> <div class="col-md-4 product_img"> <img src="https://www.steps.com.qa/uploads/9b46ec6b9ff38b8c561091f6cc5bb60f.jpg" class="image-responsive" alt="Real Estate"> <div class="follow"> Connect with us : <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>    <a href="https://www.linkedin.com/in/steps-real-estate-7269a7134/" target="_blank"><i class="fa fa-linkedin"></i></a> </div> </div> <div class="col-md-8 product_content"> <div class="leader-detail" style="color:#007294;"> <h5>Mohammed Elyamany</h5> <h6>Sales Executive</h6> <h6>m.elyamany@steps.com.qa</h6> <h6>Commercial</h6> </div> <hr> <p>Expert in Commercial as well as Residential</p> </div> </div> </div> </div> </div> </div> <div class="modal fade product_view" id="leader-141" role="dialog" > <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <div class="modal-header1"> <a href="#" data-dismiss="modal" class="class pull-right"><span class="glyphicon glyphicon-remove"></span></a> </div> <div class="row"> <div class="col-md-4 product_img"> <img src="https://www.steps.com.qa/uploads/9d352c5f43cd5edab353a4d570c1dd16.jpg" class="image-responsive" alt="Real Estate"> <div class="follow"> Connect with us : <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>    <a href="https://www.linkedin.com/in/steps-real-estate-7269a7134/" target="_blank"><i class="fa fa-linkedin"></i></a> </div> </div> <div class="col-md-8 product_content"> <div class="leader-detail" style="color:#007294;"> <h5>Shakir Ali </h5> <h6>Sales Executive</h6> <h6>shakir.a@steps.com.qa</h6> <h6>Residential</h6> </div> <hr> <p>Expert in Residential</p> </div> </div> </div> </div> </div> </div> <div class="modal fade product_view" id="leader-142" role="dialog" > <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <div class="modal-header1"> <a href="#" data-dismiss="modal" class="class pull-right"><span class="glyphicon glyphicon-remove"></span></a> </div> <div class="row"> <div class="col-md-4 product_img"> <img src="https://www.steps.com.qa/uploads/f4acf2065bb3b8b4ddb8b4d3d6128fab.jpg" class="image-responsive" alt="Real Estate"> <div class="follow"> Connect with us : <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>    <a href="https://www.linkedin.com/in/steps-real-estate-7269a7134/" target="_blank"><i class="fa fa-linkedin"></i></a> </div> </div> <div class="col-md-8 product_content"> <div class="leader-detail" style="color:#007294;"> <h5>Amr Elshpeny</h5> <h6>Sales Executive</h6> <h6>amr@steps.com.qa</h6> <h6>Residential</h6> </div> <hr> <p>Expert in Residential</p> </div> </div> </div> </div> </div> </div> <div class="modal fade product_view" id="leader-144" role="dialog" > <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <div class="modal-header1"> <a href="#" data-dismiss="modal" class="class pull-right"><span class="glyphicon glyphicon-remove"></span></a> </div> <div class="row"> <div class="col-md-4 product_img"> <img src="https://www.steps.com.qa/uploads/ba42b7dd6314434c3f857d0d3af55f2b.jpg" class="image-responsive" alt="Real Estate"> <div class="follow"> Connect with us : <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>    <a href="https://www.linkedin.com/in/steps-real-estate-7269a7134/" target="_blank"><i class="fa fa-linkedin"></i></a> </div> </div> <div class="col-md-8 product_content"> <div class="leader-detail" style="color:#007294;"> <h5>Mohammed Ben Mohammed</h5> <h6>Sales Executive</h6> <h6>mohamed.ben@steps.com.qa</h6> <h6>Residential</h6> </div> <hr> <p>Expert in Residential</p> </div> </div> </div> </div> </div> </div> <div class="modal fade product_view" id="leader-146" role="dialog" > <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <div class="modal-header1"> <a href="#" data-dismiss="modal" class="class pull-right"><span class="glyphicon glyphicon-remove"></span></a> </div> <div class="row"> <div class="col-md-4 product_img"> <img src="https://www.steps.com.qa/uploads/0e82f329f19c6637849fa8dd3d8b5e93.jpg" class="image-responsive" alt="Real Estate"> <div class="follow"> Connect with us : <a href="https://twitter.com/home" target="_blank"><i class="fa fa-twitter"></i></a>    <a href="https://www.linkedin.com/in/bibin-silva-57b6591a4/" target="_blank"><i class="fa fa-linkedin"></i></a> </div> </div> <div class="col-md-8 product_content"> <div class="leader-detail" style="color:#007294;"> <h5>Bibin Silva</h5> <h6>Sales Executive</h6> <h6>bibin@steps.com.qa</h6> <h6>Residential</h6> </div> <hr> <p>Expert in Residential</p> </div> </div> </div> </div> </div> </div> <!-- User my account script starts--> <!--<script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>--> <script type="text/javascript" src="https://www.steps.com.qa/assets/js/canvasjs.min.js"></script> <script type="text/javascript"> window.onload = function(){ setInterval(function(){ $('body').find("#messagessellregister").hide(); }, 9000); }; $(function(){ /* $( "#refer" ).autocomplete({ source: "https://www.steps.com.qa/index.php/index/getreferences", minLength: 2, select: function( event, ui ) { console.log( "Selected: " + ui.item.value + " aka " + ui.item.id ); } }); */ }) $(document).ready(function(){ $("#propertytype").on('change',function(){ var sqftarr = [125,127,207]; var currenttype = parseInt($(this).val()); if( jQuery.inArray(currenttype,sqftarr)!=-1 ) { $(".sqftproprtytype").show(); $(".nonsqftproprtytype").hide(); $("#min_bed").val(''); $("#max_bed").val(''); } else { $(".sqftproprtytype").hide(); $(".nonsqftproprtytype").show(); $("#minarea").val(''); $("#maxarea").val(''); } }); $("#account").click(function(e) { if($("#accountdetail").hasClass('show')){ $(".useraccount").removeClass('show'); $(".useraccount").html('<i class="fa fa-user"></i>'); $("#accountdetail").attr('class','hide'); } else { $(".useraccount").addClass('show'); $(".useraccount").html('<i class="fa fa-close"></i>'); $("#accountdetail").attr('class','show'); } }); var prop = $('#property').val(); //alert("IN1"); if(prop == "propertypage"){ var cat = $('#category').val(); var sessionuid = $('.userid').val(); $.ajax({ url:"https://www.steps.com.qa/index.php/index/searchresult", type: "POST", data:{'category':cat,'setuserid':sessionuid}, success:function(data) { $('#list-type').html(data); setPropertyTitle(); } }); } }) </script> <script type="text/javascript"> $(document).ready(function(){ // When user clicks on tab, this code will be executed $(".account-contents li").click(function() { // First remove class "active" from currently active tab $(".account-contents li").removeClass('active'); // Now add class "active" to the selected/clicked tab $(this).addClass("active"); // Hide all tab content $(".tab_content").hide(); // Here we get the href value of the selected tab var selected_tab = $(this).find("a").attr("href"); // Show the selected tab content $(selected_tab).fadeIn(); // At the end, we add return false so that the click on the link is not executed return false; }); }); var d = new Date(); var n = d.getFullYear(); var prev = n -1; for(var i =10;i >= 0; i--) { var newval = n - i; } for(var i =1;i <= 9; i++) { var newval = n + i; } var dataget = []; var datagetcommer = []; var datagetresiden = []; var datagetvacent = []; var datagettotal = []; var datagetto = []; var datagetcommerto = []; var datagetresidento = []; var datagetvacentto = []; var datagettotalto = []; $("#totalnocurr").text(n); $("#totalnoprev").text(prev); //var fromdate = $("#marketyear").val(); var newarray = []; $.ajax({ url:'GetmarketingData', type:"POST", data:{'data': n,'from_date':n,'to_date':prev }, success: function(data1) { var jsonData = data1; debugger; if(data1.length > 1000) { var jsonDatadyn = $.parseJSON(data1); //var jsonData = data1; jsonData = jsonDatadyn; } //console.log(jsonData); for (var i = 0; i < jsonData.length; i++) { var str1 = jsonData[i].Yearval; if(str1 == n) { dataget.push(jsonData[i]); } if(str1 == prev) { datagetto.push(jsonData[i]); } //alert("hi"); } for (var i = 0; i < newarray.length; i++) { var str1 = newarray[i].Yearval; if(str1 == undefined) { str1 = ""; } } if(dataget.length > 0) { debugger; for (var mt = 0; mt < dataget.length; mt++) { var val = dataget[mt].Type; if(val == "Commercial Property") { var janval =0; var febval =0; var marval =0; var aprval =0; var mayval =0; var junval =0; var julval =0; var augval =0; var sepval =0; var octval =0; var novval =0; var decval =0; if(dataget[mt].JanValue != "" && dataget[mt].JanValue != null && dataget[mt].JanValue != "0") { janval = parseInt(dataget[mt].JanValue); datagetcommer.push({ label: "Jan", y: parseInt(janval), toolTipContent: "Month : Jan, " + n + "<br />Transaction : " + janval }); } else{ datagetcommer.push({ label: "Jan", y: '', toolTipContent: "Month : Jan, " + n + "<br />Transaction : " + janval }); } if(dataget[mt].FebValue != "" && dataget[mt].FebValue != null && dataget[mt].FebValue != "0") { febval = parseInt(dataget[mt].FebValue); datagetcommer.push({ label: "Feb", y: parseInt(febval), toolTipContent: "Month : Feb, " + n + "<br />Transaction : " + febval }); } else{ datagetcommer.push({ label: "Feb", y: '', toolTipContent: "Month : Feb, " + n + "<br />Transaction : " + febval }); } if(dataget[mt].MarValue != "" && dataget[mt].MarValue != null && dataget[mt].MarValue != "0") { marval = parseInt(dataget[mt].MarValue); datagetcommer.push({ label: "Mar", y: parseInt(marval), toolTipContent: "Month : Mar, " + n + "<br />Transaction : " + marval }); } else{ datagetcommer.push({ label: "Mar", y: '', toolTipContent: "Month : Mar, " + n + "<br />Transaction : " + marval }); } if(dataget[mt].AprValue != "" && dataget[mt].AprValue != null && dataget[mt].AprValue != "0") { aprval = parseInt(dataget[mt].AprValue); datagetcommer.push({ label: "Apr", y: parseInt(aprval), toolTipContent: "Month : Apr, " + n + "<br />Transaction : " + aprval }); } else{ datagetcommer.push({ label: "Apr", y: '', toolTipContent: "Month : Apr, " + n + "<br />Transaction : " + aprval }); } if(dataget[mt].MayValue != "" && dataget[mt].MayValue != null && dataget[mt].MayValue != "0") { mayval = parseInt(dataget[mt].MayValue); datagetcommer.push({ label: "May", y: parseInt(mayval), toolTipContent: "Month : May, " + n + "<br />Transaction : " + mayval }); } else { datagetcommer.push({ label: "May", y: '', toolTipContent: "Month : May, " + n + "<br />Transaction : " + mayval }); } if(dataget[mt].JunValue != "" && dataget[mt].JunValue != null && dataget[mt].JunValue != "0") { junval = parseInt(dataget[mt].JunValue); datagetcommer.push({ label: "Jun", y: parseInt(junval), toolTipContent: "Month : Jun, " + n + "<br />Transaction : " + junval }); } else{ datagetcommer.push({ label: "Jun", y: '', toolTipContent: "Month : Jun, " + n + "<br />Transaction : " + junval }); } if(dataget[mt].Julvalue != "" && dataget[mt].Julvalue != null && dataget[mt].Julvalue != "0") { julval = parseInt(dataget[mt].Julvalue); datagetcommer.push({ label: "Jul", y: parseInt(julval), toolTipContent: "Month : Jul, " + n + "<br />Transaction : " + julval }); } else{ datagetcommer.push({ label: "Jul", y: '', toolTipContent: "Month : Jul, " + n + "<br />Transaction : " + julval }); } if(dataget[mt].AugValue != "" && dataget[mt].AugValue != null && dataget[mt].AugValue != "0") { augval = parseInt(dataget[mt].AugValue); datagetcommer.push({ label: "Aug", y: parseInt(augval), toolTipContent: "Month : Aug, " + n + "<br />Transaction : " + augval }); } else{ datagetcommer.push({ label: "Aug", y: '', toolTipContent: "Month : Aug, " + n + "<br />Transaction : " + augval }); } if(dataget[mt].SepValue != "" && dataget[mt].SepValue != null && dataget[mt].SepValue != "0") { sepval = parseInt(dataget[mt].SepValue); datagetcommer.push({ label: "Sep", y: parseInt(sepval), toolTipContent: "Month : Sep, " + n + "<br />Transaction : " + sepval }); } else{ datagetcommer.push({ label: "Sep", y: '', toolTipContent: "Month : Sep, " + n + "<br />Transaction : " + sepval }); } if(dataget[mt].OctValue != "" && dataget[mt].OctValue != null && dataget[mt].OctValue != "0") { octval = parseInt(dataget[mt].OctValue); datagetcommer.push({ label: "Oct", y: parseInt(octval), toolTipContent: "Month : Oct, " + n + "<br />Transaction : " + octval }); } else{ datagetcommer.push({ label: "Oct", y: '', toolTipContent: "Month : Oct, " + n + "<br />Transaction : " + octval }); } if(dataget[mt].NovValue != "" && dataget[mt].NovValue != null && dataget[mt].NovValue != "0") { novval = parseInt(dataget[mt].NovValue); datagetcommer.push({ label: "Nov", y: parseInt(novval), toolTipContent: "Month : Nov, " + n + "<br />Transaction : " + novval }); } else{ datagetcommer.push({ label: "Nov", y: '', toolTipContent: "Month : Nov, " + n + "<br />Transaction : " + novval }); } if(dataget[mt].DecValue != "" && dataget[mt].DecValue != null && dataget[mt].DecValue != "0") { decval = parseInt(dataget[mt].DecValue); datagetcommer.push({ label: "Dec", y: parseInt(decval), toolTipContent: "Month : Dec, " + n + "<br />Transaction : " + decval }); } else{ datagetcommer.push({ label: "Dec", y: '', toolTipContent: "Month : Dec, " + n + "<br />Transaction : " + decval }); } } else if(val == "Residential Property") { var janval =0; var febval =0; var marval =0; var aprval =0; var mayval =0; var junval =0; var julval =0; var augval =0; var sepval =0; var octval =0; var novval =0; var decval =0; if(dataget[mt].JanValue != "" && dataget[mt].JanValue != null && dataget[mt].JanValue != "0") { janval = parseInt(dataget[mt].JanValue); datagetresiden.push({ label: "Jan", y: parseInt(janval), toolTipContent: "Month : Jan, " + n + "<br />Transaction : " + janval }); } else{ datagetresiden.push({ label: "Jan", y: '', toolTipContent: "Month : Jan, " + n + "<br />Transaction : " + janval }); } if(dataget[mt].FebValue != "" && dataget[mt].FebValue != null && dataget[mt].FebValue != "0") { febval = parseInt(dataget[mt].FebValue); datagetresiden.push({ label: "Feb", y: parseInt(febval), toolTipContent: "Month : Feb, " + n + "<br />Transaction : " + febval }); } else{ datagetresiden.push({ label: "Feb", y: '', toolTipContent: "Month : Feb, " + n + "<br />Transaction : " + febval }); } if(dataget[mt].MarValue != "" && dataget[mt].MarValue != null && dataget[mt].MarValue != "0") { marval = parseInt(dataget[mt].MarValue); datagetresiden.push({ label: "Mar", y: parseInt(marval), toolTipContent: "Month : Mar, " + n + "<br />Transaction : " + marval }); } else{ datagetresiden.push({ label: "Mar", y: '', toolTipContent: "Month : Mar, " + n + "<br />Transaction : " + marval }); } if(dataget[mt].AprValue != "" && dataget[mt].AprValue != null && dataget[mt].AprValue != "0") { aprval = parseInt(dataget[mt].AprValue); datagetresiden.push({ label: "Apr", y: parseInt(aprval), toolTipContent: "Month : Apr, " + n + "<br />Transaction : " + aprval }); } else{ datagetresiden.push({ label: "Apr", y: '', toolTipContent: "Month : Apr, " + n + "<br />Transaction : " + aprval }); } if(dataget[mt].MayValue != "" && dataget[mt].MayValue != null && dataget[mt].MayValue != "0") { mayval = parseInt(dataget[mt].MayValue); datagetresiden.push({ label: "May", y: parseInt(mayval), toolTipContent: "Month : May, " + n + "<br />Transaction : " + mayval }); } else{ datagetresiden.push({ label: "May", y: '', toolTipContent: "Month : May, " + n + "<br />Transaction : " + mayval }); } if(dataget[mt].JunValue != "" && dataget[mt].JunValue != null && dataget[mt].JunValue != "0") { junval = parseInt(dataget[mt].JunValue); datagetresiden.push({ label: "Jun", y: parseInt(junval), toolTipContent: "Month : Jun, " + n + "<br />Transaction : " + junval }); } else{ datagetresiden.push({ label: "Jun", y: '', toolTipContent: "Month : Jun, " + n + "<br />Transaction : " + junval }); } if(dataget[mt].Julvalue != "" && dataget[mt].Julvalue != null && dataget[mt].Julvalue != "0") { julval = parseInt(dataget[mt].Julvalue); datagetresiden.push({ label: "Jul", y: parseInt(julval), toolTipContent: "Month : Jul, " + n + "<br />Transaction : " + julval }); } else{ datagetresiden.push({ label: "Jul", y: '', toolTipContent: "Month : Jul, " + n + "<br />Transaction : " + julval }); } if(dataget[mt].AugValue != "" && dataget[mt].AugValue != null && dataget[mt].AugValue != "0") { augval = parseInt(dataget[mt].AugValue); datagetresiden.push({ label: "Aug", y: parseInt(augval), toolTipContent: "Month : Aug, " + n + "<br />Transaction : " + augval }); } else{ datagetresiden.push({ label: "Aug", y: '', toolTipContent: "Month : Aug, " + n + "<br />Transaction : " + augval }); } if(dataget[mt].SepValue != "" && dataget[mt].SepValue != null && dataget[mt].SepValue != "0") { sepval = parseInt(dataget[mt].SepValue); datagetresiden.push({ label: "Sep", y: parseInt(sepval), toolTipContent: "Month : Sep, " + n + "<br />Transaction : " + sepval }); } else{ datagetresiden.push({ label: "Sep", y: '', toolTipContent: "Month : Sep, " + n + "<br />Transaction : " + sepval }); } if(dataget[mt].OctValue != "" && dataget[mt].OctValue != null && dataget[mt].OctValue != "0") { octval = parseInt(dataget[mt].OctValue); datagetresiden.push({ label: "Oct", y: parseInt(octval), toolTipContent: "Month : Oct, " + n + "<br />Transaction : " + octval }); } else{ datagetresiden.push({ label: "Oct", y: '', toolTipContent: "Month : Oct, " + n + "<br />Transaction : " + octval }); } if(dataget[mt].NovValue != "" && dataget[mt].NovValue != null && dataget[mt].NovValue != "0") { novval = parseInt(dataget[mt].NovValue); datagetresiden.push({ label: "Nov", y: parseInt(novval), toolTipContent: "Month : Nov, " + n + "<br />Transaction : " + novval }); } else{ datagetresiden.push({ label: "Nov", y: '', toolTipContent: "Month : Nov, " + n + "<br />Transaction : " + novval }); } if(dataget[mt].DecValue != "" && dataget[mt].DecValue != null && dataget[mt].DecValue != "0") { decval = parseInt(dataget[mt].DecValue); datagetresiden.push({ label: "Dec", y: parseInt(decval), toolTipContent: "Month : Dec, " + n + "<br />Transaction : " + decval }); } else{ datagetresiden.push({ label: "Dec", y: '', toolTipContent: "Month : Dec, " + n + "<br />Transaction : " + decval }); } } else if(val == "Vacant land") { var janval =0; var febval =0; var marval =0; var aprval =0; var mayval =0; var junval =0; var julval =0; var augval =0; var sepval =0; var octval =0; var novval =0; var decval =0; if(dataget[mt].JanValue != "" && dataget[mt].JanValue != null && dataget[mt].JanValue != "0") { janval = parseInt(dataget[mt].JanValue); datagetvacent.push({ label: "Jan", y: parseInt(janval), toolTipContent: "Month : Jan, " + n + "<br />Transaction : " + janval }); } else { datagetvacent.push({ label: "Jan", y: '', toolTipContent: "Month : Jan, " + n + "<br />Transaction : " + janval }); } if(dataget[mt].FebValue != "" && dataget[mt].FebValue != null && dataget[mt].FebValue != "0") { febval = parseInt(dataget[mt].FebValue); datagetvacent.push({ label: "Feb", y: parseInt(febval), toolTipContent: "Month : Feb, " + n + "<br />Transaction : " + febval }); } else{ datagetvacent.push({ label: "Feb", y: '', toolTipContent: "Month : Feb, " + n + "<br />Transaction : " + febval }); } if(dataget[mt].MarValue != "" && dataget[mt].MarValue != null && dataget[mt].MarValue != "0") { marval = parseInt(dataget[mt].MarValue); datagetvacent.push({ label: "Mar", y: parseInt(marval), toolTipContent: "Month : Mar, " + n + "<br />Transaction : " + marval }); } else{ datagetvacent.push({ label: "Mar", y: '', toolTipContent: "Month : Mar, " + n + "<br />Transaction : " + marval }); } if(dataget[mt].AprValue != "" && dataget[mt].AprValue != null && dataget[mt].AprValue != "0") { aprval = parseInt(dataget[mt].AprValue); datagetvacent.push({ label: "Apr", y: parseInt(aprval), toolTipContent: "Month : Apr, " + n + "<br />Transaction : " + aprval }); } else{ datagetvacent.push({ label: "Apr", y: '', toolTipContent: "Month : Apr, " + n + "<br />Transaction : " + aprval }); } if(dataget[mt].MayValue != "" && dataget[mt].MayValue != null && dataget[mt].MayValue != "0") { mayval = parseInt(dataget[mt].MayValue); datagetvacent.push({ label: "May", y: parseInt(mayval), toolTipContent: "Month : May, " + n + "<br />Transaction : " + mayval }); } else{ datagetvacent.push({ label: "May", y: '', toolTipContent: "Month : May, " + n + "<br />Transaction : " + mayval }); } if(dataget[mt].JunValue != "" && dataget[mt].JunValue != null && dataget[mt].JunValue != "0") { junval = parseInt(dataget[mt].JunValue); datagetvacent.push({ label: "Jun", y: parseInt(junval), toolTipContent: "Month : Jun, " + n + "<br />Transaction : " + junval }); } else{ datagetvacent.push({ label: "Jun", y: '', toolTipContent: "Month : Jun, " + n + "<br />Transaction : " + junval }); } if(dataget[mt].Julvalue != "" && dataget[mt].Julvalue != null && dataget[mt].Julvalue != "0") { julval = parseInt(dataget[mt].Julvalue); datagetvacent.push({ label: "Jul", y: parseInt(julval), toolTipContent: "Month : Jul, " + n + "<br />Transaction : " + julval }); } else{ datagetvacent.push({ label: "Jul", y: '', toolTipContent: "Month : Jul, " + n + "<br />Transaction : " + julval }); } if(dataget[mt].AugValue != "" && dataget[mt].AugValue != null && dataget[mt].AugValue != "0") { augval = parseInt(dataget[mt].AugValue); datagetvacent.push({ label: "Aug", y: parseInt(augval), toolTipContent: "Month : Aug, " + n + "<br />Transaction : " + augval }); } else{ datagetvacent.push({ label: "Aug", y: '', toolTipContent: "Month : Aug, " + n + "<br />Transaction : " + augval }); } if(dataget[mt].SepValue != "" && dataget[mt].SepValue != null && dataget[mt].SepValue != "0") { sepval = parseInt(dataget[mt].SepValue); datagetvacent.push({ label: "Sep", y: parseInt(sepval), toolTipContent: "Month : Sep, " + n + "<br />Transaction : " + sepval }); } else{ datagetvacent.push({ label: "Sep", y: '', toolTipContent: "Month : Sep, " + n + "<br />Transaction : " + sepval }); } if(dataget[mt].OctValue != "" && dataget[mt].OctValue != null && dataget[mt].OctValue != "0") { octval = parseInt(dataget[mt].OctValue); datagetvacent.push({ label: "Oct", y: parseInt(octval), toolTipContent: "Month : Oct, " + n + "<br />Transaction : " + octval }); } else{ datagetvacent.push({ label: "Oct", y: '', toolTipContent: "Month : Oct, " + n + "<br />Transaction : " + octval }); } if(dataget[mt].NovValue != "" && dataget[mt].NovValue != null && dataget[mt].NovValue != "0") { novval = parseInt(dataget[mt].NovValue); datagetvacent.push({ label: "Nov", y: parseInt(novval), toolTipContent: "Month : Nov, " + n + "<br />Transaction : " + novval }); } else{ datagetvacent.push({ label: "Nov", y: '', toolTipContent: "Month : Nov, " + n + "<br />Transaction : " + novval }); } if(dataget[mt].DecValue != "" && dataget[mt].DecValue != null && dataget[mt].DecValue != "0") { decval = parseInt(dataget[mt].DecValue); datagetvacent.push({ label: "Dec", y: parseInt(decval), toolTipContent: "Month : Dec, " + n + "<br />Transaction : " + decval }); } else{ datagetvacent.push({ label: "Dec", y: '', toolTipContent: "Month : Dec, " + n + "<br />Transaction : " + decval }); } } else if(val == "Total") { var janval =0; var febval =0; var marval =0; var aprval =0; var mayval =0; var junval =0; var julval =0; var augval =0; var sepval =0; var octval =0; var novval =0; var decval =0; if(dataget[mt].JanValue != "" && dataget[mt].JanValue != null && dataget[mt].JanValue != "0") { janval = parseInt(dataget[mt].JanValue); datagettotal.push({ label: "Jan", y: parseInt(janval), toolTipContent: "Month : Jan, " + n + "<br />Transaction : " + janval }); } else{ datagettotal.push({ label: "Jan", y: '', toolTipContent: "Month : Jan, " + n + "<br />Transaction : " + janval }); } if(dataget[mt].FebValue != "" && dataget[mt].FebValue != null && dataget[mt].FebValue != "0") { febval = parseInt(dataget[mt].FebValue); datagettotal.push({ label: "Feb", y: parseInt(febval), toolTipContent: "Month : Feb, " + n + "<br />Transaction : " + febval }); } else{ datagettotal.push({ label: "Feb", y: '', toolTipContent: "Month : Feb, " + n + "<br />Transaction : " + febval }); } if(dataget[mt].MarValue != "" && dataget[mt].MarValue != null && dataget[mt].MarValue != "0") { marval = parseInt(dataget[mt].MarValue); datagettotal.push({ label: "Mar", y: parseInt(marval), toolTipContent: "Month : Mar, " + n + "<br />Transaction : " + marval }); } else{ datagettotal.push({ label: "Mar", y: '', toolTipContent: "Month : Mar, " + n + "<br />Transaction : " + marval }); } if(dataget[mt].AprValue != "" && dataget[mt].AprValue != null && dataget[mt].AprValue != "0") { aprval = parseInt(dataget[mt].AprValue); datagettotal.push({ label: "Apr", y: parseInt(aprval), toolTipContent: "Month : Apr, " + n + "<br />Transaction : " + aprval }); } else{ datagettotal.push({ label: "Apr", y: '', toolTipContent: "Month : Apr, " + n + "<br />Transaction : " + aprval }); } if(dataget[mt].MayValue != "" && dataget[mt].MayValue != null && dataget[mt].MayValue != "0") { mayval = parseInt(dataget[mt].MayValue); datagettotal.push({ label: "May", y: parseInt(mayval), toolTipContent: "Month : May, " + n + "<br />Transaction : " + mayval }); } else{ datagettotal.push({ label: "May", y: '', toolTipContent: "Month : May, " + n + "<br />Transaction : " + mayval }); } if(dataget[mt].JunValue != "" && dataget[mt].JunValue != null && dataget[mt].JunValue != "0") { junval = parseInt(dataget[mt].JunValue); datagettotal.push({ label: "Jun", y: parseInt(junval), toolTipContent: "Month : Jun, " + n + "<br />Transaction : " + junval }); } else{ datagettotal.push({ label: "Jun", y: '', toolTipContent: "Month : Jun, " + n + "<br />Transaction : " + junval }); } if(dataget[mt].Julvalue != "" && dataget[mt].Julvalue != null && dataget[mt].Julvalue != "0") { julval = parseInt(dataget[mt].Julvalue); datagettotal.push({ label: "Jul", y: parseInt(julval), toolTipContent: "Month : Jul, " + n + "<br />Transaction : " + julval }); } else{ datagettotal.push({ label: "Jul", y: '', toolTipContent: "Month : Jul, " + n + "<br />Transaction : " + julval }); } if(dataget[mt].AugValue != "" && dataget[mt].AugValue != null && dataget[mt].AugValue != "0") { augval = parseInt(dataget[mt].AugValue); datagettotal.push({ label: "Aug", y: parseInt(augval), toolTipContent: "Month : Aug, " + n + "<br />Transaction : " + augval }); } else{ datagettotal.push({ label: "Aug", y: '', toolTipContent: "Month : Aug, " + n + "<br />Transaction : " + augval }); } if(dataget[mt].SepValue != "" && dataget[mt].SepValue != null && dataget[mt].SepValue != "0") { sepval = parseInt(dataget[mt].SepValue); datagettotal.push({ label: "Sep", y: parseInt(sepval), toolTipContent: "Month : Sep, " + n + "<br />Transaction : " + sepval }); } else{ datagettotal.push({ label: "Sep", y: '', toolTipContent: "Month : Sep, " + n + "<br />Transaction : " + sepval }); } if(dataget[mt].OctValue != "" && dataget[mt].OctValue != null && dataget[mt].OctValue != "0") { octval = parseInt(dataget[mt].OctValue); datagettotal.push({ label: "Oct", y: parseInt(octval), toolTipContent: "Month : Oct, " + n + "<br />Transaction : " + octval }); } else{ datagettotal.push({ label: "Oct", y: '', toolTipContent: "Month : Oct, " + n + "<br />Transaction : " + octval }); } if(dataget[mt].NovValue != "" && dataget[mt].NovValue != null && dataget[mt].NovValue != "0") { novval = parseInt(dataget[mt].NovValue); datagettotal.push({ label: "Nov", y: parseInt(novval), toolTipContent: "Month : Nov, " + n + "<br />Transaction : " + novval }); } else{ datagettotal.push({ label: "Nov", y: '', toolTipContent: "Month : Nov, " + n + "<br />Transaction : " + novval }); } if(dataget[mt].DecValue != "" && dataget[mt].DecValue != null && dataget[mt].DecValue != "0") { decval = parseInt(dataget[mt].DecValue); datagettotal.push({ label: "Dec", y: parseInt(decval), toolTipContent: "Month : Dec, " + n + "<br />Transaction : " + decval }); } else{ datagettotal.push({ label: "Dec", y: '', toolTipContent: "Month : Dec, " + n + "<br />Transaction : " + decval }); } } } } if(datagetto.length > 0) { debugger; for (var mt = 0; mt < datagetto.length; mt++) { var val = datagetto[mt].Type; if(val == "Commercial Property") { var janval =0; var febval =0; var marval =0; var aprval =0; var mayval =0; var junval =0; var julval =0; var augval =0; var sepval =0; var octval =0; var novval =0; var decval =0; if(datagetto[mt].JanValue != "" && datagetto[mt].JanValue != null && datagetto[mt].JanValue != "0") { janval = parseInt(datagetto[mt].JanValue); datagetcommerto.push({ label: "Jan", y: parseInt(janval), toolTipContent: "Month : Jan, " + prev + "<br />Transaction : " + janval }); } else{ datagetcommerto.push({ label: "Jan", y: '', toolTipContent: "Month : Jan, " + prev + "<br />Transaction : " + janval }); } if(datagetto[mt].FebValue != "" && datagetto[mt].FebValue != null && datagetto[mt].FebValue != "0") { febval = parseInt(datagetto[mt].FebValue); datagetcommerto.push({ label: "Feb", y: parseInt(febval), toolTipContent: "Month : Feb, " + prev + "<br />Transaction : " + febval }); } else{ datagetcommerto.push({ label: "Feb", y: '', toolTipContent: "Month : Feb, " + prev + "<br />Transaction : " + febval }); } if(datagetto[mt].MarValue != "" && datagetto[mt].MarValue != null && datagetto[mt].MarValue != "0") { marval = parseInt(datagetto[mt].MarValue); datagetcommerto.push({ label: "Mar", y: parseInt(marval), toolTipContent: "Month : Mar, " + prev + "<br />Transaction : " + marval }); } else{ datagetcommerto.push({ label: "Mar", y: '', toolTipContent: "Month : Mar, " + prev + "<br />Transaction : " + marval }); } if(datagetto[mt].AprValue != "" && datagetto[mt].AprValue != null && datagetto[mt].AprValue != "0") { aprval = parseInt(datagetto[mt].AprValue); datagetcommerto.push({ label: "Apr", y: parseInt(aprval), toolTipContent: "Month : Apr, " + prev + "<br />Transaction : " + aprval }); } else{ datagetcommerto.push({ label: "Apr", y: '', toolTipContent: "Month : Apr, " + prev + "<br />Transaction : " + aprval }); } if(datagetto[mt].MayValue != "" && datagetto[mt].MayValue != null && datagetto[mt].MayValue != "0") { mayval = parseInt(datagetto[mt].MayValue); datagetcommerto.push({ label: "May", y: parseInt(mayval), toolTipContent: "Month : May, " + prev + "<br />Transaction : " + mayval }); } else { datagetcommerto.push({ label: "May", y: '', toolTipContent: "Month : May, " + prev + "<br />Transaction : " + mayval }); } if(datagetto[mt].JunValue != "" && datagetto[mt].JunValue != null && datagetto[mt].JunValue != "0") { junval = parseInt(datagetto[mt].JunValue); datagetcommerto.push({ label: "Jun", y: parseInt(junval), toolTipContent: "Month : Jun, " + prev + "<br />Transaction : " + junval }); } else{ datagetcommerto.push({ label: "Jun", y: '', toolTipContent: "Month : Jun, " + prev + "<br />Transaction : " + junval }); } if(datagetto[mt].Julvalue != "" && datagetto[mt].Julvalue != null && datagetto[mt].Julvalue != "0") { julval = parseInt(datagetto[mt].Julvalue); datagetcommerto.push({ label: "Jul", y: parseInt(julval), toolTipContent: "Month : Jul, " + prev + "<br />Transaction : " + julval }); } else{ datagetcommerto.push({ label: "Jul", y: '', toolTipContent: "Month : Jul, " + prev + "<br />Transaction : " + julval }); } if(datagetto[mt].AugValue != "" && datagetto[mt].AugValue != null && datagetto[mt].AugValue != "0") { augval = parseInt(datagetto[mt].AugValue); datagetcommerto.push({ label: "Aug", y: parseInt(augval), toolTipContent: "Month : Aug, " + prev + "<br />Transaction : " + augval }); } else{ datagetcommerto.push({ label: "Aug", y: '', toolTipContent: "Month : Aug, " + prev + "<br />Transaction : " + augval }); } if(datagetto[mt].SepValue != "" && datagetto[mt].SepValue != null && datagetto[mt].SepValue != "0") { sepval = parseInt(datagetto[mt].SepValue); datagetcommerto.push({ label: "Sep", y: parseInt(sepval), toolTipContent: "Month : Sep, " + prev + "<br />Transaction : " + sepval }); } else{ datagetcommerto.push({ label: "Sep", y: '', toolTipContent: "Month : Sep, " + prev + "<br />Transaction : " + sepval }); } if(datagetto[mt].OctValue != "" && datagetto[mt].OctValue != null && datagetto[mt].OctValue != "0") { octval = parseInt(datagetto[mt].OctValue); datagetcommerto.push({ label: "Oct", y: parseInt(octval), toolTipContent: "Month : Oct, " + prev + "<br />Transaction : " + octval }); } else{ datagetcommerto.push({ label: "Oct", y: '', toolTipContent: "Month : Oct, " + prev + "<br />Transaction : " + octval }); } if(datagetto[mt].NovValue != "" && datagetto[mt].NovValue != null && datagetto[mt].NovValue != "0") { novval = parseInt(datagetto[mt].NovValue); datagetcommerto.push({ label: "Nov", y: parseInt(novval), toolTipContent: "Month : Nov, " + prev + "<br />Transaction : " + novval }); } else{ datagetcommerto.push({ label: "Nov", y: '', toolTipContent: "Month : Nov, " + prev + "<br />Transaction : " + novval }); } if(datagetto[mt].DecValue != "" && datagetto[mt].DecValue != null && datagetto[mt].DecValue != "0") { decval = parseInt(datagetto[mt].DecValue); datagetcommerto.push({ label: "Dec", y: parseInt(decval), toolTipContent: "Month : Dec, " + prev + "<br />Transaction : " + decval }); } else{ datagetcommerto.push({ label: "Dec", y: '', toolTipContent: "Month : Dec, " + prev + "<br />Transaction : " + decval }); } } else if(val == "Residential Property") { var janval =0; var febval =0; var marval =0; var aprval =0; var mayval =0; var junval =0; var julval =0; var augval =0; var sepval =0; var octval =0; var novval =0; var decval =0; if(datagetto[mt].JanValue != "" && datagetto[mt].JanValue != null && datagetto[mt].JanValue != "0") { janval = parseInt(datagetto[mt].JanValue); datagetresidento.push({ label: "Jan", y: parseInt(janval), toolTipContent: "Month : Jan, " + prev + "<br />Transaction : " + janval }); } else{ datagetresidento.push({ label: "Jan", y: '', toolTipContent: "Month : Jan, " + prev + "<br />Transaction : " + janval }); } if(datagetto[mt].FebValue != "" && datagetto[mt].FebValue != null && datagetto[mt].FebValue != "0") { febval = parseInt(datagetto[mt].FebValue); datagetresidento.push({ label: "Feb", y: parseInt(febval), toolTipContent: "Month : Feb, " + prev + "<br />Transaction : " + febval }); } else{ datagetresidento.push({ label: "Feb", y: '', toolTipContent: "Month : Feb, " + prev + "<br />Transaction : " + febval }); } if(datagetto[mt].MarValue != "" && datagetto[mt].MarValue != null && datagetto[mt].MarValue != "0") { marval = parseInt(datagetto[mt].MarValue); datagetresidento.push({ label: "Mar", y: parseInt(marval), toolTipContent: "Month : Mar, " + prev + "<br />Transaction : " + marval }); } else{ datagetresidento.push({ label: "Mar", y: '', toolTipContent: "Month : Mar, " + prev + "<br />Transaction : " + marval }); } if(datagetto[mt].AprValue != "" && datagetto[mt].AprValue != null && datagetto[mt].AprValue != "0") { aprval = parseInt(datagetto[mt].AprValue); datagetresidento.push({ label: "Apr", y: parseInt(aprval), toolTipContent: "Month : Apr, " + prev + "<br />Transaction : " + aprval }); } else{ datagetresidento.push({ label: "Apr", y: '', toolTipContent: "Month : Apr, " + prev + "<br />Transaction : " + aprval }); } if(datagetto[mt].MayValue != "" && datagetto[mt].MayValue != null && datagetto[mt].MayValue != "0") { mayval = parseInt(datagetto[mt].MayValue); datagetresidento.push({ label: "May", y: parseInt(mayval), toolTipContent: "Month : May, " + prev + "<br />Transaction : " + mayval }); } else{ datagetresidento.push({ label: "May", y: '', toolTipContent: "Month : May, " + prev + "<br />Transaction : " + mayval }); } if(datagetto[mt].JunValue != "" && datagetto[mt].JunValue != null && datagetto[mt].JunValue != "0") { junval = parseInt(datagetto[mt].JunValue); datagetresidento.push({ label: "Jun", y: parseInt(junval), toolTipContent: "Month : Jun, " + prev + "<br />Transaction : " + junval }); } else{ datagetresidento.push({ label: "Jun", y: '', toolTipContent: "Month : Jun, " + prev + "<br />Transaction : " + junval }); } if(datagetto[mt].Julvalue != "" && datagetto[mt].Julvalue != null && datagetto[mt].Julvalue != "0") { julval = parseInt(datagetto[mt].Julvalue); datagetresidento.push({ label: "Jul", y: parseInt(julval), toolTipContent: "Month : Jul, " + prev + "<br />Transaction : " + julval }); } else{ datagetresidento.push({ label: "Jul", y: '', toolTipContent: "Month : Jul, " + prev + "<br />Transaction : " + julval }); } if(datagetto[mt].AugValue != "" && datagetto[mt].AugValue != null && datagetto[mt].AugValue != "0") { augval = parseInt(datagetto[mt].AugValue); datagetresidento.push({ label: "Aug", y: parseInt(augval), toolTipContent: "Month : Aug, " + prev + "<br />Transaction : " + augval }); } else{ datagetresidento.push({ label: "Aug", y: '', toolTipContent: "Month : Aug, " + prev + "<br />Transaction : " + augval }); } if(datagetto[mt].SepValue != "" && datagetto[mt].SepValue != null && datagetto[mt].SepValue != "0") { sepval = parseInt(datagetto[mt].SepValue); datagetresidento.push({ label: "Sep", y: parseInt(sepval), toolTipContent: "Month : Sep, " + prev + "<br />Transaction : " + sepval }); } else{ datagetresidento.push({ label: "Sep", y: '', toolTipContent: "Month : Sep, " + prev + "<br />Transaction : " + sepval }); } if(datagetto[mt].OctValue != "" && datagetto[mt].OctValue != null && datagetto[mt].OctValue != "0") { octval = parseInt(datagetto[mt].OctValue); datagetresidento.push({ label: "Oct", y: parseInt(octval), toolTipContent: "Month : Oct, " + prev + "<br />Transaction : " + octval }); } else{ datagetresidento.push({ label: "Oct", y: '', toolTipContent: "Month : Oct, " + prev + "<br />Transaction : " + octval }); } if(datagetto[mt].NovValue != "" && datagetto[mt].NovValue != null && datagetto[mt].NovValue != "0") { novval = parseInt(datagetto[mt].NovValue); datagetresidento.push({ label: "Nov", y: parseInt(novval), toolTipContent: "Month : Nov, " + prev + "<br />Transaction : " + novval }); } else{ datagetresidento.push({ label: "Nov", y: '', toolTipContent: "Month : Nov, " + prev + "<br />Transaction : " + novval }); } if(datagetto[mt].DecValue != "" && datagetto[mt].DecValue != null && datagetto[mt].DecValue != "0") { decval = parseInt(datagetto[mt].DecValue); datagetresidento.push({ label: "Dec", y: parseInt(decval), toolTipContent: "Month : Dec, " + prev + "<br />Transaction : " + decval }); } else{ datagetresidento.push({ label: "Dec", y: '', toolTipContent: "Month : Dec, " + prev + "<br />Transaction : " + decval }); } } else if(val == "Vacant land") { var janval =0; var febval =0; var marval =0; var aprval =0; var mayval =0; var junval =0; var julval =0; var augval =0; var sepval =0; var octval =0; var novval =0; var decval =0; if(datagetto[mt].JanValue != "" && datagetto[mt].JanValue != null && datagetto[mt].JanValue != "0") { janval = parseInt(datagetto[mt].JanValue); datagetvacentto.push({ label: "Jan", y: parseInt(janval), toolTipContent: "Month : Jan, " + prev + "<br />Transaction : " + janval }); } else { datagetvacentto.push({ label: "Jan", y: '', toolTipContent: "Month : Jan, " + prev + "<br />Transaction : " + janval }); } if(datagetto[mt].FebValue != "" && datagetto[mt].FebValue != null && datagetto[mt].FebValue != "0") { febval = parseInt(datagetto[mt].FebValue); datagetvacentto.push({ label: "Feb", y: parseInt(febval), toolTipContent: "Month : Feb, " + prev + "<br />Transaction : " + febval }); } else{ datagetvacentto.push({ label: "Feb", y: '', toolTipContent: "Month : Feb, " + prev + "<br />Transaction : " + febval }); } if(datagetto[mt].MarValue != "" && datagetto[mt].MarValue != null && datagetto[mt].MarValue != "0") { marval = parseInt(datagetto[mt].MarValue); datagetvacentto.push({ label: "Mar", y: parseInt(marval), toolTipContent: "Month : Mar, " + prev + "<br />Transaction : " + marval }); } else{ datagetvacentto.push({ label: "Mar", y: '', toolTipContent: "Month : Mar, " + prev + "<br />Transaction : " + marval }); } if(datagetto[mt].AprValue != "" && datagetto[mt].AprValue != null && datagetto[mt].AprValue != "0") { aprval = parseInt(datagetto[mt].AprValue); datagetvacentto.push({ label: "Apr", y: parseInt(aprval), toolTipContent: "Month : Apr, " + prev + "<br />Transaction : " + aprval }); } else{ datagetvacentto.push({ label: "Apr", y: '', toolTipContent: "Month : Apr, " + prev + "<br />Transaction : " + aprval }); } if(datagetto[mt].MayValue != "" && datagetto[mt].MayValue != null && datagetto[mt].MayValue != "0") { mayval = parseInt(datagetto[mt].MayValue); datagetvacentto.push({ label: "May", y: parseInt(mayval), toolTipContent: "Month : May, " + prev + "<br />Transaction : " + mayval }); } else{ datagetvacentto.push({ label: "May", y: '', toolTipContent: "Month : May, " + prev + "<br />Transaction : " + mayval }); } if(datagetto[mt].JunValue != "" && datagetto[mt].JunValue != null && datagetto[mt].JunValue != "0") { junval = parseInt(datagetto[mt].JunValue); datagetvacentto.push({ label: "Jun", y: parseInt(junval), toolTipContent: "Month : Jun, " + prev + "<br />Transaction : " + junval }); } else{ datagetvacentto.push({ label: "Jun", y: '', toolTipContent: "Month : Jun, " + prev + "<br />Transaction : " + junval }); } if(datagetto[mt].Julvalue != "" && datagetto[mt].Julvalue != null && datagetto[mt].Julvalue != "0") { julval = parseInt(datagetto[mt].Julvalue); datagetvacentto.push({ label: "Jul", y: parseInt(julval), toolTipContent: "Month : Jul, " + prev + "<br />Transaction : " + julval }); } else{ datagetvacentto.push({ label: "Jul", y: '', toolTipContent: "Month : Jul, " + prev + "<br />Transaction : " + julval }); } if(datagetto[mt].AugValue != "" && datagetto[mt].AugValue != null && datagetto[mt].AugValue != "0") { augval = parseInt(datagetto[mt].AugValue); datagetvacentto.push({ label: "Aug", y: parseInt(augval), toolTipContent: "Month : Aug, " + prev + "<br />Transaction : " + augval }); } else{ datagetvacentto.push({ label: "Aug", y: '', toolTipContent: "Month : Aug, " + prev + "<br />Transaction : " + augval }); } if(datagetto[mt].SepValue != "" && datagetto[mt].SepValue != null && datagetto[mt].SepValue != "0") { sepval = parseInt(datagetto[mt].SepValue); datagetvacentto.push({ label: "Sep", y: parseInt(sepval), toolTipContent: "Month : Sep, " + prev + "<br />Transaction : " + sepval }); } else{ datagetvacentto.push({ label: "Sep", y: '', toolTipContent: "Month : Sep, " + prev + "<br />Transaction : " + sepval }); } if(datagetto[mt].OctValue != "" && datagetto[mt].OctValue != null && datagetto[mt].OctValue != "0") { octval = parseInt(datagetto[mt].OctValue); datagetvacentto.push({ label: "Oct", y: parseInt(octval), toolTipContent: "Month : Oct, " + prev + "<br />Transaction : " + octval }); } else{ datagetvacentto.push({ label: "Oct", y: '', toolTipContent: "Month : Oct, " + prev + "<br />Transaction : " + octval }); } if(datagetto[mt].NovValue != "" && datagetto[mt].NovValue != null && datagetto[mt].NovValue != "0") { novval = parseInt(datagetto[mt].NovValue); datagetvacentto.push({ label: "Nov", y: parseInt(novval), toolTipContent: "Month : Nov, " + prev + "<br />Transaction : " + novval }); } else{ datagetvacentto.push({ label: "Nov", y: '', toolTipContent: "Month : Nov, " + prev + "<br />Transaction : " + novval }); } if(datagetto[mt].DecValue != "" && datagetto[mt].DecValue != null && datagetto[mt].DecValue != "0") { decval = parseInt(datagetto[mt].DecValue); datagetvacentto.push({ label: "Dec", y: parseInt(decval), toolTipContent: "Month : Dec, " + prev + "<br />Transaction : " + decval }); } else{ datagetvacentto.push({ label: "Dec", y: '', toolTipContent: "Month : Dec, " + prev + "<br />Transaction : " + decval }); } } else if(val == "Total") { var janval =0; var febval =0; var marval =0; var aprval =0; var mayval =0; var junval =0; var julval =0; var augval =0; var sepval =0; var octval =0; var novval =0; var decval =0; if(datagetto[mt].JanValue != "" && datagetto[mt].JanValue != null && datagetto[mt].JanValue != "0") { janval = parseInt(datagetto[mt].JanValue); datagettotalto.push({ label: "Jan", y: parseInt(janval), toolTipContent: "Month : Jan, " + prev + "<br />Transaction : " + janval }); } else{ datagettotalto.push({ label: "Jan", y: '', toolTipContent: "Month : Jan, " + prev + "<br />Transaction : " + janval }); } if(datagetto[mt].FebValue != "" && datagetto[mt].FebValue != null && datagetto[mt].FebValue != "0") { febval = parseInt(datagetto[mt].FebValue); datagettotalto.push({ label: "Feb", y: parseInt(febval), toolTipContent: "Month : Feb, " + prev + "<br />Transaction : " + febval }); } else{ datagettotalto.push({ label: "Feb", y: '', toolTipContent: "Month : Feb, " + prev + "<br />Transaction : " + febval }); } if(datagetto[mt].MarValue != "" && datagetto[mt].MarValue != null && datagetto[mt].MarValue != "0") { marval = parseInt(datagetto[mt].MarValue); datagettotalto.push({ label: "Mar", y: parseInt(marval), toolTipContent: "Month : Mar, " + prev + "<br />Transaction : " + marval }); } else{ datagettotalto.push({ label: "Mar", y: '', toolTipContent: "Month : Mar, " + prev + "<br />Transaction : " + marval }); } if(datagetto[mt].AprValue != "" && datagetto[mt].AprValue != null && datagetto[mt].AprValue != "0") { aprval = parseInt(datagetto[mt].AprValue); datagettotalto.push({ label: "Apr", y: parseInt(aprval), toolTipContent: "Month : Apr, " + prev + "<br />Transaction : " + aprval }); } else{ datagettotalto.push({ label: "Apr", y: '', toolTipContent: "Month : Apr, " + prev + "<br />Transaction : " + aprval }); } if(datagetto[mt].MayValue != "" && datagetto[mt].MayValue != null && datagetto[mt].MayValue != "0") { mayval = parseInt(datagetto[mt].MayValue); datagettotalto.push({ label: "May", y: parseInt(mayval), toolTipContent: "Month : May, " + prev + "<br />Transaction : " + mayval }); } else{ datagettotalto.push({ label: "May", y: '', toolTipContent: "Month : May, " + prev + "<br />Transaction : " + mayval }); } if(datagetto[mt].JunValue != "" && datagetto[mt].JunValue != null && datagetto[mt].JunValue != "0") { junval = parseInt(datagetto[mt].JunValue); datagettotalto.push({ label: "Jun", y: parseInt(junval), toolTipContent: "Month : Jun, " + prev + "<br />Transaction : " + junval }); } else{ datagettotalto.push({ label: "Jun", y: '', toolTipContent: "Month : Jun, " + prev + "<br />Transaction : " + junval }); } if(datagetto[mt].Julvalue != "" && datagetto[mt].Julvalue != null && datagetto[mt].Julvalue != "0") { julval = parseInt(datagetto[mt].Julvalue); datagettotalto.push({ label: "Jul", y: parseInt(julval), toolTipContent: "Month : Jul, " + prev + "<br />Transaction : " + julval }); } else{ datagettotalto.push({ label: "Jul", y: '', toolTipContent: "Month : Jul, " + prev + "<br />Transaction : " + julval }); } if(datagetto[mt].AugValue != "" && datagetto[mt].AugValue != null && datagetto[mt].AugValue != "0") { augval = parseInt(datagetto[mt].AugValue); datagettotalto.push({ label: "Aug", y: parseInt(augval), toolTipContent: "Month : Aug, " + prev + "<br />Transaction : " + augval }); } else{ datagettotalto.push({ label: "Aug", y: '', toolTipContent: "Month : Aug, " + prev + "<br />Transaction : " + augval }); } if(datagetto[mt].SepValue != "" && datagetto[mt].SepValue != null && datagetto[mt].SepValue != "0") { sepval = parseInt(datagetto[mt].SepValue); datagettotalto.push({ label: "Sep", y: parseInt(sepval), toolTipContent: "Month : Sep, " + prev + "<br />Transaction : " + sepval }); } else{ datagettotalto.push({ label: "Sep", y: '', toolTipContent: "Month : Sep, " + prev + "<br />Transaction : " + sepval }); } if(datagetto[mt].OctValue != "" && datagetto[mt].OctValue != null && datagetto[mt].OctValue != "0") { octval = parseInt(datagetto[mt].OctValue); datagettotalto.push({ label: "Oct", y: parseInt(octval), toolTipContent: "Month : Oct, " + prev + "<br />Transaction : " + octval }); } else{ datagettotalto.push({ label: "Oct", y: '', toolTipContent: "Month : Oct, " + prev + "<br />Transaction : " + octval }); } if(datagetto[mt].NovValue != "" && datagetto[mt].NovValue != null && datagetto[mt].NovValue != "0") { novval = parseInt(datagetto[mt].NovValue); datagettotalto.push({ label: "Nov", y: parseInt(novval), toolTipContent: "Month : Nov, " + prev + "<br />Transaction : " + novval }); } else{ datagettotalto.push({ label: "Nov", y: '', toolTipContent: "Month : Nov, " + prev + "<br />Transaction : " + novval }); } if(datagetto[mt].DecValue != "" && datagetto[mt].DecValue != null && datagetto[mt].DecValue != "0") { decval = parseInt(datagetto[mt].DecValue); datagettotalto.push({ label: "Dec", y: parseInt(decval), toolTipContent: "Month : Dec, " + prev + "<br />Transaction : " + decval }); } else{ datagettotalto.push({ label: "Dec", y: '', toolTipContent: "Month : Dec, " + prev + "<br />Transaction : " + decval }); } } } } debugger; var fromval = n.toString(); var toval = prev.toString(); var chart = new CanvasJS.Chart("chartContainer", { title:{ // text: "Monthly property sold per number" }, width:1600, height:449, data: [ { type: "spline", lineThickness: 5, showInLegend: true, legendText: fromval, dataPoints : datagettotal }, { type: "spline", lineThickness: 5, showInLegend: true, legendText: toval, dataPoints : datagettotalto } ] }); chart.render(); var chart = new CanvasJS.Chart("chartContainercommercial", { title:{ // text: "Monthly property sold per number" }, width:1600, height:449, data: [ { type: "spline", lineThickness: 5, showInLegend: true, legendText: fromval, dataPoints : datagetcommer }, { type: "spline", lineThickness: 5, showInLegend: true, legendText: toval, dataPoints : datagetcommerto } ] }); chart.render(); var chart = new CanvasJS.Chart("chartContainerresidential", { title:{ // text: "Monthly property sold per number" }, width:1600, height:449, data: [ { type: "spline", lineThickness: 5, showInLegend: true, legendText: fromval, dataPoints : datagetresiden }, { type: "spline", lineThickness: 5, showInLegend: true, legendText: toval, dataPoints : datagetresidento } ] }); chart.render(); var chart = new CanvasJS.Chart("chartContainervacant", { title:{ // text: "Monthly property sold per number" }, width:1600, height:449, data: [ { type: "spline", lineThickness: 5, showInLegend: true, legendText: fromval, dataPoints : datagetvacent }, { type: "spline", lineThickness: 5, showInLegend: true, legendText: toval, dataPoints : datagetvacentto } ] }); chart.render(); } }); </script> <!-- user my account script ends--> <!--email newsletter starts--> <script type="text/javascript"> $('.subscribe').click('on',function(e){ var email1 = $('#emailsubscription').val(); var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if(email1 == ''){ //alert('1'); $('.emailmessage').text("Please Enter the Email Id").css('color','red'); } else if(!filter.test(emailsubscription.value)){ //alert(emailsubscription.value); $('.emailmessage').text("Please Enter the Valid Email Id").css('color','red'); //return false; } else if((email1 != '') && (filter.test(emailsubscription.value)==true)){ //alert('3'); $.ajax({ url:"https://www.steps.com.qa/index.php/index/insert_emailsubscription", type: "POST", data:{'email':email1}, success:function(data) { if(data =='success'){ $('.emailmessage').html('Thanks For Subscribing').css('color','green'); } else { $('.emailmessage').html('Email Id already Exist').css('color','red'); } } }); } e.preventDefault(); }); $("#enquirymobile").keypress(function (e) { if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) { return false; } }); </script> <!--email newsletter ends--> <script type="text/javascript"> $('#onlynumber').bind('keypress', function (e) { return (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57) && e.which != 46) ? false : true; }); </script> <script type="text/javascript"> function check(e,value){ //Check Charater var unicode=e.charCode? e.charCode : e.keyCode; if (value.indexOf(".") != -1)if( unicode == 46 )return false; if (unicode!=8)if((unicode<48||unicode>57)&&unicode!=46)return false; } function checkLength(){ var fieldLength = document.getElementById('txtF').value.length; //Suppose u want 4 number of character if(fieldLength <= 12){ return true; } else { var str = document.getElementById('txtF').value; str = str.substring(0, str.length - 1); document.getElementById('txtF').value = str; } } </script> <script type="text/javascript"> function check1(e,value){ //Check Charater var unicode=e.charCode? e.charCode : e.keyCode; if (value.indexOf(".") != -1)if( unicode == 46 )return false; if (unicode!=8)if((unicode<48||unicode>57)&&unicode!=46)return false; } function checkLength1(){ var fieldLength = document.getElementById('txtF1').value.length; //Suppose u want 4 number of character if(fieldLength <= 15){ return true; } else { var str = document.getElementById('txtF1').value; str = str.substring(0, str.length - 1); document.getElementById('txtF1').value = str; } } </script> <script type="text/javascript"> $( document ).ready(function() { $( ".txtOnly" ).keypress(function(e) { var key = e.keyCode; if (key >= 48 && key <= 57) { e.preventDefault(); } }); }); </script> <!-- price range starts --> <script type="text/javascript"> $(document).ready(function(){ $('#facet-price-list-min li').on('click',function(){ var result = $(this).text(); $('#facet-input-min').val(result); $('#facet-price-list-max').removeClass('hide'); $('#facet-price-list-min').addClass('hide'); $('.result1').val(result); event.stopPropagation(); }); }); </script> <script type='text/javascript'> $(window).load(function(){ $('input.number').keyup(function(event) { // skip for arrow keys if(event.which >= 37 && event.which <= 40){ event.preventDefault(); } $(this).val(function(index, value) { return value .replace(/\D/g, '') .replace(/\B(?=(\d{3})+(?!\d))/g, ",") ; }); }); }); </script> <script type="text/javascript"> $(document).ready(function(){ $('#facet-price-list-max li').on('click',function(){ var result = $(this).text(); var result2 = $('.result1').val(); var final = 'QAR ' + result2 +' - '+ 'QAR ' +result; $('#facet-input-max').val(result); $('#facet-price-list-min').removeClass('hide'); $('#facet-price-list-max').addClass('hide'); $('#dropdownMenu2').text(final); }); }); </script> <!-- price range end --> <!-- landlord registration contact starts--> <script type="text/javascript"> $('#contact-form').validate({ rules: { name: { required: true }, address: { required: true }, mobile: { required: true, number: true, remote: { url: "https://www.steps.com.qa/index.php/index/checklandlordmobile", type: "post", data: { mobile: function(){ return $("#txtF").val(); } } } }, email:{ required: true, email: true }, type: { required: true }, value: { required: true } }, messages:{ name:{ required: "Please Enter the Name" }, address:{ required: "Please Enter the Address" }, mobile:{ required: "Please Enter the Mobile Number", number: "Please Enter the Number format", remote: "Please Contact Number Already Exist" }, email:{ required: "Please Enter the Email Id", email: "Please Enter the Valid Email Id" }, type:{ required: "Please Select the Property Type" }, value:{ required: "Please Enter the Value" } }, highlight: function (element) { $(element).closest('.form-control').removeClass('success').addClass('error'); }, success: function (element) { /* element.text('OK!').addClass('valid') .closest('.control-group').removeClass('error').addClass('success'); */ } }); </script> <!-- landlord registration contact ends--> <!-- contact form starts--> <script type="text/javascript"> $('#contact').validate({ rules: { firstname: { required: true }, lastname: { required: true }, email: { required: true, email: true }, mobile: { required: true, number: true }, subject: { minlength: 5 } }, messages:{ firstname:{ required: "Please Enter the First Name" }, lastname:{ required: "Please Enter the Last Name" }, email:{ required: "Please Enter the Email Id", email:"Please Enter the Valid Email Id" }, mobile:{ required: "Please Enter the Mobile Number" }, subject:{ minlength: "Please Minimum Length 5" } }, highlight: function (element) { $(element).closest('.form-control').removeClass('success').addClass('error'); }, success: function (element) { /* element.text('OK!').addClass('valid') .closest('.control-group').removeClass('error').addClass('success'); */ } }); $('#contact1').validate({ rules: { enquiryname: { required: true }, enquiryemail: { required: true, email: true }, enquirymobile: { required: true, number: true, maxlength:8, minlength:8 } }, messages:{ enquiryname:{ required: "Please Enter the First Name" }, enquiryemail:{ required: "Please Enter the Email Id", email:"Please Enter the Valid Email Id" }, enquirymobile:{ required: "Please Enter the Mobile Number", maxlength: '8', minlength: '8', } }, highlight: function (element) { $(element).closest('.form-control').removeClass('success').addClass('error'); }, success: function (element) { /* element.text('OK!').addClass('valid') .closest('.control-group').removeClass('error').addClass('success'); */ } }); </script> <!-- contact form ends--> <!--Registeration validation starts--> <script type="text/javascript"> $(document).ready(function(){ $('#divcompany').hide(); $('#person').on('change', function() { if (this.value == 'company') { $('#divcompany').show(); } else { $('#divcompany').hide(); } }); }); </script> <script type="text/javascript"> $('#register_form').validate({ rules: { type: { required: true }, name: { required: true }, address: { required: true }, mobile: { required: true, number: true }, company: { required: true }, email1: { required: true, email: true, remote: { url: "checkusername", type: "post", data: { email1: function(){ return $("#email1").val(); } } } }, password: { required: true, minlength: 6 } }, messages: { type:{ required: "Please Select the Type" }, name:{ required: "Please Enter the Name" }, address:{ required: "Please Enter the Address" }, mobile:{ required: "Please Enter the Mobile Number", number: "Please Enter the Number format" }, company:{ required:"Please Enter the Company Name" }, email1: { required:"Please Enter the Email Id", email:"Please Enter the Valid Email Id", remote: "Email Id already Exist" }, password:{ required:"Please Enter the Password", minlength:"Password length between 6-12 characters" } }, highlight: function (element) { $(element).closest('.form-control').removeClass('success').addClass('error'); }, success: function (element) { /* element.text('OK!').addClass('valid') .closest('.control-group').removeClass('error').addClass('success'); */ } }); </script> <!--Registeration validation ends--> <!-- login validation starts--> <script type="text/javascript"> $(document).ready(function(){ $('#login_form').validate({ rules: { email: { required: true, email: true }, password: { required: true } }, messages:{ email: { required: "Please Enter the Email Id", email: "Please Enter the Valid Email Id" }, password:{ required:"Please Enter the Password" } }, highlight: function (element) { $(element).closest('.form-control').removeClass('success').addClass('error'); }, success: function (element) { /* element.text('OK!').addClass('valid') .closest('.control-group').removeClass('error').addClass('success'); */ } }); }); </script> <!-- login validation ends --> <!-- job apply form validation starts--> <script type="text/javascript"> var validationSucess = false; $('#jobapply').validate({ rules: { name: { required: true }, // address: { // required: true // }, mobile: { required: true, number: true }, email: { required: true, email: true }, userfile: { required: true, extension: "docx|pdf" } }, messages:{ name: { required: "Please Enter the Name" }, // address: { // required: "Please Enter the Address" // }, mobile:{ required: "Please Enter the Mobile Number", }, email:{ required: "Please Enter the Email Id", email: "Please Enter the Valid Email Id" }, userfile:{ required: "Please Upload Your Resume", extension: "Send File as word or pdf" } }, highlight: function (element) { $(element).closest('.form-control').removeClass('success').addClass('error'); }, success: function (element) { validationSucess = true; /* element.text('OK!').addClass('valid') .closest('.control-group').removeClass('error').addClass('success'); */ }, submitHandler: function(form, event) { validationSucess = false; event.preventDefault(); alert("Error Occured!."); } }); $("#formaddadvertise").validate({ rules: { "location": { required: true }, "from_date": { required: true, }, "to_date": { required: true, }, "userfile": { required: true }, "ad_link":{ required:true, url:true } }, messages: { "location": { required: "Please Select the Location" }, "from_date": { required: "Please Select the From Date", }, "to_date": { required: "Please Select the To Date", }, "userfile": { required: "Please Select the Image" }, "ad_link":{ required:"Please enter the Advertisement Link", url:"Please enter a valid Advertisement Link" } } }); $("#from1").datepicker({ format: "dd-M-yyyy",autoclose:true,clearBtn:true }).on('changeDate', function (selected) { if( typeof selected.date !=='undefined' ){ var minDate = new Date(selected.date.valueOf()); $('#to1').datepicker('setStartDate', minDate); } $(this).trigger('blur'); }); $("#to1").datepicker({format: "dd-M-yyyy",autoclose:true,clearBtn:true}) .on('changeDate', function (selected) { if( typeof selected.date !=='undefined' ){ var minDate = new Date(selected.date.valueOf()); $('#from1').datepicker('setEndDate', minDate); } $(this).trigger('blur'); }); </script> <!-- job apply form validation ends--> <!-- search page script starts--> <!-- search page script ends--> <script type="text/javascript"> $('.phone').click(function(){ // //$ (this).text('974 44687461'); }); </script> <script type="text/javascript"> var selectedList = []; $(document).ready(function() { var LocationList = null; var tags = $(".tm-input").tagsManager({prefilled: []}); // Check if there is any pre-loaded location coming from previous page var autoValobj = $("#auto_value").val(); var separator = ','; var hiddenTagsObj = $("[name='hidden-tags']").val(); if(autoValobj!=null && autoValobj.length > 0) { if(selectedList!=null) { var locIDs = autoValobj.split(separator); var locNames = hiddenTagsObj.split(separator); for(var i = 0 ; i < locIDs.length ; i++) { var selectedItem = { id:locIDs[i] , name: locNames[i]}; selectedList.push(selectedItem); } } } // Check if there is any pre-loaded location coming from previous page var split = function (val) { return val.split(/\s*[,;]\s*/); }; var extractLast = function (term) { return split(term).pop(); }; $('.tm-input').typeahead({ minLength: 1, source: function (query, process) { return $.ajax({ url: 'https://www.steps.com.qa/index.php/master/get_location_value', type: 'post', data: { query: query }, dataType: 'json', success: function (result){ var resultList = result.message.map(function (item) { var aItem = { id: item.value, name: item.label }; //$('#auto_value').val(aItem.id); //return JSON.stringify(aItem); return aItem; }); LocationList = resultList; return process(resultList); } }); }, afterSelect :function (obj){ tags.tagsManager("pushTag", obj); selectedLoc = LocationList.filter(x => x.name === obj.toString()); selectedLocID = selectedLoc[0].id; var selectedItem = { id:selectedLocID , name: obj.toString()}; if(selectedList.filter(x=>x.id===selectedLocID).length===0) { selectedList.push(selectedItem); } //add value to hidden(#auto_value) textbox upon value select var resultObj = $("#auto_value"); var stringToAppend = resultObj.val().length > 0 ? resultObj.val() + "," : ""; resultObj.val( stringToAppend + selectedLocID); // Restrict duplicate added var separator = ','; var list = resultObj.val(); var valuesArr = list.split(separator); var unique = valuesArr.filter(function(itm, i, valuesArr) { return i == valuesArr.indexOf(itm); }); resultObj.val(unique); return obj; }, matcher: function (obj) { //var item = JSON.parse(obj); var item=obj; return ~item.name.toLowerCase().indexOf(this.query.toLowerCase()) }, sorter: function (items) { var beginswith = [], caseSensitive = [], caseInsensitive = [], item; while (aItem = items.shift()) { //var item = JSON.parse(aItem); var item = aItem; if (!item.name.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(JSON.stringify(item)); else if (~item.name.indexOf(this.query)) caseSensitive.push(JSON.stringify(item)); else caseInsensitive.push(JSON.stringify(item)); } return beginswith.concat(caseSensitive, caseInsensitive) }, highlighter: function (obj) { //var item = JSON.parse(obj); var item = obj; var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&') return JSON.parse(item).name.replace(new RegExp('(' + query + ')', 'ig'), function ($1, match) { return '<strong>' + match + '</strong>' }) }, updater: function (obj) { var item = JSON.parse(obj); //var item = obj; return item.name; } }); }); </script> <script type="text/javascript"> function my_implode_js(separator,array){ var temp = ''; for(var i=0;i<array.length;i++){ temp += array[i] if(i!=array.length-1){ temp += separator ; } }//end of the for loop return temp; }// function removeautoval(d){ // Updated method to fix the issue with Location not set in Auto_Value hidden field --- May 9 2019 var locToRemove = d.previousElementSibling.textContent; var locIdToRemove = selectedList.filter(x=>x.name===locToRemove)[0].id; var separator = ','; var list = $("#auto_value").val(); var updatedVal = ''; if(list.indexOf(separator) < 0) { // } else { var values = list.split(separator); values = jQuery.grep(values, function(value) { return value != locIdToRemove; }); for(var i = 0 ; i < values.length ; i++) { if(i===0) { updatedVal = values[i]; } else { updatedVal = updatedVal + separator + values[i]; } } } //var autovalue = my_implode_js(',',values); $('#auto_value').val(updatedVal); // Updated method to fix the issue with Location not set in Auto_Value hidden field --- May 9 2019 } </script> <script type="text/javascript"> $(document).ready(function() { $('.step1').click(function(){ $('.step1 img').addClass('active1'); $('.step2 img').removeClass('active1'); $('.step3 img').removeClass('active1'); //Insert event handling logic }) $('.step2').click(function(){ $('.step1 img').removeClass('active1'); $('.step2 img').addClass('active1'); $('.step3 img').removeClass('active1'); //Insert event handling logic }) $('.step3').click(function(){ $('.step1 img').removeClass('active1'); $('.step2 img').removeClass('active1'); $('.step3 img').addClass('active1'); //Insert event handling logic }) $("#owl-demo").owlCarousel({ navigation : true, // Show next and prev buttons slideSpeed : 300, paginationSpeed : 400, singleItem:true, }); $("#footerAdvertisemnt").owlCarousel({ navigation : true, // Show next and prev buttons slideSpeed : 300, paginationSpeed : 400, singleItem:true, pagination: false, navigation : false, }); }); </script> <script type="text/javascript"> $(document).ready(function() { $("#prop-smlr-slide_0").owlCarousel({ slideSpeed : 300, paginationSpeed : 400, singleItem:true, navigation : true, }); }); $(document).ready(function() { $("#owl-demo-properties2,#prop-smlr-slide_0").owlCarousel({ slideSpeed : 300, paginationSpeed : 400, singleItem:true, navigation : false, }); }); $(document).ready(function() { $("#home_top_property").owlCarousel({ autoPlay: 6000, //Set AutoPlay to 3 seconds items : 4, lazyLoad : true, loop: true, pagination: false, navigation : false, scrollPerPage : true }); $("#home_topluxury_property").owlCarousel({ autoPlay: 6000, //Set AutoPlay to 3 seconds items : 4, lazyLoad : true, loop: true, pagination: false, navigation : false, scrollPerPage : true, }); }); </script> <script type="text/javascript"> $(document).ready(function() { $("#prop-smlr-slide_0").owlCarousel({ slideSpeed : 300, paginationSpeed : 400, singleItem:true, navigation : true, navigationText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"] }); //Custom Navigation Events $(".customNavigation .btn.btn-primary.next").click(function(){ $("#owl-properties").trigger('owl.next'); }) $(".customNavigation .btn.btn-primary.prev").click(function(){ $("#owl-properties").trigger('owl.prev'); }) }); $('.custom-control').on('click', 'button', function() { var $this = $(this); var slideNum = $(this).data('slide'); $("#owl-example").trigger('owl.goTo', slideNum); }); function moved() { var owl = $("#owl-example").data('owlCarousel'); var $buttons = $('.custom-control button'); $buttons.removeClass('active').removeAttr('disabled'); $('.custom-control').find('[data-slide="'+owl.currentItem +'"]').addClass('active').attr('disabled', 'disabled'); } $(document).ready(function() { $("#owl-demo1,#owl-demo-properties2").owlCarousel({ slideSpeed : 300, paginationSpeed : 400, singleItem:true, navigation : false, }); }); $(document).ready(function() { $("#home_top_property").owlCarousel({ autoPlay: 6000, //Set AutoPlay to 3 seconds items : 4, lazyLoad : true, loop: true, pagination: false, navigation : false, scrollPerPage : true }); $("#home_topluxury_property").owlCarousel({ autoPlay: 6000, //Set AutoPlay to 3 seconds items : 4, lazyLoad : true, loop: true, pagination: false, navigation : false, scrollPerPage : true, }); }); </script> <script type="text/javascript"> $(function() { $('#main-slider').flexslider({ animation: "slide", slideshow: true, directionNav: false, controlNav: true }); $('#nav-slider').flexslider({ directionNav: false, slideshow: false, sync: '#main-slider', manualControls: ".slide_controll a", controlsContainer: ".flexy" }); }) function changeurl() { var cat = $('#category').val(); var auto = $('#auto_value').val(); var prop_type = $("#propertytype").val(); var ref = $('#refer').val(); var min_price = $('#facet-input-min').val(); var max_price = $('#facet-input-max').val(); var min_bed = $('#min_bed').val(); var max_bed = $('#max_bed').val(); var maxarea = $('#maxarea').val(); var minarea = $('#minarea').val(); //alert(auto); //Luxury Futures var luxury = 0; var sessionuid = 0; if ($('body').find("#luxury").is(":checked")) { luxury = 1; } if(cat == null || cat == "" || cat == 0 || cat == undefined) { cat = "0"; } if(auto == null || auto == "" || auto == 0 || auto == undefined) { auto = "0"; } if(prop_type == null || prop_type == "" || prop_type == 0 || prop_type == undefined) { prop_type = "0"; } if(ref == null || ref == "" || ref == 0 || ref == undefined) { ref = "0"; } if(min_price == null || min_price == "" || min_price == 0 || min_price == undefined) { min_price = "0"; } if(max_price == null || max_price == "" || max_price == 0 || max_price == undefined) { max_price = "0"; } if(min_bed == null || min_bed == "" || min_bed == 0 || min_bed == undefined) { min_bed = "0"; } if(max_bed == null || max_bed == "" || max_bed == 0 || max_bed == undefined) { max_bed = "0"; } if(maxarea == null || maxarea == "" || maxarea == 0 || maxarea == undefined) { maxarea = "0"; } if(minarea == null || minarea == "" || minarea == 0 || minarea == undefined) { minarea = "0"; } var replref = ref.replace("/", "-"); replref = replref.replace("/", "-"); replref = replref.replace("/", "-"); replref = replref.replace("/", "-"); var replauto = auto.replace(/,/g, "-"); var url = "/index/smartsearch/"+cat+"/"+replauto+"/"+prop_type+"/"+replref+"/"+min_price+"/"+max_price+"/"+min_bed+"/"+max_bed+"/"+sessionuid+"/"+minarea+"/"+maxarea+"/"+luxury; var curr = window.location.href ; var newResult = curr.substring(0, curr.lastIndexOf("/smartsearch") ); var newurl = curr + url; //document.getElementById("formhome").action = newurl; } </script> <!-- myaccount --> <script type="text/javascript"> </script> <script type="text/javascript"> //property page set rent and buy condition $(document).ready(function() { }); </script> <script type="text/javascript"> $('.search-form-icon').click(function(){ var cat = $('#category').val(); var auto = $('#auto_value').val(); //alert("IN2"); $.ajax({ url:"https://www.steps.com.qa/index.php/index/searchresult", type: "POST", data:{'category':cat,'setuserid':sessionuid}, success:function(data) { $('#list-type').html(data); setPropertyTitle(); } }); //alert(cat+auto); }); </script> <!-- get value from db without page refresh start--> <script type="text/javascript"> ////Added a new method instead of calling manual trigger - May 4,2019 -- Sasee function UpdateSearchResults() { //console.log('Inside Duplicate'); var sessionuid = $('.userid').val(); var cat = $('#category').val(); var auto = $('#auto_value').val(); console.log("Location Value :" + auto); var prop_type = $("#propertytype").val(); var ref = $('#refer').val(); var min_price = $('#facet-input-min').val(); var max_price = $('#facet-input-max').val(); var min_bed = $('#min_bed').val(); var max_bed = $('#max_bed').val(); var maxarea = $('#maxarea').val(); var minarea = $('#minarea').val(); //alert(auto); //Luxury Futures if ($('body').find("#luxury").is(":checked")) { var luxury = 1; } else { var luxury = ''; } //alert("IN3"); //alert(sessionuid); //alert(cat+auto+prop_type+ref+min_price+max_price+min_bed+max_bed); $.ajax({ url:"https://www.steps.com.qa/index.php/index/searchresult", type: "POST", data:{'category':cat,'auto_value':auto,'propertytype':prop_type,'refer':ref,'facet-input-min':min_price,'facet-input-max':max_price,'min_bed':min_bed,'max_bed':max_bed,'setuserid':sessionuid,'minarea':minarea,'maxarea':maxarea,'luxury':luxury}, success:function(data) { $('#list-type').html(data); setPropertyTitle(); } }); //searchbysource requesttoupdatedb = $.ajax({ url:"https://www.steps.com.qa/index.php/index/storebysource", type: "POST", data:{'category':cat,'auto_value':auto,'propertytype':prop_type,'refer':ref,'facet-input-min':min_price,'facet-input-max':max_price,'min_bed':min_bed,'max_bed':max_bed,'setuserid':sessionuid,'minarea':minarea,'maxarea':maxarea,'luxury':luxury}, success:function(data) { return data; } }); } if($('#category').val() != null && $('#category').val() != "" && $('#category').val() != 0) { var curr = window.location.href ; var n = curr.includes("/smartsearch"); if(n == true) { } } $(document).ready(function() { if($('#category').val() != null && $('#category').val() != "" && $('#category').val() != 0) { //ReloadPage(); } else if($('#propertytype').val() != null && $('#propertytype').val() != "" && $('#propertytype').val() != 0) { //ReloadPage(); } else if($('#auto_value').val() != null && $('#auto_value').val() != "" && $('#auto_value').val() != 0) { //ReloadPage(); } }); //console.log("Inside Document Ready"); //Pagination Features function paginationproperty(d){ var sortOrder = $('#hiddensortorder').val(); var sortField = $('#hiddensortfield').val(); console.log("Sort Order : " + sortOrder); console.log("Sort Field : " + sortField); //alert(d); console.log($(".form-inline").serialize()); //d.preventDefault(); var cat = $('#category').val(); var auto = $('#auto_value').val(); var prop_type = $("#propertytype").val(); var ref = $('#refer').val(); var min_price = $('#facet-input-min').val(); var max_price = $('#facet-input-max').val(); var min_bed = $('#min_bed').val(); var max_bed = $('#max_bed').val(); var maxarea = $('#maxarea').val(); var minarea = $('#minarea').val(); var sessionuid = $('.userid').val(); //alert(d); var pagenumval = parseInt($(d).attr('datapagenum')); if ($('body').find("#luxury").is(":checked")) { var luxury = 1; } else { var luxury = ''; } //alert("IN4"); $.ajax({ url:"https://www.steps.com.qa/index.php/index/searchresult", type: "POST", data:{'field':sortField,'order':sortOrder,'category':cat,'auto_value':auto,'propertytype':prop_type,'refer':ref,'facet-input-min':min_price,'facet-input-max':max_price,'min_bed':min_bed,'max_bed':max_bed,'setuserid':sessionuid,'minarea':minarea,'maxarea':maxarea,'luxury':luxury,'pagenum':pagenumval}, success:function(data) { //alert(data); $('#list-type').html(data); setPropertyTitle(); } }); } //End Pagination features </script> <!-- get value from db without page refresh end--> <!-- sorting by price starts descending--> <script type="text/javascript"> $(document).ready(function() { $('#sorting').click(function(){ var cat = $('#category').val(); var auto = $('#auto_value').val(); var prop_type = $("#propertytype").val(); var ref = $('#refer').val(); var min_price = $('#facet-input-min').val(); var max_price = $('#facet-input-max').val(); var min_bed = $('#min_bed').val(); var max_bed = $('#max_bed').val(); var minarea = $('#minarea').val(); var maxarea = $('#maxarea').val(); var sessionuid = $('.userid').val(); var fieldname = $(this).attr("data-orderby"); var orderby = $(this).attr("data-order"); //Luxury Futures if ($('body').find("#luxury").is(":checked")) { var luxury = 1; } else { var luxury = ''; } //alert("IN5"); //alert(fieldname+orderby); $.ajax({ url:"https://www.steps.com.qa/index.php/index/searchresult", type: "POST", data:{'category':cat,'auto_value':auto,'propertytype':prop_type,'refer':ref,'facet-input-min':min_price,'facet-input-max':max_price,'min_bed':min_bed,'max_bed':max_bed,'minarea':minarea,'maxarea':maxarea,'setuserid':sessionuid,'field':fieldname,'order':orderby,'luxury':luxury}, success:function(data) { $('#list-type').html(data); setPropertyTitle(); } }); }); }); </script> <!-- sorting by price ends descending--> <!-- sorting by price starts ascending--> <script type="text/javascript"> $(document).ready(function() { $('#sorting1').click(function(){ var cat = $('#category').val(); var auto = $('#auto_value').val(); var prop_type = $("#propertytype").val(); var ref = $('#refer').val(); var min_price = $('#facet-input-min').val(); var max_price = $('#facet-input-max').val(); var min_bed = $('#min_bed').val(); var max_bed = $('#max_bed').val(); var minarea = $('#minarea').val(); var maxarea = $('#maxarea').val(); var sessionuid = $('.userid').val(); var fieldname = $(this).attr("data-orderby"); var orderby = $(this).attr("data-order"); //Luxury Futures if ($('body').find("#luxury").is(":checked")) { var luxury = 1; } else { var luxury = ''; } //alert(fieldname+orderby); $.ajax({ url:"https://www.steps.com.qa/index.php/index/searchresult", type: "POST", data:{'category':cat,'auto_value':auto,'propertytype':prop_type,'refer':ref,'facet-input-min':min_price,'facet-input-max':max_price,'min_bed':min_bed,'max_bed':max_bed,'setuserid':sessionuid,'field':fieldname,'order':orderby,'luxury':luxury}, success:function(data) { $('#list-type').html(data); setPropertyTitle(); } }); }); }); </script> <!-- sorting by price ends ascending--> <!-- filetype upload validation --> <script type="text/javascript"> var fileInputCorrect = false; function fileValidation(){ //var fileInput = document.getElementById('file'); //var filePath = fileInput.value; var filePath = $('#userfile').val(); var allowedExtensions = /(\.docx|\.doc|\.pdf)$/i; if(!allowedExtensions.exec(filePath)){ //alert('Please upload file having extensions .jpeg/.jpg/.png/.gif only.'); $('.fileformat').show(); $('#userfile-error').hide(); $('#userfile').val(''); return false; } else { $('.fileformat').hide(); if($('#userfile-error')[0]!=null) { $('#userfile-error')[0].innerText = ''; } fileInputCorrect = true; return true; } } </script> <script> $(document).ready(function() { /****************************** BOTTOM SCROLL TOP BUTTON ******************************/ // declare variable var scrollTop = $(".scrollTop"); $(window).scroll(function() { // declare variable var topPos = $(this).scrollTop(); // if user scrolls down - show scroll to top button if (topPos > 100) { $(scrollTop).css("opacity", "1"); } else { $(scrollTop).css("opacity", "0"); } }); // scroll END //Click event to scroll to top $(scrollTop).click(function() { $('html, body').animate({ scrollTop: 0 }, 800); return false; }); // click() scroll top EMD }); </script> <script> var ResultsDisplayMode = 'GRID'; /* Commenting out as it was throwing error in console -- June 1,2019 */ /* let navWrapper = document.querySelector('.nav-wrapper'), navToogler = document.querySelector('.nav-toogler') navToogler.addEventListener('click', function (event) { navWrapper.classList.toggle('active') }) */ /* Commenting out as it was throwing error in console -- June 1,2019 */ // Function to show progress icon while upload document in career page function validateJobApply() { var formtoValidate = $("#jobapply"); document.getElementById('position').value = document.getElementById('PositionText').innerText; var ShowProgress = false; if($("#name-error")[0]!=null && $("#name-error")[0].innerText=='' && $("#email-error")[0]!=null && $("#email-error")[0].innerText=='' && $("#txtF-error")[0]!=null && $("#txtF-error")[0].innerText=='' && fileInputCorrect) { ShowProgress = true; } if(ShowProgress) { document.getElementById('progressLabel').style.display = 'Block'; return true; } else { document.getElementById('progressLabel').style.display = 'none'; } } $('#gridViewIcon').click(function () { ResultsDisplayMode ='GRID'; setPropertyTitle(); }); $('#listViewIcon').click(function () { ResultsDisplayMode ='LIST'; setPropertyTitle(); }); function setPropertyTitle() { if(ResultsDisplayMode =='LIST') { $('.item-entry a').each(function() { $(this).html($(this).attr("title")); }); } else if(ResultsDisplayMode =='GRID') { $('.item-entry a').each(function() { $(this).html($(this).attr("shorttitle")); }); } } function ReloadPage() { var cat = $('#category').val(); var auto = $('#auto_value').val(); var prop_type = $("#propertytype").val(); var ref = $('#refer').val(); var min_price = $('#facet-input-min').val(); var max_price = $('#facet-input-max').val(); var min_bed = $('#min_bed').val(); var max_bed = $('#max_bed').val(); var maxarea = $('#maxarea').val(); var minarea = $('#minarea').val(); //alert(auto); //Luxury Futures var luxury = 0; var sessionuid = 0; if ($('body').find("#luxury").is(":checked")) { luxury = 1; } if($("#propertytype").val() == "0" && luxury == 0) { luxury = 1; } if(cat == null || cat == "" || cat == 0 || cat == undefined) { cat = "0"; } if(auto == null || auto == "" || auto == 0 || auto == undefined) { auto = "0"; } if(prop_type == null || prop_type == "" || prop_type == 0 || prop_type == undefined) { prop_type = "0"; } if(ref == null || ref == "" || ref == 0 || ref == undefined) { ref = "0"; } if(min_price == null || min_price == "" || min_price == 0 || min_price == undefined) { min_price = "0"; } if(max_price == null || max_price == "" || max_price == 0 || max_price == undefined) { max_price = "0"; } if(min_bed == null || min_bed == "" || min_bed == 0 || min_bed == undefined) { min_bed = "0"; } if(max_bed == null || max_bed == "" || max_bed == 0 || max_bed == undefined) { max_bed = "0"; } if(maxarea == null || maxarea == "" || maxarea == 0 || maxarea == undefined) { maxarea = "0"; } if(minarea == null || minarea == "" || minarea == 0 || minarea == undefined) { minarea = "0"; } var replref = ref.replace("/", "-"); replref = replref.replace("/", "-"); replref = replref.replace("/", "-"); replref = replref.replace("/", "-"); var replauto = auto.replace(/,/g, "-"); var url = "/smartsearch/"+cat+"/"+replauto+"/"+prop_type+"/"+replref+"/"+min_price+"/"+max_price+"/"+min_bed+"/"+max_bed+"/"+sessionuid+"/"+minarea+"/"+maxarea+"/"+luxury; var curr = window.location.href ; var newResult = curr.substring(0, curr.lastIndexOf("/smartsearch") ); if(newResult == "" || newResult == null) { newResult = curr.substring(0, curr.lastIndexOf("/properties") ); } if(newResult == "" || newResult == null) { newResult = curr.substring(0, curr.lastIndexOf("/property_detail") ); } if(newResult == "" || newResult == null) { newResult = curr + "/index"; } var newurl = newResult + url; window.location = newurl; } $($('.login')[0]).on('click',function(e){ searchResult(e); }); $($('.login')[1]).on('click',function(e){ searchResult(e); }); function searchResult(e){ console.log($(".form-inline").serialize()); e.preventDefault(); var sessionuid = $('.userid').val(); var cat = $('#category').val(); var auto = $('#auto_value').val(); var prop_type = $("#propertytype").val(); var ref = $('#refer').val(); var min_price = $('#facet-input-min').val(); var max_price = $('#facet-input-max').val(); var min_bed = $('#min_bed').val(); var max_bed = $('#max_bed').val(); var maxarea = $('#maxarea').val(); var minarea = $('#minarea').val(); //alert(auto); //Luxury Futures var luxury = 0; var sessionuid = 0; if ($('body').find("#luxury").is(":checked")) { luxury = 1; } //alert("IN3"); //alert(sessionuid); //alert(cat+auto+prop_type+ref+min_price+max_price+min_bed+max_bed); $.ajax({ url:"https://www.steps.com.qa/index.php/index/searchresult", type: "POST", data:{'category':cat,'auto_value':auto,'propertytype':prop_type,'refer':ref,'facet-input-min':min_price,'facet-input-max':max_price,'min_bed':min_bed,'max_bed':max_bed,'setuserid':sessionuid,'minarea':minarea,'maxarea':maxarea,'luxury':luxury}, success:function(data) { //alert(data); $('#list-type').html(data); setPropertyTitle(); ReloadPage(); //window.location.href = 'index/smartsearch/'+cat+'/'+auto+'/'+prop_type; // var replref = ref.replace("/", "-"); // replref = replref.replace("/", "-"); // replref = replref.replace("/", "-"); // replref = replref.replace("/", "-"); // var replauto = auto.replace(",", "-"); // var url = "/smartsearch/"+cat+"/"+replauto+"/"+prop_type+"/"+replref+"/"+min_price+"/"+max_price+"/"+min_bed+"/"+max_bed+"/"+sessionuid+"/"+minarea+"/"+maxarea+"/"+luxury; // var curr = window.location.href ; // var newResult = curr.substring(0, curr.lastIndexOf("/smartsearch") ); // var newurl = newResult + url; // window.location = newurl; //window.location.replace("smartsearch/"+cat+"/"+auto+"/"+prop_type+"/"+ref+"/"+min_price+"/"+max_price+"/"+min_bed+"/"+max_bed+"/"+sessionuid+"/"+minarea+"/"+maxarea+"/"+luxury); } }); //searchbysource $.ajax({ url:"https://www.steps.com.qa/index.php/index/storebysource", type: "POST", data:{'category':cat,'auto_value':auto,'propertytype':prop_type,'refer':ref,'facet-input-min':min_price,'facet-input-max':max_price,'min_bed':min_bed,'max_bed':max_bed,'setuserid':sessionuid,'minarea':minarea,'maxarea':maxarea,'luxury':luxury}, success:function(data) { return data; } }); } $(document).ready(function(){ setTimeout(function(){ $.ajax({ url:"https://www.steps.com.qa/index.php/index/sideAd", type: "POST", data:{}, success:function(data) { $('.side1Carousel').html(' <div id="owl-demo1" class="owl-carousel owl-theme reloadCarousel"></div>'); $('.reloadCarousel').html(data); $(".reloadCarousel").owlCarousel({ slideSpeed : 300, paginationSpeed : 400, singleItem:true, navigation : false, }); triggerSecond(); } }); },2000); }); function triggerSecond(){ $.ajax({ url:"https://www.steps.com.qa/index.php/index/sideAd2", type: "POST", data:{}, success:function(data) { $('.side2Carousel').html('<div id="owl-demo-properties2" class="owl-carousel owl-theme"></div>'); $('#owl-demo-properties2').html(data); $("#owl-demo-properties2").owlCarousel({ slideSpeed : 300, paginationSpeed : 400, singleItem:true, navigation : false, }); } }); } </script> <script defer src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"rayId":"676bbdae7d62596e","version":"2021.7.0","r":1,"token":"ca3f8213ea164c2795d1d5c7697cbb08","si":10}'></script>