function TransObject(swf1, width, height, value1)
{
  var tttt = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'"><param name="movie" value="'+swf1+'"><param name="wmode" value="'+value1+'"><param name="quality" value="high"><embed src="'+swf1+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed></object>';
  document.write(tttt);
}

function createApp(str_archive, str_file){
	document.write("<applet code='a3d.ImageRenderApplet.class' archive='"+str_file+"' codebase='.' name='apv' width=600 height=430 align='center'>");
	document.write("  <param name='file' value='"+str_archive+"'>");
	document.write("  <param name='barcolor' value='A6B9F0'>");
	document.write("  <param name='pan' value='180'>");
	document.write("  <param name='tilt' value='0'>");
	document.write("  <param name='fov' value='115'>");
	document.write("  <param name='fovmax' value='160'>");
	document.write("  <param name='fovmin' value='0'>");
	document.write("  <param name='auto' value='3'>");
	document.write("  <param name='panotilt' value='0'>");
	document.write("  <param name='inits' value='viewer:gotoView(-180,0,0);startAutoPan();toggleQuality();'>");
	document.write("  <param name='shotspot0' value=\" x500 y370 a597 b382 l0.7 q  i'/webpage/pr/vr/kcta-1/images/button.gif'\">");
	document.write("  <param name='shotspot1' value=' x496 y370 a513 b382 q u'viewer:gotoView(207,1,1)' '>");
	document.write("  <param name='shotspot2' value=' x508 y370 a525 b382 q u'viewer:ZoomIn()' '>");
	document.write("  <param name='shotspot3' value=' x520 y370 a537 b382 q u'viewer:ZoomOut()' '>");
	document.write("  <param name='shotspot4' value=' x532 y370 a549 b382 q u'viewer:startAutoPan(-1.6,0,1)' '>");
	document.write("  <param name='shotspot5' value=' x544 y370 a561 b382 q u'viewer:startAutoPan(1.6,0,1)' '>");
	document.write("  <param name='shotspot6' value=' x556 y370 a573 b382 q u'viewer:stopAutoPan()' '>");
	document.write("  <param name='shotspot7' value=' x568 y370 a585 b382 q u'viewer:startAutoPan(0,1.6,1)' '>");
	document.write("  <param name='shotspot8' value=' x580 y370 a597 b382 q u'viewer:startAutoPan(0,-1.6,1)' '>");
	document.write("</applet>");
}


function movie(mov1, width, height, mstart){  

  document.write("<object id='Player' width='"+width+"' height='"+height+"' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>");
  document.write("  <param name='FileName' value='"+mov1+"'>");
  document.write("  <param name='autoStart' value='"+mstart+"'>");
  document.write("  <param name='AutoRewind' value='false'>");
  document.write("  <param name='volume' VALUE='80'>");
  document.write("  <param name='enabled' VALUE='false'>");
  document.write("  <param name='showControls' value='false'>");
  document.write("  <param name='showPositionControls' VALUE='false'>");
  document.write("  <param name='showStatusBar' value='false'>");
  document.write("  <param name='showDisplay' value='false'>");
  document.write("  <param name='showGotoBar' VALUE='false'>");
  document.write("  <param name='defaultFrame' value='Slide'>");
  document.write("  <param name='sendMouseClickEvents' VALUE='false'>");
  document.write("  <param name='enableContextMenu' value='false'>");
  document.write("  <param name='transparentAtStart' value='false'>");
  document.write("  <param name='animationAtStart' value='false'>");
  document.write("</object>");  
}




/*
*¼ö»ê ¿¬±¸¼Ò °ü·Ã ´ã´çÀÚ ÀÌ¸ÞÀÏ ¸µÅ© ÆË¾÷
*ÀÛ¾÷ÀÚ : ±èµ¿¿±
*/
//»õÃ¢¶ç¿ì±â 
function _open_window(url, target, w, h, scroll) { 
	var sx, sy
//    if(s) s = 'yes'; 
//    else s = 'no'; 
	sx=(window.screen.width - w) / 2
	sy=(window.screen.height - h) / 2
	if (!scroll) scroll = 'yes';
	scroll = scroll;
	var its = window.open(url,target,'width='+w+',height='+h+',top='+sy+',left='+sx+',scrollbars='+scroll); 
	its.focus(); 
} 
function _detMail(to_email, to_name){
	_open_window('/spam?id=insert_by_email&to_email='+to_email+'&to_name='+to_name,'spamWin','350','300','no');
}
function topNavi_p(url, w, h){
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width=",w," height=",h,">");
	document.write("<param name=movie value='",url,"'><param name=quality value=high><param name=wmode value=transparent><param name=menu value=false>");
	document.write("<param name=loop value=false><param name=menu value=false><param name=quality value=high><param name=scale value=exactfit><param name=salign value=T>");
	document.write("<embed src='",url,"' quality=high width=",w," height=",h," swliveconnect=true type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' wmode=transparent></embed></object>");
}
