
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://www.scaffoldkorea.com/new/english/";
//----------------------------------------------------------

//퀵

function go_00_00() {
	document.location.href="#";
}

//home

function go_home(){
	top.document.location.href="http://www.scaffoldkorea.com/";
}

//contactus

function go_con() {
	document.location.href="";
}

//sitemap

function go_sitemap() {
	top.document.location.href=domain + "sitemap/sitemap.php";
}

//모든카테고리

function go_category() {
	if(document.getElementById("naviBottom").style.display == ""){
		document.getElementById("naviBottom").style.display="none";
	} else {
		document.getElementById("naviBottom").style.display="";
	}
}

//////////////////////////////////////////////////////////////////////////////////

//sub01. products
function go_01_01() {
	top.document.location.href=domain + "product/product01.php"//유로폼
}

function go_01_02() {
	top.document.location.href=domain + "product/product02.php";//인코너
}

function go_01_03() {
	top.document.location.href=domain + "product/product03.php";//아웃코너
}

function go_01_04() {
	top.document.location.href=domain + "product/product04.php";//헌치
}
function go_01_05() {
	top.document.location.href=domain + "product/product05.php";//유로폼함석
}
function go_01_06() {
	top.document.location.href=domain + "product/product06.php";//유로폼함석
}
function go_01_07() {
	top.document.location.href=domain + "product/product07.php";//유로폼함석
}
function go_01_08() {
	top.document.location.href=domain + "product/product08.php";//유로폼함석
}
function go_01_09() {
	top.document.location.href=domain + "product/product09.php";//유로폼함석
}
function go_01_10() {
	top.document.location.href=domain + "product/product10.php";//유로폼함석
}
function go_01_11() {
	top.document.location.href=domain + "product/product11.php";//유로폼함석
}
function go_01_12() {
	top.document.location.href=domain + "product/product12.php";//유로폼함석
}
function go_01_13() {
	top.document.location.href=domain + "product/product13.php";//유로폼함석
}


//////////////////////////////////////////////////////////////////////////////////

//sub02. business
function go_02_01() {
	top.document.location.href=domain + "business/business.php";//business
}



//////////////////////////////////////////////////////////////////////////////////

//sub03. inquiry

function go_03_01() {
	top.document.location.href=domain +"inquiry/sub03.html";//notice
}



//////////////////////////////////////////////////////////////////////////////////

//sub04. news

function go_04_01() {
	top.document.location.href=domain +"inquiry/sub02.html";//notice
}

function go_04_02() {
	top.document.location.href=domain +"inquiry/sub01.html";//notice
}


//////////////////////////////////////////////////////////////////////////////////

//sub05.about
function go_05_01() {
	top.document.location.href=domain +"company/company_info.php";//company
}
function go_05_02() {
	top.document.location.href=domain +"company/location.php";//location
}




