what are those on the right side? photos? if they are simple img tags, you can use this code, which works with links, but just moving the onclick over to the img tag:
Code:
<html>
<head>
<title> Sample Page </title>
<script>
function play(clip){
document.getElementById("frame").src= "http://www.youtube.com/v/"+clip+"&autoplay=1&rel=0";
}
</script>
</head>
<body>
<object width="425" height="355"><param name="movie" value=""></param><param name="wmode" value="transparent"></param><embed id ="frame" src="" type="application/x-shockwave-flash" border="1" wmode="transparent" width="425" height="344"></embed></object><br>
<a href="#" onclick="play('6Zx39v3JUUI'); return false"> THIS IS FIRST Video Link </a><br>
<a href="#" onclick="play('VVp0eo0vN8U'); return false"> THIS IS SECOND Video Link </a>
</body>
</html>