function flashobject(file,width,height,bgcolor,name) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width+'" height="'+height+'" id="'+name+'">');
	document.write('<param name="movie" value="'+file+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<param name="bgcolor" value="'+bgcolor+'" />');	
	document.write('<embed src="'+file+'" quality="high" wmode="transparent" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" name="'+name+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'	);
	document.write('</object>');
}

function flashobject2(file,width,height,bgcolor,name) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width+'" height="'+height+'" id="'+name+'">');
	document.write('<param name="movie" value="'+file+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="bgcolor" value="'+bgcolor+'" />');	
	document.write('<embed src="'+file+'" quality="high" wmode="transparent" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" name="'+name+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'	);
	document.write('</object>');
}

//ÆË¾÷Ã¢À» È­¸é Á¤Áß¾Ó¿¡ ¿ÀÇÂ

function CenterImage(imagesrc,winwidth,winheight){
    LeftPosition = (screen.width) ? (screen.width-winwidth)/2 : 0;
    TopPosition = (screen.height) ? (screen.height-winheight)/2 : 0;
    look = 'height='+winheight+',width='+winwidth+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable' 
	popwin=window.open("","a",look)
	popwin.document.open()
	popwin.document.write('<title>::::: ÄÚ½º °ø·« °¡ÀÌµå :::::</title><body topmargin=0 leftmargin=0  onload=self.focus();><img style=cursor:hand; onclick="self.close()" src="'+imagesrc+'"></body>')
	popwin.document.close()
}
