<script>
function checkb()
{
document.getElementById('div1').style.display = document.getElementById('radbox1').checked?'block':'none';
document.getElementById('div2').style.display = document.getElementById('radbox2').checked?'block':'none';
}
</script>
</head>
<body onload="checkb();">
<input onclick="checkb();" id="radbox1" name="radbox" type="radio" /><img src="/upload/optic.png">
<input onclick="checkb();" id="radbox2" name="radbox" type="radio"/><img src="/upload/sunknop.png">
<div id="div1" style="display:none;"><img src="women.png">
<img src="men.png">
</div>
<div id="div2" style="display:none;"><img src="women2.png">
<img src="men2.png">
</div>
</body>