function object_tag(url, width, height, wmode, type){
	var tag_str;
	if (height>10){
		h=" height='"+height+"'";
	}else{
		h="";
	}
	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+"' "+h+">";
	tag_str+="<param name=movie value='"+url+"'>";
	tag_str+="<param name=quality value=high>";
	if (wmode){
	tag_str+="<param name='wmode' value='"+wmode+"'>";
	}
	tag_str+="<embed src='"+url+"' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'";
	tag_str+="type='application/x-shockwave-flash' width='"+width+"' "+h+">";
    tag_str+="</embed>"; 
    tag_str+="</object>";
	if (type==1)	{
		click_view.innerHTML = tag_str

	}else{
		document.write(tag_str);
	}
}



if (window.Event) // ³Ý½ºÄÉÀÌÇÁ¿¡¼­¸¸ ´ë¹®ÀÚ E.
  document.captureEvents(Event.MOUSEUP); // mouse up ÀÌº¥Æ®¸¦ ÀâÀ½

function nocontextmenu() {   // IE
   event.cancelBubble = true
   event.returnValue = false;
   return false;
}

function norightclick(e)    // Others
{
   if (window.Event) {
      if (e.which == 2 || e.which == 3)
         return false;
   } else
      if (event.button == 2 || event.button == 3){
         event.cancelBubble = true
         event.returnValue = false;
         return false;
      } 
}



function keypressed() { 
	if(event.keyCode==122){
		event.keyCode = 0;
		event.cancelBubble = true;
		event.returnValue = false;
	}
} 
//document.onkeydown=keypressed; 
//document.oncontextmenu = nocontextmenu;
//document.onmousedown = norightclick;
//document.onselectstart=new Function("return false");
document.ondragstart=new Function("return false");
