function mouseY(evt) {
if (evt.pageY) return evt.pageY;
else if (evt.clientY)
   return evt.clientY + (document.documentElement.scrollTop ?
   document.documentElement.scrollTop :
   document.body.scrollTop);
else return null;
}

function getMouseY(e) {
	tempY = event.clientY + document.body.scrollTop;
	
	if (tempY < 0){tempY = 0;}  
	return tempY;
}



var popUpWin=0;

function popUpWindow(URLStr, width, height)

{

  if(popUpWin)

  {

    if(!popUpWin.closed) popUpWin.close();

  }

  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+'');

}


function altMenu(div){
	if(cotoci.ge(div))
		cotoci.ge(div).style.display='block';
}

function altMenuOut(div){
		if(cotoci.ge(div))
			cotoci.ge(div).style.display='none';
}

function ac_kapa(t)
{
	if(t.style.display=='none'){
	t.style.display='';
	}else{
	t.style.display='none';
	}
}

function yeniresim(r)
{
	rsm=document.getElementById('subeResim');
	if(rsm)
	{
		rsm.src=r;
	}
}


