mam taki oto skrypt zmiany tła

Kod
<script language="JavaScript">
<!--

// Copyright 2001 by www.CodeBelly.com
// Please do *not* remove this notice.

var backImage = new Array(); // don't change this

backImage[0] = "obrazy/tapeta1.jpg";
backImage[1] = "obrazy/tapeta.jpg";
backImage[2] = "obrazy/tapeta2.jpg";
backImage[3] = "obrazy/tapeta3.jpg";

// Do not edit below this line.
//-----------------------------

function changeBGImage(whichImage){
if (document.body){
document.body.background = backImage[whichImage];
}
}

//-->
</script>


oraz odnosniki

Kod
<a href="kasia.js:changeBGImage(1)">Change</a>
    <a href="javascript:changeBGImage(2)">Change</a>
    <a href="javascript:changeBGImage(3)">Change</a>


i teraz, jak mozna zrobic aby te odnosniki byly np. w ramce1 a tło zmienialo sie w ramce2?