// 공통

function openPop(theURL,winName,features) {
	window.open(theURL,winName,features);
}

// 즐겨찾기 추가
function bookmark() {
	window.external.AddFavorite('http://www.hojoo.com','호주닷컴 - 호주 스트라스필드 이민');
}

// 사용조건
function policy() {
	stockpop = window.open("../common/policy.html","policy","scrollbars=yes,resizable=yes, width=693, height=520");
	stockpop.focus();
}

// NAB 결제 시스템 08012009 BY BRIAN   - 이민
function payment_nab_r() {
	stockpop=window.open("../common/nab_pay.php?prod1=200","payment_nab_r","scrollbars=yes, resizable=no,status=no, width=640, height=595, top=0");
	stockpop.focus();
}

// NAB 카드 결제
function payment_tr_etc_nab() {
	stockpop=window.open("../common/nab_pay.php?prod1=501","payment_tr_etc_nab","scrollbars=yes, resizable=no,status=no, width=640, height=595, top=0");
	stockpop.focus();
}

// NAB 카드 결제 - 유학
function payment_uhak_etc_nab() {
	stockpop=window.open("../common/nab_pay.php?prod1=301","payment_uhak_etc_nab","scrollbars=yes, resizable=no,status=no, width=640, height=595, top=0");
	stockpop.focus();
}

// NAB 카드 결제 - 워킹홀리데이
function payment_wk_etc_nab() {
	stockpop=window.open("../common/nab_pay.php?prod1=401","payment_wk_etc_nab","scrollbars=yes, resizable=no,status=no, width=640, height=595, top=0");
	stockpop.focus();
}


// 이니시스 결제창 띄우기
function INIPayment() {   // 원래 payment() 였음
	stockpop=window.open("http://www.hojoo.com/INIpay41/sample/plugin_check.html?prod1=300","payment","scrollbars=yes, resizable=no,status=no, width=650, height=580, top=0");
	stockpop.focus();
}

// 한국대학 리스트
function univ_list() {
	 stockpop = window.open("../pop/univ-list.html","univ_list","scrollbars=yes,resizable=yes, width=685, height=700");
	 stockpop.focus();
}

// 영어 환산 점수표
function english_table() {
	 stockpop = window.open("../common/english_table.html","english_table","scrollbars=yes,resizable=yes, width=665, height=600");
	 stockpop.focus();
}



//  imin left_main.php ---------------------------------------------------------------------------------------------------------------------------------------


// 본 회사와 이민업계의 성격
function immin_tr() {
	stockpop=window.open("../imin/immin_tr.htm","immin_tr","scrollbars=yes, resizable=yes, width=650 height=500, top=5");
	stockpop.focus();
}

// 시드니 금주 광고
function ad_immin() {
	stockpop=window.open("../common/ad_week.html","ad_immin","scrollbars=yes, resizable=yes, width=720 height=630, top=5");
	stockpop.focus();
}


// 주요도시 생활비
function livingcost() {
	 stockpop = window.open("../common/livingcost.html","livingcost","scrollbars=no,resizable=yes, width=630,height=430,top=20");
	 stockpop.focus();
}

// 의료 보험비
function insurance_visa() {
	 stockpop = window.open("../common/pop_medicalInsurance.php","pop_medicalInsurance","scrollbars=yes,resizable=yes, width=645, height=655 top=20");
	 stockpop.focus();
}

// 임시거주 비자 상태에서의 호주 부동산 구입
function property() {
	stockpop = window.open("../common/property.html","property","scrollbars=no,resizable=yes, width=645, height=380 top=20");
	stockpop.focus();
}

// 신체검사 사전심사 서비스
function pre_medi() {
	stockpop = window.open("../common/pre_medi.html","pre_medi","scrollbars=yes,resizable=yes, width=660, height=700");
	stockpop.focus();
}

// 외교 통상부
function mofat() {
	stockpop = window.open("../common/mofat_call.html","mofat","scrollbars=yes,resizable=yes, width=560, height=510");
	stockpop.focus();
}

// 초기 정착 서비스
function start_house() {
	detailpop = window.open("../common/start_house.html","start","scrollbars=yes,resizable=yes,width=673,height=600,top=5");
	detailpop.focus();
}

// 학생비자 2등급 심사 요건
function grade_02() {
	stockpop = window.open("../common/ass_level02.php","grade_02","scrollbars=yes,resizable=yes, width=855, height=630 top=20");
	stockpop.focus();
}

// 신체검사 지정병원
function medi_hos() {
	stockpop = window.open("../common/uk_bodytest.php","hos","scrollbars=yes,resizable=no, width=650, height=500");
	stockpop.focus();
}

// 의료보험
function insurance_medi() {
	stockpop = window.open("../common/insurance_medi.htm","medi","scrollbars=yes,resizable=no, width=620, height=620");
	stockpop.focus();
}

// 숙소안내
function rent_house() {
	 stockpop = window.open("../common/rent_house.php","rent","scrollbars=yes,resizable=yes, width=750, height=570");
	 stockpop.focus();
}





//  right.php ---------------------------------------------------------------------------------------------------------------------------------------

// 시드니 오피스
function sydney() {
	popup = window.open("../common/sydney.html","pop_right_sydney","scrollbars=no,resizable=no,width=610,height=540,");
	popup.focus();
}

// 친구에게 추천하기
function friend() {
	 popup = window.open("../common/to_friend.php","pop_right_friend","scrollbars=no,resizable=no, width=490, height=500, top=5, left=5");
	 popup.focus();
}

// IELTS 영어시험
function win_pop() {
	stockpop = window.open("../common/main01_ielts.html","win_pop","scrollbars=yes,resizable=no, width=650, height=735, top=5, left=5");
	stockpop.focus();
}

function exchange() {
	exchangepop = window.open("http://203.234.132.2/exchange/fxrate/fxrate_all.jsp","exchangepop","scrollbars=no,resizable=no,width=640,height=560,top=5");
	exchangepop.focus();
}



//  이민 - 회사소개 - 주요 임직원 현황 hs_5.php ---------------------------------------------------------------------------------------------------------------------------------------

function imgResize(img){
	img1= new Image();
	img1.src=(img);
	imgControll(img);
}

function imgControll(img){
	if((img1.width!=0)&&(img1.height!=0)){
		viewImage(img);
	} else {
		controller="imgControll('"+img+"')";
		intervalID=setTimeout(controller,20);
	}
}

function viewImage(img){
	W=img1.width;
	H=img1.height;
	O="width="+W+",height="+H;
	imgWin=window.open("","",O);
	imgWin.document.write("<html><head><title>자격증보기</title></head>");
	imgWin.document.write("<body topmargin=0 leftmargin=0>");
	imgWin.document.write("<img src="+img+" onclick='self.close()'>");
	imgWin.document.close();
}













//  imin bottom.php ---------------------------------------------------------------------------------------------------------------------------------------

function vero_liabilityInsurance() {
	stockpop = window.open("../common/pop_vero_liabilityInsurance.php","vero_liabilityInsurance","scrollbars=no,resizable=no, width=600, height=100, top=300, left=300");
	stockpop.focus();
}



//  uhak left.php ---------------------------------------------------------------------------------------------------------------------------------------

// 점수제 산정표
function grade_table() {
	stockpop = window.open("../pop/pop_grade_table.html","grade_table","scrollbars=yes,resizable=yes, width=665, height=600");
	stockpop.focus();
}


