function show(str1, str2) {
	if(window.opera) {
		if(document.getElementById)
			document.getElementById(str1).style.fontWeight = (document.getElementById(str1).style.fontWeight == '700') ? '' : '700';
	} else {
		if(document.getElementById)
			document.getElementById(str1).style.fontWeight = (document.getElementById(str1).style.fontWeight == 'bold') ? 'normal' : 'bold';
	}

	if(document.getElementById)
		document.getElementById(str2).style.display = (document.getElementById(str2).style.display == 'block') ? 'none' : 'block';
}

function showAll() {
	show('technology', 'submenu');
}

// set page width
function SetPageWidth(pageWidth) {
	var wholePage = document.getElementById('whole-page');		// standartni hodnota 947px
	var mainCol = document.getElementById('main-col');			// standartni hodnota 738px
	var csPhoto = document.getElementById('cs-photo');			// standartni hodnota 700px
	var footer = document.getElementById('footer');			// standartni hodnota 617px
	
	wholePage.style.width = pageWidth + 'px';
	mainCol.style.width = (pageWidth - 209) + 'px';
	csPhoto.style.width = (pageWidth - 247) + 'px';
	
	for(i=0; i < footer.childNodes.length; i++) {
		node = footer.childNodes[i];
		
		if(node.className == "info") {
			for(j = 0; j < node.childNodes.length; j++) {
				subnode = node.childNodes[j];
	
				if(subnode.className=="copyright")
					subnode.style.width = (pageWidth - 330) + 'px';			
			}		
		}
	}

	return true;
}