    parentSayisi = 0;
    sol = 0;
    ust = 0;
    tmpAcilim = false;
    tmpDivGoster = "";

    function parentSay(nesne) {
        if(!tmpAcilim) {
            if(typeof(nesne)=="object") {
                try {
                    parentSayisi += 1
                    if(!isNaN(nesne.offsetLeft)) {
                        sol += parseInt(nesne.offsetLeft)
                        ust += parseInt(nesne.offsetTop)
                    }
                    parentSay(nesne.offsetParent)
                } catch(e) {}
            }
        }
    }

    function divGoster(divId, imgsrc, ind) {
        clearTimeout(tmpDivGoster)
        tmpAcilim=true;
		var div =false;
        if (div=document.getElementById(divId)){
			div.style.position = "absolute";
			div.style.display = "block";
			div.style.left = sol.toString()+"px";
			div.style.top = (ust-80).toString()+"px";
			if (ind){
				var x="img"+ind.toString()
				var theimage=false;
				if(theimage=document.getElementById(x))
				{
					theimage.src=imgsrc;
				}
			}
		}
    }

    function divGizle(divId) {
        tmpDivGoster = setTimeout("document.getElementById('"+divId+"').style.display='none'; tmpAcilim=false; sol=0; ust=0",200)
    }
    

