function GnxFlashActivate ( strFlashUrl , n4Witdh , n4Height , strWmode , strId , strClassName , strFlashvar ) {
	//width,height ¿©ºÎ & ¹­À½ (width,height°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
	var str ;
	if (n4Witdh != 0) {
		objSize_attribute = " width='"+ n4Witdh +"' height='"+ n4Height +"'";
	} else {
		objSize_attribute = "";
	}
	//id ¿©ºÎ (ID ¼¿·º·ºÅÍ°¡ ¾øÀ»°æ¿ì 0À¸·Î¼±¾ð)
	if (strId != 0) {
		objId_attribute = " id='" + strId + "'";
		objId_IE_attribute = " id='" + strId + "'";
	} else {
		objId_attribute = "";
		objId_IE_attribute = "";
	}
	//class ¿©ºÎ (class°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
	if (strClassName != 0) {
		className_attribute = " class='" + strClassName + "'";
	} else {
		className_attribute = "";
	}
	//wmode ¿©ºÎ (wmode°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
	if (strWmode != 0) {
		wmode_param = "<param name='wmode' value='" + strWmode + "' />";
		wmode_attribute = " wmode='" + strWmode + "'";
	} else {
		wmode_param = "";
		wmode_attribute = "";
	}
	//Flashvar ¿©ºÎ (wmode°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
	if (strFlashvar != 0) {
		Flashvar_param = "<param name='flashvars' value='" + strFlashvar + "' />";
		Flashvar_attribute = " Flashvars='" + strFlashvar + "'";
	} else {
		Flashvar_param = "";
		Flashvar_attribute = "";
	}
	document.writeln( "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' " + objSize_attribute + objId_IE_attribute + className_attribute + ">" );
	document.writeln( "<param name='movie' value='"+ strFlashUrl +"' />" );
	document.writeln( "<param name='quality' value='high' />" );
	document.writeln( "<param name='allowScriptAccess' value='always' />" );
	document.writeln( "<PARAM NAME='wmode' VALUE='transparent' />" );
	document.writeln( wmode_param );
	document.writeln( Flashvar_param );
	document.writeln( "<!-- Hixie method -->" );
	document.writeln( "<!--[if !IE]> <-->" );
	document.writeln( "<object type='application/x-shockwave-flash' data='"+ strFlashUrl +"'" + Flashvar_attribute + objSize_attribute + objId_attribute + wmode_attribute + className_attribute + "></object>" );
	document.writeln( "<!--> <![endif]-->" );
	document.writeln( "</object>" );
}

var maxHeight = 720 ;

function fz_callSize(n) {
	maxHeight = n ;
	var yMax = document.body.clientHeight;

	if ( n <= yMax ) {
		maxHeight = yMax ;
	}
	document.getElementById('vita_index').style.height = maxHeight ;
}

function fz_printMap() {
	alert("ÇÁ¸°Æ®¸Ê ¹öÆ° Å¬¸¯") ;
}

function centerWindow() {
		var xMax = document.body.clientWidth;
		var yMax = document.body.clientHeight;
		if ( xMax <= 1000 ) {
			document.getElementById('vita_index').style.width = 1000 ;
		} else {
			document.getElementById('vita_index').style.width = xMax ;
		}
		if ( yMax <= maxHeight ) {
			document.getElementById('vita_index').style.height = maxHeight ;
		} else {
			document.getElementById('vita_index').style.height = yMax ;
		}
	}
//=================================================================================================
//========== 2008.06.26 (01:05) swf Æ÷Ä¿½º½Ã ¸¶¿ì½º ÈÙ ÀÌº¥Æ® START //=============================
//=================================================================================================
var speed ;
var currentpos = 0 ;
var curpos1 = 0 ;
var alt = 1 ;
var curpos2 = -1 ;

function fn_htmlScroll(delta) {
	scrollspeed=delta*20; 
	setTimeout('scrollspeed=0',50);
}
function init_flash(){
	if (window.scrollspeed!=0){
		speed = window.scrollspeed ;
		scrollwindow()
	}
}
function scrollwindow(){
	if (navigator.appName.indexOf("Microsoft") != -1) {
		temp = window.pageYOffset ;
	} else {
		temp = document.body.scrollTop ;
	}
	alt = (alt==0) ? 1 : 0
	if (alt==0) {
		curpos1 = temp ;
	} else {
		curpos2 = temp ;
		}
	window.scrollBy(0,speed)
}

setInterval("init_flash()",5);

