/********************************************************************************************************
	Popup Á¤ÀÇ
	º¯¼ö Á¤ÀÇ : pop - ÆÄÀÏ¸í, width - °¡·Î»çÀÌÁî, height - ¼¼·Î»çÀÌÁî, flag - 0:½ºÅ©·Ñ¾øÀ½, 1:½ºÅ©·ÑÀÖÀ½
********************************************************************************************************/
function pop(pop,width,height,flag)
{
	var url = pop;
	var wd = width;
	var he = height;

    if (flag == "0" )
    {  window.open(url,"","toolbar=0,menubar=0,scrollbars=no,resizable=no,top=20,left=20,width=" + wd +",height=" + he + ";");  }
    else 
    {  window.open(url,"","toolbar=0,menubar=0,scrollbars=yes,resizable=no,top=20,left=20,width=" + wd +",height=" + he + ";");  }
}

/********************************************************************************************************
	Layer Show Hide
********************************************************************************************************/
function LayerSH(LayerName,Status) {
ns4 = (document.layers)?true:false
ie4 = (document.all)?true:false

	if (ns4) {
		LayerN = document.layers[LayerName]

		if (Status == 'show') LayerN.visibility = 'show';
		if (Status == 'hide') LayerN.visibility = 'hidden';
	}

	if (ie4) {
		LayerN = document.all[LayerName].style

		if (Status == 'show') {
		LayerN.visibility = 'visible';
		LayerN.display = 'block';
		}

		if (Status == 'hide') {
		LayerN.visibility = 'hidden';
		LayerN.display = 'none';
		}
	}
}

/********************************************************************************************************
	¸µÅ©½Ã Æ÷Ä¿½º ¾ø¾Ö´Â ÇÔ¼ö
********************************************************************************************************/
function allblur() {
    for (i = 0; i < document.links.length; i++)
        document.links[i].onfocus = document.links[i].blur;
}
window.onload=allblur

/********************************************************************************************************
	select ¹Ú½º ÀÌ¿ë½Ã ¼­ºñ½ºÂÊ ÆäÀÌÁö ÀÌµ¿
********************************************************************************************************/
function go_select(sel, targetstr)
{
  var index = sel.selectedIndex;

  if (sel.options[index].value != '') {
     if (targetstr == 'blank') {
       window.open(sel.options[index].value, 'win1');
     } else {

       var frameobj;

       if ((frameobj = eval(targetstr)) != null)
       frameobj.location = sel.options[index].value;
     }
  }
}

/********************************************************************************************************
	Top menu link
********************************************************************************************************/
function bonuscard01() {//¿þµù¾Ë¸®¾Ó½º
	top.window.location.href="/01_alliance/alliance_01.html";
}

function bonuscard02() {//¿þµùÈ¦
	top.window.location.href="/02_hall/hall_01.html";
}

function bonuscard03() {//¿¹½Ä¾È³»
	top.window.location.href="/03_guide/guide_01.html";
}

function bonuscard04() {//ºÎ´ë½Ã¼³
	top.window.location.href="/04_sisul/sisul_01.html";
}

function bonuscard05() {//¿¬È¸¾È³»
	top.window.location.href="/05_party/party_01.html";
}

function bonuscard06() {//¿þµùÁ¤º¸
	top.window.location.href="/06_info/info_01.html";
	//top.window.location.href="/pointmall/present/info.jsp";
}

function bonuscard07() {//¿þµù½ºÅä¸®
	top.window.location.href="/07_story/story_01.html";
}

function bonuscard08() {//»ó´ã/¿¹¾à
	top.window.location.href="/08_board/faq_01.html";
}

function card_login01() {//·Î±×ÀÎ
	top.window.location.href="/login.do?action=LOGINFORM";
}

function logout() {//·Î±×¾Æ¿ô
	top.window.location.href="/login.do?action=LOGOUT";
	//top.window.location.href="http://bonusplus.oilbankcard.com/bonusplus/loginout.jsp";
}

function join() {//È¸¿ø°¡ÀÔ
	top.window.location.href="/member/agreement_yakkwan.jsp";
}


/********************************************************************************************************
	Left menu link
********************************************************************************************************/

function card_oilbank01() {//My level
	top.window.location.href="/myoilbank/level/myinfo.jsp";
}


/* My¿ÀÀÏ¹ðÅ© */
function card_oilbank02(num) {//MyÆ÷ÀÎÆ®

	if  (num == '2') {//³»°¡±ÇÀ¯ÇÑ°í
		top.window.location.href="/login/my.do?action=RECOMLIST";
	}

	else if (num == '1') {//±ÇÀ¯Æ÷ÀÎÆ®Áö±ÞÇöÈ²
		top.window.location.href="/login/my.do?action=INVITELIST";
	}

	else {
		top.window.location.href="/login/my.do?action=POINTLIST&search_value=all";
	}
}


function card_oilbank03() {//MyÁÖÀ¯³»¿ª
	top.window.location.href="/login/my.do?action=POINTLIST&search_value=ju";
}



function card_oilbank04(num) {//My¼îÇÎ³»¿ª
	
	if  (num == '2') {//Á¤±â»çÀºÇ°½ÅÃ»³»¿ª
	top.window.location.href="/body/my/giftlist.jsp?page=1";
	}
	
	else if  (num == '3') {//e»çÀºÇ°½ÅÃ»³»¿ª
	top.window.location.href="/login/my.do?action=EGIFTLIST";
	}

	else if  (num == '4') {//»óÇ°±Ç½ÅÃ»³»¿ª
	top.window.location.href="/login/my.do?action=PRIZELIST";
	}

	else if  (num == '5') {//³­¹æÀ¯½ÅÃ»³»¿ª
	top.window.location.href="/login/my.do?action=HEATINGLIST";
	}
	
	else {//ÄÁÅÙÃ÷½ÅÃ»³»¿ª
	top.window.location.href="/login/my.do?action=APPLYLIST";
	}
	
}


//function card_oilbank04() {//MyÀÌº¥Æ®
//	top.window.location.href="/myoilbank/event/list.jsp";
//}

function card_oilbank05(num) {//My±âº»Á¤º¸
	if  (num == '2') {//³»Ä«µå»ó¼¼³»¿ª
	top.window.location.href="/login/my.do?action=MYCARDLIST";
	}

	else if  (num == '3') {//ÁÖÀÌ¿ë¿ÀÀÏ¹ðÅ©¼³Á¤
	top.window.location.href="/login/my.do?action=BANKLIST";
	}

	else if  (num == '4') {//È¸¿øÅ»Åð
	top.window.location.href="/join.do?action=DELETEFORM";
	}

	else {//±âº»Á¤º¸
	top.window.location.href="/join.do?action=UPDATEFORM";
	}
}

function card_oilbank06() {//MyÄ¿¹Â´ÏÆ¼
	top.window.location.href="/login/my.do?action=COMMLIST";
}


/* function card_oilbank06() {//My»ó´ã³»¿ª
	top.window.location.href="/login/my.do?action=COUNSELLIST";
} */

function card_oilbank07() {//º¸³Ê½ºÄ«µåÀç¹ß±Þ
	//top.window.location.href="/myoilbank/card_reissue/reissue_apply.jsp";
	top.window.location.href="/join.do?action=CARDREISSUEFORM";
}

function card_oilbank08() {//º¸³Ê½ºÄ«µåºÐ½Ç½Å°í
	top.window.location.href="/myoilbank/loss/card_loss.jsp";
}


/* Ä«µå»óÇ°¾È³» */
//function card_products01() {//º¸³Ê½ºÄ«µå
  //  top.window.location.href="/card_info/bonus/intro.jsp";
/*     if  (num == '1') {//º¸³Ê½ºÄ«µå¿ì´ë°¡¸ÍÁ¡
	top.window.location.href="/card_info/bonus/info.jsp";
	}

	else if  (num == '2') {//º¸³Ê½ºÄ«µå¿ì´ë°¡¸ÍÁ¡
	top.window.location.href="/card_info/bonus/store.jsp";
	}

	else {//º¸³Ê½ºÄ«µå¾È³»
	top.window.location.href="/card_info/bonus/intro.jsp";
	}
*/
//}


function card_products01(num) {//º¸³Ê½ºÄ«µå
     if  (num == '1') {//º¸³Ê½ºÄ«µå¿ì´ë°¡¸ÍÁ¡
             top.window.location.href="/card_info/bonus/info.jsp";

     } else {//º¸³Ê½ºÄ«µå¾È³»
             top.window.location.href="/card_info/bonus/intro.jsp";
     }
}


function card_products02() {//º¸³Ê½ºÁ¦ÈÞÄ«µå
	top.window.location.href="/card_info/partner/partner.jsp";
}


function card_products03() {//Á¦ÈÞ½Å¿ëÄ«µå
	top.window.location.href="/card_info/credit/credit_card.jsp";
}

/* ÀÌº¥Æ® */
/*function card_event01() {//Everyday Party
	top.window.location.href="/event/party/everyday_party.jsp";
}*/

function card_event01() {//°æÇ°ÀÌº¥Æ®
	top.window.location.href="/board.do?action=LIST&category=event&group=evgift&content=default&page=1";
}

function card_event02() {//¹®È­ÀÌº¥Æ®
	top.window.location.href="/board.do?action=LIST&category=event&group=evculture&content=default&page=1";
}


function card_event03() {//Å×¸¶ÀÌº¥Æ®
	top.window.location.href="/board.do?action=LIST&category=event&group=evtheme&content=default&page=1";
}


function card_event04() {//´çÃ·ÀÚ¹ßÇ¥
	top.window.location.href="/board.do?action=LIST&category=event&group=evwinner&content=default&page=1";
}


function card_event05() {//ÁÖÀ¯¼ÒÀÌº¥Æ®
	top.window.location.href="/board.do?action=LIST&category=event&group=evstation&content=default&page=1";
}

function card_event06() {//Áö³­ÀÌº¥Æ®
	top.window.location.href="/board.do?action=LASTLIST&category=event&group=evlast&content=default&page=1";
}

function card_event07(num) {//»ç¶ûÀÇ±âºÎÇà»ç
	if  (num == '1') {//³ªÀÇ±âºÎÆ÷ÀÎÆ®Á¶È¸
	top.window.location.href="/board.do?action=LIST&category=event&group=evdonation&content=default&page=1";
	}

	else if  (num == '2') {//Áö³­±âºÎÇà»ç
	//top.window.location.href="/board.do?action=LIST&category=community&group=lastevtheme&content=summercamp&page=1";
	top.window.location.href="/board.do?action=LASTLIST&category=event&group=evdonation&content=default&page=1";
	}

	else {//»ç¶ûÀÇ±âºÎÇà»ç
	top.window.location.href="/body/event/evdonation/intro.jsp";
	}
}

function card_event08(num) {//½ºÅ°ÀÌº¥Æ®
	if (num == '1') {//´ëÈ¸°³¿ä
	top.window.location.href="/event/ski/event_con.jsp";
	} 
	
	else if (num == '2') {//´ëÈ¸¹æ½Ä
	top.window.location.href="/event/ski/form.jsp";
	}
	
	else if  (num == '3') {//´ëÈ¸ÀÏÁ¤
	top.window.location.href="/event/ski/program.jsp";
	}
	
	else if  (num == '4') {//´ëÈ¸±ÔÄ¢
	top.window.location.href="/event/ski/rule.jsp";
	}
	
	else if  (num == '5') {//À¯ÀÇ»çÇ×
	top.window.location.href="/event/ski/attention.jsp";
	}
	
	else if  (num == '6') {//»çÁø¾Ù¹ü
	top.window.location.href="/board.do?action=LIST&category=community&group=clubtheme&content=albumwinter2004&page=1";
	}

	else {//½ºÅ°´ëÈ¸
	top.window.location.href="/event/ski/event_con.jsp";
	}
	
}


/* Ä¿¹Â´ÏÆ¼ */
function card_community01(num) {//·¹ÀÌ½ÌÅ¬·´
	if  (num == '2') {//¿ÀÀÏ¹ðÅ©·¹ÀÌ½Ì°É
	top.window.location.href="/board.do?action=LIST&category=community&group=clubracing&content=racinggirl&page=1";
	}

	else {//¿ÀÀÏ¹ðÅ©·¹ÀÌ½Ì
	top.window.location.href="/board.do?action=LIST&category=community&group=clubracing&content=racing&page=1";
	}
}


function card_community02(num) {//¿ÀÀÏ¹ðÅ©»ç¶ûÅ¬·´
	if  (num == '2') {//¾Ë¶ãÁÖÀ¯¹æ¹ý
	top.window.location.href="/board.do?action=LIST&category=community&group=cluboilbank&content=economy&page=1";
	}

	else {//ÃßÃµ¿ÀÀÏ¹ðÅ©
	top.window.location.href="/board.do?action=LIST&category=community&group=cluboilbank&content=recommend&page=1";
	}
}

function card_community03(num) {//Å×¸¶ÀÌº¥Æ®Å¬·´
	if  (num == '2') {//¿¬±ØÄ·ÇÁ
	top.window.location.href="/board.do?action=LIST&category=community&group=clubtheme&content=thecamp&page=1";
    //top.window.location.href="http://bonusplus.oilbankcard.com/bonusplus/community/campideaPL.jsp";
	}

	else if  (num == '3') {//°úÇÐÄ·ÇÁ
	top.window.location.href="/board.do?action=LIST&category=community&group=clubtheme&content=scicamp&page=1";
    //top.window.location.href="http://bonusplus.oilbankcard.com/bonusplus/community/campideaSL.jsp";
	}

	else if  (num == '4') {//Å×¸¶ÀÌº¥Æ®¾Ù¹ü
	top.window.location.href="/board.do?action=LIST&category=community&group=clubtheme&content=album&page=1";
    //top.window.location.href="http://bonusplus.oilbankcard.com/bonusplus/community/themeeventABL.jsp";
	}

	else if  (num == '5') {//Áö³­Å×¸¶Å¬·´
	top.window.location.href="/board.do?action=LIST&category=community&group=lastevtheme&content=summercamp&page=1";
	}

	else {//¿µ¾îÄ·ÇÁ
	top.window.location.href="/board.do?action=LIST&category=community&group=clubtheme&content=engcamp&page=1";
    //top.window.location.href="http://bonusplus.oilbankcard.com/bonusplus/community/campideaEL.jsp";
	}
}


/* Æ÷ÀÎÆ®¸ô */
function card_point01(num) {//Á¤±â»çÀºÇ°
    if (num == '1')  {//»çÀºÇ°½ÅÃ»
	//top.window.location.href="/board.do?action=LIST&category=pointmall&group=gift&content=present&page=1";
	top.window.location.href="/pointmall/present/apply_list.jsp";
	}

    else if  (num == '2') {//»çÀºÇ°Á¦µµ¾È³»
	top.window.location.href="/pointmall/present/info.jsp";
	}

	else {
    top.window.location.href="/pointmall/present/apply_list.jsp";
	}
}


function card_point02(num) {//e»çÀºÇ°
    if (num == '1') {//»çÀºÇ°¸®½ºÆ®
	top.window.location.href="/gift_bank/gift_esaun_list.jsp";
	}

    else if  (num == '2') {//Àå¹Ù±¸´Ï
	//top.window.location.href="/pointmall/reform.jsp";
	top.window.location.href="/gift_bank/gift_esaun_jangbaguni.jsp";
	}

	else if  (num == '3') {//»çÀºÇ°¾È³»
	top.window.location.href="/pointmall/epresent/info.jsp";
	}

	else  {
	top.window.location.href="/gift_bank/gift_esaun_list.jsp";
	}
}


function card_point03(num) {//»óÇ°±Ç
	if  (num == '2') {//»óÇ°±Ç±¸ÀÔÃ³
	top.window.location.href="/pointmall/gift/buy_main.jsp";
	}

	else if  (num == '3') {//»óÇ°±ÇÁÖ¹®
	top.window.location.href="/pointmall/gift/apply01.jsp";
	}
	
	else if  (num == '4') {//»óÇ°±ÇÇ¥ÁØ¾à°ü
	top.window.location.href="/pointmall/gift/agreement.jsp";
	}

	else {//»óÇ°±Ç¼Ò°³
	top.window.location.href="/pointmall/gift/info.jsp";
	}
}


function card_point04(num) {//³­¹æÀ¯
	if  (num == '2') {//³­¹æÀ¯ÀÌº¥Æ®
	//top.window.location.href="/pointmall/reform.jsp";
	top.window.location.href="/board.do?action=LIST&category=hoileveboard&group=heating&content=default";
	}

	else if  (num == '3') {//³­¹æÀ¯ÁÖ¹®
	//top.window.location.href="/pointmall/hoil/order_main.jsp";
	top.window.location.href="/pointmall/hoil/order_main.jsp";
	}

	else if  (num == '4') {//º¸ÀÏ·¯Á¤ºñÇÐ
	top.window.location.href="/pointmall/hoil/hoil_info.jsp";
	}

	else {//µ¿³×¹æ³×
	top.window.location.href="/pointmall/hoil/service.jsp";
	}
}



function card_point05() {//»çÁøÀÎÈ­
	top.window.location.href="http://photo.oilbankcard.com/";
	//top.window.location.href="http://photo.oilbankcard.com";
}


/* °í°´¼¾ÅÍ */
function card_customer01() {//°øÁö»çÇ×
	top.window.location.href="/board.do?action=LIST&category=callcenter&group=notice&content=default&page=1";
}


function card_customer02(num) {//ID Ã£±â
	if(num == '1')
		top.window.location.href="/join.do?action=VERIFYFORMID";

	else if(num == '2')
		top.window.location.href="/join.do?action=VERIFYFORM";

    else 
		top.window.location.href="/join.do?action=VERIFYFORMID";
}


function card_customer02_1() {//ID Ã£±â
	top.window.location.href="/join.do?action=VERIFYFORMID";
}


function card_customer02_2() {//ºñ¹Ð¹øÈ£ Ã£±â
	top.window.location.href="/join.do?action=VERIFYFORM";
}


function card_customer03() {//FAQ
	top.window.location.href="/support/faq/intro.jsp";
}


function card_customer04() {//1:1°í°´»ó´ã½Ç
	top.window.location.href="/board.do?action=WRITEFORM&category=callcenter&group=desk&content=default&page=1";
}


function card_customer05(num) {//¿ÀÀÏ¹ðÅ©Ã£±â
	if  (num == '2') {//°í¼Óµµ¿ÀÀÏ¹ðÅ©
	top.window.location.href="/support/station/highway_oilbank.jsp";
	}

	else if  (num == '3') {//LPGÃæÀü¼Ò
	top.window.location.href="/support/station/search_whole.jsp?category=3";
	}

	else if  (num == '4') {//Á÷¿µ¿ÀÀÏ¹ðÅ©
	top.window.location.href="/support/station/search_whole.jsp?category=4";
	}

	else if  (num == '5') {//°í±ÞÈÖ¹ßÀ¯ÆÇ¸ÅÁ¡
	top.window.location.href="/support/station/highoil_store.jsp";
	}

	else if  (num == '6') {//¿ÀÀÏ¹ðÅ©¹Ù·Î°Ë»ö
	top.window.location.href="/support/station/search.jsp";
	}

	else {//Àü±¹¿ÀÀÏ¹ðÅ©
	top.window.location.href="/support/station/search_whole.jsp?category=1";
	}
}


function card_customer06() {//¾ÆÀÌµð¾îÁ¦¾ÈÇÏ±â
	top.window.location.href="/support/propose/propose.jsp";
}


/* »çÀÌÆ®¸Ê */
function card_sitemap01() {//°øÁö»çÇ×
	top.window.location.href="/sitemap/sitemap.jsp";
}

/* ¼³¹®Á¶»ç*/
function card_question01() {
	top.window.location.href="/question/question.jsp";
}

/* ÁÖÀ¯¼Ò ±¸ÀÎ/±¸Á÷ */
function card_career01(num) {//
	if  (num == '2') {//ÁÖÀ¯¼Ò ±¸Á÷ 
	top.window.location.href="/board.do?action=LIST&category=member&group=job&content=seek&page=1";
	}

	else {//ÁÖÀ¯¼Ò ±¸ÀÎ 
	top.window.location.href="/board.do?action=LIST&category=member&group=job&content=offer&page=1";
	}

}


/* ÀÌ¿ë¾à°ü  */
function card_agreement01() {//ÀÌ¿ë¾à°ü 
	top.window.location.href="/member/provision/member_provision.jsp";
}

/* °³ÀÎÁ¤º¸º¸È£Á¤Ã¥  */
function card_personal01() {//°³ÀÎÁ¤º¸º¸È£Á¤Ã¥
	top.window.location.href="/member/provision/privacy.jsp";
}


/********************************************************************************************************
	±âÅ¸ ÇÃ·¡½¬ ¸µÅ©
********************************************************************************************************/

/* ¸ÞÀÎÆäÀÌÁö  */


function cardevent(num) {  //ÀÌº¥Æ®
	
	if  (num == '1') {  //ÀÌº¥Æ® 2¹øÂ° - »çÁø
		top.window.location.href="http://photo.oilbankcard.com/";
		//top.window.location.href="/pointmall/present/apply_list.jsp";
	}
	
	else if  (num == '2') {  //ÀÌº¥Æ® 2¹øÂ° - ±Í°æ±æÀÌº¥Æ®
		top.window.location.href="/event/050204/event_050204.jsp";
	}
	
	//else if  (num == '2') {  //ÀÌº¥Æ® 2¹øÂ° - ¼Ò¾Æ¾Ï
	//	top.window.location.href="/body/event/evdonation/intro.jsp";
	//}
	
	else if  (num == '3') {  //ÀÌº¥Æ® 2¹øÂ° - e-card service
		top.window.location.href="http://ecard.oilbankcard.com/oilbankcard/index.php";
		//top.window.location.href="http://www.oilbankcard.com/board.do?action=READ&category=event&group=evwinner&content=default&page=1&seq=646";
	}
	
	else if  (num == '4') {  //ÀÌº¥Æ® 4¹øÂ° - Æ÷ÀÎÆ®°øµ¿±¸¸Å1
		top.window.location.href=" http://bonusplus.oilbankcard.com/bonusplus/onlinemovie/onlinemovieL.jsp";
	}
	else if  (num == '5') {  //ÀÌº¥Æ® 4¹øÂ° - Æ÷ÀÎÆ®°øµ¿±¸¸Å2
		top.window.location.href="http://bonusplus.oilbankcard.com/bonusplus/everydayparty/everydaypartyL.jsp";
	}
	
  }


function card_ecardsrevice() {
	top.window.location.href="http://ecard.oilbankcard.com/oilbankcard/index.php";
}


/* ¸ÞÀÎ ÁÂÃø PUREX ¸µÅ©  */
function go_url(banner) {
	window.open("http://www.oilbank.co.kr/business/product/purex.jsp")
}

/* »ó´Ü TAb */
function bonus_tab01() {//Oilbank
	window.open("http://www.oilbank.co.kr/")
}


function bonus_tab02() {//Webzine
	window.open("http://hello.oilbank.co.kr/")
}


function bonus_tab03() {//Oilbank Plus
	//window.open("http://www.oilbankplus.net/")	
	window.open("http://www.oilbankplus.co.kr/")
}


function bonuscard(num) {/*º¸³Ê½ºÄ«µå */
	if (num == '1') {//Family Card(³²¼º)
		top.window.location.href="/card_info/bonus/info.jsp#man01";
	}

	else if (num == '2') {//Gold Card(³²¼º)
		top.window.location.href="/card_info/bonus/info.jsp#man02";
	}

	else if (num == '3') {//Platinum Card(³²¼º)
		top.window.location.href="/card_info/bonus/info.jsp#man03";
	}

	else if (num == '4') {//Gold Card(¿©¼º)
		top.window.location.href="/card_info/bonus/info.jsp#lady01";
	}

	else if (num == '5') {//Platinum Card(¿©¼º)
		top.window.location.href="/card_info/bonus/info.jsp#lady02";
	}

	else if (num == '6') {//Gold Card(¿©¼º)
		top.window.location.href="/card_info/bonus/info.jsp#lady03";
	}
}

function bonuscard_new(num) {/*º¸³Ê½ºÄ«µå_½ÅÃ»ÇÏ±â */
	if (num == '1') {//Family Card(³²¼º)
		top.window.location.href="/login.do?action=LOGINFORM&returnurl=/join.do?action=CARDREISSUEFORM";
	}

	else if (num == '2') {//Gold Card(³²¼º)
		top.window.location.href="/login.do?action=LOGINFORM&returnurl=/join.do?action=CARDREISSUEFORM";
	}

	else if (num == '3') {//Platinum Card(³²¼º)
		top.window.location.href="/login.do?action=LOGINFORM&returnurl=/join.do?action=CARDREISSUEFORM";
	}

	else if (num == '4') {//Gold Card(¿©¼º)
		top.window.location.href="/login.do?action=LOGINFORM&returnurl=/join.do?action=CARDREISSUEFORM";
	}

	else if (num == '5') {//Platinum Card(¿©¼º)
		top.window.location.href="/login.do?action=LOGINFORM&returnurl=/join.do?action=CARDREISSUEFORM";
	}

	else if (num == '6') {//Gold Card(¿©¼º)
		top.window.location.href="/login.do?action=LOGINFORM&returnurl=/join.do?action=CARDREISSUEFORM";
	}
}


function creditcard(num) {/*Á¦ÈÞ½Å¿ëÄ«µå */
	if (num == '1') {//Çö´ëMÄ«µå
		top.window.location.href="/card_info/credit/card01_view.jsp";
	}

	else if (num == '2') {//½ÅÇÑVISAÄ«µå
		top.window.location.href="/card_info/credit/card02_view.jsp";
	}

	else if (num == '3') {//LGÄ«µå
		top.window.location.href="/card_info/credit/card03_view.jsp";
	}

	else if (num == '4') {//¿ÜÈ¯Ä«µå
		top.window.location.href="/card_info/credit/card04_view.jsp";
	}

	else if (num == '5') {//³óÇùVISAÄ«µå
		top.window.location.href="/card_info/credit/card05_view.jsp";
	}

	else if (num == '6') {//ÆòÈ­VISAÄ«µå
		top.window.location.href="/card_info/credit/card06_view.jsp";
	}

	else if (num == '7') {//¼öÇùVISAÄ«µå
		top.window.location.href="/card_info/credit/card07_view.jsp";
	}

	else if (num == '8') {//Á¶ÈïÀºÇàÃ¼Å©ÇÃ·¯½º '¹Ì·¡µç'Ä«µå
		top.window.location.href="/card_info/credit/card08_view.jsp";
	}

	else if (num == '9') {//±¹¹Î e-queensÄ«µå
		top.window.location.href="/card_info/credit/card09_view.jsp";
	}

	else if (num == '10') {//¿ì¸®¸ð¾ÆÄ«µå(±¸,ÇÑºû¸ð¾ÆÄ«µå)
		top.window.location.href="/card_info/credit/card10_view.jsp";
	}
}


function concordcard(num) {/*º¸³Ê½ºÁ¦ÈÞÄ«µå */
	if (num == '1') {//À¯´Ï¼¼ÇÁ
		top.window.location.href="/card_info/partner/partner.jsp#01";
	}

	else if (num == '2') {//¹èµå¹ÎÅÏ¿¬ÇÕÈ¸
		top.window.location.href="/card_info/partner/partner.jsp#02";
	}

	else if (num == '3') {//È­¹°º¹ÁöÄ«µå
		top.window.location.href="/card_info/partner/partner.jsp#03";
	}

	else if (num == '4') {//Æ÷ÀÎÆ®ÆÄÅ©Ä«µå
		top.window.location.href="/card_info/partner/partner.jsp#04";
	}

	else if (num == '5') {//Çö´ë¹ýÀÎ ÁÖÀ¯Àü¿ëÄ«µå
		top.window.location.href="/card_info/partner/partner.jsp#05";
	}
}


/********************************************************************************************************
	°³¹ß ¸µÅ©
********************************************************************************************************/

/* °í°´¼¾ÅÍ */
function desk_board01() {//FAQ
	top.window.location.href="/board.do?action=LIST&category=callcenter&group=faq&content=default&page=1";
}


function card_hunting01() {//ÁÖÀ¯¼Ò ±¸Á÷
	top.window.location.href="board.do?action=LIST&category=member&group=job&content=offer&page=1";
}


/********************************************************************************************************
	°í°´¼¾ÅÍ Áöµµ ¸µÅ©
********************************************************************************************************/

function express(num){/*°í¼Óµµ·Î ¿ÀÀÏ¹ðÅ© */
    var newWind="";

    newWind=window.open("/support/station/popup_map" +num+ ".jsp","newWindow","status=no,toolbar=no,scrollbars=no,resizable=no,width=552,height=579,top=50,left=50");
}


function card_member01() {
	join();
}


function card_motor01(num) {
	//bonuscard05();

	if (num == '4') {
		window.location.href="http://auto.megaauto.com/newcar/carinfo.php3?menu_id=198&family_id=oilbank";
	}

	else if (num == '5') {
		window.location.href="http://auto.megaauto.com/carinfo2/used_list.php3?family_id=oilbank";
	} 

	else {

		top.window.location.href="http://www.oilbankcard.co.kr/carlife/carlife01_02.jsp";
	}
}


function card_motor02() {
	top.window.location.href="http://www.oilbankcard.co.kr/carlife/carlife02_01.jsp";
}

function card_motor03(num) {
	if (num == '1') {
		window.location.href="http://auto.megaauto.com/cp_change/oilbank/selftest.php3?&family_id=oilbank";
	}

	else if (num == '2') {
		window.location.href="http://auto.megaauto.com/cp_change/oilbank/diy_info.php3?&family_id=oilbank";
	}

	else if (num == '3') {
		window.location.href="http://auto.megaauto.com/cp_change/oilbank/list.php3?menu_id=25&family_id=oilbank";
	}

	else if (num == '4') {
		window.location.href="http://auto.megaauto.com/cp_change/oilbank/list.php3?menu_id=26&family_id=oilbank";
	} else {
		top.window.location.href="http://www.oilbankcard.co.kr/carlife/carlife03_01.jsp";
	}
}

function card_motor04() {
	top.window.location.href="http://www.oilbankcard.co.kr/carlife/carlife04_01.jsp";
}

function card_motor05() {
	top.window.location.href="http://www.oilbankcard.co.kr/carlife/carlife05_01.jsp";
}


/*******************
 ¸ÞÀÎ ·Î¾âÆ¼ ¹è³Ê
********************/
function openwin() {
	//window.open('http://211.236.183.31/bonusplus/guide/bonusplusINFO.jsp','ro_banner', 'width=640,height=455,scrollbars=no');
	top.window.location.href="http://bonusplus.oilbankcard.com/bonusplus/main/main.jsp?cf=Y";
}



/*******************
 Bonus+ Zone ¸Þ´º
********************/
function card_zone01() {
	top.window.location.href="http://bonusplus.oilbankcard.com/bonusplus/main/myeventGate.jsp";
}

function card_zone02() {
	top.window.location.href="http://bonusplus.oilbankcard.com/bonusplus/everydayparty/everydaypartyL.jsp";
}

function card_zone03() {
	top.window.location.href="http://bonusplus.oilbankcard.co.kr/bonusplus/event/wiinerL.jsp";
}

function card_zone04() {
	top.window.location.href="http://bonusplus.oilbankcard.co.kr/bonusplus/event/eventL.jsp";
}

function card_zone05() {
	top.window.location.href="http://bonusplus.oilbankcard.co.kr/bonusplus/community/communitymain.jsp";
}

function card_zone06() {
	top.window.location.href="http://bonusplus.oilbankcard.co.kr/bonusplus/guide/guideL.jsp";
}

