function resizeFrame(f) {
	if (f.contentWindow.document) {
		f.style.height = f.contentWindow.document.body.offsetHeight + "px";
	}
	else {
		f.style.height = f.contentDocument.body.offsetHeight + "px";
	}
}
function assignCSS(fs,cf) {
	if (fs.contentWindow.document) {
		var cssLink = fs.contentWindow.document.createElement("link");
		cssLink.href = "TCcss/" + cf;
		cssLink.rel = "stylesheet";
		cssLink.type = "text/css";
		fs.contentWindow.document.getElementsByTagName('head')[0].appendChild(cssLink);
	}
	else {
		alert('Error 1010');
	}
}
function scrollTop() {
	window.scrollTo(0,0);
}
