//¸Þ´º ½ÃÀÛ

// 1.Home
function pageLocation01_1(){location.href='../index.jsp'};
// 2.È¸»ç¼Ò°³
function pageLocation02_1(){location.href='../company/company01.html'};
function pageLocation02_2(){location.href='../company/company02.html'};
function pageLocation02_3(){location.href='../company/company03.html'};
function pageLocation02_4(){location.href='../company/company04.html'};
//function pageLocation02_5(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation02_5(){location.href='../company/company05.html'};
function pageLocation02_6(){location.href='../company/company06.html'};
// 3.¼Ö·ç¼Ç¼Ò°³
function pageLocation03_1(){location.href='../solution/solution01.html'};
function pageLocation03_2(){location.href='../solution/solution02.html'};
function pageLocation03_3(){location.href='../solution/solution03.html'};
//function pageLocation03_3(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation03_4(){location.href='../solution/solution04.html'};
function pageLocation03_5(){location.href='../solution/solution05.html'};
// 4.°í°´Áö¿ø
function pageLocation04_1(){location.href='../customer/customer01.jsp'};
function pageLocation04_2(){location.href='../customer/customer02.jsp'};
function pageLocation04_3(){location.href='../customer/customer03.jsp '};
function pageLocation04_4(){location.href='../customer/customer04.jsp'};
function pageLocation04_5(){location.href='../customer/customer05.html'};
//function pageLocation04_5(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
//function pageLocation04_5(){location.href='../customer/customer06.jsp'};
function pageLocation04_6(){location.href='../customer/customer05.jsp'};
function pageLocation04_7(){location.href='../customer/customer06.jsp'};

function goSupplierHome(){location.href='http://www.supplierportal.co.kr/'};//°ø±Þ¾÷Ã¼Æ÷Å» ¼­ºñ½º
function goSupplierCS(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};//°ø±Þ¾÷Ã¼Æ÷Å» °í°´¼¾Å¸
function goSupplierInfo(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};//°ø±Þ¾÷Ã¼Æ÷Å» Á¤º¸¼¾Å¸

function service(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};


//¸Þ´º ³¡*/

/*/ ÀÓ½Ã ¸Þ´º ½ÃÀÛ

// 1.Home
function pageLocation01_1(){location.href='../index.jsp'};
// 2.È¸»ç¼Ò°³
function pageLocation02_1(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation02_2(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation02_3(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation02_4(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation02_5(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
// 3.¼Ö·ç¼Ç¼Ò°³
function pageLocation03_1(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation03_2(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation03_3(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation03_4(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation03_5(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
// 4.°í°´Áö¿ø
function pageLocation04_1(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation04_2(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation04_3(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation04_4(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
function pageLocation04_5(){alert('¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.')};
//¸Þ´º ³¡*/


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_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_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 insert_swf(fname,w,h,hspace){
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' name='SUB_MENU' width='"+w+"' height='"+h+"' id='SUB_MENU'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='"+fname+"'>");
document.write("<param name='loop' value='false' />");
document.write("<param name='menu' value='false' />");
document.write("<param name='quality' value='high' />");
document.write("<param name='wmode' value='transparent'/>");
document.write("<embed src='"+fname+"' width='"+w+"' height='"+h+"' quality='high'  hspace='"+hspace+"' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' name='SUB_MENU'></embed>");
document.write("</object>");
}

function pop(url, title, left, top, width, height)
{
	if (title == '') title = 'pop_up';
	if (left == '') left = 50;
	if (top == '') top = 100;
	if (width == '') width = 540;
	if (height == '') height = 500;

	var dim = new Array(2);

	dim = ToCenter(height,width);
	top = dim[0];
	left = dim[1];

	var toolbar = 'no';
	var menubar = 'no';
	var status = 'yes';
	var scrollbars = 'yes';
	var resizable = 'yes';

	var code_search = window.open(url, title, "left="+left+", top="+top+",width="+width+",height="+height+", toolbar="+toolbar+", menubar="+menubar+", status="+status+", scrollbars="+scrollbars+", resizable="+resizable);
    code_search.focus();
}

function ToCenter(height, width)
{
	var TopPosition  =(screen.height)?(screen.height-height)/2:100;
	var LeftPosition =(screen.width)?(screen.width-width)/2:100;

	var arr = new Array(2);
	arr[0] = TopPosition;
	arr[1] = LeftPosition;

	return arr;
}
