function showme($id){
	$sh = document.getElementById('section_'+$id);
	$td = document.getElementById('td_'+$id);
	if($sh && $td){
		$div = document.getElementById('display_div');
		if(!$div){ alert('programming error: display_div not found'); return;}
		$div.style.display='';
		$s = getWindowSize();
		$x = $s[0]/2 - 135;
		$img = document.getElementById('image_present_'+$id);
		if($img)
			$y = $s[1]/2 - 325;
		else
			$y = $s[1]/2 - 200;
	try{
		if(window.pageXOffset){
			alert('a');
			$div.style.left = $x+window.pageXOffset ;
			$div.style.top = $y+window.pageYOffset ;
		}else if(document.body){
			$div.style.left = $x+document.body.scrollLeft ;
			$div.style.top = $y+document.body.scrollTop ;
		}else if(document.documentElement){
			alert('c');
			$div.style.top = $y+document.documentElement.scrollTop;
			$div.style.left = $x+document.documentElement.scrollLeft;
		}
	}catch(e){alert(e);}
		$div.innerHTML = $sh.innerHTML;
	}
}
function closeme(){
		$div = document.getElementById('display_div');
		if(!$div){ alert('programming error: display_div not found'); return;}
		$div.style.display='none';	
}

function getWindowSize(){
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
	return new Array(myWidth, myHeight);
}
