
function OdpriPopup (url, sirina, visina, dodatno)
{
	params = 'width='+sirina+',height='+visina+',location=no,menubar=yes,status=no,toolbar=no,scrollbars=yes'+dodatno;
	window.open(url, 'CFC'+Math.round(Math.random(1000)*100), params);
	return false;
}

function ChangeCss(theClass,element,value) 
{ 
	var cssRules; 
	var s,r;
	
	if (document.all) 
	{ 
		cssRules = 'rules'; 
	} else	
		if (document.getElementById) 
		{ 
			cssRules = 'cssRules'; 
		}
		
	for (var S = 0; S < document.styleSheets.length; S++) 
	{ 
		for (var R = 0; R < document.styleSheets[S][cssRules].length; R++) 
		{ 			
			if (document.styleSheets[S][cssRules][R].selectorText == theClass) 
			{
				//alert(document.styleSheets[S][cssRules][R].selectorText + ':' + value);
				document.styleSheets[S][cssRules][R].style[element] = value; 
			} 
		}		
	}
}

