function iframeResize(){
 	var iframe=parent.document.getElementsByName("iframe_canvas")[0];
 	var bHeight = document.getElementById("container").scrollHeight+20;
	document.getElementById("container").style.overflow="hidden";
	var width="828px",bigWidth="846px";	
	parent.document.getElementById("content").style.width=width;
	parent.document.getElementById("content").style.overflow="hidden";
	parent.document.getElementById("content").style.scroll="no";
    	parent.document.getElementById("content").style.height=bHeight+50+"px"; 
	
	if(iframe.scrollHeight>bHeight){
		bHeight=iframe.scrollHeight;
	}
	iframe.style.height =bHeight+'px';   
	iframe.style.width=bigWidth;
	iframe.style.scroll="no";
	iframe.style.overflow="hidden";

	
	
 setTimeout(function(){
	iframe.style.height =bHeight +'px';
	iframe.style.width=bigWidth;
	iframe.style.scroll="no";
	iframe.style.overflow="hidden";
 },100);

}
window.onload=function(){iframeResize();}