var main = false;function $($) { if($) return document.getElementById($); return null;} var httpsPath = 'https://www.carrent.co.il/'; var httpPath = 'http://www.carrent.co.il/'; var ImagesToPreLoad; var IsHome = false; var Lang = 'EN'; function _onchange(id) { if(id=='Country') Locations.Loading.Load('PickUpLocation'); else if(id=='PickUpLocation' && $('PickUpLocation').value!='') Locations.Loading.Load('ReturnLocation'); } if(location.href.match(/search\.aspx/i)) ImagesToPreLoad = [ 'img/last_top.jpg', 'img/last_bg_mid.jpg', 'img/girl.jpg', 'img/bg_info_right.jpg', 'img/bg_info_mid.jpg', 'img/bg_info_left.jpg', 'img/search_top.jpg', 'img/search_bot_btn.png', 'img/search_mid.jpg', 'img/right_box_sep.gif', 'img/v.png', 'img/res_bot.jpg', 'img/tableBottom.jpg' ]; else if(location.href.match(/book\.aspx/i)) ImagesToPreLoad = [ 'img/bg_incar.jpg', 'img/last_top.jpg', 'img/girl.jpg', 'img/bg_payment.jpg', 'img/bg_payment_middle.jpg', 'img/bg_payment_bot.jpg', 'img/pay_bot_under.jpg', 'img/pay_bot.jpg', 'img/1.png', 'img/v.png', 'img/bg_info_right.jpg', 'img/bg_info_mid.jpg', 'img/bg_info_left.jpg' ]; else if(location.href.match(/myorder\.aspx/i)) ImagesToPreLoad = [ 'img/login_but_down.gif', 'img/mail_vaucher_down.gif', 'img/cancel_btn_down.gif', 'img/logout_btn_down.gif', 'img/ok_btn_down.gif' ]; else ImagesToPreLoad = [ 'img/bg_login_main.jpg', 'img/login_btn.png', 'img/last_top.jpg', 'img/last_bg_mid.jpg', 'Add/galery/bg_slider.jpg', 'Add/galery/s1.png', 'Add/galery/current.png', 'img/search_top.jpg', 'img/search_bot_btn.png', 'img/search_mid.jpg', 'img/right_box_sep.gif' ]; /* ImagesToPreLoad[ImagesToPreLoad.length] = 'img/resbut_main_a.gif'; ImagesToPreLoad[ImagesToPreLoad.length] = 'img/menu_reg.png'; */ function isIE6(){return /MSIE (5\.5|6).+Win/.test(navigator.userAgent);} var onloadCollection = []; var onLoadTrash = []; window.onload = function() { var c = onloadCollection.length; for(var i=0;i=0;i--) { html += ''+arrayId[i].text+''; } document.write(html); } var DateTime = { toDayYear: new Date().getFullYear(), monthNames:['January','February','March','April','May','June','July','August','September','October','November','December'], getDate:function(y,m,d) { return parseInt((new Date(y,m,d).getTime())/1000); }, writeDate:function(D) { if(D&&D!='') D = this.writeDateOnly(D)+' ('+this.writeTimeOnly(D)+')'; return D; }, writeDateOnly:function(D) { if(D&&D!='') { var y = D.split('-')[0].substring(2); var m = D.split('-')[1]; var d = D.split('-')[2].split('T')[0]; return (d+'/'+m+'/'+y); } return ''; }, writeTimeOnly:function(D) { if(D&&D!='') D = D.split('-')[2].split('T')[1].substring(0,5); return D; }, formatDate:function(y,m,d,th,tm) { return y+'-'+m+'-'+d+'T'+th+':'+tm+':00'; }, unFormatDay:function(D) { return D.split('-')[2].split('T')[0]; }, unFormatMonth:function(D) { return D.split('-')[1]; }, unFormatYear:function(D) { return D.split('-')[0]; }, unFormatHour:function(D) { return D.split('-')[2].split('T')[1].split(':')[0]; }, unFormatMin:function(D) { return D.split('-')[2].split('T')[1].split(':')[1]; } }; function getTimeZone() { var JAN=0; var d = new Date(0); // 1 Jan 1970 0:00 GMT if( d.getMonth() == JAN ) return d.getHours(); else // d == December 1969 return d.getHours() - 24; } function set_date(t) { var today = Date.parse(new Date()); var r = new Date(today+(t*24-getTimeZone())*60*60*1000); return r; } function setDay(t){ t = set_date(t).getDate();if(t<10) t= '0'+t; return t;} function setMonth(t, isNumber){ t = set_date(t).getMonth()+1;if(isNumber) {if(t<10) t= '0'+t;} else t = DateTime.monthNames[t-1]; return t;} function setYear(t){ t = set_date(t).getFullYear(); if(t<10) t= '0'+t; return t;} var currency = [{value:'EUR', text:'Euro'},{value:'USD', text:'US Dollar'},{value:'GBP', text:'GB Pound'},{value:'ILS', text:'IL Shekel'}]; var curr_sign = [{value:'EUR', text:'€'},{value:'USD', text:'$'},{value:'GBP', text:'£'},{value:'ILS', text:'₪'},{value:'', text:''},{value:'RUB', text:'pуб.'},{value:'', text:'-->'},{value:'AUD', text:'A$'},{value:'CAD', text:'C$'},{value:'THB', text:'฿'},{value:'JPY', text:'¥'},{value:'PLN', text:'zł'},{value:'PLN', text:'zł'},{value:'DKK', text:'kr.'},{value:'NOK', text:'kr'},{value:'SEK', text:'kr'},{value:'ISK', text:'Íkr'},{value:'CZK', text:'Kč'},{value:'UAH', text:'₴'},{value:'MNT', text:'₮'},{value:'INR', text:'₨'},{value:'CHF', text:'SFr'}]; //показывает нижние линки //function displayBottomLinks(){$('inside_bottom_links').style.display='block';} function getClientHeight() { return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientHeight:document.body.clientHeight; } function openCancelationTerms(elem) { var t = '

cancellation Terms are subject to the contract with the supplier and may change from time to time.


'+ '

Details cancellation fees:


'+ '

Once the order is made, until 48 hours after there is no cancellation fees!


'+ '

Starting from 48 hours after the reservation til the time of pick-up (collecting the vehicle): cancellation fee of 25 Euros (in some cases if the cancellation was made inside of 48 hours before pick-up some suppliers will charge 3 days rental as a penalty fee) and clearing costs, if any.


'+ '

You can find the exact details of cancellation fees inside "terms & conditions" in each selected vehicle


' var div = Popup.PopupContainer; var LayOut = Popup.PopupLayOut; LayOut = LayOut.replace(/{TITLE}/,'Cancellation Policy'); LayOut = LayOut.replace(/{CONTENT}/,'
'+t+'
'); div.innerHTML = LayOut; Choice.load_popup(elem, div); } function openInsuranceTerms(elem, isTjsInsurance) { var t = ''; if(isTjsInsurance) t='

The "Reimbursement Insurance" is paid in the event of theft or damage to the vehicle. Insurance supplement promises to refund the excess height of the vehicle is leased.


'+ '

If you are interested Reimbursement Insurance, please, check box this order.


'+ '

The cost of insurance is the amount indicated in ordering page.


'+ '

After booking you will find the insurance policy attached on top of your voucher that going to be sand to your Email.


'; else t='

The deductible is paid in event of theft or damage to the vehicle. Excess Reimbursement Policy guaranteed refund in case of charge.


'+ '

If the rental price does not include Excess Reimbursement Policy and you are interested to purchase it, our company service representative will contact you by telephone.


'+ '

'+ 'The Policy cost is 21.00 euros to cover the 3-day rental (calendar days). '+'
'+ 'Every additional calendar day adds 7.00 euros to the price of the Policy. '+'
'+ 'The Price of the Policy shall not exceed 84.00 euros for up to 28 calendar days.'+'
'+ 'When the rental duration is more than 28 calendar days, the price calculating beyond 28 days will be as described above. '+'
'+ 'The Policy applies on one rental only.'+'
'+ '


'; var div = Popup.PopupContainer; var LayOut = Popup.PopupLayOut; LayOut = LayOut.replace(/{TITLE}/,'Terms of "Excess Reimbursement Policy"'); LayOut = LayOut.replace(/{CONTENT}/,'
'+t+'
'); div.innerHTML = LayOut; Choice.load_popup(elem, div); } var Popup,initOptList,initSearchForm,onbodyload; onloadCollection[onloadCollection.length] = function() { Popup = { PopupContainer:$('popup'), PopupLayOut:$('popup').innerHTML.replace(/%7B/gi,'{').replace(/%7D/gi,'}') } main=true;try{initOptList();initSearchForm();onbodyload();}catch(ex){} } onLoadTrash[onLoadTrash.length] = function() { for (var i = 0; i < ImagesToPreLoad.length; i++) { //preloaded[i] = document.createElement('img'); //preloaded[i].setAttribute('src',arguments[i]); var img = new Image; img.src = ImagesToPreLoad[i]; ImagesToPreLoad[i] = img; } }