// Radio button Script

var ray={
elIDs:['imgA','imgB','imgC','imgD','imgE'], // Place in this array the ID of the form you wish to hide
hide:function()
    {
    for(var i=0;i<this.elIDs.length;i++)
        document.getElementById(this.elIDs[i]).style.display='none';
    },
init:function()
    {
    this.hide();
    for(var i=0;i<this.init.arguments.length;i++)
        {
        var radNames=document.getElementsByName(this.init.arguments[i]);
        for(var i=0;i<radNames.length;i++)
            {
            radNames[i].onclick=function()
                {
                ray.hide();
                document.getElementById(this.value).style.display='';
                this.checked = true;

                }
            }
        }
    }
}
window.onload=function()
    {
        ray.init('contact'); // Name of the radio button you wish to act as switch
        document.getElementsByName("contact")[0].onclick();

    }