function debugm(sMesaj)
{
	var oNesne = document.getElementById("debug");
	oNesne.innerHTML= sMesaj + "";
}

function tarayici()
{
	var d			= document;
	this.agt		= navigator.userAgent.toLowerCase();
	this.major		= parseInt(navigator.appVersion);
	this.dom		= (d.getElementById)?1:0; // true for ie6, ns6
	this.ns			= (d.layers);
	this.ns4up		= (this.ns && this.major >=4);
	this.ns6		= (this.dom && navigator.appName == "Netscape");
	this.op			= this.agt.indexOf('opera') != -1;
	this.ie			= (d.all);
	this.ie4		= (d.all && !this.dom)?1:0;
	this.ie4up		= (this.ie && this.major >= 4);
	this.ie5		= (d.all && this.dom);
	this.win		= ((this.agt.indexOf("win") != -1) || (this.agt.indexOf("16bit") != -1));
	this.mac		= (this.agt.indexOf("mac") != -1);
}

	
function getElementId(sDeger)
{
	//standart
	if(document.getElementById)
		return document.getElementById(sDeger);
	//ie4+
	else if(document.all)
		return document.all[sDeger];
	//ns4+
	else if(document.layers)
		return document.layers[sDeger];
	//diger
	else
		return false;
}


function menu(oDiv, bDurum)
{
	if(bDurum)
	{
	}
	else
	{
	}
}

function transparanlik(oNesne, iYuzde)
{
	var oTarayici	= new tarayici;	
	if(oTarayici.ie)
		oNesne.style.filter			= 'progid:DXImageTransform.Microsoft.Alpha(opacity='+iYuzde+')';
	else
		oNesne.style.MozOpacity		= (iYuzde/100);
}
