function ChangeSrc(src){ var iframe = document.getElementById('Myiframe'); iframe.setAttribute('src',src); } function ChangeIframe(id){ var iframe = document.getElementById('Myiframe'); }

function configurator(clicked) {

document.getElementById(clicked);

src= clicked.name ; id=clicked.id; ChangeSrc(src); ChangeIframe(id); }






.