﻿
var tempCoolStr = "<div id=\"lcrWindowPanelControl\" style=\"position:absolute;left:0px;top:0px;z-index:999999;background-color:#A3A1A1;width:100%;height:100%;filter: alpha(opacity=0);display:none;\"></div>";
document.write(tempCoolStr);
tempCoolStr = "<div id=\"lcrMessageBoxPanel\" style=\"display:none; z-index:1000000;position: absolute;height:auto;width:auto;font-size:12px;top:50%;left:50%;\"></div>";
document.write(tempCoolStr);

LCR = function()
{
   this.windowPanelName = "lcrWindowPanelControl";
   this.width = 280;
   this.height = 60;
};

LCR.prototype.clientSize = function()
{
    var tempWidth = 0, tempHeight = 0;
	if (window.innerWidth) 
    { 
      tempWidth = window.innerWidth; 
      tempHeight = window.innerHeight; 
    } 
    else if(document.documentElement && document.documentElement.clientWidth)//if (navigator.userAgent.indexOf("Firefox") >= 0)
    { 
      tempWidth = document.documentElement.clientWidth;
      tempHeight = document.documentElement.clientHeight;
    } 
    else if (document.body) 
    { 
      tempWidth = document.body.clientWidth; 
      tempHeight = document.body.clientHeight;
    }
    return {width : tempWidth,  height : tempHeight};
}

LCR.prototype.clientLeftTop = function()
{
    var x1 = 0, y1 = 0;
    if (document.documentElement)
    {
      x1 = document.documentElement.scrollLeft;
	  y1 = document.documentElement.scrollTop;
    }
    else
    { 
	  x1 = document.body.scrollLeft;
	  y1 = document.body.scrollTop;
	}
	return {x : x1,  y : y1};
}

LCR.prototype.lockWindowPanel = function()
{
    var tempObj = document.getElementById(this.windowPanelName);
    var tempXY = this.clientLeftTop();
    var tempSize = this.clientSize();
    tempSize.width += tempXY.x;
    tempSize.height += tempXY.y;
    tempObj.style.width = tempSize.width + "px";
    tempObj.style.height = tempSize.height + "px";
    try
    {
      tempObj.style.opacity = 0.35;
    }
    catch(e){}
    try
    {
      if(tempObj.filters)
      {
        tempObj.filters("alpha").opacity = 35;
      }
    }
    catch(e){}
    tempObj.style.display = "block";
}

LCR.prototype.unlockWindowPanel = function()
{
   var tempObj = document.getElementById(this.windowPanelName);
   tempObj.style.display = "none";
}


LCR.MouseMovePanel = function(panelName, parentName, wValue, hValue)
{
   this.panel = (typeof panelName=="string") ? document.getElementById(panelName) : panelName;
   this.parentPanel = (typeof parentName=="string") ? document.getElementById(parentName) : parentName;
   this.downPoint = {x : -1,  y : -1};
   this.originalPoint = {x : parseInt(this.parentPanel.style.left.replace("px","")),  y : parseInt(this.parentPanel.style.top.replace("px",""))};
   this.originalSize = {w : wValue,  h : hValue};
   this.mouseDown = false;
   
   this.domousedown = function(e)
   {
      if(e == null)
      {
        e = window.event;
      }

      if((e.button == 1) || (e.button == 0))
      {
        this.parentClass.downPoint = {x : e.clientX,  y : e.clientY};
        this.parentClass.originalPoint = {x : parseInt(this.parentClass.parentPanel.style.left.replace("px","")),  y : parseInt(this.parentClass.parentPanel.style.top.replace("px",""))};
        this.parentClass.mouseDown = true;
      }
   }
   
   this.domousemove = function(e)
   {
     if(e == null)
     {
       e = window.event;
     }
     if((e.button == 1) || this.parentClass.mouseDown)
     {
       var tempXY = this.parentClass.clientLeftTop();
       var tempSize = this.parentClass.clientSize();    
       var x = this.parentClass.originalPoint.x + e.clientX - this.parentClass.downPoint.x;
       var y = this.parentClass.originalPoint.y + e.clientY - this.parentClass.downPoint.y;    
       if(x < tempXY.x)
       {
         x = tempXY.x;
       }
       else if(x + this.parentClass.originalSize.w > tempSize.width + tempXY.x)
       {
         x = tempSize.width - this.parentClass.originalSize.w + tempXY.x;
       }
       if(y < tempXY.y)
       {
         y = tempXY.y;
       }
       else if(y + this.parentClass.originalSize.h > tempSize.height + tempXY.y)
       {
         y = tempSize.height - this.parentClass.originalSize.h + tempXY.y;
       }
       this.parentClass.parentPanel.style.left = x + "px";
       this.parentClass.parentPanel.style.top = y + "px";       
     }
   }
   
   this.doselectstart = function(e)
   {
     return false;
   }
   
   this.domouseup = function(e)
   {
     this.parentClass.mouseDown = false;
   }
   
   this.panel.onmousedown = this.domousedown;
   this.panel.onmousemove = this.domousemove;
   this.panel.onselectstart = this.doselectstart;
   this.panel.onmouseup = this.domouseup;
   this.panel.onmouseout = this.domouseup;
   this.panel.parentClass = this;
};

LCR.MouseMovePanel.prototype = new LCR();

LCR.MessageBoxs = function()
{
   LCR.call(this);
   this.caption = "系统提示";
   this.text = "";
   this.icoPath = "";
   this.messageBoxPanelName = "lcrMessageBoxPanel";
};

LCR.MessageBoxs.prototype = new LCR();

LCR.MessageBoxs.prototype.showMessageBoxPanel = function(wvalue, hvalue)
{
    var tempObj = document.getElementById(this.messageBoxPanelName);
    var tempXY = this.clientLeftTop();
    var tempSize = this.clientSize();
    var x = Math.max(0,(tempSize.width - wvalue) / 2 + tempXY.x);
    var y = Math.max(0,(tempSize.height - hvalue) / 2 + tempXY.y);
    tempObj.style.left = x + "px";
    tempObj.style.top = y + "px"; 
    tempObj.style.display = "block";
}

LCR.MessageBoxs.prototype.hideMessageBoxPanel = function()
{
    var tempObj = document.getElementById(this.messageBoxPanelName);
    tempObj.style.display = "none";
    tempObj.innerHTML = "";
}

LCR.MessageBoxs.MessageBox = function()
{
   LCR.MessageBoxs.call(this);
};

LCR.MessageBoxs.MessageBox.prototype = new LCR.MessageBoxs();

LCR.MessageBoxs.MessageBox.prototype.close = function()
{
  this.hideMessageBoxPanel();
  this.unlockWindowPanel();
}

LCR.MessageBoxs.MessageBox.prototype.showInfo = function(text, icoPath)
{
  this.text = text;
  this.icoPath = icoPath;
  var tempWidth = this.width+2;
  var tempHTML = "<div style=\"font-size:14px;width:"+tempWidth+"px;float:left;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_tl.gif) no-repeat top left; height:25px;overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_tr.gif) no-repeat top right;height:25px;overflow:hidden;\">";
  tempHTML += "<div id=\"lcrWindowButtonPanel\" style=\"background:url(../CoolImages/box_tc.gif) repeat-x top;height:25px;width:auto; margin:0px 5px 0px 5px; font-weight: bold; padding:5px 0px 0px 0px; color: #0033cc; text-align:left;cursor: move;\">提示信息</div></div></div>";

  tempHTML += "<div style=\"border:1px solid #74c3fa;border-bottom:0px;background:#e3f4ff; height:"+this.height+"px; width:"+this.width+"px;\">";
  tempHTML += "<table style=\"width:100%;height:100%;\" border=\"0px\"><tr>";
  tempHTML += "<td style=\"width:56px; padding:6px 0px 0px 0px;\" align=\"center\" valign=\"top\">";
  if((icoPath != null) && (icoPath != ""))
  {
    tempHTML += "<img alt=\"\" src=\""+icoPath+"\" style=\"width: 39px; height: 39px;\"/>";
  }
  tempHTML += "</td><td style=\"font-size:12px; color:Black;\">"+text+"</td>";
  tempHTML += "</tr></table></div>";
  
  tempHTML += "<div style=\"background:url(../CoolImages/box_bl.gif) no-repeat top left; height:8px; overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_br.gif) no-repeat top right;height:8px;overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_bc.gif) repeat-x top;height:8px;width:auto; margin:0px 5px 0px 5px;overflow:hidden;\"></div></div></div></div>";
  var tempObj1 = document.getElementById(this.messageBoxPanelName);
  tempObj1.innerHTML = tempHTML;
  this.lockWindowPanel();
  this.showMessageBoxPanel(this.width + 2,this.height + 35);
  var tempObj2 = new LCR.MouseMovePanel("lcrWindowButtonPanel", this.messageBoxPanelName, this.width + 2,this.height + 35);
}

LCR.MessageBoxs.MessageBox.prototype.showHintInfo = function(text, icoPath)
{
  this.text = text;
  this.icoPath = icoPath;
  var tempWidth = this.width+2;
  var tempHTML = "<div style=\"font-size:14px;width:"+tempWidth+"px;float:left;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_tl.gif) no-repeat top left; height:25px;overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_tr.gif) no-repeat top right;height:25px;overflow:hidden;\">";
  tempHTML += "<div id=\"lcrWindowButtonPanel\" style=\"background:url(../CoolImages/box_tc.gif) repeat-x top;height:25px;width:auto; margin:0px 5px 0px 5px; font-weight: bold; padding:5px 0px 0px 0px; color: #0033cc; text-align:left;cursor: move;\">提示信息</div></div></div>";

  tempHTML += "<div style=\"border:1px solid #74c3fa;border-bottom:0px;background:#e3f4ff; height:"+this.height+"px; width:"+this.width+"px;\">";
  tempHTML += "<table style=\"width:100%;height:100%;\" border=\"0px\"><tr>";
  tempHTML += "<td style=\"width:56px; padding:6px 0px 0px 0px;\" align=\"center\" valign=\"top\">";
  if((icoPath != null) && (icoPath != ""))
  {
    tempHTML += "<img alt=\"\" src=\""+icoPath+"\" style=\"width: 39px; height: 39px;\"/>";
  }
  tempHTML += "</td><td style=\"font-size:12px; color:Black;\">"+text+"</td>";
  tempHTML += "</tr></table></div>";
  
  tempHTML += "<div style=\"background:url(../CoolImages/box_bl.gif) no-repeat top left; height:8px; overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_br.gif) no-repeat top right;height:8px;overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_bc.gif) repeat-x top;height:8px;width:auto; margin:0px 5px 0px 5px;overflow:hidden;\"></div></div></div></div>";
  var tempObj1 = document.getElementById(this.messageBoxPanelName);
  tempObj1.innerHTML = tempHTML;
  var tempObj2 = new LCR.MouseMovePanel("lcrWindowButtonPanel", this.messageBoxPanelName, this.width + 2,this.height + 35);
}

LCR.MessageBoxs.MessageBox.prototype.showEditBox = function(text, title, value, icoPath1, icoPath2, returnEvent, keyEvent) {
    this.text = text;
    var tempWidth = this.width + 2;
    var tempHTML = "<div style=\"font-size:14px;width:" + tempWidth + "px;float:left;\">";
    tempHTML += "<div style=\"background:url(../CoolImages/box_tl.gif) no-repeat top left; height:25px;overflow:hidden;\">";
    tempHTML += "<div style=\"background:url(../CoolImages/box_tr.gif) no-repeat top right;height:25px;overflow:hidden;\">";
    tempHTML += "<div id=\"lcrWindowButtonPanel\" style=\"background:url(../CoolImages/box_tc.gif) repeat-x top;height:25px;width:auto; margin:0px 5px 0px 5px; font-weight: bold; padding:5px 0px 0px 0px; color: #0033cc; text-align:left;cursor: move;\">";
    tempHTML += "<label style=\"float:left;\" onselectstart=\"return false;\">" + text + "</label>";
    tempHTML += "<img id=\"coolImage1\"  alt=\"\" src=\"" + icoPath1 + "\" style=\"float:right; height:15px; width:15px; cursor:pointer;\" onmouseover=\"this.style.display='none';document.getElementById('coolImage2').style.display = 'block';\" onclick=\"" + returnEvent + "('',true);\"/>";
    tempHTML += "<img id=\"coolImage2\" alt=\"\" src=\"" + icoPath2 + "\" style=\"float:right; height:15px; width:15px; cursor:pointer; display:none;\" onmouseout=\"this.style.display='none';document.getElementById('coolImage1').style.display = 'block';\" onclick=\"" + returnEvent + "('',true);\"/>";
    tempHTML += "</div></div></div>";

    tempHTML += "<div style=\"border:1px solid #74c3fa;border-bottom:0px;background:#e3f4ff; height:" + this.height + "px; width:" + this.width + "px;\">";
    tempHTML += "<table style=\"width:100%;height:100%;\" border=\"0px\">";
    tempHTML += "<tr style=\"height:30px;\">";
    tempHTML += "<td style=\"width:200px;font-size:12px; color:Black; height: 21px;\" align=\"right\" valign=\"bottom\">" + title + "</td>";
    tempHTML += "<td style=\"font-size:12px; color:Black; height: 21px;\" align=\"left\">";
    tempHTML += "<input id=\"coolTextEdit1\" type=\"text\" style=\"width:150px;display:none;\" onkeypress=\"" + keyEvent + "(event);\" value=\"" + value + "\"/>";
    tempHTML += "</td></tr>";
    tempHTML += "<tr style=\"height:28px;\"><td></td>";
    tempHTML += "<td align=\"center\">";
    tempHTML += "<input id=\"yesButton1\" type=\"button\" value=\"确定\" style=\"width:60px; height:24px;\" onclick=\"" + returnEvent + "('coolTextEdit1',false);\"/>";
    tempHTML += "&nbsp;&nbsp;<input id=\"cancelButton2\" type=\"button\" value=\"取消\" style=\"width:60px; height:24px;\" onclick=\"" + returnEvent + "('',true);\"/>";
    tempHTML += "</td></tr></table></div>";

    tempHTML += "<div style=\"background:url(../CoolImages/box_bl.gif) no-repeat top left; height:8px; overflow:hidden;\">";
    tempHTML += "<div style=\"background:url(../CoolImages/box_br.gif) no-repeat top right;height:8px;overflow:hidden;\">";
    tempHTML += "<div style=\"background:url(../CoolImages/box_bc.gif) repeat-x top;height:8px;width:auto; margin:0px 5px 0px 5px;overflow:hidden;\"></div></div></div></div>";
    var tempObj1 = document.getElementById(this.messageBoxPanelName);
    tempObj1.innerHTML = tempHTML;
    this.lockWindowPanel();
    this.showMessageBoxPanel(this.width + 2, this.height + 35);
    var tempObj2 = new LCR.MouseMovePanel("lcrWindowButtonPanel", this.messageBoxPanelName, this.width + 2, this.height + 35);
}

LCR.MessageBoxs.MessageBox.prototype.showDateEditBox = function(text, title1, title2, title3, title4, value1, value2, value3, value4, icoPath1, icoPath2, returnEvent, keyEvent)
{
  this.text = text;
  this.width += 20;
  this.height += 30;
  var tempWidth = this.width+2;
  var tempHTML = "<div style=\"font-size:14px;width:"+tempWidth+"px;float:left;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_tl.gif) no-repeat top left; height:25px;overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_tr.gif) no-repeat top right;height:25px;overflow:hidden;\">";
  tempHTML += "<div id=\"lcrWindowButtonPanel\" style=\"background:url(../CoolImages/box_tc.gif) repeat-x top;height:25px;width:auto; margin:0px 5px 0px 5px; font-weight: bold; padding:5px 0px 0px 0px; color: #0033cc; text-align:left;cursor: move;\">";
  tempHTML += "<label style=\"float:left;\" onselectstart=\"return false;\">"+text+"</label>";
  tempHTML += "<img id=\"coolImage1\"  alt=\"\" src=\""+icoPath1+"\" style=\"float:right; height:15px; width:15px; cursor:pointer;\" onmouseover=\"this.style.display='none';document.getElementById('coolImage2').style.display = 'block';\" onclick=\""+returnEvent+"('',true);\"/>";
  tempHTML += "<img id=\"coolImage2\" alt=\"\" src=\""+icoPath2+"\" style=\"float:right; height:15px; width:15px; cursor:pointer; display:none;\" onmouseout=\"this.style.display='none';document.getElementById('coolImage1').style.display = 'block';\" onclick=\""+returnEvent+"('',true);\"/>";
  tempHTML += "</div></div></div>";

  tempHTML += "<div style=\"border:1px solid #74c3fa;border-bottom:0px;background:#e3f4ff; height:"+this.height+"px; width:"+this.width+"px;\">";
  tempHTML += "<table style=\"width:100%;height:100%;\" border=\"0px\">";
  tempHTML += "<tr style=\"height:30px;\">";
  tempHTML += "<td style=\"width:72px;font-size:12px; color:Black; height: 21px;\" align=\"right\" valign=\"bottom\">"+title1+"</td>";
  tempHTML += "<td style=\"font-size:12px; color:Black; height: 21px;\" align=\"left\">";
  tempHTML += "<input id=\"coolDateEdit1\" type=\"text\" style=\"width:65px;\" onkeypress=\""+keyEvent+"(event);\" onfocus=\"loadCalendar();\" value=\""+value1+"\"/></td>";
  tempHTML += "<td style=\"width:62px;font-size:12px; color:Black; height: 21px;\" align=\"right\" valign=\"bottom\">"+title2+"</td>";
  tempHTML += "<td style=\"font-size:12px; color:Black; height: 21px;\" align=\"left\">";
  tempHTML += "<input id=\"coolDateEdit2\" type=\"text\" style=\"width:65px;\" onkeypress=\""+keyEvent+"(event);\" onfocus=\"loadCalendar();\" value=\""+value2+"\"/></td>";
  tempHTML += "</tr>";
  
  tempHTML += "<tr style=\"height:30px;\">";
  tempHTML += "<td style=\"width:72px;font-size:12px; color:Black; height: 21px;\" align=\"right\" valign=\"bottom\">"+title3+"</td>";
  tempHTML += "<td style=\"font-size:12px; color:Black; height: 21px;\" align=\"left\">";
  tempHTML += "<input id=\"coolTextEdit1\" type=\"text\" style=\"width:65px;\" onkeypress=\""+keyEvent+"(event);\" value=\""+value3+"\"/></td>";
  tempHTML += "<td style=\"width:62px;font-size:12px; color:Black; height: 21px;\" align=\"right\" valign=\"bottom\">"+title4+"</td>";
  tempHTML += "<td style=\"font-size:12px; color:Black; height: 21px;\" align=\"left\">";
  tempHTML += "<input id=\"coolTextEdit2\" type=\"text\" style=\"width:65px;\" onkeypress=\""+keyEvent+"(event);\" value=\""+value4+"\"/></td>";
  tempHTML += "</tr>";
  tempHTML += "<tr style=\"height:28px;\"><td></td>";
  tempHTML += "<td align=\"center\" colspan=\"3\">";
  tempHTML += "<input id=\"yesButton1\" type=\"button\" value=\"确定\" style=\"width:60px; height:24px;\" onclick=\""+returnEvent+"('coolDateEdit1|coolDateEdit2|coolTextEdit1|coolTextEdit2',false);\"/>";
  tempHTML += "&nbsp;&nbsp;<input id=\"cancelButton2\" type=\"button\" value=\"取消\" style=\"width:60px; height:24px;\" onclick=\""+returnEvent+"('',true);\"/>";
  tempHTML += "</td></tr></table></div>";
  
  tempHTML += "<div style=\"background:url(../CoolImages/box_bl.gif) no-repeat top left; height:8px; overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_br.gif) no-repeat top right;height:8px;overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_bc.gif) repeat-x top;height:8px;width:auto; margin:0px 5px 0px 5px;overflow:hidden;\"></div></div></div></div>";
  var tempObj1 = document.getElementById(this.messageBoxPanelName);
  tempObj1.innerHTML = tempHTML;
  this.lockWindowPanel();
  this.showMessageBoxPanel(this.width + 2,this.height + 35);
  var tempObj2 = new LCR.MouseMovePanel("lcrWindowButtonPanel", this.messageBoxPanelName, this.width + 2,this.height + 35);
  
  this.width += -20;
  this.height += -30;
}

LCR.MessageBoxs.MessageBox.prototype.showDateNumberEditBox = function(text, title1, title2, title3, value1, value2, value3, icoPath1, icoPath2, returnEvent, keyEvent)
{
  this.text = text;
  this.width += 20;
  this.height += 30;
  var tempWidth = this.width+2;
  var tempHTML = "<div style=\"font-size:14px;width:"+tempWidth+"px;float:left;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_tl.gif) no-repeat top left; height:25px;overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_tr.gif) no-repeat top right;height:25px;overflow:hidden;\">";
  tempHTML += "<div id=\"lcrWindowButtonPanel\" style=\"background:url(../CoolImages/box_tc.gif) repeat-x top;height:25px;width:auto; margin:0px 5px 0px 5px; font-weight: bold; padding:5px 0px 0px 0px; color: #0033cc; text-align:left;cursor: move;\">";
  tempHTML += "<label style=\"float:left;\" onselectstart=\"return false;\">"+text+"</label>";
  tempHTML += "<img id=\"coolImage1\"  alt=\"\" src=\""+icoPath1+"\" style=\"float:right; height:15px; width:15px; cursor:pointer;\" onmouseover=\"this.style.display='none';document.getElementById('coolImage2').style.display = 'block';\" onclick=\""+returnEvent+"('',true);\"/>";
  tempHTML += "<img id=\"coolImage2\" alt=\"\" src=\""+icoPath2+"\" style=\"float:right; height:15px; width:15px; cursor:pointer; display:none;\" onmouseout=\"this.style.display='none';document.getElementById('coolImage1').style.display = 'block';\" onclick=\""+returnEvent+"('',true);\"/>";
  tempHTML += "</div></div></div>";

  tempHTML += "<div style=\"border:1px solid #74c3fa;border-bottom:0px;background:#e3f4ff; height:"+this.height+"px; width:"+this.width+"px;\">";
  tempHTML += "<table style=\"width:100%;height:100%;\" border=\"0px\">";
  tempHTML += "<tr style=\"height:30px;\">";
  tempHTML += "<td style=\"width:62px;font-size:12px; color:Black; height: 21px;\" align=\"right\" valign=\"bottom\">"+title1+"</td>";
  tempHTML += "<td style=\"font-size:12px; color:Black; height: 21px;\" align=\"left\" colspan=\"2\">";
  tempHTML += "<input id=\"coolDateEdit1\" type=\"text\" style=\"width:125px;\" onkeypress=\""+keyEvent+"(event);\" onfocus=\"loadCalendar();\" value=\""+value1+"\"/></td>";
  tempHTML += "</tr>";
  
  tempHTML += "<tr style=\"height:30px;\">";
  tempHTML += "<td style=\"width:72px;font-size:12px; color:Black; height: 21px;\" align=\"right\" valign=\"bottom\">"+title2+"</td>";
  tempHTML += "<td style=\"font-size:12px; color:Black; height: 21px;\" align=\"left\">";
  tempHTML += "<input id=\"coolTextEdit1\" type=\"text\" style=\"width:65px;\" onkeypress=\""+keyEvent+"(event);\" value=\""+value2+"\"/></td>";
  tempHTML += "<td style=\"width:62px;font-size:12px; color:Black; height: 21px;\" align=\"right\" valign=\"bottom\">"+title3+"</td>";
  tempHTML += "<td style=\"font-size:12px; color:Black; height: 21px;\" align=\"left\">";
  tempHTML += "<input id=\"coolTextEdit2\" type=\"text\" style=\"width:65px;\" onkeypress=\""+keyEvent+"(event);\" value=\""+value3+"\"/></td>";
  tempHTML += "</tr>";
  tempHTML += "<tr style=\"height:28px;\"><td></td>";
  tempHTML += "<td align=\"center\" colspan=\"3\">";
  tempHTML += "<input id=\"yesButton1\" type=\"button\" value=\"确定\" style=\"width:60px; height:24px;\" onclick=\""+returnEvent+"('coolDateEdit1|coolTextEdit1|coolTextEdit2',false);\"/>";
  tempHTML += "&nbsp;&nbsp;<input id=\"cancelButton2\" type=\"button\" value=\"取消\" style=\"width:60px; height:24px;\" onclick=\""+returnEvent+"('',true);\"/>";
  tempHTML += "</td></tr></table></div>";
  
  tempHTML += "<div style=\"background:url(../CoolImages/box_bl.gif) no-repeat top left; height:8px; overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_br.gif) no-repeat top right;height:8px;overflow:hidden;\">";
  tempHTML += "<div style=\"background:url(../CoolImages/box_bc.gif) repeat-x top;height:8px;width:auto; margin:0px 5px 0px 5px;overflow:hidden;\"></div></div></div></div>";
  var tempObj1 = document.getElementById(this.messageBoxPanelName);
  tempObj1.innerHTML = tempHTML;
  this.lockWindowPanel();
  this.showMessageBoxPanel(this.width + 2,this.height + 35);
  var tempObj2 = new LCR.MouseMovePanel("lcrWindowButtonPanel", this.messageBoxPanelName, this.width + 2,this.height + 35);
  
  this.width += -20;
  this.height += -30;
}  