function tip(a)
{
xy=getPos(a)
os('sltt').left=(xy.x+a.offsetWidth+10)+'px'
os('sltt').top=(xy.y)+'px'
os('slt').display='none'
os('sltt').display=''
y=40,x=0
dH = bodys.clientHeight
dW = bodys.clientWidth
oH = xy.y+356
oW = xy.x+351
h=bodys.scrollTop
if( oH > dH ) y=(oH-dH)-40
if( oH > dH+h ) y=(oH-(dH+h))
if( oW > dW ) x=348
$('subject').innerHTML=a.innerHTML+'<span id=subs style="font-size:12px;color:#d00;padding-left:5px">'
os('slt').left=(xy.x+a.offsetWidth+10)-x+'px'
os('slt').top=(xy.y-y)+'px'
ht = (location.href).split('/');
ht=ht[ht.length-1];
ht = ht.split('.');
ht=ht[0];
var imgurl = v_http+'img.php?id='+(a.id)+'&html='+ht
$('imgs').src='i/loading.gif';
$('imgs').src=imgurl //'i/loading.gif';
$('imgl').href=a.href
//loadJS(imgurl)
//$('imgtmp').src=v_http+'img.php?id='+(a.id)+'&html='+ht;
$('cid').value=a.id;
}
function getPos(el){
var r = {'x':el.offsetLeft,'y':el.offsetTop}
if(el.offsetParent){
var tmp = getPos(el.offsetParent)
r.x += tmp.x;r.y += tmp.y
}return r}