
function MM_openBrWindow(theURL,winName,features) { //v2.0
  //window.open(theURL,winName,features);
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

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.0
  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 && document.getElementById) x=document.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 nextTab(obj1,obj2,num){
	if(obj1.value.length==num){
		obj2.focus();
	}
}

function nextFocus(obj2){
		obj2.focus();
}
 

// Script For Flash & ActiveX -------------------------------------------------------------------------------------

// Example --------------------------------------------------------------------------------------------------------
// <script>
// DocumentWrite(MakeFlashString('image/ml_flash.swf','330','520'));
// </script>
// SetInnerHTML(document.all.mm, MakeFlashString('image/ml_flash.swf','emb1','330','520','opaque'));
// @@주의 사항 
//  - 상호작용 없는 컨텐츠는 DocumentWrite, SetInnerHTML 둘다 사용 가능
//  - 상호작용 있는 컨텐츠는 SetInnerHTML만 사용 가능
// ----------------------------------------------------------------------------------------------------------------

function MakeFlashString(source,width,height)
{	
	return "<embed src="+source+" quality=high menu=false wmode=transparent type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+"></embed>";
}

function MakeObjectString(classid, codebase, name, id, width,height, param)
{
	return "<object classid="+classid+" codebase="+codebase+" name="+name+" width="+width+" height="+height+" id="+id+"><param name=wmode value="+wmode+" />"+param+"</object>";
}

// innerHTML Type
function SetInnerHTML(target, code)
{ 
	target.innerHTML = code; 
}

// Direct Write Type
function DocumentWrite(src)
{
	document.write(src);
}
//---------------------------------------------------------
//---------------------------------------------------------
// 작업완료후 반드시 수정할것 
//
var domain = "http://61.251.75.40:3058/DS_Solar";
//----------------------------------------------------------

//퀵

function go_00_00() {
	document.location.href="#";
}

//home

function go_home(){
	document.location.href = "/index.jsp";
}

//eng

function go_eng() {
	document.location.href="/en/";
}

//chi

function go_chi() {
	document.location.href="/ch/";
}

//jap

function go_jap() {
	document.location.href="/jp/";
}


//contactus

function go_con() {
	document.location.href="";
}

//sitemap

function go_sitemap() {
	document.location.href=domain + "/sitemap/sitemap.jsp";
}



//////////////////////////////////////////////////////////////////////////////////

//sub01. 회사소개
function go_01_01() {
	document.location.href = "/company/ceo.jsp";			//CEO메세지
}

function go_01_02() {
	document.location.href = "/company/history.jsp";		//회사개요
}

function go_01_03() {
    document.location.href = "/company/ci.jsp";				//ci소개
}

function go_01_04() {
	document.location.href = "/company/contactus.jsp";		//contact us
}



//////////////////////////////////////////////////////////////////////////////////

//sub02. 제품 및 기술
function go_02_01() {
	document.location.href = "/product/solarenergy.jsp";	//태양광에너지
}
function go_02_02() {
	document.location.href = "/product/solblu.jsp";			//SolBlu TM
}
function go_02_03() {
	document.location.href = "/product/solblu2.jsp";		//SolBlu TM 동작원리
}
function go_02_04() {
	document.location.href = "/product/edtek.jsp";			//Spectrolab & EDTEK
}
function go_02_05() {
	document.location.href = "/product/expectation.jsp";	//기대효과
}
function go_02_06() {
	//document.location.href = "/product/psdList.jsp";		//자료실
	document.location.href = "/product/psdList.jsp";	//기대효과
}


//////////////////////////////////////////////////////////////////////////////////


//sub03.인재채용
function go_03_01() {
	document.location.href = "/hr/intro.jsp";				//인재상
}
function go_03_02() {
	document.location.href = "/hr/people.jsp";				//채용안내
}
function go_03_03() {
	document.location.href = "/hr/noticeList.jsp";			//채용공고
}



//////////////////////////////////////////////////////////////////////////////////

//sub04. 미디어센터
function go_04_01() {
	document.location.href = "/mediacenter/scrapList.jsp";	//보도자료
}
function go_04_02() {
	document.location.href = "/mediacenter/pressList.jsp";	//언론보도
}
