java script

이모션 js 파일

디자인인스 2011. 1. 7. 11:19
/****** 플래쉬 링크 ****************************************************************/
function brochure() { window.open('/brochure/start.html','',''); }
function via() { window.open('http://store.jungle.co.kr/Item/Item_detail.asp?itemID=BOK-41-00023','',''); }
function byoung() { window.open('http://www.mma.go.kr/','',''); }
function gohome() { location.href = "/"; }

/////////// GNB ///////////////////////////
function gourl1() { location.href = "javascript:gourl11()"; }
function gourl2() { location.href = "javascript:gourl21()"; }
function gourl3() { location.href = "javascript:gourl31()"; }
function gourl4() { location.href = "javascript:gourl41()"; }
function gourl5() { location.href = "javascript:gourl51()"; }

//depth02
function gourl11() { location.href = "/emotion/overview/overview.asp"; }
function gourl12() { location.href = "/emotion/vision/vision.asp"; }
function gourl13() { location.href = "/emotion/history/history.asp"; }
function gourl14() { location.href = "/emotion/organization/organization.asp"; }
function gourl15() { location.href = "/emotion/people/people.asp"; }
function gourl16() { location.href = "/emotion/activity/activity.asp"; }
function gourl17() { location.href = "/emotion/partner/partner.asp"; }
function gourl18() { location.href = "/emotion/affiliate/affiliate.asp"; }

function gourl21() { location.href = "/business/eConsulting/eConsulting.asp"; }
function gourl22() { location.href = "/business/eDesign/eDesign.asp"; }
function gourl23() { location.href = "/business/eTechnology/eTechnology.asp"; }
function gourl24() { location.href = "/business/eMarketing/eMarketing.asp"; }
function gourl25() { location.href = "/business/prospect/prospect.asp"; }
function gourl26() { location.href = "/business/technology/technology.asp"; }
function gourl27() { location.href = "/business/solution/cms/cms.asp"; }

function gourl31() { location.href = "/ecms/overview/overview.asp"; }
function gourl32() { location.href = "/ecms/feature/feature.asp"; }
function gourl33() { location.href = "/ecms/why/why.asp"; }
function gourl34() { location.href = "/ecms/client/client.asp"; }
function gourl35() { location.href = "/ecms/study/study.asp"; }
function gourl36() { location.href = "/ecms/registration/registration.asp"; }

function gourl41() { location.href = "/experience/project2004/list.asp"; }
function gourl42() { location.href = "/experience/project2003/list.asp"; }
function gourl43() { location.href = "/experience/project2002/list.asp"; }
function gourl44() { location.href = "/experience/project2001/list.asp"; }
function gourl45() { location.href = "/experience/project2000/list.asp"; }
function gourl46() { location.href = "/experience/project1999/list.asp"; }
function gourl47() { location.href = "/experience/project1998/list.asp"; }
function gourl48() { location.href = "/experience/client/client.asp"; }

function gourl51() { location.href = "/press/news/list.asp"; }
function gourl52() { location.href = "/press/inside/list.asp"; }
function gourl53() { location.href = "/press/newsletter/newsletter/list.asp"; }

/////////// 좌측메뉴 ///////////////////////////
function gourl131() { location.href = "/emotion/history/registration/registration.asp"; }

function gourl141() { location.href = "/emotion/organization/people/people.asp"; }

function gourl271() { location.href = "/business/solution/cms/cms.asp"; }
function gourl272() { location.href = "/business/solution/agent/agent.asp"; }

function gourl6() { location.href = "/ir/fundamental/project_result.asp"; }
function gourl61() { location.href = "/ir/irbulletin/list.asp"; }
function gourl62() { location.href = "/ir/overview/overview.asp"; }
function gourl63() { location.href = "/ir/map/map.asp"; }
function gourl64() { location.href = "/ir/people/people.asp"; }
function gourl65() { location.href = "/ir/news/list.asp"; }
function gourl66() { location.href = "/ir/fundamental/fundamental.asp"; }
function gourl67() { location.href = "/ir/vision/vision.asp"; }
function gourl68() { location.href = "/ir/disclosure/disclosure.asp"; }
function gourl69() { location.href = "/ir/stock/stock.asp"; }
function gourl610() { location.href = "/ir/faq/faq.asp"; }
function gourl611() { location.href = "/ir/contact/contact.asp"; }

function gourl7() { location.href = "/contact/client/client.asp"; }
function gourl71() { location.href = "/contact/client/client.asp"; }
function gourl72() { location.href = "/contact/office/office.asp"; }

/////////// 3Deptn ///////////////////////////

function newsletter00() { location.href = "/press/newsletter/newsletter/list.asp"; }
function newsletter01() { location.href = "/press/newsletter/newsletter/list.asp?year=2004"; }
function newsletter02() { location.href = "/press/newsletter/newsletter/list.asp?year=2003"; }
function newsletter03() { location.href = "/press/newsletter/newsletter/list.asp?year=2002"; }
function apply00() { location.href = "/press/newsletter/apply/form.asp"; }

function press_news(num) { location.href = "list.asp?year="+ num; }
function broadcast() { location.href = "broadcast.asp"; }

/////////// Footer ///////////////////////////
function gourl8() { location.href = "/career/emotion/career.asp"; }
function gourl81() { location.href = "/career/emotion/career.asp"; }
function gourl82() { location.href = "/career/oraksil/career.asp"; }
function gourl9() { location.href = "/sitemap/sitemap.asp"; }


/****** 이미지 롤오버 **************************************************************/
function EImgChg(flag)
{
source=event.srcElement;
if(document.images && source.tagName=="IMG") {
if(source.name == '') return;
imgElement = source.name;
imgPath = source.src;
imgPathLen = imgPath.length;
imgPathFlag = imgPath.lastIndexOf("/");
imgName = imgPath.substring(0,imgPathFlag+1);
document.images[imgElement].src = imgName + imgElement + "_" + flag + ".gif";
}
}


/****** 이미지 팝업 리사이징 **************************************************************/

function AutoResize(img) {
/*
foto1= new Image();
foto1.src=(img);
Controlla(img);
*/
AutoResize2(img);
}

function AutoResize2(img) {
window.open("/common/popup/imgViewer.asp?imgUrl="+img,"","left=0,top=0,toolbar=0,menubar=0,scrollbars=yes,resizable=yes,locationbar=no, width=100,height=100")
}

function Controlla(img) {
if((foto1.width!=0)&&(foto1.height!=0)){
viewFoto(img);
}
else{
funzione="Controlla('"+img+"')";
intervallo=setTimeout(funzione,20);
}
}

function viewFoto(img) {
largh=foto1.width+20;
altez=foto1.height+20;
stringa="width="+largh+",height="+altez;
finestra=window.open(img,"",stringa);
}

/****** 메인페이지 글 읽기 **************************************************************/

function isRead( id )
{
document.Frm01.id.value = id;
document.Frm01.action = '/press/news/company/read.asp';
document.Frm01.submit();
}

function isRead02( id )
{
document.Frm02.id.value = id;
document.Frm02.action = '/press/inside/read.asp';
document.Frm02.submit();
}

/****** 팝업(스크롤바) **************************************************************/
function popwindow(pop,width,height) {
var url= pop ;
var wd = width ;
var he = height ;

window.open(url,"","left=10,top=10,toolbar=0,menubar=0,scrollbars=yes,resizable=no,locationbar=no, width=" + wd +",height=" + he + ";")
}
/****** 팝업(스크롤바 X ) **************************************************************/
function popwindow2(pop,width,height) {
var url= pop ;
var wd = width ;
var he = height ;

window.open(url,"","left=10,top=10,toolbar=0,menubar=0,scrollbars=no,resizable=no,locationbar=no, width=" + wd +",height=" + he + ";")
}