//flashMovie(免仿康开ID,敲贰矫颇老版肺,WIDTH,HEIGHT,FLASHVARS,BackgroundColor,WMOD)

function flashMovie(fid,src,wid,hei,fvs,bgc,wmd) {
  this.fPrint = '';
  this.Id = document.getElementById(fid);
  this.Src = src;
  if(wid == 0){
    this.Width = '100%';
  }
  else{
    this.Width = wid;
  }
  if(hei == 0){
    this.Height = '100%';
  }
  else{
    this.Height = hei;
  }
  this.FlashVars = (fvs != undefined)? fvs :'';
  this.Wmod = (wmd != undefined)? wmd :'';
  this.BGC = (bgc != undefined)? bgc :'';
  if(isObject(Id)) {
    fPrint = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"';
    fPrint += ' width="'+Width+'"';
    fPrint += ' height="'+Height+'">';
    fPrint += '<param name="allowScriptAccess" value="always">';
    fPrint += '<param name="movie" value="'+Src+'">';
    fPrint += '<param name="menu" value="false" />';
    fPrint += '<param name="quality" value="high">';
	fPrint += (BGC != null) ? '<param name="bgcolor" value="'+BGC+'">' : '';
    fPrint += (FlashVars != null) ? '<param name="FlashVars" value="'+FlashVars+'">' : '';
    fPrint += (Wmod != null) ? '<param name="wmode" value="'+Wmod+'">' : '';
    fPrint += '<embed';
    fPrint += fPrint + ' src="'+Src+'"';
    fPrint += (FlashVars != null) ? ' FlashVars="'+FlashVars+'"' : '';
    fPrint += (Wmod != null) ? ' wmode="'+Wmod+'"' : '';
    fPrint += ' quality="high"';
	fPrint += (BGC != null) ? ' bgcolor="'+BGC+'"' : '';
    fPrint += ' allowScriptAccess="always"';
    fPrint += ' pluginspage="http://www.macromedia.com/go/getflashplayer"';
    fPrint += ' type="application/x-shockwave-flash"';
    fPrint += ' width="'+Width+'"';
    fPrint += ' height="'+Height+'"';
    fPrint += '></embed>';
    fPrint += '</object>';
    Id.innerHTML = fPrint;
  }
}

function isObject(a) {
    return (a && typeof a == 'object');
}





//定义栏目

//info 公司简介
menu1 ="info.asp";
menu11 ="info.asp";
menu12 ="info.asp";
menu13 ="info.asp";

//JINRO 产品介绍
menu2 ="Model.asp";
menu21 ="Model.asp";
menu22 ="Model.asp";
menu23 ="Model.asp";

//menu221 ="#";



//常见问题集
menu3 ="faqsets.asp";
menu31 ="faqsets.asp";
menu32 ="faqsets.asp";
menu33 ="faqsets.asp";


//在线咨询
menu4 ="faq.asp";
menu41 ="info.asp";
menu42 ="Model.asp";
menu43 ="contact.asp";


//联系我们
menu5 ="contact.asp";
menu51 ="contact.asp";
menu52 ="contact.asp";


//JINRO & LIFE
menu6 ="index.html";
menu61 ="index.html";
menu611 ="index.html";
menu612 ="index.html";
menu613 ="index.html";
menu614 ="index.html";
//绊按瘤盔
menu91 ="FAQ.html";
menu92 ="FAQ.html";


//HOME
util1 ="index.asp";


//荤捞飘甘
util2 ="en";


//KOREAN
util3 ="info.asp";


//CUSTOMER CENTER
util4 ="contactus.asp";
util41 ="contactus.asp";


//捞侩距包
util5 ="捞侩距包.html";


//俺牢沥焊焊龋沥氓
util6 ="俺牢沥焊焊龋沥氓.html";


//公窜捞皋老荐笼芭何
util7 ="公窜捞皋老荐笼芭何.html";


//傍沥芭贰磊啦霖荐
util8 ="傍沥芭贰磊啦霖荐.html";


//柳肺家俺/档概诀眉 瘤档 傅农
map1 ="辑匡.html"; //辑匡
map2 ="牢玫.html"; //牢玫
map3 ="措傈.html"; //措傈
map4 ="措备.html"; //措备
map5 ="堡林.html"; //堡林
map6 ="匡魂.html"; //匡魂
map7 ="何魂.html"; //何魂
map8 ="碍盔.html"; //碍盔
map9 ="版扁.html"; //版扁
map10 ="面合.html"; //面合
map11 ="面巢.html"; //面巢
map12 ="版合.html"; //版合
map13 ="版巢.html"; //版巢
map14 ="傈合.html"; //傈合
map15 ="傈巢.html"; //傈巢
map16 ="力林.html"; //力林


//柳肺冠拱包/扼骇函玫荤 楷档 傅农
label1 ="扼骇01.html"; //1974斥 捞傈
label2 ="扼骇02.html"; //1975斥~2000斥
label3 ="扼骇03.html"; //2001斥 捞饶



function util(){
	var url = "";
	var depth = arguments.length;
	try {
		if(depth==0) return;
		else if(depth==1) url = eval("util"+arguments[0]);
		else if(depth==2) url = eval("util"+arguments[0]+arguments[1]);
		else if(depth==3) url = eval("util"+arguments[0]+arguments[1]+arguments[2]);
		location.href = url;
	}catch(e) { alert("URL地址配置不正确."); }
}

function menu(){
	var url = "";
	var depth = arguments.length;
	try {
		if(depth==0) return;
		else if(depth==1) url = eval("menu"+arguments[0]);
		else if(depth==2) url = eval("menu"+arguments[0]+arguments[1]);
		else if(depth==3) url = eval("menu"+arguments[0]+arguments[1]+arguments[2]);
		location.href = url;
	}catch(e) { alert("URL地址配置不正确."); }
}

function map(){
	var url = "";
	var depth = arguments.length;
	try {
		if(depth==0) return;
		else if(depth==1) url = eval("map"+arguments[0]);
		else if(depth==2) url = eval("map"+arguments[0]+arguments[1]);
		location.href = url;
	}catch(e) { alert("URL地址配置不正确."); }
}

function label(){
	var url = "";
	var depth = arguments.length;
	try {
		if(depth==0) return;
		else if(depth==1) url = eval("label"+arguments[0]);
		location.href = url;
	}catch(e) { alert("URL地址配置不正确."); }
}

function openNewWindow(url) {
	window.open(url)
}
