
function ShowHide2(layer_open, layer_close) {
	if (layer_open != '') {
		expandLayer2(layer_open);
	}
	if (layer_close != '') {
		expandLayer2(layer_close);
	}
}

function expandLayer2(name) {
	var itm = null;

	if (document.getElementById) {
		itm = document.getElementById(name);
	} else if (document.all) {
		itm = document.all[name];
	} else if (document.layers) {
		itm = document.layers[name];
	}

	if (!itm) {
	// Just don't panik, it's ok
	} else if (itm.style) {
		if (itm.style.display == "none") {
			itm.style.display = "";
		} else {
			itm.style.display = "none";
		}
	} else {
		itm.visibility = "show";
	}
}


var agt = navigator.userAgent.toLowerCase();
var originalFirstChild;

function createTitle2(which, string, x, y)
{
	if (typeof(originalFirstChild) == 'undefined')
	{
		originalFirstChild = document.body.firstChild;
	}

	x = document.all ? (event.clientX + document.body.scrollLeft) : x;
	y = document.all ? (event.clientY + document.body.scrollTop) : y;
	element = document.createElement('div');
	element.style.position = 'absolute';
	element.style.zIndex = 1000;
	element.style.visibility = 'hidden';
	excessWidth = 0;
	if (document.all)
	{
		excessWidth = 50;
	}
	excessHeight = 20;
	element.innerHTML = '<table border=0 width=300 id=table1 cellspacing=0 cellpadding=0>	<tr>		<td width=12>		<img border=0 src=temalar/TurkEkip/images/images/balon_01.gif width=12 height=54></td>		<td background=temalar/TurkEkip/images/images/balon_arka.gif>		<p align=left>		<img border=0 src=temalar/TurkEkip/images/images/balon_02.gif width=266 height=54></td>		<td width=11>		<img border=0 src=temalar/TurkEkip/images/images/balon_03.gif width=11 height=54></td>	</tr>	<tr>		<td width=12 background=temalar/TurkEkip/images/images/balon_04.gif>&nbsp;</td>		<td bgcolor=#993300><span class=gen>' + string + '</span>&nbsp;</td>		<td background=temalar/TurkEkip/images/images/balon_06.gif width=11>&nbsp;</td>	</tr>	<tr>		<td width=12>		<img border=0 src=temalar/TurkEkip/images/images/balon_07.gif width=12 height=13></td>		<td background=temalar/TurkEkip/images/images/balon_08.gif>		<img border=0 src=temalar/TurkEkip/images/images/balon_08.gif width=266 height=13></td>		<td width=11>		<img border=0 src=temalar/TurkEkip/images/images/balon_09.gif width=11 height=13></td>	</tr></table>';
	renderedElement = document.body.insertBefore(element, document.body.firstChild);
	renderedWidth = renderedElement.offsetWidth;
	renderedHeight = renderedElement.offsetHeight;

	overFlowX = x + renderedWidth + excessWidth - document.body.offsetWidth;
	x = overFlowX > 0 ? x - overFlowX : x;

	overFlowY = y + renderedHeight + excessHeight - window.innerHeight - window.pageYOffset;
	y = overFlowY > 0 ? y - overFlowY : y;

	renderedElement.style.top = (y + 1) + 'px';
	renderedElement.style.left = (x + 0) + 'px';

	if (agt.indexOf('gecko') != -1 && agt.indexOf('win') != -1)
	{
		setTimeout("renderedElement.style.visibility = 'visible'", 1);
	}
	else
	{
		renderedElement.style.visibility = 'visible';
	}
}

function destroyTitle2()
{
	if (document.body.firstChild != originalFirstChild)
	{
		document.body.removeChild(document.body.firstChild);
	}
}

function SifreTalep(){
var popurl="Sayfa.php?Git=HesapYonetim&op=SifreTalep"
winpops=window.open(popurl,"","width=400,height=350,")
}

	