﻿function Getbgcolor(trbgcol, row) {
    if (document.all) {var thestyle = eval('document.all.' + row + '.style'); thestyle.backgroundColor = trbgcol;}
}
function showCalendarWin() {
    var CalUrl
    var chkSE = "CRUISE";
    var Des = ocument.getElementById("Destination").value;
    if (Des != "0") {
    } else {alert("נא בחר יעד לנסיעה"); return false;}
    //CalUrl = "../../lib/calendarNet/setParam.asp?Des="+Des+"&flddepDate=frmSE.tbFromDate&CurDate=&fldReturnDate=frmSE.tbReturnDate&ReturnDate=&Dep="+chkSE;
    CalUrl = "../../lib/calendarS/calendarS.aspx?Des=" + Des + "&flddepDate=frmData.tbFromDate&Dep=" + chkSE;
    window.open(CalUrl, "CalWin", "width=350,height=470,resizable=yes,left=230,top=90");
}
function CheckData() {
    var Des = document.getElementById("Destination").value;
    var Contry = document.getElementById("Country").value;
    if ((document.getElementById("Destination").value == "") || (document.getElementById("Destination").value == "0")) {
        alert("אנא בחר יעד");document.getElementById("Destination").focus();return false;
    }
    var link = "http://www.netravel.co.il/basic/cruise/cruisesr.aspx?Des=" + Des + "&Country=" + Contry + "&Dep=&depDate=" + frmData.tbFromDate.value;
    SearchWin = window.open(link, "_self");
    SearchWin.focus();
}

