<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title></title>
<script type="text/javascript">
function copyContent(id,main){
main = main ? main : 'mainContent';
id = document.getElementById(id);
main = document.getElementById(main)
var headline = childExists('mainHeadline', 'h1', main);
headline.innerHTML = id.getElementsByTagName('span')[0].innerHTML;
var img = childExists('mainImage', 'img', main);
img.src = id.getElementsByTagName('img')[0].src;
var text = childExists('mainText', 'span', main);
text.innerHTML = id.getElementsByTagName('span')[1].innerHTML;
}
function childExists(id, type, container){
var element = document.getElementById(id);
if(!element){
element = document.createElement(type);
element.id = id;
container.appendChild(element);
}
return element;
}
window.onload = function(){
copyContent('preview1');
}
</script>
</head>
<body>
<div id='mainContent'></div>
<div id='preview1' onclick="copyContent(this.id);"><img src='thumb_preview1'><span class='bottomline'>Preview1</span><span class='hidden'>Text 1</span></div>
<div id='preview2' onclick="copyContent(this.id);"><img src='thumb_preview2'><span class='bottomline'>Preview2</span><span class='hidden'>Text 2</span></div>
<div id='preview3' onclick="copyContent(this.id);"><img src='thumb_preview3'><span class='bottomline'>Preview3</span><span class='hidden'>Text 3</span></div>
<div id='preview4' onclick="copyContent(this.id);"><img src='thumb_preview4'><span class='bottomline'>Preview4</span><span class='hidden'>Text 4</span></div>
<div id='preview5' onclick="copyContent(this.id);"><img src='thumb_preview5'><span class='bottomline'>Preview5</span><span class='hidden'>Text 5</span></div>
<div id='preview6' onclick="copyContent(this.id);"><img src='thumb_preview6'><span class='bottomline'>Preview6</span><span class='hidden'>Text 6</span></div>
</body>
</html>