﻿// JScript File

 function getBrowserHeight() {
              var intH = 0;
              var intW = 0;

              if(typeof window.innerWidth  == 'number') {
                 intH = window.innerHeight;
                 //alert("int h number " + intH);
                 intW = window.innerWidth;
              } 
              else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
                   intH = document.documentElement.clientHeight;
                  //  alert("documentElement " + intH);
                   intW = document.documentElement.clientWidth;
              }
              else if(document.body && (document.body.clientWidth || document.body.clientHeight)) {
                intH = document.body.clientHeight;
                // alert("document.body " + intH);
                intW = document.body.clientWidth;
              }

              return {width: parseInt(intW), height: parseInt(intH)};
}



function showDivAtLocation(x,y,val){
    element = document.getElementById(val);
    element.style.left = x;
    element.style.top = y;
    
}
