function goMenu(str1) { 
  if(str1 == "index") { 
    location.href = "/"; //·Î°íÅ¬¸¯½Ã È¨ÆäÀÌÁö
  } else if(str1 == "1") {	//Bausch&Lomb
    location.href = "/bausch/sub01.html?pn=1&sn=1";
  } else if (str1 == "11") {	//Mission & Vision
    location.href = "/bausch/sub01.html?pn=1&sn=1";
  } else if (str1 == "12") {	//CEO Message
    location.href = "/bausch/sub02.html?pn=1&sn=2";
  } else if (str1 == "13") {	//History
    location.href = "/bausch/sub03.html?pn=1&sn=3";
  } else if (str1 == "14") {	//Recruit
    location.href = "/bausch/sub06.html?pn=1&sn=4";
  } else if (str1 == "15") {	//Location
    location.href = "/bausch/sub05.html?pn=1&sn=5";
  } else if (str1 == "2") {	//Visioncare
    location.href = "/vision/sub01.html?pn=2&sn=1";
  } else if (str1 == "21") {	//Á¦Ç°¼Ò°³
    location.href = "/vision/sub01.html?pn=2&sn=1";
  } else if (str1 == "3") {	//Pharmaceutical
    location.href = "/pharma/sub01.html?pn=3&sn=1";
  } else if (str1 == "31") {	//»ç¾÷¼Ò°³
    location.href = "/pharma/sub01.html?pn=3&sn=1";
  } else if (str1 == "32") {	//Á¦Ç°¼Ò°³
    location.href = "/pharma/sub02.html?pn=3&sn=2";
  } else if (str1 == "4") {	//Surgical
    location.href = "/surgical/sub01.html?pn=4&sn=1";
  } else if (str1 == "41") {	//ÀÎ»ç¸»
    location.href = "/surgical/sub01.html?pn=4&sn=1";
  } else if (str1 == "42") {	//Á¦Ç°¼Ò°³
    location.href = "/surgical/sub02.html?pn=4&sn=2";
  } else {
    location.href = "/";
  }
};

function goTop(str1) { 
  if (str1 == "1") {	// Home
    location.href = "/";
  } else if (str1 == "2") {	// Contact Us
    location.href = "http://www.bnl-korea.co.kr/bausch/sub05.html?pn=1&sn=5";
  } else if (str1 == "3") {	// »çÀÌÆ®¸Ê
    location.href = "/";
  } else {	// 
    location.href = "/";
  }
}

// ±âº» ÇÃ·¡½Ã				
function flashObj(URL,SizeX,SizeY,LnkId,Frm,Flag) // quick
{
  document.write('            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
  document.write('                    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
  document.write('                    width="'+SizeX+'" height="'+SizeY+'"  id="'+LnkId+'" align="middle">');
  document.write('            <param name="movie"     value="'+URL+'" />');
  document.write('            <param name="quality"   value="high" />');
  if ( Flag == null || Flag != 'N' ) {
    document.write('        <param name="wmode"     value="transparent"/>');
  }
  document.write('   <param name="allowScriptAccess" value="always"/> ');
  document.write('   <param name="base" value="." />');
  document.write('            <embed base="." src="'+URL+'" quality="high" width="'+SizeX+'" height="'+SizeY+'"  align="middle" ');
  if ( Flag == null || Flag != 'N' ) {
    document.write('         wmode="transparent" ');
  }
  document.write('             type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always" swLiveConnect=true name="'+LnkId+'"  />');
  document.write('            </embed></object>');
  if ( Frm == 'Y' ) { // form ÅÂ±× µé¾î°¡´Â ÆäÀÌÁö¿¡ Àû¿ë
    eval("window." + LnkId + " = document.forms[0]."+ LnkId +"; ");
  }
}
