﻿// JavaScript Document

//flash ie ---
function ShowFlash(url, width, height){
        document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/cnt/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + width + '" height="' + height + '" VIEWASTEXT>');
        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 + '"  wmode="transparent" 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 MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
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;
}
//-->


//main, korean


	function top01()
    { self.location.href = '/main.php'; }
	function top02()
	{ 
        window.open('http://prideitems.co.kr'); }

	function top03()
    { self.location.href = '/pub/login/login040101.html'; }

	function top04()
    { self.location.href = '/pub/login/login040201.html'; }  //join

	function top05()
    { self.location.href = '/pub/process/member_logout.php'; }  //out

	function top06()
    { self.location.href = '/pub/login/login040201.html'; }  //modify

	function top07()
     { 
        window.open('http://prideitems.jp/main.html');
    }

//Brand story

	function Brand01()
    { self.location.href = '/bardnstory/main.html'; }
	function Brand02()
    { self.location.href = '/cnt/prid/prid0401.php'; } // prideitems
	function Brand03()
    { 
        window.open('/mailer.php','','width=426,height=426');
    }
	
	
//navi

	function navi010101()
    { self.location.href = '/pub/bran/bran030501.html'; }
	function navi020101()
    { self.location.href = '/pub/bran/bran030502.html'; }
	function navi030101()
    { self.location.href = '/pub/bran/bran030503.html'; }
	function navi040101()
    { self.location.href = '/pub/bran/bran030504.html'; }
	function navi050101()
    { self.location.href = '/pub/bran/bran030505.html'; }
	function navi060101()
    { self.location.href = '/pub/bran/bran030506.html'; }
	function navi070101()
    { self.location.href = '/pub/bran/bran030507.html'; }	
	
	
	
  //contact us





	function menu010101()
    { self.location.href = '/pub/expo/expo010101.html'; }
	function menu010201()
    { self.location.href = '/pub/expo/expo010201.html'; }
	function menu010301()
    { self.location.href = '/pub/expo/expo010301.html'; }
	function menu010401()
    { self.location.href = '/pub/expo/expo010401.html'; }
	function menu010501()
    { self.location.href = '/pub/expo/expo010501.html'; }
	function menu010601()
    { self.location.href = '/pub/expo/expo010601.html'; }
	function menu010701()
    { self.location.href = '/pub/expo/expo010701.html'; }
	function menu010801()
    { self.location.href = '/pub/expo/expo010801.html'; }


	function menu020101()
    { self.location.href = '/pub/help/help020101.html'; }
	function menu020201()
    { self.location.href = '/pub/help/help020201.html'; }
	function menu020301()
    { self.location.href = '/pub/help/help020301.html'; }
	function menu020401()
    { self.location.href = '/pub/help/help020401.html'; }


	function menu030101()
    { self.location.href = '/pub/bran/bran030101.html'; }


	function menu040101()
    { self.location.href = '/pub/login/login040101.html'; }
	function menu040201()
    { self.location.href = '/pub/login/login040201.html'; }
	function menu040301()
    { self.location.href = '/pub/login/login040301.html'; }





//영문 프라이드 상품 링크	
	
//	function pride_book_hyolim()
 //   { window.open('#','','width=1000,height=750'); }
//	function pride_catalog_hyolim()
//    { window.open('#','','width=1000,height=750'); }
function pride_catalog_hyolim_eng()
    { window.open('http://ngelnet.com/ebook/e-megazen/index.php?Dir=253','','width=990,height=740'); }
	function pride_vod_hyolim()
    { window.open('/vod/hyolim_e.html','','width=650,height=490'); }
	function pride_inquiry_hyolim()
    { self.location.href = '/pride/hyolim/inquiry.html'; }

	function pride_book_wheel()
    { window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_catalog_wheel()
    { window.open('http://ngelnet.com/ebook/index.php?Dir=183','','width=1000,height=750'); }
	//function pride_vod_wheel()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_inquiry_wheel()
    { self.location.href = '/pride/wheel/inquiry.html'; }
	
	function pride_book_dongwoo()
    { window.open('/ebook/brakepad.html','','width=1000,height=750'); }
	function pride_catalog_dongwoo()
    { window.open('http://ngelnet.com/ebook/index.php?Dir=176'); }
	//function pride_vod_dongwoo()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_inquiry_dongwoo()
    { self.location.href = '/pride/dongwoo/inquiry.html'; }
	function pride_showroom_dongwoo()
	{ window.open('/showroom/dongwoo.html','','width=1000,height=750'); }
	function pride_catalog_dongwoo01()
    { window.open('http://ngelnet.com/ebook/e-dongwoo02_eng/index.php?Dir=176','','width=990,height=740'); }

	
	//function pride_book_megazen()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_vod_megazen()
    { window.open('/vod/megazen.html','','width=650,height=490'); }
	function pride_catalog_megazen()
    { window.open('http://ngelnet.com/ebook/e-mega/index.php?Dir=186','','width=1000,height=750'); }
	//function pride_vod_megazen()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_inquiry_megazen()
    { self.location.href = '/pride/megazen/inquiry.html'; }
	
//	function pride_book_jawon()
   // { window.open('#','','width=1000,height=750'); }
//	function pride_catalog_jawon()
  //  { window.open('#','','width=1000,height=750'); }
	function pride_vod_jawon()
    { window.open('/vod/jawon_e.html','','width=650,height=490'); }
	function pride_inquiry_jawon()
    { self.location.href = '/pride/jawon/inquiry.html'; }
	
	//function pride_book_prosonic()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	//function pride_catalog_prosonic()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_vod_prosonic()
    { window.open('/vod/prosonic_e.html','','width=650,height=490'); }
	function pride_inquiry_prosonic()
    { self.location.href = '/pride/prosonic/inquiry.html'; }
	
	//function pride_book_mac()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_catalog_mac()
    { window.open('http://ngelnet.com/ebook/index.php?Dir=172','','width=1000,height=750'); }
	//function pride_vod_mac()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_inquiry_mac()
    { self.location.href = '/pride/mac/inquiry.html'; }
	
	//function pride_book_lucid()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	//function pride_catalog_lucid()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_vod_lucid()
    { window.open('/vod/lucid_evod.avi'); }
	function pride_inquiry_lucid()
    { self.location.href = '/pride/lucid/inquiry.html'; }

	
	//function pride_book_samhan()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_catalog_samhan()
    { window.open('http://ngelnet.com/ebook/index.php?Dir=173','','width=1000,height=750'); }
	function pride_vod_samhan()
    { window.open('/vod/samhan_evod.avi'); }
	function pride_inquiry_samhan()
    { self.location.href = '/pride/samhan/inquiry.html'; }
	
	function pride_book_hng()
    { window.open('/ebook/toddy.html','','width=1000,height=750'); }
	function pride_catalog_hng()
    { window.open('http://ngelnet.com/ebook/index.php?Dir=182'); }
	//function pride_vod_hng()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_inquiry_hng()
    { self.location.href = '/pride/hng/inquiry.html'; }
	
//	function pride_book_youngdo()
  //  { window.open('/ebook/wheels.html','','width=1000,height=750'); }
//	function pride_catalog_youngdo()
  //  { window.open('http://ebook.ec21.com/ydvelvet/default1.html?startpage=1&MailingID=[null]&RcptEmail=[null]&dbookdata=1'); }
	function pride_vod_youngdo()
   { window.open('/vod/youngdo_evod.avi'); }
	function pride_inquiry_youngdo()
    { self.location.href = '/pride/youngdo/inquiry.html'; }
	
	//function pride_book_mcmtech()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_catalog_mcmtech()
    { window.open('http://ngelnet.com/ebook/index.php?Dir=179','','width=1000,height=750'); }
	function pride_vod_mcmtech()
	 { window.open('/vod/mcmtec.html','','width=650,height=490'); }
	function pride_inquiry_mcmtech()
    { self.location.href = '/pride/mcmtech/inquiry.html'; }
	
	//function pride_book_bexel()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_catalog_bexel()
    { window.open('http://ebook.ec21.com/bexel/default1.html'); }
	//function pride_vod_bexel()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_inquiry_bexel()
    { self.location.href = '/pride/bexel/inquiry.html'; }
	
	//function pride_book_sodif()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	//function pride_catalog_sodif()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_vod_sodif()
    { window.open('/vod/sodif_e.html','','width=650,height=490'); }
	function pride_inquiry_sodif()
    { self.location.href = '/pride/sodif/inquiry.html'; }
	
	//function pride_book_suga()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_catalog_suga()
    { window.open('http://ngelnet.com/ebook/index.php?Dir=180'); }
	function pride_vod_suga()
    { window.open('/vod/green_evod.avi'); }
	function pride_inquiry_suga()
    { self.location.href = '/pride/suga/inquiry.html'; }
	
	//function pride_book_gsi()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_catalog_gsi()
    { window.open('#'); }
	function pride_vod_gsi()
    { window.open('/vod/daewon_evod.avi'); }
	function pride_inquiry_gsi()
    { self.location.href = '/pride/gsi/inquiry.html'; }
	
	//function pride_book_daehwa()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_catalog_daehwa()
    { window.open('http://ngelnet.com/ebook/index.php?Dir=178'); }
	//function pride_vod_daehwa()
    //{ window.open('/ebook/wheels.html','','width=1000,height=750'); }
	function pride_inquiry_daehwa()
    { self.location.href = '/pride/daehwa/inquiry.html'; }


function e_print(){ 
   factory.printing.header = "" //머릿말 설정
   factory.printing.footer = ""   //꼬릿말 설정
   factory.printing.portrait = false                 //출력방향 설정: true-가로, false-세로
   factory.printing.leftMargin = 5.0                 //왼쪽 여백 설정
   factory.printing.topMargin = 5.0                 //윗쪽 여백 설정
   factory.printing.rightMargin = 5.0              //왼쪽 여백 설정
   factory.printing.bottomMargin = 5.0            //아래쪽 여백 설정
   factory.printing.Print(false, window)
}

function printer(){ 
   factory.printing.header = "" //머릿말 설정
   factory.printing.footer = ""   //꼬릿말 설정
   factory.printing.portrait = false                 //출력방향 설정: true-가로, false-세로
   factory.printing.leftMargin = 5.0                 //왼쪽 여백 설정
   factory.printing.topMargin = 5.0                 //윗쪽 여백 설정
   factory.printing.rightMargin = 5.0              //왼쪽 여백 설정
   factory.printing.bottomMargin = 5.0            //아래쪽 여백 설정
   factory.printing.Print(false, window)
}