function changeBg(sign)
{
	var navBg = document.getElementById('nav');

	navBg.style.background = ( top.location.href.indexOf('gamyuncep.com') > -1 ) ? 'url(/images/selected_cep.gif)' : 'url(/images/selected_net.gif)';
}
function linkover(sign, getId)
{
	var icon = document.getElementById('cc_' + getId);

	if (sign == 1)
	{
	  icon.src = icon.src.replace('.gif', '_hover.gif');
	}
	else
	{
	  icon.src = icon.src.replace('_hover.gif', '.gif');
	}
}
function imgover(getId, src)
{
	var icon = document.getElementById(getId);

	icon.src = src;
}
function blocker(getId, icon, srcColor) // hide or show part in getId
{
	var part = document.getElementById(getId);
	var plus = '/images/plus_' + srcColor + '.gif';
	var minus = '/images/minus_' + srcColor + '.gif';

	if (icon.getAttribute('sign'))
	{
		if (icon.getAttribute('sign') == '+')
			icon.setAttribute('sign','-');

		else
			icon.setAttribute('sign','+');
	}

	else
		icon.setAttribute('sign','+');

	icon.src = (icon.getAttribute('sign') == '+') ? plus : minus;

	part.style.display = (icon.getAttribute('sign') == '-') ? 'inline' : 'none';
}
function hider(getId, txtId, icon, srcColor) // hide or show part in getId and change text in txtId
{
	var part = document.getElementById(getId);
	var plus = '/images/plus_' + srcColor + '.gif';
	var minus = '/images/minus_' + srcColor + '.gif';
	var htxt = document.getElementById(txtId);
	if (icon.getAttribute('sign'))
	{
		if (icon.getAttribute('sign') == '+')
		{
			icon.setAttribute('sign','-');
			htxt.innerHTML = 'Gizle';
		}

		else
		{
			icon.setAttribute('sign','+');
			htxt.innerHTML = 'Göster';
		}
	}

	else
	{
		icon.setAttribute('sign','+');
		htxt.innerHTML = 'Göster';
	}

	icon.src = (icon.getAttribute('sign') == '+') ? plus : minus;

	part.style.display = (icon.getAttribute('sign') == '-') ? 'inline' : 'none';
}
