Like this maybe?
Code:
function Random(id){
var table=document.getElementById(id),imgs=table.getElementsByTagName('IMG'),ary=[],z0=0,z1=0;
for (;z0<imgs.length;z0++){
ary[z0]=imgs[z0].src;
}
ary=ary.shuffle(ary);
for (;z1<imgs.length;z1++){
imgs[z1].src=ary[z1];
imgs[z1].style.width='150px';
imgs[z1].style.height='150px';
}
}
Of course, if your goal is just to set all image sizes to 150x150 px, then you'd be better off using some CSS:
Code:
#tst img {width:150px;height:150px;}