
function UserDetails(){
 window.open("user_details.asp","UserDetails","toolbars=0,manubar=1,scrollbars=1,directories=0,location=0,resizable=1,width=350,height=350,left=40,top=40");
}

function PrintMessage(){
 window.open("message_print.asp","PrintPage","toolbars=0,manubar=1,scrollbars=1,directories=0,location=0,resizable=1,width=600,height=500,left=40,top=40");
}

function SendMail(ID){
 page = "send_mail.asp?ID=" + ID;
 window.open(page,"SendMail","toolbars=0,manubar=1,scrollbars=1,directories=0,location=0,resizable=1,width=400,height=500,left=40,top=40");
}


function doMsgBody(branch)
{
 var objBranch = document.getElementById(branch).style;
 if(objBranch.display=="block") objBranch.display="none";
 else objBranch.display="block";
}

function SelectOrgTrip(theValue)
{
 if (theValue>0) self.location='organized_area.asp?ID=' + theValue;
}


function Validation2()
{
 var returnValue = false;
 var allertMessage = "";

 if (document.form2.c1.value == "")
  allertMessage += "??\n";

 if (document.form2.c2.value == "")
  allertMessage += "?????;\n";

 if (document.form2.c3.value == "")
  allertMessage += "??????\n";

 if (allertMessage != "")
  {
   allertMessage = "????, ?? ??????: \n" + allertMessage;
   alert(allertMessage);
  }
 else
  returnValue = true;

 return returnValue;
 alert(returnValue);
}