
var myWidth = 0, myHeight = 0;
  function size(){
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  }
  
function popup(url){
	window.open(url,"","resizable=1, scrollbars=yes, width="+(screen.width-100)+",height="+(screen.height-100));
}


function popup1(url,d, h){
	window.open(url,"","resizable=1, scrollbars=yes, scrollable=1, width="+d+",height="+h);
}


var color;
function ChangeColor(tableRow, highLight)
    {
    if (highLight)
    {
      color=tableRow.style.background;
      tableRow.style.background = '#E6F7FF';
      tableRow.style.cursor='pointer';
    }
    else
    {
      tableRow.style.background = color;
    }
  }

 
  