Данный скрипт работает только в IE
<head>
<title>ИЕ</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if (navigator.appName == "Microsoft Internet Explorer") {
image_directory = "";
clear = new Image(); clear.src = image_directory + "clear.jpg";
pic1 = new Image(); pic1.src = image_directory + "chameleon.jpg";
pic2 = new Image(); pic2.src = image_directory + "gecko.jpg";
pic3 = new Image(); pic3.src = image_directory + "lizard.jpg";
pic4 = new Image(); pic4.src = image_directory + "toad.jpg";
}
function imagechange(imgName) {
if (navigator.appName == "Microsoft Internet Explorer") {
document.body.background = eval(imgName + ".src");
}
}
// End -->
</script>
</head>
<body background="clear.jpg" name=bg>
<p align="center">
<a href="#" ondblclick="imagechange('pic1');" ><img src="1chameleon.jpg"></a>
<a href="#" ondblclick="imagechange('pic2');" ><img src="1gecko.jpg"></a>
<a href="#" ondblclick="imagechange('pic3');" ><img src="1lizard.jpg"></a>
<a href="#" ondblclick="imagechange('pic4');" ><img src="1toad.jpg" width="332" height="189"></a>
</body>