jQuery(function() { // 이미지 롤 오버 if (jQuery('._on').size() > 0) { jQuery('._on').mouseenter(function() { if(jQuery(this).attr('src').indexOf('_on.') == '-1') { jQuery(this).attr('src', jQuery(this).attr('src').replace('.', '_on.')); } }).mouseleave(function() { jQuery(this).attr('src', jQuery(this).attr('src').replace('_on.', '.')); }); } }); /* 플래시 */ function flash(s,w,h,type,wm,id,autostart) { var obj = new String; var parameter = new String; var embed = new String; var html = new String; var allParameter = new String; var clsid = new String; var codebase = new String; var pluginspage = new String; var embedType = new String; var src = new String; var width = new String; var height = new String; src = s; width = w; height = h; var typ = type ? type : "f"; if(typ=="f") { clsid = "D27CDB6E-AE6D-11cf-96B8-444553540000"; codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"; pluginspage = "http://www.macromedia.com/go/getflashplayer"; embedType = "application/x-shockwave-flash"; } else if(typ=="m") {//? clsid="22D6F312-B0F6-11D0-94AB-0080C74C7E95"; codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"; embedType="application/x-oleobject"; parameter += "\n"; var auto = autostart ? "1" : "0"; parameter += "\n"; } parameter += "\n"; parameter += "\n"; parameter += "\n"; if(wm) { parameter += "\n"; } if ( clsid ) { obj = "\n"; } embed = "\n"; if ( obj ) { embed += "\n"; } html = obj + parameter + embed; document.write( html ); } /* 팝업 */ function popWindow01() { window.open("/popup/registerPopup.html", "popUp", "width=580, height=660, left=300, top=100"); }