function loadImages (){
	crossl = new Image();
	crossl.src="i/c-l.gif";
	crossd = new Image();
	crossd.src="i/c-d.gif";
	mail1 = new Image();
	mail1.src="i/mail-1.gif";
	cd = new Image();
	cd.src="i/c-d.gif";
	}

function over(src){ 
 	if (!src.contains(event.fromElement)){ 
 		src.style.color = '#cccccc';
 		} 
 } 
 function out(src){ 
 	if (!src.contains(event.toElement)){ 
 		src.style.color = '#68544A';
 		} 
 } 

function chI(name) {
	if (name==mail)document.images.mail.src="i/mail-1.gif";
	if (name==cross1)document.images.cross1.src="i/c-l.gif";
	if (name==cross2)document.images.cross2.src="i/c-l.gif";
	if (name==cross3)document.images.cross3.src="i/c-l.gif";
	if (name==cross4)document.images.cross4.src="i/c-l.gif";
	if (name==cross5)document.images.cross5.src="i/c-l.gif";

	}
function chB(name) {
	if (name==mail)document.images.mail.src="i/mail.gif";
	if (name==cross1)document.images.cross1.src="i/c-d.gif";
	if (name==cross2)document.images.cross2.src="i/c-d.gif";
	if (name==cross3)document.images.cross3.src="i/c-d.gif";
	if (name==cross4)document.images.cross4.src="i/c-d.gif";
	if (name==cross5)document.images.cross5.src="i/c-d.gif";
	}


function changeImg (name, describe){ 
	elem = document.getElementById('big');
	if (elem) {elem.src = name;}
	podpis = document.getElementById('text');
	if (podpis) {podpis.innerHTML = describe;}
	
return false;
}


function changeImg1 (name, describe, link){ 
	elem = document.getElementById('big');
	if (elem) {elem.src = name;}
	podpis = document.getElementById('text');
	if (podpis) {podpis.innerHTML = describe;}
	ss = document.getElementById('hiper');
	if (ss) {ss.href = link;}
return false;
}




function changeImg2 (name){ 
	elem = document.getElementById('big');
	if (elem) {elem.src = name;
	// elem.width = width;
	// elem.height = height;
	}
	
	
return false;
	}


function obj_find(what, where)
	{var x,p;
	if(!where) where=document;
	if(!(x=where[what]) && where.all) x=where.all[what];
	for (i=0;!x&&i<where.forms.length;i++) x=where.forms[i][what];
	for(i=0;!x&&where.layers&&i<where.layers.length;i++) x=obj_find(what, where.layers[i].document);
	return x;}


function list_scroll(num)
{var x,i; for (i=0; i<10; i++) if (num != i) list_out(i); if ((x=obj_find("list"+num)) != null) 
	{v = 'show'; if (x.style) 
		{x = x.style; v='visible';}
	x.visibility=v;}
}

function list_out(num)
{if ((x=obj_find("list"+num)) != null) {
  v = 'hide';
  if (x.style) {x = x.style; v='hidden';}
  x.visibility=v;}
}
