function sendSize(windowx, windowy) {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    setwindowx = window.innerWidth;
    setwindowy = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    setwindowx = document.documentElement.clientWidth;
    setwindowy = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    setwindowx = document.body.clientWidth;
    setwindowy = document.body.clientHeight;
  }
  if (windowx!=setwindowx||windowy!=setwindowy) {
    //window.alert("Saadan sisu suuruse "+setwindowx+" * "+setwindowy);
    PassAjaxResponseToFunction('?act=ajax_screendimensions&windowx='+setwindowx+'&windowy='+setwindowy, "noopfunc");
  }
}
function noopfunc() {}