function draw(){
	$.each(jQuery.browser, function(i, val) {
      $("<div>" + i + " : <span>" + val + "</span>")
                .appendTo(document.body);
    });
	if(!$.browser.webkit){
		return;
	}
	var ctx = document.getElementById('canvas1').getContext('2d');
	
	
	
	var c = Math.sqrt( (w/2)*(w/2) + (h/2)*(h/2) );
	//colors and shading
	var grad = ctx.createRadialGradient( w/2, h/2, 0, w/2, h/2, c);
	grad.addColorStop(0, 'rgba( 64, 192, 192, .6)');
	grad.addColorStop(1, 'rgba( 0, 128, 128, .6)');
	//shapes
	var s = h/4;
	ctx.fillStyle = grad;
	ctx.beginPath();
	ctx.arc( s, s, s, Math.PI, Math.PI*(3/2),false); 
	ctx.arc( w-s, s, s, Math.PI*(3/2), 0,false); 
	ctx.arc( w-s, h-s*2, s, 0, Math.PI*(1/2),false);
	ctx.lineTo(w*.2+s, h-s);
	ctx.lineTo(w*.2, h);
	ctx.lineTo(w*.2, h-s);
	ctx.arc( s, h-s*2, s, Math.PI*(1/2), Math.PI,false); 
	ctx.fill();
	ctx.closePath();
}

