
	var LstOpenedDiv = 'about'

	function oDiv(divid){
		cDiv(LstOpenedDiv);
		window.document.getElementById(divid + 'div').style.display = 'block';
		LstOpenedDiv = divid;
		}

	function cDiv(divid){
		window.document.getElementById(divid + 'div').style.display = 'none';
		}

// CLOSES MENUS WHEN A NON-LINK IS CLICKED ===

	var mOpen = '';

	function cls(e){
		if(e)	{
			var obj = e.target
			}else{
			var obj = event.srcElement
			}
			if(obj.nodeName != 'A')
				{
				window.document.getElementById(LstOpenedDiv + 'div').style.display = 'none';
				}
			}
	document.onmouseup = cls;

//

	var LstShowDiv = 'man';


	function sshow(divid,showname){
		
		window.document.getElementById(divid + 'div').style.left = parseInt(document.body.clientWidth-600)/2+'px';

		cDiv(LstShowDiv)

		window.document.getElementById(showname + 'div').style.display = 'block';

		LstShowDiv = showname;

		window.document.getElementById('mainWrapper').style.filter = "alpha(opacity=40)"
				
		oDiv(divid);

		
		}



