/********************************
* Basic_Popup_Script
*********************************/

// Window_Open ½ºÅ©·ÑÀÌ ¾øÀ» ¶§
function OpenWindow(url,intWidth,intHeight) {
	window.open(url, "_blank", "width="+intWidth+",height="+intHeight+",resizable=0,scrollbars=0") ;
}

// Window_Open ½ºÅ©·ÑÀÌ ÀÖÀ» ¶§
function OpenWindow_s(url,intWidth,intHeight) {
	window.open(url, "_blank", "width="+intWidth+",height="+intHeight+",resizable=0,scrollbars=1") ;
}

// Window_Close
function CloseWindow() {
	window.close();
}


/********************************
* °øÅë
*********************************/

//¿ìÆí¹øÈ£
function PopupZipCode(zip1,zip2,address,tmpAddress) {
	window.open("/common/asp/popupZipCode.asp?state=start&zip1=" + zip1 + "&zip2=" + zip2 + "&address=" + address + "&tmpAddress=" + tmpAddress, "_ZipCode", "width=380, height=500, resizable=0, scrollbars=0") ;
}

/********************************
* FORD_FORD Collection
*********************************/

//Á¦Ç° »ó¼¼
function PopupProduct(idx) {
	window.open("/ford/popupProduct.asp?idx=" + idx, "_Product", "width=540, height=390, resizable=0, scrollbars=0") ;
}

/********************************
* Sunin Motors_¼±ÀÎ¸ðÅÍ½º
*********************************/

//ÀÔ»ç Áö¿øÇÏ±â
function PopupIncruitApply(idx) {
	window.open("/sunin/popupIncruitApply.asp?idx=" + idx, "_IncruitApply", "width=450, height=420, resizable=0, scrollbars=0") ;
}

//ÀÔ»ç Áö¿ø ÈÄ ¾È³» > Á¤»ó ¹ß¼Û ¿Ï·á
function PopupIncruitSend01() {
	window.open("/sunin/PopupIncruitSend01.asp", "_IncruitSend01", "width=450, height=420, resizable=0, scrollbars=0") ;
}

//ÀÔ»ç Áö¿ø ÈÄ ¾È³» > 1È¸ ÀÌ»ó Áö¿ø½Ã
function PopupIncruitSend02() {
	window.open("/sunin/PopupIncruitSend02.asp", "_IncruitSend02", "width=450, height=420, resizable=0, scrollbars=0") ;
}

//ÀÔ»ç Áö¿ø ÈÄ ¾È³» > ¹®Á¦ ¹ß»ý½Ã
function PopupIncruitSend03() {
	window.open("/sunin/PopupIncruitSend03.asp", "_IncruitSend03", "width=450, height=420, resizable=0, scrollbars=0") ;
}


/********************************
* Purchase_±¸¸Å°¡ÀÌµå
*********************************/

//ºê·Î¼Å ½ÅÃ» ¿Ï·á
function PopupBrochureOk() {
	window.open("/purchase/popupBrochureOk.asp", "_BrochureOk", "width=450, height=300, resizable=0, scrollbars=0") ;
}


/********************************
* Help Desk_°í°´Áö¿ø
*********************************/

//¼­ºñ½º ³×Æ®¿öÅ© > ¾àµµ
function PopupCenterMap(db,idx) {
	window.open("/help/popupCenterMap.asp?service=" + db + "&idx=" + idx, "_CenterMap", "width=420, height=425, resizable=0, scrollbars=0") ;
}

function popupAsCenter(db,idx) {
	window.open("/help/popupAsCenter.asp?service=" + db + "&idx=" + idx, "_CenterMap", "width=420, height=425, resizable=0, scrollbars=0") ;
}

//A/S »ó¼¼ ³»¿ª
function PopupMyAsHistory() {
	window.open("/help/popupMyAsHistory.asp", "_MyAsHistory", "width=550, height=260, resizable=0, scrollbars=1") ;
}

//°í°´ »ó´ã > ¹ß¼Û ¿Ï·á
function PopupQuestionOk() {
	window.open("about:blank", "_QuestionOk", "width=450, height=315, resizable=0, scrollbars=0") ;
}

//°í°´ »ó´ã > ¹ß¼Û ¿À·ù
function PopupQuestionFail() {
	window.open("/help/questionFail.asp", "_QuestionFail", "width=450, height=315, resizable=0, scrollbars=0") ;
}


/********************************
* Member_È¸¿ø °ü·Ã
*********************************/

//È¸¿øÁ¤º¸ È®ÀÎ > ¿ÀÇÁ¶óÀÎ È¸¿ø °í°´ È®ÀÎ
function PopupMemberCheck01() {
	window.open("/member/popupMemberCheck01.asp", "_MemberCheck01", "width=400, height=300, resizable=0, scrollbars=0") ;
}

//È¸¿øÁ¤º¸ È®ÀÎ > Áßº¹ À¥È¸¿ø °¡ÀÔ °í°´ È®ÀÎ
function PopupMemberCheck02() {
	window.open("/member/popupMemberCheck02.asp", "_MemberCheck02", "width=400, height=300, resizable=0, scrollbars=0") ;
}

//¾ÆÀÌµð Áßº¹ È®ÀÎ °á°ú > »ç¿ë °¡´ÉÇÑ ¾ÆÀÌµðÀÏ °æ¿ì
function PopupIdCheckResult01() {
	window.open("/member/popupIdCheckResult01.asp", "_IdCheckResult01", "width=400, height=250, resizable=0, scrollbars=0") ;
}

//¾ÆÀÌµð Áßº¹ È®ÀÎ °á°ú > Áßº¹ ¾ÆÀÌµðÀÏ °æ¿ì
function PopupIdCheckResult02() {
	var id = document.getElementById("userid");
	if( id != null ) {
		if( id.value != "" ) {
			window.open("/member/popupIdCheckResult02.asp?userid=" + id.value, "_IdCheckResult02", "width=400, height=250, resizable=0, scrollbars=0") ;
		} else {
			window.open("/member/popupIdCheckResult02.asp", "_IdCheckResult02", "width=400, height=250, resizable=0, scrollbars=0") ;
		}
	}
}


//¸¶ÀÌÆäÀÌÁö > È¸¿ø Á¤º¸ ¼öÁ¤ ¿Ï·á
function PopupInfoModifyOk() {
	window.open("about:blank", "_popupInfoModifyOk", "width=400, height=250, resizable=0, scrollbars=0") ;
}
