
var ysticker = {
    x : (yakmoa.x) ? yakmoa.x : 250,
    y : (yakmoa.y) ? yakmoa.y : 250,
    u_id : (yakmoa.u_id) ? yakmoa.u_id : 6924    //score : (yakmoa.score) ?
};
if (ysticker.y == 250)
{
    ysticker.haut = 130;
    ysticker.texte = 60;
}
else if (ysticker.y == 150)
{
    ysticker.haut = 70;
    ysticker.texte = 40;
}
else ysticker.haut = Math.round(ysticker.y / 2.5) -7 ;
ysticker.texte = Math.round(ysticker.y / 4) ;

var ycontenu = '<div id="yakmoa_sticker" style="height:' + ysticker.y + 'px;width:'+ ysticker.x + 'px; background: #f0f0f0 url(http://mon-qiqi.terato.org/img/sticker_' + ysticker.x + '_' + ysticker.y + '.png) no-repeat center center;margin-left:auto;margin-right:auto;_margin:0;padding:0;">' +
'<a href="http://mon-qiqi.terato.org" style="display:block;height:' + ysticker.y + 'px;width:'+ ysticker.x + 'px;text-decoration:none;margin:0 !important;padding:0;!important;">' +
'<div style="height:' + ysticker.y + 'px;width:'+ ysticker.x + 'px;margin:0 !important;padding:0;!important;font-family:georgia,times new roman; font-size:' + ysticker.texte + 'px; color:#09401F;text-decoration:none;text-align:center;padding-top:' + ysticker.haut + 'px;font-weight:bold;line-height:1;">70</div>' +
'</a>' +
'</div>';

document.write(ycontenu);
