
var obj = {opushd:'0 -1440px',opusmo:'0 -960px',opusos:'0 -480px',zencoo:'0 0'};

function overLinks(ths){
	ths.style.backgroundPosition="0 -120px";
	//alert(ths.getElementsByTagName('div')[0].className);
	ths.getElementsByTagName('div')[0].style.display='block';
	if(ths.id){
		ths.style.backgroundPosition="0 -120px";
		for (var k in obj){
			if(k==ths.id){
				document.getElementById('main_img').style.backgroundPosition=obj[k];
				return false;
			}
		}
	}
};

function outLinks(ths){
	if(ths.id)
		ths.style.backgroundPosition="0 0";
	ths.getElementsByTagName('div')[0].style.display='none';
};

function overMenuList(ths){
	//ths.style.cursor="default";
	ths.style.color="#1976A5";
	if(ths.getElementsByTagName('div')[0])
		ths.getElementsByTagName('div')[0].style.display='block';
};



function outMenuList(ths){
	//ths.style.cursor="pointer";
	ths.style.color="#999";
	if(ths.getElementsByTagName('div')[0])
		ths.getElementsByTagName('div')[0].style.display='none';
};


var fl_icon='ec';
var fl_icon_obj;

function changeScreen(ths){
	
	if (!fl_icon_obj) fl_icon_obj=document.getElementById("first_icon_desk");
	if(ths&&ths.src){
		var icon=ths.src;
		icon=icon.substr(icon.length-6,2);
		if (icon!=fl_icon){
			document.getElementById("desktop_icons").className="desk_"+icon;
			fl_icon_obj.className='desk_icon';
			ths.className='desk_icon_over';
			fl_icon_obj=ths;
			document.getElementById("about_"+fl_icon).style.display="none";
			document.getElementById("about_"+icon).style.display="block";
			fl_icon=icon;
		}
	};
}