function show_def(the_id) {
var the_div=document.getElementById('d_'+the_id);
var the_span=document.getElementById('s_'+the_id);
var span_width = the_span.offsetWidth;
// if (span_width > 300) span_width=span_width*-1;
// var span_left=the_span.offsetLeft-160+(span_width/2);
// var span_top = the_span.offsetTop+20;
var span_left=the_span.offsetLeft;
var span_top = the_span.offsetTop;
var the_parent = the_span.offsetParent;
while (the_parent != null) {
span_left += the_parent.offsetLeft;
span_top += the_parent.offsetTop;
the_parent = the_parent.offsetParent;
}
span_left = (span_left < (document.body.clientWidth/2) ? span_left+span_width : span_left-333);
the_div.style.left=span_left+'px';
the_div.style.top=span_top+'px';
the_div.style.display=(the_div.style.display=='block' ? 'none' : 'block');
}
function showblog(blog, more) {
		document.getElementById(blog).style.display = 'inline';
		document.getElementById(more).style.display = 'none';
}
function video(what,which) {
	what.innerHTML="<object width='320' height='240' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0'><param name='salign' value='lt'><param name='quality' value='high'><param name='scale' value='noscale'><param name='wmode' value='transparent'><param name='movie' value='flvplay.swf'><param name='FlashVars' value='&streamName="+which+"&skinName=flvskin&autoPlay=true'><embed width='320' height='240' flashvars='&streamName="+which+"&autoPlay=true&skinName=flvskin' quality='high' scale='noscale' salign='LT' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' src='flvplay.swf' wmode='transparent'></embed></object>";
	what.style.padding = '35px 0px 0px 18px';
	what.style.height = '298px';
	what.style.width ='329px';
}