/**********************************************************************************
	popupwindow
	
***********************************************************************************/
// popup (½ºÅ©·Ñ¹Ù no)
function popup(pop,width,height) {
	var url = pop;  
	var wd = width;
	var he = height;
	
	window.open(url,"","toolbar=0,menubar=0,scrollbars=no,resizable=no,width=" + wd +",height=" + he + ";")
}

// popup_s(½ºÅ©·Ñ¹Ù yes)
function popup_s(pop,width,height) {
	var url = pop;  
	var wd = width;
	var he = height;
	
	window.open(url,"","toolbar=0,menubar=0,scrollbars=yes,resizable=no,width=" + wd +",height=" + he + ";")
}	


// MYOFFICE
function popMyoffice() {
	var positionX = (screen.width-645)/2;
	var positionY = (screen.height-750)/2;
	window.open("/html/myoffice/pop_myoffice_surmmary.html","Myoffice","left="+positionX+",top="+positionY+",width=645,height=750,toolbar=no,scrollbars=no" );
}


// Flash Load
function flash(flashid, flashfilename, flashwidth, flashheight, flashvars) {
	document.write('<object id="' + flashid + '" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+ flashwidth +'" height="'+ flashheight +'">');
	document.write('<param name="allowScriptAccess" value="always" />');
	document.write('<param name="movie" value="'+ flashfilename +'">');
	if (flashvars) document.write('<param name="flashVars" value="'+ flashvars +'">');
	document.write('<param name="wmode" value="transparent">');
	document.write('<embed wmode="transparent" name="' + flashid + '"');
	if (flashvars) document.write(' flashVars="'+ flashvars +'" ');
	document.write(' src="'+ flashfilename +'" width="'+ flashwidth +'" height="'+ flashheight +'" ');
	document.write(' allowScriptAccess="always" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" >');
	document.write('</embed>');
	document.write('</object>');
}