var iframeHeight = function(){
	if(!window.parent.document) return false;

	try { // !IE
		document.styleSheets[0].insertRule( 'html' + '{overflow:hidden;}', document.styleSheets[0].cssRules.length );
	} catch (e) { // IE
		document.styleSheets[0].addRule( 'html', '{overflow:hidden;}');
	}

	height = document.getElementsByTagName('div')[0].offsetHeight;
	window.parent.document.getElementById('parts').style.height = height + 'px';

	setTimeout('iframeHeight()',750)
}
/*
try {
	window.addEventListener('load', iframeHeight, false);
} catch (e) {
	window.attachEvent('onload', iframeHeight);
}
*/

document.open();
document.write('<iframe id=\"parts\" name=\"iframe\" src=\"http://www.kaubou.com/blog/180x150_red.html\" width=\"180\" height=\"150\" scrolling=\"no\" align=\"top\" frameborder=\"0\" onload=\"iFrameHeight()\" style=\"padding:0;margin:0;\">');
document.write('</iframe>');
document.close();
