document.title="¹ÏÀ½, »ïÀÏÁ¦¾àÀÇ ¸¶À½ÀÔ´Ï´Ù.";



//¿À¸¥ÂÊ ¹öÆ° ±ÝÁö ---------------------start


//var message=""; // °æ°í ¸Þ¼¼Áö¸¦ ³ÖÀ¸·Á¸é ¿©±â¿¡ ÀÔ·ÂÇÕ´Ï´Ù 
//function clickIE() {
//	if (document.all) {
//	(message);return false;
//	}
//} 
//function clickNS(e) {
//	if (document.layers||(document.getElementById&&!document.all)) { 
//		if (e.which==2||e.which==3) {
//			(message);return false;
//		}
//	}
//} 
//
//if (document.layers) {
//	document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;
//}else{
//	document.onmouseup=clickNS;document.oncontextmenu=clickIE;
//} 
//
//document.oncontextmenu=new Function("return false");
//document.ondragstart=new Function("return false");
//document.onselectstart=new Function("return false");



//¿À¸¥ÂÊ ¹öÆ° ±ÝÁö ---------------------end




function toggle(e) {
  for(i=1;i<=20;i++){
 		if(document.getElementById(eval("'q" + i + "'"))) {
			if(e.style.display=="none") document.getElementById(eval("'q" + i + "'")).style.display="none"; 	
		}
 	}	
  if (e.style.display =="") {e.style.display="none";} 
  else {e.style.display="";}
 }

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function IrOpen(){
	var irwin = window.open('http://dart.fss.or.kr/dart/SimpleSearch?crpNm=000520&term=3&sort=date','','width=770,height=600');
}

//############### ÃÖ»ó´Ü ÇÃ·¡½¬ ¸Þ´º ##########################
// °Ë»ö
function flash_search(keyword) {
	if (keyword != "undefined") {
		document.location.href = '/Product/PrInfo_List.asp?srch_flag=prod_name&srch_word='+keyword;
	} else {
		alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
		return;
	}
}
var domainUrlNm="http://www.samil-pharm.com";
//È¨
function flash_main() {document.location.href = domainUrlNm+'/';}
// ·Î±×ÀÎ
function flash_login() {document.location.href = domainUrlNm+'/CS/CSLogin.asp';}
// È¸¿ø°¡ÀÔ
function flash_member_regist() {document.location.href = domainUrlNm+'/CS/CSMember_Join.asp';}
// ·Î±×¾Æ¿ô
function flash_logout() {document.location.href = domainUrlNm+'/CS/logout.asp';}
// È¸¿øÁ¤º¸¼öÁ¤
function flash_member_edit() {document.location.href = domainUrlNm+'/CS/CSMember_Join_Modify.asp';}
// »çÀÌÆ®¸Ê
function flash_sitemap() {document.location.href = domainUrlNm+'/util/sitemap.html';}
// ¿µ¹®
function flash_eng() {window.open('http://eng.samil-pharm.com');}
// ÄÁÅÃ¾î½º
function flash_contactus() {window.open('/util/contact.html','','resizable=no,width=400,height=330');}

//############### ÇÑ´Ü brand ÇÃ·¡½¬ ¸Þ´º ##########################
// ºê·çÆæ
function flash_brand_menu1() {window.open('http://www.samil-kids.com');}
// ÄÝµð
function flash_brand_menu2() {window.open('http://www.samil-kids.com');}
// ¾×Æ¼ÇÇµå
function flash_brand_menu3() {window.open('http://www.samil-kids.com');}
// Áö¸£ÅØ
function flash_brand_menu4() {window.open('http://www.zyrtec.co.kr');}
// ÀÚÀÌ·Î¸¯
function flash_brand_menu5() {window.open('http://www.zyloric.co.kr');}
// Ä¡°ú»ç¾÷ºÎ
function flash_brand_menu6() {window.open('http://www.samil-dental.com');}

//############### ¸ÞÀÎ ÁÖ¿äÀü¹®ÀÇ¾à ¸µÅ© #########################
function flash_cpr_link(flag){
	if (flag == 1) {document.location.href = domainUrlNm+'/CPR/CPSO.asp';}
	if (flag == 2) {document.location.href = domainUrlNm+'/CPR/CPSD.asp';}
	if (flag == 3) {document.location.href = domainUrlNm+'/CPR/CPHM.asp';}
	if (flag == 4) {document.location.href = domainUrlNm+'/CPR/CPKids.asp';}
	if (flag == 5) {document.location.href = domainUrlNm+'/CPR/CPDT.asp';}
}

//############### »ó´Ü ÇÃ·¡½¬ ¸ÞÀÎ ¸Þ´º
// Á¦Ç°¾È³»
function flash_top_menu1(flag){
	if (flag == 0) {document.location.href = domainUrlNm+'/Product/PrInfo_List.asp';}
	if (flag == 1) {document.location.href = domainUrlNm+'/Product/PrNew_List.asp';}
	if (flag == 2) {document.location.href = domainUrlNm+'/Product/PrBest_List.asp';}
	if (flag == 3) {document.location.href = domainUrlNm+'/Product/PrInfo_List.asp';}
	if (flag == 4) {document.location.href = domainUrlNm+'/Product/PrSearch.asp';}
	if (flag == 5) {document.location.href = domainUrlNm+'/Product/PrCatalogue_List.asp';}
	if (flag == 6) {document.location.href = domainUrlNm+'/Product/PrMguide.asp'}
	if (flag == 7) {document.location.href = domainUrlNm+'/Product/PrDiscontinue_List.asp';}
}
// ÅõÀÚÁ¤º¸
function flash_top_menu2(flag){
	if (flag == 0) {document.location.href = domainUrlNm+'/IR/IRFinancial_01.asp';}
//	if (flag == 1) {IrOpen();}
	if (flag == 1) {document.location.href = domainUrlNm+'/IR/IRPublic.asp';}
	if (flag == 2) {document.location.href = domainUrlNm+'/IR/IRInfo_list.asp';}
	if (flag == 3) {document.location.href = domainUrlNm+'/IR/IRFinancial_01.asp';}
	if (flag == 4) {document.location.href = domainUrlNm+'/IR/IR_Search01.asp';}
	if (flag == 5) {document.location.href = domainUrlNm+'/IR/IRStockbbs_list.asp';}
}
// Àü¹®°¡¶ó¿îÁö
function flash_top_menu3(flag){
	if (flag == 0) {document.location.href = domainUrlNm+'/Expertl/ELWholesale_List.asp';}
	if (flag == 1) {document.location.href = domainUrlNm+'/Expertl/ELWholesale_List.asp';}
	if (flag == 2) {document.location.href = domainUrlNm+'/Expertl/ELSearchSgroup_manual.asp';}
	if (flag == 3) {document.location.href = domainUrlNm+'/Expertl/ELRecipe_List.asp';}
	if (flag == 4) {document.location.href = domainUrlNm+'/Expertl/IRInfo_List.htm';}
}
// °Ç°­½ºÆä¼È
function flash_top_menu4(flag){
	if (flag == 0) {document.location.href = domainUrlNm+'/Health/HealthSpeciality_List.asp';}
	if (flag == 1) {document.location.href = domainUrlNm+'/Health/HealthSpeciality_List.asp';}
	if (flag == 2) {document.location.href = domainUrlNm+'/Health/HealthExpert_List.asp';}
	if (flag == 3) {document.location.href = domainUrlNm+'/Health/HealthDisease_View1.htm';}
}
// °í°´Áö¿ø
function flash_top_menu5(flag){
	if (flag == 0) {document.location.href = domainUrlNm+'/CS/Customer_Service.asp';}
	if (flag == 1) {document.location.href = domainUrlNm+'/CS/CSVoice_List.asp';}
	if (flag == 2) {document.location.href = domainUrlNm+'/CS/CSQA_List.asp';}
	if (flag == 3) {document.location.href = domainUrlNm+'/CS/CSFaq_List.asp';}
}
// È¸»ç¼Ò°³
function flash_top_menu6(flag){
	if (flag == 0) {document.location.href = domainUrlNm+'/about/AbOverview.html';}
	if (flag == 1) {document.location.href = domainUrlNm+'/about/AbOverview.html';}
	if (flag == 2) {document.location.href = domainUrlNm+'/about/AbCI.html';}
	if (flag == 3) {document.location.href = domainUrlNm+'/about/AbHistory_01.html';}
	if (flag == 4) {document.location.href = domainUrlNm+'/about/AbRD.html';}
	if (flag == 5) {document.location.href = domainUrlNm+'/about/AbOrganization.html';}
	if (flag == 6) {document.location.href = domainUrlNm+'/about/AbMap.html';}
}
// »çÀÌ¹öÈ«º¸
function flash_top_menu7(flag){
	if (flag == 0) {document.location.href = domainUrlNm+'/CPR/CPNews_List.asp';}
	if (flag == 1) {document.location.href = domainUrlNm+'/CPR/CPNews_List.asp';}
	if (flag == 2) {document.location.href = domainUrlNm+'/CPR/CPPR_TV_List.asp';}
	if (flag == 3) {document.location.href = domainUrlNm+'/CPR/CPSO.asp';}
	if (flag == 4) {document.location.href = domainUrlNm+'/CPR/CPSFT.asp';}
	if (flag == 5) {document.location.href = domainUrlNm+'/CPR/CPWelfare00.htm';}
}
// Ã¤¿ëÁ¤º¸
function flash_top_menu8(flag){
	if (flag == 0) {document.location.href = domainUrlNm+'/recruit/RePerson.html';}
	if (flag == 1) {document.location.href = domainUrlNm+'/recruit/RePerson.html';}
	if (flag == 2) {document.location.href = domainUrlNm+'/recruit/ReSystemPositon.html';}
	if (flag == 3) {document.location.href = domainUrlNm+'/recruit/ReInfoProcess.html';}
	if (flag == 4) {document.location.href = domainUrlNm+'/recruit/ReInfoQA_list.asp';}
	if (flag == 5) {document.location.href = domainUrlNm+'/recruit/ReInfoFAQ.asp';}
}


//############### ¿ÞÂÊ ÇÃ·¡½¬ ¸Þ´º
// Á¦Ç°¾È³»
function flash_left_menu1(flag){
	if (flag == 1) {document.location.href = '/Product/PrNew_List.asp';}
	if (flag == 2) {document.location.href = '/Product/PrBest_List.asp';}
	if (flag == 3) {document.location.href = '/Product/PrInfo_List.asp';}
	if (flag == 4) {document.location.href = '/Product/PrSearch.asp';}
	if (flag == 5) {document.location.href = '/Product/PrCatalogue_List.asp';}
	if (flag == 6) {document.location.href = '/Product/PrMguide.asp'}
	if (flag == 7) {document.location.href = '/Product/PrDiscontinue_List.asp';}
}
// ÅõÀÚÁ¤º¸
function flash_left_menu2(flag){
//	if (flag == 1) {IrOpen();}
	if (flag == 1) {document.location.href = '/IR/IRFinancial_01.asp';}
	if (flag == 11) {document.location.href = '/IR/IRFinancial_01.asp';}
	if (flag == 12) {document.location.href = '/IR/IRFinancial_02.asp';}
	if (flag == 13) {document.location.href = '/IR/IRFinancial_03.asp';}
	if (flag == 14) {document.location.href = '/IR/IRFinancial_04.asp';}
	if (flag == 15) {document.location.href = '/IR/IRFinancial_05.asp';}
	if (flag == 16) {document.location.href = '/IR/IRFinancial_06.asp';}
	if (flag == 17) {document.location.href = '/IR/IRAnalysis.asp';}
	if (flag == 2) {document.location.href = '/IR/IRInfo_list.asp';}
	if (flag == 3) {document.location.href = '/IR/IRPublic.asp';}
	if (flag == 4) {document.location.href = '/IR/IR_Search01.asp';}
	if (flag == 41) {document.location.href = '/IR/IR_Search01.asp';}
	if (flag == 42) {document.location.href = '/IR/IR_Black.asp';}
	if (flag == 5) {document.location.href = '/IR/IRStockbbs_list.asp';}
}
// Àü¹®°¡¶ó¿îÁö
function flash_left_menu3(flag){
	if (flag == 1) {document.location.href = '/Expertl/ELWholesale_List.asp';}
	if (flag == 2) {document.location.href = '/Expertl/ELSearchSgroup_manual.asp';}
	if (flag == 3) {document.location.href = '/Expertl/ELRecipe_List.asp';}
	if (flag == 4) {document.location.href = '/Expertl/IRInfo_List.htm';}
}
// °Ç°­½ºÆä¼È
function flash_left_menu4(flag){
	if (flag == 1) {document.location.href = '/Health/HealthSpeciality_List.asp';}
	if (flag == 2) {document.location.href = '/Health/HealthExpert_List.asp';}
	if (flag == 3) {document.location.href = '/Health/HealthDisease_View1.htm';}
}
// °í°´Áö¿ø
function flash_left_menu5(flag){
	if (flag == 1) {document.location.href = '/CS/CSVoice_List.asp';}
	if (flag == 2) {document.location.href = '/CS/CSQA_List.asp';}
	if (flag == 3) {document.location.href = '/CS/CSFaq_List.asp';}
}
// È¸»ç¼Ò°³
function flash_left_menu6(flag){
	if (flag == 1) {document.location.href = '/about/AbOverview.html';}
	if (flag == 2) {document.location.href = '/about/AbCI.html';}
	if (flag == 3) {document.location.href = '/about/AbHistory_01.html';}
	if (flag == 4) {document.location.href = '/about/AbRD.html';}
	if (flag == 5) {document.location.href = '/about/AbOrganization.html';}
	if (flag == 6) {document.location.href = '/about/AbMap.html';}
}
// »çÀÌ¹öÈ«º¸
function flash_left_menu7(flag){
	if (flag == 1) {document.location.href = '/CPR/CPNews_List.asp';}
	if (flag == 2) {document.location.href = '/CPR/CPPR_TV_List.asp';}
	if (flag == 3) {document.location.href = '/CPR/CPSO.asp';}
	if (flag == 31) {document.location.href = '/CPR/CPSO.asp';}
	if (flag == 32) {document.location.href = '/CPR/CPSD.asp';}
	if (flag == 33) {document.location.href = '/CPR/CPHM.asp';}
	if (flag == 34) {document.location.href = '/CPR/CPKids.asp';}
	if (flag == 35) {document.location.href = '/CPR/CPDT.asp';}
	if (flag == 4) {document.location.href = '/CPR/CPSFT.asp';}
	if (flag == 5) {document.location.href = '/CPR/CPWelfare00.htm';}
	if (flag == 51) {document.location.href = '/CPR/CPWelfare01.htm';}
	if (flag == 52) {document.location.href = '/CPR/CPWelfare02.htm';}
	if (flag == 53) {document.location.href = '/CPR/CPWelfare03.htm';}
}
// Ã¤¿ëÁ¤º¸
function flash_left_menu8(flag){
	if (flag == 1) {document.location.href = '/recruit/RePerson.html';}
	if (flag == 2) {document.location.href = '/recruit/ReSystemPositon.html';}
	if (flag == 21) {document.location.href = '/recruit/ReSystemPositon.html';}
	if (flag == 22) {document.location.href = '/recruit/ReSystemCompensation.html';}
	if (flag == 23) {document.location.href = '/recruit/ReHrEdu1.html';}
	if (flag == 24) {document.location.href = '/recruit/ReSystemWelfare.html';}
	if (flag == 3) {document.location.href = '/recruit/ReInfoProcess.html';}
	if (flag == 31) {document.location.href = '/recruit/ReInfoProcess.html';}
	if (flag == 32) {document.location.href = '/recruit/ReInfoNotice.asp?mode=1';}
	if (flag == 33) {document.location.href = '/recruit/ReInfoNotice.asp?mode=2';}
	if (flag == 34) {document.location.href = '/recruit/ReInfoDB.asp';}
	if (flag == 35) {document.location.href = '/recruit/ReInfoResult.asp';}
	if (flag == 4) {document.location.href = '/recruit/ReInfoQA_list.asp';}
	if (flag == 5) {document.location.href = '/recruit/ReInfoFAQ.asp';}
}




// ¸ÞÀÎ ºñÁê¾ó
function visual_object(width,height,dir,mainPos,subPos,subPos2){
	document.write("<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='"+dir+"?oneD="+mainPos+"&twoD="+subPos+"&threeD="+subPos2+"'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='"+dir+"?pageNum="+mainPos+"&subNum="+subPos+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'></embed></object>");	
//	document.write("<img src='"+dir+"' width='"+width+"' height='"+height+"'  border='0'>"); //ÀÓ½Ã
}
// ¸ÞÀÎ ºñÁê¾ó-SSL¿ë
function visual_object_ssl(width,height,dir,mainPos,subPos,subPos2){
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+width+"' height='"+height+"'><param name='movie' value='"+dir+"?oneD="+mainPos+"&twoD="+subPos+"&threeD="+subPos2+"'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='"+dir+"?pageNum="+mainPos+"&subNum="+subPos+"' quality='high' pluginspage='https://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'></embed></object>");	
//	document.write("<img src='"+dir+"' width='"+width+"' height='"+height+"'  border='0'>"); //ÀÓ½Ã
}
// ¼­ºê¸Þ´ºÆ®¸®
function sub_menu_object(width,height,dir,mainPos,subPos){
	document.write("<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='"+dir+"?pageNum="+mainPos+"&subNum="+subPos+"'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='"+dir+"?pageNum="+mainPos+"&subNum="+subPos+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'></embed></object>");	
//	document.write("<img src='"+dir+"' width='"+width+"' height='"+height+"'  border='0'>"); //ÀÓ½Ã
}
// ¼­ºê¸Þ´ºÆ®¸®-SSL¿ë
function sub_menu_object_ssl(width,height,dir,mainPos,subPos){
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+width+"' height='"+height+"'><param name='movie' value='"+dir+"?pageNum="+mainPos+"&subNum="+subPos+"'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='"+dir+"?pageNum="+mainPos+"&subNum="+subPos+"' quality='high' pluginspage='https://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'></embed></object>");	
//	document.write("<img src='"+dir+"' width='"+width+"' height='"+height+"'  border='0'>"); //ÀÓ½Ã
}

// ÇÏ´Ü ÀÎÅ©·çµå
function footer_inc(){
	var footer=  ''+
	"<table border='0' cellspacing='0' cellpadding='0'>" +
	"	<tr>" +
	"		<td rowspan='2' width='98'><a href='http://www.samil-pharm.com/' target='_top'><img src='/images/footer/sm_fme_logo.jpg' width='98' height='55' border='0' /></a></td>" +
	"		<td width='345' valign='top'><img src='/images/footer/sm_fme_addr.jpg' width='247' height='14' /><a href='mailto:webmaster@samil-pharm.com'><img src='/images/footer/sm_fme_mailto.jpg' width='98' height='14' / border=0></a><br />" +
	"		<img src='/images/footer/sm_fme_copy.jpg' width='345' height='16' /></td>" +
	"		<td valign='top'><a href='http://www.samil-pharm.com/util/Legal.html'><img src='/images/footer/sm_fme_law.jpg' border='0' /></a><a href='http://www.samil-pharm.com/util/Protection.html'><img src='/images/footer/sm_fme_person.jpg' border='0' /></a><a href='#' onClick=\"MM_openBrWindow('http://www.samil-pharm.com/util/NotEmail.html','','width=400,height=230')\"><img src='/images/footer/sm_fme_email.jpg' border='0' /></a></td>" +
	"		<td bgcolor='#E0E0E0' width='1'></td>" +
	"	</tr>" +
	"	<tr>" +
	"		<td colspan='3'><img src='/images/main/main_brand.gif' border='0' usemap='#Map' / ></td>" +
	"	</tr>" +
	"</table>" +
	"<map name='Map'>" +
	"<area alt='' coords='75,2,115,20' href='http://www.samil-pharm.com' target='_blank'>" +
	"<area alt='' coords='119,1,243,21' href='http://www.samil-kids.com' target='_blank'>" +
	"<area alt='' coords='245,1,290,21' href='http://www.zyrtec.co.kr' target='_blank'>" +
	"<area alt='' coords='295,2,343,21' href='http://www.zyloric.co.kr' target='_blank'>" +
	"<area alt='' coords='349,3,433,21' href='http://www.firstrel.com' target='_blank'>" +
	"<area alt='' coords='433,3,510,21' href='http://www.samil-dental.com' target='_blank'>" +
	"<area alt='' coords='510,3,590,21' href='http://www.samil-eyes.com' target='_blank'>" +
	"<area alt='' coords='600,-1,666,24' href='http://www.eye2o.com/' target='_blank'>" +
	"</map>"


// ´ëÇ¥ ¹øÈ£ Ãß°¡ 20080902
var footer2=  '' +
"<table width='100' border='0' cellspacing='0' cellpadding='0'> "+
 " <tr> "+
 "   <td><img src='/images/footer/samil_footer.gif' width='855' height='118' border='0' usemap='#ffMap'></td>  </tr></table> "+

"<map name='ffMap'> "+
"<area shape='rect' coords='177,66,219,84' href='http://www.samil-pharm.com' target='_blank'> "+
"<area shape='rect' coords='220,65,347,86' href='http://www.samil-kids.com' target='_blank'> "+
"<area shape='rect' coords='351,66,394,86' href='http://www.zyrtec.co.kr' target='_blank'> "+
"<area shape='rect' coords='401,65,446,84' href='http://www.zyloric.co.kr' target='_blank'> "+
"<area shape='rect' coords='457,62,522,86' href='http://www.firstrel.com' target='_blank'> "+
"<area shape='rect' coords='526,62,612,88' href='http://www.samil-dental.com/' target='_blank'> "+
"<area shape='rect' coords='617,60,696,87' href='http://www.samil-eyes.com/' target='_blank'> "+
"<area shape='rect' coords='702,59,754,85' href='http://www.eye2o.com' target='_blank'> "+
"<area shape='rect' coords='516,33,558,49' href='http://www.samil-pharm.com/util/Legal.html' target='_self'> "+
"<area shape='rect' coords='572,33,643,47' href='http://www.samil-pharm.com/util/Protection.html' target='_self'> "+
"<area shape='rect' coords='659,32,746,51' href='#' onClick=\"MM_openBrWindow('http://www.samil-pharm.com/util/NotEmail.html','','width=400,height=230')\" "+
"<area shape='rect' coords='384,45,471,56' href='mailto:webmaster@samil-pharm.com'> "+
"<area shape='rect' coords='33,42,90,71' href='http://www.samil-pharm.com' target='_self'> "+
"</map> "
	document.write(footer2)
}// ÇÏ´Ü ÀÎÅ©·çµå

function footer_inc2(){
	var footer=  ''+
	"<table border='0' cellspacing='0' cellpadding='0'>" +
	"	<tr>" +
	"		<td rowspan='2' width='98'><a href='http://www.samil-pharm.com/' target='_top'><img src='/images/footer/sm_fme_logo.jpg' width='98' height='55' border='0' /></a></td>" +
	"		<td width='345' valign='top'><img src='/images/footer/sm_fme_addr.jpg' width='247' height='14' /><a href='mailto:webmaster@samil-pharm.com'><img src='/images/footer/sm_fme_mailto.jpg' width='98' height='14' / border=0></a><br />" +
	"		<img src='/images/footer/sm_fme_copy.jpg' width='345' height='16' /></td>" +
	"		<td valign='top'><a href='http://www.samil-pharm.com/util/Legal.html'><img src='/images/footer/sm_fme_law.jpg' border='0' /></a><a href='http://www.samil-pharm.com/util/Protection.html'><img src='/images/footer/sm_fme_person.jpg' border='0' /></a><a href='#' onClick=\"MM_openBrWindow('http://www.samil-pharm.com/util/NotEmail.html','','width=400,height=230')\"><img src='/images/footer/sm_fme_email.jpg' border='0' /></a></td>" +
	"		<td bgcolor='#E0E0E0' width='1'></td>" +
	"	</tr>" +
	"	<tr>" +
	"		<td colspan='3'><img src='/images/main/main_brand.gif' border='0' usemap='#Map' / ></td>" +
	"	</tr>" +
	"</table>" +
	"<map name='Map'>" +
	"<area alt='' coords='75,2,115,20' href='http://www.samil-pharm.com' target='_blank'>" +
	"<area alt='' coords='119,1,243,21' href='http://www.samil-kids.com' target='_blank'>" +
	"<area alt='' coords='245,1,290,21' href='http://www.zyrtec.co.kr' target='_blank'>" +
	"<area alt='' coords='295,2,343,21' href='http://www.zyloric.co.kr' target='_blank'>" +
	"<area alt='' coords='349,3,433,21' href='http://www.firstrel.com' target='_blank'>" +
	"<area alt='' coords='433,3,510,21' href='http://www.samil-dental.com' target='_blank'>" +
	"<area alt='' coords='510,3,590,21' href='http://www.samil-eyes.com' target='_blank'>" +
	"<area alt='' coords='600,-1,666,24' href='http://www.eye2o.com/' target='_blank'>" +
	"</map>"
	document.write(footer)
}

// °øÅë ÇÃ·¡½¬
function common_object(width,height,dir){
	document.write("<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='"+dir+"'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='"+dir+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'></embed></object>");	
//	document.write("<img src='"+dir+"' width='"+width+"' height='"+height+"'  border='0'>"); //ÀÓ½Ã
}



/********************************************************************
*  Author			: Ã¤½Å¿ë
*  Date				: 2006. 05. 23
*  Function Name    : CreateTR()
*  Description      : È­¸é»óÀÇ Table¿¡ TRÀ» »õ·Ó°Ô Ãß°¡ÇÏ´Â Script
*  Input Data       : tbl - tableÀÇ ID							ex> value = abc -> <table id='abc' width=''....>
*					  tdHtml - td ¸¶´Ù Ãß°¡µÇ´Â HTML Script		* ¹Ýµå½Ã ¹è¿­ÀÇ ÇüÅÂ·Î Àü´ÞÇØ¾ß ÇÕ´Ï´Ù. 
*					  tdCls	 - td ¸¶´Ù »ç¿ëµÇ´Â ClassName		* ¹Ýµå½Ã ¹è¿­ÀÇ ÇüÅÂ·Î Àü´ÞÇØ¾ß ÇÕ´Ï´Ù. 
*					  tdAlign - td ¸¶´ÙÀÇ Á¤·Ä ¹æ¹ý				* ¹Ýµå½Ã ¹è¿­ÀÇ ÇüÅÂ·Î Àü´ÞÇØ¾ß ÇÕ´Ï´Ù. 
*					  position - ºÙÀÏ·Á´Â À§Ä¡. ¾øÀ»¶§´Â ÀÚµ¿À¸·Î ÃÖÁ¾ Tr·Î ºÙ¿©Áø´Ù.
*  Output Data      : 
/********************************************************************/
function CreateTR(tbl, tdHtml, tdCls, tdAlign, position,tdColor) {
	var pos = position; // »ðÀÔµÉ À§Ä¡
	var grp=document.all[tbl]; // Å×ÀÌºí ¿ÀºêÁ§Æ®
	var obj; // TRÀÇ TD¿ÀºêÁ§Æ® ´ã±âÀ§ÇÔ.
	
	var newRow = grp.insertRow(pos); // »ðÀÔµÉ À§Ä¡¿¡ TRÀ» Ãß°¡
	
	// »èÁ¦¸¦ À§ÇØ »ý¼ºµÈ TR¿¡ ÀÎµ¦½º ¼ÂÆÃ	
	newRow.onmouseover=function(){grp.clickedRowIndex=this.rowIndex};
	
	// TR¿¡ TDÄÁÅÙÃ÷ »ðÀÔ
	for (var i=0; i<tdHtml.length; i++) {
		grp.rows(pos).insertCell(i);
	  	obj = grp.rows(pos).cells(i);
		obj.className = tdCls[i];
		obj.align = tdAlign[i];
		obj.bgColor = tdColor[i];
		obj.innerHTML = tdHtml[i];
		obj.focus();
	}
}

function DeleteTR(tbl) {
  document.all[tbl].deleteRow(document.all[tbl].clickedRowIndex);
}

//ÀÌ¸ÞÀÏ ÁÖ¼Ò Ã¼Å© ½Ã »ç¿ëÇÏ´Â Á¤±ÔÇ¥Çö½Ä(Reqular Expression) 
function isEmail(s)
{
  return s.search(/^\s*[\w\~\-\.]+\@[\w\~\-]+(\.[\w\~\-]+)+\s*$/g)>=0;
}
/*
¼³¸í : 

/^\s*[\w\~\-\.]+\@[\w\~\-]+(\.[\w\~\-]+)+\s*$/g
¸Ç ¸¶Áö¸· g´Â globalÀÌ¶ó´Â µí // »çÀÌ¿¡ ÀÖ´Â ÆÐÅÏÀ» ÀüÃ¼ÀûÀ¸·Î ½ÇÇàÇÔ

 

^\s*[\w\~\-\.]+\@[\w\~\-]+(\.[\w\~\-]+)+\s*$
^ Àº ½ºÆ®¸µÀÇ ¸Ç Ã³À½,  $´Â ½ºÆ®¸µÀÇ ¸Ç ¸¶Áö¸·

 

\s*[\w\~\-\.]+\@[\w\~\-]+(\.[\w\~\-]+)+\s*
\s ´Â space¹®ÀÚ¸¦ ¶æÇÏ´Âµ¥, µÚ¿¡ * ÀÌ ºÙÀº °ÍÀº 0°³ ÀÌ»óÀÌ¶ó´Â ¶æ
¾Õ µÚ¿¡ °ø¹éÀÌ ÀÖÀ» ¼öµµ ÀÖ´Ù´Â ¶æ

 

[\w\~\-\.]+\@[\w\~\-]+(\.[\w\~\-]+)+
\@¸¦ ±âÁØÀ¸·Î []+ ¾Õ¿¡´Â 1°³ ÀÌ»óÀÇ []¾ÈÀÇ ÆÐÅÏÀÌ Á¸ÀçÇÔ
µÚ¿¡´Â []+()+ ÀÎµ¥, [] ¾ÈÀÇ ÆÐÅÏÀÌ 1°³ ÀÌ»ó () ÀÇ ÆÐÅÏÀÌ 1°³ÀÌ»ó 
Áï µµ¸ÞÀÎ °¡¿îµ¥, Àû¾îµµ ÇÑ °³ÀÌ»óÀÇ . ÀÌ ÀÖ¾î¾ßÇÑ´Ù´Â ¶æ

 

\w\~\-\. 
\w´Â ¾ËÆÄºª°ú ¼ýÀÚ, \~ , \- , \. Àº °¢°¢ ~, -, . ¹®ÀÚ¸¦ ÀÇ¹ÌÇÔ
Áï ¾ËÆÄºª°ú¼ýÀÚ¿Í ~,-,. ¸¸À¸·Î ÀÌ·ïÁø ¹®ÀÚ¿­¸¸ ÇØ´çµÊ

*/
 

 

// URL ÁÖ¼Ò Ã¼Å© ½Ã »ç¿ëÇÏ´Â Á¤±ÔÇ¥Çö½Ä(Reqular Expression) ÀÇ¹Ì
function urlCheck(s)
{
  return s.search(/^\s*['http://']+[\w\~\-\.]+\.[\w\~\-]+(\.[\w\~\-]+)+\s*$/g)>=0;
}



function onMiniPlay(mmm)
{	
	var strView = "<object classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' id='MediaPlayer1' width='280' height='210' >" +
							"<param name='AudioStream' value='-1'>" + 
							"<param name='AutoSize' value='false'>" +
							"<param name='AutoStart' value='true'>" +
							"<param name='AnimationAtStart' value='true'>" +
							"<param name='AllowChangeDisplaySize' value='true'>" +
							"<param name='BufferingTime' value='5'>" +
							"<param name='DisplayBackColor' value='0'>" +
							"<param name='DisplayForeColor' value='16777215'>" +
							"<param name='Enabled' value='true'>" +
							"<param name='EnableContextMenu' value='true'>" +
							"<param name='EnableTracker' value='true'>" +
							"<param name='Mute' value='false'>" +
							"<param name='PlayCount' value='1'>" +
							"<param name='Rate' value='1'>" +
							"<param name='Loop' value='true'>" +
							"<param name='ShowCaptioning' value='0'>" +
							"<param name='ShowControls' value='false'>" +
							"<param name='ShowAudioControls' value='true'>" +
							"<param name='ShowDisplay' value='false'>" +
							"<param name='ShowGotoBar' value='false'>" +
							"<param name='ShowPositionControls' value='true'>" +
							"<param name='ShowStatusBar' value='false'>" +
							"<param name='ShowTracker' value='true'>" +
							"<param name='TransparentAtStart' value='false'>" +						 
							"<param name='Volume' value='-110'>" +
							"<param name='FileName' value='/data/pr_center/"+ mmm +"'>" +
							"</object>";
							
	document.write(strView);							
}

function dispMovie(_src)
{
document.writeln("		<object id='MediaPlayer1' width='322' height='311' classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715' standby='Loading Microsoft?Windows?Media Player components...' type='application/x-oleobject' bgcolor='black' align='top'>");
document.writeln("		<PARAM NAME='FileName' VALUE='/data/pr_center/"+_src+"'>");
document.writeln("		<PARAM NAME='AutoRewind' VALUE='True'>");
document.writeln("		<PARAM NAME='AutoStart' VALUE='True'>");
document.writeln("		<PARAM NAME='ShowGotoBar' VALUE='0'>");
document.writeln("		<PARAM NAME='AudioStream' VALUE='-1'>");
document.writeln("		<PARAM NAME='AnimationAtStart' VALUE='0'>");
document.writeln("		<PARAM NAME='AllowScan' VALUE='-1'>");
document.writeln("		<PARAM NAME='AllowChangeDisplaySize' VALUE='-1'>");
document.writeln("		<PARAM NAME='Balance' VALUE='0'>");
document.writeln("		<PARAM NAME='BaseURL' VALUE=''>");
document.writeln("		<PARAM NAME='BufferingTime' VALUE='5'>");
document.writeln("		<PARAM NAME='CaptioningID' VALUE=''>");
document.writeln("		<PARAM NAME='ClickToPlay' VALUE='-1'>");
document.writeln("		<PARAM NAME='CursorType' VALUE='0'>");
document.writeln("		<PARAM NAME='CurrentPosition' VALUE='0'>");
document.writeln("		<PARAM NAME='CurrentMarker' VALUE='0'>");
document.writeln("		<PARAM NAME='DisplayBackColor' VALUE='0'>");
document.writeln("		<PARAM NAME='DisplayForeColor' VALUE='16777215'>");
document.writeln("		<PARAM NAME='DisplayMode' VALUE='0'>");
document.writeln("		<PARAM NAME='Enabled' VALUE='-1'>");
document.writeln("		<PARAM NAME='EnableContextMenu' VALUE='-1'>");
document.writeln("		<PARAM NAME='EnablePositionControls' VALUE='-1'>");
document.writeln("		<PARAM NAME='EnableFullScreenControls' VALUE='0'>");
document.writeln("		<PARAM NAME='EnableTracker' VALUE='-1'>");
document.writeln("		<PARAM NAME='InvokeURLs' VALUE='-1'>");
document.writeln("		<PARAM NAME='Language' VALUE='-1'>");
document.writeln("		<PARAM NAME='Mute' VALUE='0'>");
document.writeln("		<PARAM NAME='PlayCount' VALUE='0'>");
document.writeln("		<PARAM NAME='PreviewMode' VALUE='0'>");
document.writeln("		<PARAM NAME='Rate' VALUE='1'>");
document.writeln("		<PARAM NAME='SAMILang' VALUE=''>");
document.writeln("		<PARAM NAME='SAMIStyle' VALUE=''>");
document.writeln("		<PARAM NAME='SAMIFileName' VALUE=''>");
document.writeln("		<PARAM NAME='SelectionStart' VALUE='-1'>");
document.writeln("		<PARAM NAME='SelectionEnd' VALUE='-1'>");
document.writeln("		<PARAM NAME='SendOpenStateChangeEvents' VALUE='-1'>");
document.writeln("		<PARAM NAME='SendWarningEvents' VALUE='-1'>");
document.writeln("		<PARAM NAME='SendErrorEvents' VALUE='-1'>");
document.writeln("		<PARAM NAME='SendKeyboardEvents' VALUE='0'>");
document.writeln("		<PARAM NAME='SendMouseClickEvents' VALUE='0'>");
document.writeln("		<PARAM NAME='SendMouseMoveEvents' VALUE='0'>");
document.writeln("		<PARAM NAME='SendPlayStateChangeEvents' VALUE='-1'>");
document.writeln("		<PARAM NAME='ShowCaptioning' VALUE='0'>");
document.writeln("		<PARAM NAME='ShowControls' VALUE='0'>");
document.writeln("		<PARAM NAME='ShowAudioControls' VALUE='-1'>");
document.writeln("		<PARAM NAME='ShowDisplay' VALUE='0'>");
document.writeln("		<PARAM NAME='ShowPositionControls' VALUE='-1'>");
document.writeln("		<PARAM NAME='ShowStatusBar' VALUE='-1'>");
document.writeln("		<PARAM NAME='ShowTracker' VALUE='-1'>");
document.writeln("		<PARAM NAME='TransparentAtStart' VALUE='-1'>");
document.writeln("		<PARAM NAME='VideoBorderWidth' VALUE='0'>");
document.writeln("		<PARAM NAME='VideoBorderColor' VALUE='0'>");
document.writeln("		<PARAM NAME='VideoBorder3D' VALUE='0'>");
document.writeln("		<PARAM NAME='Volume' VALUE='-600'>");
document.writeln("		<PARAM NAME='WindowlessVideo' VALUE='0'>");
document.writeln("		</OBJECT>");
}

function _loadWMP(media_url,width_val,height_val,id)
{
	str = "<object id="+id+" width="+width_val+" height="+height_val+" viewastext style=\"z-index:1\" 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\">"
        + "<param name=\"filename\" value=\"/data/pr_center/"+media_url+"\" />"
        + "<param name=\"animationatstart\" value=\"1\" />"
        + "<param name=\"autostart\" value=\"1\" />"
        + "<param name=\"balance\" value=\"0\" />"
        + "<param name=\"currentmarker\" value=\"0\" />"
        + "<param name=\"currentposition\" value=\"0\" />"
        + "<param name=\"displaymode\" value=\"4\" />"
        + "<param name=\"enablecontextmenu\" value=\"0\" />"
        + "<param name=\"enabled\" value=\"1\" />"
        + "<param name=\"fullscreen\" value=\"0\" />"
        + "<param name=\"invokeurls\" value=\"1\" />"
        + "<param name=\"playcount\" value=\"1\" />"
        + "<param name=\"rate\" value=\"1\" />"
        + "<param name=\"showcontrols\" value=\"0\" />"
        + "<param name=\"showstatusbar\" value=\"0\" />"
        + "<param name=\"stretchtofit\" value=\"0\" />"
        + "<param name=\"transparentatstart\" value=\"1\" />"
        + "<param name=\"uimode\" value=\"FULL\" />"
        + "<param name=\"displaybackcolor\" value=\"0\" />"
		+ "<embed id="+id+" animationatstart='0' autostart='1' displaybackcolor='black' showcontrols='1' showstatusbar='1' showtracker='1' showpositioncontrols='0' pluginspage='http://www.microsoft.com/korea/windows/windowsmedia/'src='/data/pr_center/"+media_url+"' type='video/x-ms-asf-plugin' height='"+height_val+"' width='"+width_val+"'></embed>"
		+ "</object>"

	document.write(str);
}

function MovieInsert(file){
	var tag = "<object classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' id='Mplayer' width='263' height='205'>"
	tag = tag + "<param name='AudioStream' value='0'>"                   // ½ºÆ®¸®¹Ö Çü½ÄÀÌ¸é -1 ¾Æ´Ñ°æ¿ì 0 ¶Ç´Â false 
	tag = tag + "<param name='AutoSize' value='true'>"                    //          
	tag = tag + "<param name='AutoResize' value='true'>"                   //          
	tag = tag + "<param name='AutoRewind' value='false'>"                 //          
	tag = tag + "<param name='AutoStart' value='true'>"                   //          
	tag = tag + "<param name='AnimationAtStart' value='true'>"            //          
	tag = tag + "<param name='AllowScan' value='true'>"                   //          
	tag = tag + "<param name='AllowChangeDisplaySize' value='true'>"      //          
	tag = tag + "<param name='Balance' value='0'>"                        //          
	tag = tag + "<param name='BufferingTime' value='10'>"                  // ¹öÆÛ¸µ½Ã°£. ¼Óµµ´À¸®¸é ¿Ã·ÁÁØ´Ù 
	tag = tag + "<param name='ClickToPlay' value='true'>"                 //          
	tag = tag + "<param name='CursorType' value='0'>"                     //          
	tag = tag + "<param name='CurrentPosition' value='-1'>"               //          
	tag = tag + "<param name='CurrentMarker' value='0'>"                  //          
	tag = tag + "<param name='DisplayBackColor' value='0'>"               //          
	tag = tag + "<param name='DisplayForeColor' value='16777215'>"        //          
	tag = tag + "<param name='DisplayMode' value='0'>"                    //          
	tag = tag + "<param name='DisplaySize' value='2'>"                    // È­¸éÅ©±â. 0=100% 1=50% 2=200% 3=Full    
	tag = tag + "<param name='Enabled' value='true'>"                     //          
	tag = tag + "<param name='EnableContextMenu' value='true'>"           //          
	tag = tag + "<param name='EnablePositionControls' value='true'>"      //          
	tag = tag + "<param name='EnableFullScreenControls' value='false'>"   //          
	tag = tag + "<param name='EnableTracker' value='true'>"               //          
	tag = tag + "<param name='Filename' value='/data/pr_center/"+file+"'>"
	tag = tag + "<param name='InvokeURLs' value='true'>"                  //          
	tag = tag + "<param name='Language' value='-1'>"                      //          
	tag = tag + "<param name='loop' value='50'>"
	tag = tag + "<param name='Mute' value='false'>"                       //          
	tag = tag + "<param name='PlayCount' value='1'>"                      //          
	tag = tag + "<param name='PreviewMode' value='0'>"                    //          
	tag = tag + "<param name='Rate' value='1'>"                           //          
	tag = tag + "<param name='SelectionStart' value='-1'>"                //          
	tag = tag + "<param name='SelectionEnd' value='-1'>"                  //          
	tag = tag + "<param name='SendOpenStateChangeEvents' value='true'>"   //          
	tag = tag + "<param name='SendWarningEvents' value='true'>"           //          
	tag = tag + "<param name='SendErrorEvents' value='true'>"             //          
	tag = tag + "<param name='SendKeyboardEvents' value='false'>"         //          
	tag = tag + "<param name='SendMouseClickEvents' value='false'>"       //          
	tag = tag + "<param name='SendMouseMoveEvents' value='false'>"        //          
	tag = tag + "<param name='SendPlayStateChangeEvents' value='false'>"   //          
	tag = tag + "<param NAME='SetCurrentEntry' VALUE='1'>"
	tag = tag + "<param name='ShowCaptioning' value='false'>"             // ÀÚ¸·Ç¥½Ã¿µ¿ª »ý¼º                    
	tag = tag + "<param name='ShowControls' value='true'>"                // Play,Pause,Sop ¹öÆ°                  
	tag = tag + "<param name='ShowAudioControls' value='true'>"           // º¼·ýÁ¶Àý±â                           
	tag = tag + "<param name='ShowDisplay' value='false'>"                // ÇÏ´Ü¿¡ µ¿¿µ»ó Á¤º¸Ç¥½Ã               
	tag = tag + "<param name='ShowGotoBar' value='false'>"                // ÇÏ´Ü ÀÌµ¿À§Ä¡(ÁÖ¼Ò) ¼±ÅÃ»óÀÚ         
	tag = tag + "<param name='ShowPositionControls' value='true'>"       // »¡¸®°¨±â, µÇ°¨±â µîµîÀÇ ¹öÆ°         
	tag = tag + "<param name='ShowStatusBar' value='false'>"               // Status Bar (¹öÆÛ¸µ»óÅÂ,½Ã°£Ç¥½Ã..)   
	tag = tag + "<param name='ShowTracker' value='false'>"                // Æ®·¢ ÁøÇàÀ² ¹Ù Ç¥½Ã                  
	tag = tag + "<param name='TransparentAtStart' value='false'>"         //                                      
	tag = tag + "<param name='VideoBorderWidth' value='0'>"              // ºñµð¿À¿µ¿ª Å×µÎ¸®. ¼ýÀÚÅ¬¼ö·Ï µÎ²¨¿ò 
	tag = tag + "<param name='VideoBorderColor' value='0'>"              // Å×µÎ¸®»ö. 0(°ËÀº»ö)~255(Àû»ö)        
	tag = tag + "<param name='VideoBorder3D' value='false'>"              // ÀÔÃ¼Àû º¸´õ                          
	tag = tag + "<param name='Volume' value='-400'>"                      // ÃÊ±âº¼·ý°ª 0=MAX, -2000=MIN          
	tag = tag + "<param name='WindowlessVideo' value='false'>"           //                               
	tag = tag + "</object>"
	document.write(tag);
}


function MovieInsert320(file){
	var tag = "<object classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' id='Mplayer' width='430' height='320'>"
	tag = tag + "<param name='AudioStream' value='0'>"                   // ½ºÆ®¸®¹Ö Çü½ÄÀÌ¸é -1 ¾Æ´Ñ°æ¿ì 0 ¶Ç´Â false 
	tag = tag + "<param name='AutoSize' value='true'>"                    //          
	tag = tag + "<param name='AutoResize' value='true'>"                   //          
	tag = tag + "<param name='AutoRewind' value='false'>"                 //          
	tag = tag + "<param name='AutoStart' value='true'>"                   //          
	tag = tag + "<param name='AnimationAtStart' value='true'>"            //          
	tag = tag + "<param name='AllowScan' value='true'>"                   //          
	tag = tag + "<param name='AllowChangeDisplaySize' value='true'>"      //          
	tag = tag + "<param name='Balance' value='0'>"                        //          
	tag = tag + "<param name='BufferingTime' value='10'>"                  // ¹öÆÛ¸µ½Ã°£. ¼Óµµ´À¸®¸é ¿Ã·ÁÁØ´Ù 
	tag = tag + "<param name='ClickToPlay' value='true'>"                 //          
	tag = tag + "<param name='CursorType' value='0'>"                     //          
	tag = tag + "<param name='CurrentPosition' value='-1'>"               //          
	tag = tag + "<param name='CurrentMarker' value='0'>"                  //          
	tag = tag + "<param name='DisplayBackColor' value='0'>"               //          
	tag = tag + "<param name='DisplayForeColor' value='16777215'>"        //          
	tag = tag + "<param name='DisplayMode' value='0'>"                    //          
	tag = tag + "<param name='DisplaySize' value='2'>"                    // È­¸éÅ©±â. 0=100% 1=50% 2=200% 3=Full    
	tag = tag + "<param name='Enabled' value='true'>"                     //          
	tag = tag + "<param name='EnableContextMenu' value='true'>"           //          
	tag = tag + "<param name='EnablePositionControls' value='true'>"      //          
	tag = tag + "<param name='EnableFullScreenControls' value='false'>"   //          
	tag = tag + "<param name='EnableTracker' value='true'>"               //          
	tag = tag + "<param name='Filename' value='/data/pr_center/"+file+"'>"
	tag = tag + "<param name='InvokeURLs' value='true'>"                  //          
	tag = tag + "<param name='Language' value='-1'>"                      //          
	tag = tag + "<param name='loop' value='50'>"
	tag = tag + "<param name='Mute' value='false'>"                       //          
	tag = tag + "<param name='PlayCount' value='1'>"                      //          
	tag = tag + "<param name='PreviewMode' value='0'>"                    //          
	tag = tag + "<param name='Rate' value='1'>"                           //          
	tag = tag + "<param name='SelectionStart' value='-1'>"                //          
	tag = tag + "<param name='SelectionEnd' value='-1'>"                  //          
	tag = tag + "<param name='SendOpenStateChangeEvents' value='true'>"   //          
	tag = tag + "<param name='SendWarningEvents' value='true'>"           //          
	tag = tag + "<param name='SendErrorEvents' value='true'>"             //          
	tag = tag + "<param name='SendKeyboardEvents' value='false'>"         //          
	tag = tag + "<param name='SendMouseClickEvents' value='false'>"       //          
	tag = tag + "<param name='SendMouseMoveEvents' value='false'>"        //          
	tag = tag + "<param name='SendPlayStateChangeEvents' value='false'>"   //          
	tag = tag + "<param NAME='SetCurrentEntry' VALUE='1'>"
	tag = tag + "<param name='ShowCaptioning' value='false'>"             // ÀÚ¸·Ç¥½Ã¿µ¿ª »ý¼º                    
	tag = tag + "<param name='ShowControls' value='true'>"                // Play,Pause,Sop ¹öÆ°                  
	tag = tag + "<param name='ShowAudioControls' value='true'>"           // º¼·ýÁ¶Àý±â                           
	tag = tag + "<param name='ShowDisplay' value='false'>"                // ÇÏ´Ü¿¡ µ¿¿µ»ó Á¤º¸Ç¥½Ã               
	tag = tag + "<param name='ShowGotoBar' value='false'>"                // ÇÏ´Ü ÀÌµ¿À§Ä¡(ÁÖ¼Ò) ¼±ÅÃ»óÀÚ         
	tag = tag + "<param name='ShowPositionControls' value='true'>"       // »¡¸®°¨±â, µÇ°¨±â µîµîÀÇ ¹öÆ°         
	tag = tag + "<param name='ShowStatusBar' value='false'>"               // Status Bar (¹öÆÛ¸µ»óÅÂ,½Ã°£Ç¥½Ã..)   
	tag = tag + "<param name='ShowTracker' value='true'>"                // Æ®·¢ ÁøÇàÀ² ¹Ù Ç¥½Ã                  
	tag = tag + "<param name='TransparentAtStart' value='false'>"         //                                      
	tag = tag + "<param name='VideoBorderWidth' value='0'>"              // ºñµð¿À¿µ¿ª Å×µÎ¸®. ¼ýÀÚÅ¬¼ö·Ï µÎ²¨¿ò 
	tag = tag + "<param name='VideoBorderColor' value='0'>"              // Å×µÎ¸®»ö. 0(°ËÀº»ö)~255(Àû»ö)        
	tag = tag + "<param name='VideoBorder3D' value='false'>"              // ÀÔÃ¼Àû º¸´õ                          
	tag = tag + "<param name='Volume' value='0'>"                      // ÃÊ±âº¼·ý°ª 0=MAX, -2000=MIN          
	tag = tag + "<param name='WindowlessVideo' value='false'>"           //                               
	tag = tag + "</object>"
	document.write(tag);
}