

var w = 20;
var t;
var p = "q";
var x = 100;
var y = 100;
var q = 5;
var f = 0;
var g = 0;
var h = 40;
var v = 290;
var n = 0;
var o = 0;
var m = 0;

function changecolor(myElem, newcolor){
	
  if(document.layers){ // browser="NN4";             
   myElem.parentNode.bgColor = newcolor;         
}         
  if(document.all){ // browser="IE";        
   myElem.parentNode.style.backgroundColor = newcolor;   
}       
  if(!document.all && document.getElementById){ // browser="NN6+ or IE5+";          
  myElem.parentNode.style.backgroundColor = newcolor;            
} 
}


function changeheight(){
 if(y>170&&g==0){g=1;return;}
 if(y<101&&g==1){g=0;return;}
 if(g)q=-5;if(!g)q=5;y=y+q;
 e=document.getElementById("u");
 e.style.height = y + 'px';
  t=setTimeout("changeheight();",0);
}


$(document).ready(function(){
  //hide the all of the element with class msg_body
      $(".msg_hidden").hide();
  //toggle the componenet with class msg_body
      $(".msg_expand").click(function()
  {
      $(this).next(".msg_hidden").slideToggle(600);
  });
});
