function setFlashPosition(name) {
	if (name=='mic') {
		if (document.getElementById('flash_menu2'))
		{
			document.getElementById('flash_menu2').style.left = start_left+390+'px';			
			document.getElementById('flash_menu2').style.top=start_top+100+'px';
		}
		if (document.getElementById('flash_menu12'))
		{
			document.getElementById('flash_menu12').style.left = start_left-135+'px';			
			document.getElementById('flash_menu12').style.top=start_top+215+'px';
		}
	} else if (name=='mare') {
		if (document.getElementById('flash_menu2'))
		{
			document.getElementById('flash_menu2').style.left = start_left+'px';			
			document.getElementById('flash_menu2').style.top=start_top+'px';
		}
		if (document.getElementById('flash_menu12'))
		{
			document.getElementById('flash_menu12').style.left = start_left+'px';			
			document.getElementById('flash_menu12').style.top=start_top-3+'px';
		}
	}		
}

function setFlashWidth(divid, newW)
{
	document.getElementById(divid).style.width = newW+"px";
}

function setFlashHeight(divid, newH)
{
	document.getElementById(divid).style.height = newH+"px";  
}

function setFlashSize(divid, newW, newH, name)
{
	setFlashWidth(divid, newW);
	setFlashHeight(divid, newH);		
	setFlashPosition(name);
}

function colorN (id, OnOff) { //OnOff = 0 pentru onmouseout
	if (OnOff!=0) {
		document.getElementById(id).style.backgroundColor='#FFF9D7';
		document.getElementById(id+'_top').src='img/det_top_box_on.jpg';
		document.getElementById(id+'_bottom').src='img/det_bott_box_on.jpg';
		document.getElementById(id+'_toi').style.backgroundImage='url(img/toitoi_on.jpg)';
	} 
	else
	{
		document.getElementById(id).style.backgroundColor='#FFFFFF';
		document.getElementById(id+'_top').src='img/det_top_box.jpg';
		document.getElementById(id+'_bottom').src='img/det_bott_box.jpg';
		document.getElementById(id+'_toi').style.backgroundImage='url(img/toitoi.jpg)';
	}
}