function IntroductionImg()
{
  this.showImgElement= null;
  this.BigImg0 =null;
  this.BigImg1 = "";
  this.BigImg2 ="";
  this.initElement = function(showImgElement,typeImg1,typeImg2)
  {
  
    this.showImgElement = showImgElement;
    this.BigImg1 = typeImg1;
    this.BigImg2 = typeImg2;
  };
  this.change = function(type)
  {

    if(this.BigImg0==null)
    {
	var tmp = document.getElementById(this.showImgElement).firstChild;
     this.BigImg0 = tmp.cloneNode(true);
    }

    $(this.showImgElement).update( type==1?this.BigImg1:this.BigImg2);

  };
  this.restore = function()
  {
  $(this.showImgElement).update(this.BigImg0.cloneNode(true));
    //document.getElementById(this.showImgElement).append(this.BigImg0);
  };
}

function loadimage(url)
{
  var myimg = new Image();
  myimg.src = url;
}
function postComment()
{
  $("dvLearn").show();
  var d = (new Date()).getMilliseconds();
  loadimage('/img.jsp?num=5&sn=randnum2&t='+d);
  document.getElementById('authimage').src='/img.jsp?num=5&sn=randnum2&t='+d;
}
