window.onload = function ()
{
	var clipWidth = 980;
	var clipHeight = 660;
	window.onresize = function (evt)
	{
		var width = window.innerWidth || (window.document.documentElement.clientWidth || window.document.body.clientWidth);
		var height = window.innerHeight || (window.document.documentElement.clientHeight || window.document.body.clientHeight);
		c=swfobject.getObjectById('kcd');
		if ( height < clipHeight) { c.height=clipHeight; }
		else { c.height=height; }
		if (width<clipWidth) { c.width=clipWidth; }
		else { c.width=width; }
	}
	window.onresize();
}
