function showNav(id)
{
	var obj = document.getElementsByTagName('div');

	for (i=0; i<obj.length; i++)
	{
		if (obj[i].id.indexOf("div")  == 0)
		{
			if (obj[i].id.indexOf("div_basket") == 0) continue;

			obj[i].style.display = 'none';
			//alert(obj[i].id);
		}
	}

	if (id != '-1') document.getElementById(id).style.display = 'block';

	clearTimeout(timerID);
}

function hideNav(id)
{
	document.getElementById(id).style.display = 'none';
}


function showPrice(id)
{
	if (document.getElementById(id).style.display == 'block')
		document.getElementById(id).style.display = 'none';
	else document.getElementById(id).style.display = 'block';
}

function set_hide(id)
{
	timerID=window.setTimeout("hideNav('" + id + "')",3000);
}

function GoURL(url, target)
{
	var w;
	if (target == "_blank") {
		w = window.open(url,"w","");
		w.focus();
	}	else {
		document.location = url;
	}
	return false;
}


function w_open(url)
{
	Win=window.open(url, 'win_os',  'toolbar=0,scrollbars=0,location=0,directories=0,status=0,menubar=0,resizable=0,border=thin,top=50,left=50,help=0');
	Win.focus();
}



