function image_preview()
{
	var img=document.getElementById("image_preview");
	if(img!=null)
	{
		img.src=getValue("image_src");
		if(img.src.length==0)img.style.display="none";
		else img.style.display="inline";
	}
}
//we don't display it if src is empty
we don't display it if src is empty
we don ' t display it if src is empty
function image_preview()
{
	var img=document.getElementById("image_preview");
	if(img!=null)
	{
		img.src=getValue("image_src");
		if(img.src.length==0)img.style.display="none";
		else img.style.display="inline";
	}
}
function image_preview ( ) { var img = document . getElementById ( "image_preview" ) ; if ( img != null ) { img . src = getValue ( "image_src" ) ; if ( img . src . length == 0 ) img . style . display = "none" ; else img . style . display = "inline" ; } }
we don't display it if src is empty
we don ' t display it if src is empty