//var fo = new FlashObject("background.swf", "bla", "100%", "100%", "8", "#FFFFFF");
function size_in(id, width) {
		document.getElementById('content').style.display='block';
}	

function setFront(id) {
		document.getElementById('root').style.zIndex = '1';
		document.getElementById('root2').style.zIndex = '1';
		document.getElementById(id).style.zIndex = '99';
}

var lastid;
function pop_in(id) {
	// DOM3 = IE5, NS6
	
		document.getElementById('pagewrapper').style.zIndex = '80';
		/*
		var s=0;
		for (s=0; s<3; s++) {
				
			document.getElementById('pagewrapper'+s).style.zIndex = '81';
		}
	*/
		//document.getElementById('pagewrapper0').style.zIndex = '80';
		//document.getElementById('pagewrapper1').style.zIndex = '80';
		//if (document.getElementById) { 
		if (lastid) {
		    document.getElementById(lastid).style.zIndex = '82';   
		}
		lastid = id;
		document.getElementById(id).style.visibility = 'visible';
		document.getElementById(id).style.zIndex = '90';
		//}		
}

function hideItem(id) {
	if (document.getElementById) { // DOM3 = IE5, NS6
	document.getElementById(id).style.visibility = 'hidden';
	} 	

}
	
	

