function show_hide(_id)
{
	
	var show =  new String('show_'+_id);
	var hide =  new String('hide_'+_id);
	
	//alert(el(show).style.display);
	var c_name = new String('group_'+_id);
	
	if(styl(show,'display') =='block')
	{
		el(show).style.display ='none';
		el(hide).style.display ='block';
	}
	else
	{
		el(show).style.display ='block';
		el(hide).style.display ='none';
	}
}


function el(id)
{
	var	itm = null;
    if (document.getElementById)
    {
    	itm = document.getElementById(id);
    }
    else if (document.all)
    {
    	itm = document.all[id];
    }
    else if (document.layers)
    {
        itm = document.layers[id];
    }
    return itm;
}


function styl(_div,_style)
{
	return  eval('document.getElementById("'+_div+'").style.'+_style);
}


