No, I've got .style now. Updated code:
function createcolour(colour){
alert(colour);
document.getElementById('previewcolour').src = 'original/'+colour+'.jpg';
document.getElementById('previewstyle').src = 'original/'+colour+'.jpg';
}
function bold(boldcolour){...