good idea but bad javascript coding.
the javascript should be
Code:
<script language="javascript">
<!-- Hide from older browsers
function hideAll() {
document.getElementById('purchDiv1').style.display='none';
document.getElementById('purchDiv2').style.display='none';
}
function showCosmetic1() {
document.getElementById('purchDiv1').style.display='block';
document.getElementById('purchDiv2').style.display='none';
document.getElementById('purchDiv1').style.visibility='visible';
}
function showCosmetic2() {
document.getElementById('purchDiv2').style.display='block';
document.getElementById('purchDiv1').style.display='none';
document.getElementById('purchDiv2').style.visibility='visible';
}
// -->
</script>
this should make it work in any browser.