// JavaScript Document


function pb(ct, wd, heg, ld)
{
	ct.clearRect(0, 0, stageWidth,stageHeight);
	ct.beginPath();
    ct.rect((stageWidth - wd) / 2, (stageHeight - heg) / 2, wd * ld, heg);
    ct.fillStyle = "#000000";
    ct.fill();
	ct.closePath();
	
	ct.beginPath();
	ct.rect((stageWidth - wd) / 2, (stageHeight - heg) / 2, wd, heg);
    ct.lineWidth = 3;
	ct.strokeStyle = "black";
    ct.stroke();
	ct.closePath();
}
