function iframe_resize() {
	var iframe = document.getElementById("content_frame");
	var iframeh;
	if(iframe.document && iframe.document.body.scrollHeight) {
		iframeh = document.frames("content_frame").document.body.scrollHeight;
	}
	else {
		iframeh = iframe.contentDocument.body.offsetHeight;
	}
	iframe.height = iframeh;
}

function iframe_resize_bckup() {
	var iframe = document.getElementById("content_frame");
	if(iframe.document && iframe.document.body.scrollHeight) {
		iframe.height=document.frames("content_frame").document.body.scrollHeight;
	}
	else {
		iframe.height=iframe.contentDocument.body.offsetHeight;
	}
}

function load_content () {
	if (parent.document.getElementById('main_div')) {
		parent.document.getElementById('main_div').innerHTML=document.getElementById('inner_frame').innerHTML;
	}

//	if (!parent.document.getElementById('main_div')) {
//	window.location=('index.php') ;
//	}
}
