function GetClose() {
    document.getElementById("divCheck").style.display="block";
    document.getElementById("divTell").style.display="block";
    document.getElementById("contentRight").innerHTML="";
    
}

function GetCheckItOut() {
    document.getElementById("divTell").style.display="block";
    xmlhttpPost("getcheckitout.jsp","contentRight","");
}

function GetYouTellUs() {
    document.getElementById("divCheck").style.display="block";
    xmlhttpPost("getyoutellus.jsp","contentRight","");
}

function SubmitGig() {
    var who = document.getElementById("txtWho").value;
    var info = document.getElementById("txtInfo").value;
    var where = document.getElementById("txtWhere").value;
    var when = document.getElementById("txtWhen").value;
    var area = document.getElementById("txtArea").value;
    var end = document.getElementById("txtEnd").value;
    xmlhttpPost("addgig.jsp","divtellus","who="+who+"&where="+where+"&when="+when+"&info="+info+"&area="+area+"&end="+end);
}

function getgigsbyarea() {
    var area = null;
    if (document.getElementById("drpArea").value!=null) {
        area = document.getElementById("drpArea").value;
    }
    xmlhttpPost("getgiglist.jsp","divgigs","area="+area);
}

function callCal() {
    Calendar.setup({
                    inputField : "txtWhen", // ID of the input field
                    ifFormat : "%d %m %Y", // the date format
                    button : "btnCal" // ID of the button
                });
}

function callCalEnd() {
    Calendar.setup({
                    inputField : "txtEnd", // ID of the input field
                    ifFormat : "%d %m %Y", // the date format
                    button : "btnCalEnd" // ID of the button
                });
}





