Dynamically change shaders to transparent/diffuse?

Hi There,

How can I dynamically change the shader type of a material with scripting?

Specifically I want to change from the default diffuse setting to a transparent setting.

Thanks!

p.c.

Do something like this:

renderer.material.shader = Shader.Find("Transparent/Diffuse");