// id 
function openID(){
	window.open('/www/Member/id.php','SmallWindow','width=450,height=160,scrollbars=no');
	}
	
// zipcode 
function openZipcode(){
	window.open('/www/Member/zipcode.php','SmallWindow','width=450,height=160,scrollbars=no');
	}

// id search
function openIdSearch(){
	window.open('/www/Member/id_search.php','SmallWindow','width=450,height=160,scrollbars=no');
	}
	
// pw search 
function openPwSearch(){
	window.open('/www/Member/pw_search.php','SmallWindow','width=450,height=160,scrollbars=no');
	}

// history_event
function openHisevent(){
	window.open('/www/Company/History_event.php','SmallWindow','width=800,height=600,scrollbars=no');
	}
		
		
// open window -email
function openEmail(){
	window.open('/www/mail.html','SmallWindow','width=450,height=160,scrollbars=no');
	}
	
// open window °³ÀÎÁ¤º¸º¸È£Á¤Ã¥
function openPrivate(){
	window.open('/www/Private.html','SmallWindow','width=650,height=650,scrollbars=yes');
	}
	
// flash
function object_tag(url, width, height){
	var tag_str;
	tag_str="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0'";
	tag_str+=" width='"+width+"' height='"+height+"'>";
	tag_str+="<param name=movie value='"+url+"'>";
	tag_str+="<param name=quality value=high>";
	tag_str+='<param name="wmode" value="transparent" >';
	tag_str+="<embed src='"+url+"' quality=high pluginsp;age='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'";
	tag_str+="type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'>";
    tag_str+="</embed>"; 
    tag_str+="</object>";
	document.write(tag_str);
}

//µ¿¿µ»óÃ³¸®
function aviPlay(src,w,h) {
document.write('<embed src="'+src+'" width='+w+' height='+h+'>')
}


function aviPlay2(src,w,h) {
document.write("<object id='psj_player' classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95'");
document.write("codebase='http://www.microsoft.co.kr/download/mpie4ful.exe'");
document.write("width='"+w+"' height='"+h+"' id='Player' name='player'");
document.write("standby='Loading Microsoft Windows Media Player components...'");
document.write("type='application/x-oleobject'>");
document.write("<param name='FileName' value='"+src+"'>");
document.write("<param name='CurrentPosition' value='0'>");
document.write("<param name='SetCurrentEntry' value='1'>");
document.write("<param name='ClickToPlay' value='0'>");
document.write("<param name='AutoSize' value='0'>");
document.write("<param name='AutoResize' value='0'>");
document.write("<param name='AutoStart' value='1'>");
document.write("<param name='AllowScan' value='1'>");
document.write("<param name='ShowControls' value='0'>");
document.write("<param name='ShowAudioControls' value='0'>");
document.write("<param name='ShowDisplay' value='0'>");
document.write("<param name='ShowTracker' value='1'>");
document.write("<param name='ShowStatusBar' value='1'>");
document.write("<param name='ShowPositionControls' value='0'>");
document.write("<param name='DisplayBackColor' value='0'>");
document.write("<param name='SendOpenStateChangeEvents' value='0'>");
document.write("<param name='SendPlayStateChangeEvents' value='0'>");
document.write("<param name='ShowCaptioning' value='0'>");
document.write("<param name='WindowlessVideo' value='0'>");
document.write("<param name='ShowHint' value ='-1'>");
document.write("<param name='Volume' value='0'>");
document.write("<param name='BufferingTime' value='5'>");
document.write("<param name='AnimationAtStart' value='0'>");
document.write("<Embed type='application/x-mplayer2' FileName='"+src+"' pluginspage='http://www.microsoft.com/windows/mediaplayer/download/default.asp' Name='Player' SHOWSTATUSBAR=1 SHOWCONTROLS=0 SHOWGOTOBAR=0 SHOWDISPLAY=0 INVOKEURLS=0 AUTOSTART=1 CLICKTOPLAY=0 DisplayForeColor=12945678 width='"+w+"' height='"+h+"'></embed>");
document.write("</object>");

}