(function(){ var id='headViewerBox'; var box=document.getElementById(id); box=box?box:document.createElement('div'); box.id=id; var data=[]; var top=parseInt(document.body.style.marginTop); if(!top)top=5; data.push('close'); if(document.title){ data.push('TITLE : '+document.title); } var elms=document.getElementsByTagName('head')[0].childNodes; for(var i=0;i'); var boxStyle=box.style; boxStyle.display='block'; boxStyle.position='fixed'; boxStyle.top='15px'; boxStyle.left='10%'; boxStyle.width='80%'; boxStyle.zIndex='10'; boxStyle.padding='3px'; boxStyle.border='solid #c06 2px'; boxStyle.color='black'; boxStyle.background='#fee'; boxStyle.textAlign='left'; document.body.appendChild(box); document.body.style.marginTop=16+box.offsetHeight+'px'; })();