// JavaScript Document

/* ·Ñ¿À¹ö */
function flashWrite(obj){
	document.write(obj);
}

var _on = "_over";
var _overCheck = true;

function overImg(oThis){
	if( oThis.src.search(_on) != -1 ) {
		_overCheck = false;
	}else{
		_overCheck = true;
		
		var src_arr = oThis.src.split( "." );
		var hat = "." + src_arr[ src_arr.length-1 ];
		var temp_src = oThis.src.substr( 0, oThis.src.length - hat.length );
				
		oThis.src = temp_src + _on + hat;
	}
}

function outImg(oThis){
	if( _overCheck == true ) oThis.src = oThis.src.replace(_on, "");
}

function $id(obj){
	return document.getElementById(obj);
}
