// JavaScript Document
function gEBI(id)
{
	return document.getElementById(id);
}
function gn_expand_div(id)
{
	var obj = gEBI(id);
	if (obj) 
	{ 
		if(obj.style.display == 'block')	obj.style.display = 'none';
		else obj.style.display = 'block';
	}
	else alert('not '+id);
}

function show_iframe(id,src,flag)
{
	var obj = gEBI(id);	
	if(obj)	
	{
		if (flag)	
		{ 
		  obj.style.display = 'block';
		  obj.innerHTML = '<iframe  src="'+src+'" width="100%" height="100%" allowtransparency="true"  frameborder="0" style="background-color: transparent; border: none;"></iframe>';		  
		}
		else
		{
		  obj.style.display = 'none';
		}
	}
}
function rezise_div(id,w,h)
{
	var obj = gEBI(id);
	if (obj)
	{
		obj.style.height = h;
		obj.style.width = w;
	}
}

