    function window_onload(){
        removeScroll();
    }
    
    function findPos(obj) {
        var curleft = curtop = 0;                    
        if (obj.offsetParent) {
        do {
            curleft += obj.offsetLeft;
            curtop += obj.offsetTop;
            } while (obj = obj.offsetParent);
        }
        return [curleft,curtop];
    }
    // set searchbox position at the below of search text box 
    function setSearchBoxPosition(btnThoughtId){
        var btn = btnThoughtId; //document.getElementById(btnThoughtId);
        var Pos=findPos(btn);
        var srchDiv=document.getElementById('divThought');
            srchDiv.style.left=Pos[0] - 70;
            
        srchDiv.style.top = Pos[1] + btn.offsetHeight-240;
    } 
    
