// JavaScript Document<!--function padajucimeni(id) {var d = document.getElementById(id);	for (var i = 1; i<=10; i++) {		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}	}if (d) {d.style.display='block';}}			function change_opis(id) {var d = document.getElementById(id);	for (var i = 1; i<=10; i++) {		if (document.getElementById('tip'+i)) {document.getElementById('tip'+i).style.display='none';}	}if (d) {d.style.display='block';}}			//picture rotation// he script nead to include prototypr and scriptaculos include first,like:/*	<script language="javascript" src="javascript/prototype.js" type="text/javascript" >	</script>	<script language="javascript" src="javascript/scriptaculous.js" type="text/javascript" >	</script>	<script language="javascript" src="javascript/scripts.js" type="text/javascript" >	</script>*///This is the position list for random pictres	var pictures = Array();	var position = Array();	position[1] = Array();	position[1]['x'] = 99;	position[1]['y'] = 85;	position[1]['on'] = false;	position[2] = Array();	position[2]['x'] = 164;	position[2]['y'] = 34;	position[2]['on'] = false;	position[3] = Array();	position[3]['x'] = 164;	position[3]['y'] = 137;	position[3]['on'] = false;	position[4] = Array();	position[4]['x'] = 231;	position[4]['y'] = 85;	position[4]['on'] = false;	position[5] = Array();	position[5]['x'] = 298;	position[5]['y'] = 34;	position[5]['on'] = false;function get_random(n){    var ranNum= Math.floor(Math.random()*n);    return ranNum;}var nextpic = 0;var nextpos = 0;function prev_pic(n) {	c = nextpic - n;	if((c) > 1) { return c }	else return pictures.length + c;}function picrotation() {//reading pictures	for (i = 1; i<=200; i++) {		if (document.getElementById('rotationpic'+i)) {			document.getElementById('rotationpic'+i).style.display='none';			pictures[i] = document.getElementById('rotationpic'+i);		}		else {break;}	}	nextpic=get_random(i);	//initialisation of rotating	for(i = 1; i< position.length; i++) {		picrotation_positioner(i,pictures[prev_pic(i-1)]);	}	setInterval('picrotation_positioner_run()',3000);}function picrotation_positioner(posnr, id) {	var element = $(id);	position[posnr]['on'] = id;	element.style.top=position[posnr]['y']+'px';	element.style.left=position[posnr]['x']+'px';	element.setStyle({opacity: 0.0});	element.style.display = 'block';	new Effect.Fade(element, {from:0.0, to: 1.0});}function picrotation_positioner_off(id) {	var element = $(id);	new Effect.Fade(element);}function picrotation_positioner_run() {	nextpic = nextpic+1;	nextpos = nextpos+1;	if(nextpos > position.length-1) { nextpos = 1; }	if(!pictures[nextpic]) { nextpic = 1; }	if(position[nextpos]['on']) { picrotation_positioner_off(position[nextpos]['on']); }	setTimeout("picrotation_positioner(nextpos,pictures[nextpic])", 500);}//end of picture rotation code and functions;//-->