// JavaScript Document


//flash ie ---
function ShowFlash(url, width, height){
                document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + width + '" height="' + height + '" VIEresuEXT>');
        document.write('<param name="movie" value="' + url + '">');
        document.write('<param name="quality" value="high">');
        document.write('<param name="wmode" value="transparent">');
        document.write('<PARAM NAME=menu VALUE=false>');
        document.write('<embed src="' + url + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="incrlication/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
        document.write('</object>');
}




//open window ---
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// rollover --
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {
    if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; 
    document.MM_pgH=innerHeight; 
    onresize=MM_reloadPage; 
    }
  }
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRernde() { //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 contentpage(url)
    { self.location.href = '/pub/board/contentpage.php?uid=' + url; }

//home,contactus
	function menu00_1()
    { self.location.href = '/main.html'; }
	function menu00_2()
    { self.location.href = '/pub/memb/memb060101.html'; }
	function menu00_3()
    { self.location.href = '/pub/memb/memb060201.html'; }
	function menu00_4()
    { self.location.href = '/pub/memb/memb060701.html'; }
	function menu00_5()
    { self.location.href = '/pub/memb/memb060801.html'; }
	function menu00_6()
    { self.location.href = '/pub/memb/memb060601.html'; }
		
	function menu00_7()
    { 
        window.open('/common/admin/');
    }
	
	function menu00_8()
    { 
        window.open('/email_refusal.html','','width=450,height=250');
    }
	


//ecoh
	function menu01()
    { self.location.href = '/pub/ecoh/ecoh010101.html'; }
	function menu01_1()
    { self.location.href = '/pub/ecoh/ecoh010101.html'; }
	function menu01_2()
    { self.location.href = '/pub/ecoh/ecoh010201.html'; }
	function menu01_22()
    { self.location.href = '/pub/ecoh/ecoh010202.html'; }
	
	function menu01_3()
    { self.location.href = '/pub/ecoh/ecoh010301.html'; }
	function menu01_4()
    { self.location.href = '/pub/ecoh/ecoh010401.html'; }
	function menu01_5()
    { self.location.href = '/pub/ecoh/ecoh010501.html'; }
	function menu01_52()
    { self.location.href = '/pub/ecoh/ecoh010502.html'; }
	function menu01_53()
    { self.location.href = '/pub/ecoh/ecoh010503.html'; }
	function menu01_54()
    { 
        window.open('/pub/ecoh/ecoh010504.html','','width=500,height=450');
    }

	function menu01_6()
    { self.location.href = '/pub/ecoh/ecoh010601.html'; }


//bran
	function menu02()
    { self.location.href = '/pub/bran/bran020301.html'; }
	function menu02_1()
    { self.location.href = '/pub/bran/bran020101.html'; }
	function menu02_2()
    { self.location.href = '/pub/bran/bran020201.html'; }
	function menu02_3()
    { self.location.href = '/pub/bran/bran020301.html'; }
	function menu02_4()
    { self.location.href = '/pub/bran/bran020401.html'; }
	function menu02_5()
    { self.location.href = '/pub/bran/bran020501.html'; }
	function menu02_6()
    { self.location.href = '/pub/bran/bran020601.html'; }
	function menu02_62()
    { self.location.href = '/pub/bran/bran020602.html'; }
	function menu02_63()
    { self.location.href = '/pub/bran/bran020603.html'; }
	function menu02_7()
    { self.location.href = '/pub/bran/bran020701.html'; }


	
//oull
	function menu03()
    { self.location.href = '/pub/oull/oull030101.html'; }
	function menu03_1()
    { self.location.href = '/pub/oull/oull030101.html'; }
	function menu03_12()
    { self.location.href = '/pub/oull/oull030102.html'; }
	function menu03_13()
    { self.location.href = '/pub/oull/oull030103.html'; }
	function menu03_14()
    { self.location.href = '/pub/oull/oull030104.html'; }
	
	function menu03_2()
    { self.location.href = '/pub/oull/oull030201.html'; }
	function menu03_3()
    { self.location.href = '/pub/oull/oull030301.html'; }
	function menu03_32()
    { self.location.href = '/pub/oull/oull030302.html'; }
	function menu03_33()
    { self.location.href = '/pub/oull/oull030303.html'; }
	
	function menu03_4()
    { self.location.href = '/pub/oull/oull030401.html'; }
	function menu03_44()
    { self.location.href = '/pub/oull/oull030402.html'; }

	
	
//alri
	function menu04()
    { self.location.href = '/pub/alri/alri040101.html'; }
	function menu04_1()
    { self.location.href = '/pub/alri/alri040101.html'; }
	function menu04_2()
    { self.location.href = '/pub/alri/alri040201.html'; }
	function menu04_3()
    { self.location.href = '/pub/alri/alri040301.html'; }
	function menu04_4()
    { self.location.href = '/pub/alri/alri040401.html'; }
	function menu04_5()
    { self.location.href = '/pub/alri/alri040503.html'; }
	function menu04_52()
    { self.location.href = '/pub/alri/alri040503.html'; }
	function menu04_5_1()
    { self.location.href = '/pub/alri/alri040503.html'; }
	function menu04_5_2()
    { self.location.href = '/pub/alri/alri040504.html'; }
	function menu04_5_3()
    { self.location.href = '/pub/alri/alri040505.html'; }
	
	
//cust
	function menu05()
    { self.location.href = '/pub/cust/cust050101.html'; }
	function menu05_1()
    { self.location.href = '/pub/cust/cust050101.html'; }
	function menu05_2()
    { self.location.href = '/pub/cust/cust050201.html'; }
	function menu05_3()
    { self.location.href = '/pub/cust/cust050301.html'; }
	function menu05_4()
    { self.location.href = '/pub/cust/cust050401.html'; }
	function menu05_42()
    { self.location.href = '/pub/cust/cust050402.html'; }
	function menu05_43()
    { self.location.href = '/pub/cust/cust050403.html'; }
	function menu05_5()
    { self.location.href = '/pub/cust/cust050501.html'; }
	
	
//memb
	function menu06()
    { self.location.href = '/pub/memb/memb060101.html'; }
	function menu06_1()
    { self.location.href = '/pub/memb/memb060101.html'; }
	function menu06_2()
    { self.location.href = '/pub/memb/memb060201.html'; }
	function menu06_22()
    { self.location.href = '/pub/memb/memb060202.html'; }
	function menu06_23()
    { 
        window.open('/pub/memb/memb060203.html','','width=600,height=620');
    }
	
	function menu06_3()
    { self.location.href = '/pub/memb/memb060301.html'; }
	function menu06_4()
    { self.location.href = '/pub/memb/memb060401.html'; }
	function menu06_5()
    { self.location.href = '/pub/memb/memb060501.html'; }
	function menu06_6()
    { self.location.href = '/pub/memb/memb060601.html'; }	
	
	function menu06_7()
    { self.location.href = '/pub/memb/memb060701.html'; }
	function menu06_8()
    { self.location.href = '/pub/process/member_logout.php'; }
	function menu06_9()
    { self.location.href = '/pub/memb/memb060801.html'; }
	
	
// ecoh2
	function menu07()
    { self.location.href = '/pub/ecoh2/ecoh070101.html'; }
	function menu07_1()
    { self.location.href = '/pub/ecoh2/ecoh070101.html'; }
	function menu07_2()
    { self.location.href = '/pub/ecoh2/ecoh070201.html'; }
	function menu07_22()
    { self.location.href = '/pub/ecoh2/ecoh070202.html'; }
	function menu07_23()
    { self.location.href = '/pub/ecoh2/ecoh070203.html'; }
	function menu07_24()
    { self.location.href = '/pub/ecoh2/ecoh070204.html'; }
	function menu07_25()
    { self.location.href = '/pub/ecoh2/ecoh070205.html'; }



function down_mv1(__uid__){
	
//	window.open('http://media.ngelnet.com/downLoad.asp?url='+file,'');
	//location.href = "http://media.ngelnet.com/downLoad.asp?url="+file;
	var frm = document.getElementById("frame");
	frm.src = "/downLoadMV1.php?muid=" + __uid__ ;
}
