if(typeof(isFlashFile) == "undefined") {
	isFlashFile = true;
	
	function newWrite(str){
		if(canRedo) {
			samedocWrite(str);
		}
		else{
			document.write(str);
		}
	}


	function newWriteln(str){
		if(canRedo) {
			samedocumentWriteLn(str);
		}
		else{
			document.writeln(str);
		}
	}

	
	function chkIE() {
		return (navigator.appVersion.indexOf("MSIE") != -1 && navigator.userAgent.indexOf("Opera") < 0);
	}

	canRedo = chkIE();

	if(canRedo) {
		samedocWrite = document.write;
		samedocWriteLn = document.writeln;
		document.write = newWrite;
		document.writeln = newWriteln;
	}
}

