<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/**
 * å…¨è§’/åŠè§’æ–‡å­—åˆ¤å®š
 *
 * å¼•æ•° ï¼š str ãƒã‚§ãƒƒã‚¯ã™ã‚‹æ–‡å­—åˆ—
 * flg 0:åŠè§’æ–‡å­—ã€1:å…¨è§’æ–‡å­—
 * æˆ»ã‚Šå€¤ï¼š true:å«ã¾ã‚Œã¦ã„ã‚‹ã€false:å«ã¾ã‚Œã¦ã„ãªã„
 *
 */
function checkString(str,flg) {
	for (var i = 0; i &lt; str.length; i++) {
		var c = str.charCodeAt(i);
		// Shift_JIS: 0x0 ~ 0x80, 0xa0 , 0xa1 ~ 0xdf , 0xfd ~ 0xff
		// Unicode : 0x0 ~ 0x80, 0xf8f0, 0xff61 ~ 0xff9f, 0xf8f1 ~ 0xf8f3
		if ( (c &gt;= 0x0 &amp;&amp; c &lt; 0x81) || (c == 0xf8f0) || (c &gt;= 0xff61 &amp;&amp; c &lt; 0xffa0) || (c &gt;= 0xf8f1 &amp;&amp; c &lt; 0xf8f4)) {
			if(!flg) return true;
		} else {
			if(flg) return true;
		}
	}
	return false;
}

/**
 * ã‚¹ãƒšãƒ¼ã‚¹ã®åˆ¤å®š
 * å¼•æ•° ï¼š str ãƒã‚§ãƒƒã‚¯ã™ã‚‹æ–‡å­—åˆ—
 * æˆ»ã‚Šå€¤ï¼š true:å«ã¾ã‚Œã¦ã„ã‚‹ã€false:å«ã¾ã‚Œã¦ã„ãªã„

 */
function checkSpace(value){

	str = value.replace(/^\s+|\s+$/g, "");

	if(str.length == 0){
		return true;
	}else{
		return false;
	}
}


//========================================================================
//ã“ã&nbsp;ã‚ã‚Šæ¡ä»¶æ¤œç´¢ã®éƒ¨å“ãŸã¡
//========================================================================
/** æœŸé–“ãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ã®å€¤ */
var periodArray =
	[
		{ text: 'æŒ‡å®šãªã—', value: '' } ,
		{ text: '1ãƒ¶æœˆæœªæº€', value: 'supershort' } ,
		{ text: '1ãƒ¶æœˆï½ž3ãƒ¶æœˆæœªæº€', value: 'short' } ,
		{ text: '3ãƒ¶æœˆï½ž7ãƒ¶æœˆæœªæº€', value: 'middle' } ,
		{ text: '7ãƒ¶æœˆï½ž12ãƒ¶æœˆæœªæº€', value: 'long' }
	];

/**
 * æœŸé–“ãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ç”Ÿæˆ
 * @param formName
 * @param selectValue
 */
function createPeriodList(formName, selectValue){
	createDropdownList( formName, 'web_yachin_type', periodArray, selectValue);

	//å˜ä½ã‚’æ›´æ–°
	changeUnit(formName);
}

/**
 * å˜ä½æ›´æ–°å‡¦ç†
 * @param formName
 */
function changeUnit(formName){
	//å˜ä½
	var unit = "";
	switch(document[formName]['web_yachin_type'].selectedIndex) {
		case 0:
			unit = "";
			document[formName]['web_yachin_from'].disabled = true;
			document[formName]['web_yachin_to'].disabled = true;
			break;
		case 1:
			unit = "ï¼æ—¥";
			document[formName]['web_yachin_from'].disabled = false;
			document[formName]['web_yachin_to'].disabled = false;
			break;
		default:
			unit = "ï¼æœˆ";
			document[formName]['web_yachin_from'].disabled = false;
			document[formName]['web_yachin_to'].disabled = false;
			break;
	}
	document.getElementById("web_yachin_unit").innerHTML = unit;
}

/**
 * æœŸé–“ãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹å¤‰æ›´
 * @param object
 */
function changePeriodList(object){

	var formName = object.form.name;

	//å®¶è³ƒãƒªã‚¹ãƒˆã‚’æ›´æ–°
	createYachinFromList(formName, document[formName]['web_yachin_from'].options[document[formName]['web_yachin_from'].selectedIndex].value);
	createYachinToList(formName, document[formName]['web_yachin_to'].options[document[formName]['web_yachin_to'].selectedIndex].value);

	//å˜ä½ã‚’æ›´æ–°
	changeUnit(formName);
}

/** å®¶è³ƒFromãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ã®å€¤ */
var yachinFromArray =
	[
	 [
		{ text: 'ä¸‹é™ãªã—', value: '' }
	 ],
	 [
		{ text: 'ä¸‹é™ãªã—', value: '' },
		{ text: '3000', value: '3000' },
		{ text: '3500', value: '3500' },
		{ text: '4000', value: '4000' },
		{ text: '4500', value: '4500' },
		{ text: '5000', value: '5000' },
		{ text: '5500', value: '5500' },
		{ text: '6000', value: '6000' },
		{ text: '6500', value: '6500' },
		{ text: '7000', value: '7000' },
		{ text: '7500', value: '7500' },
		{ text: '8000', value: '8000' },
		{ text: '8500', value: '8500' },
		{ text: '9000', value: '9000' }
	 ],
	 [
		{ text: 'ä¸‹é™ãªã—', value: '' },
		{ text: '80000', value: '80000' },
		{ text: '90000', value: '90000' },
		{ text: '100000', value: '100000' },
		{ text: '110000', value: '110000' },
		{ text: '120000', value: '120000' },
		{ text: '130000', value: '130000' },
		{ text: '140000', value: '140000' },
		{ text: '150000', value: '150000' },
		{ text: '160000', value: '160000' },
		{ text: '170000', value: '170000' },
		{ text: '180000', value: '180000' },
		{ text: '190000', value: '190000' },
		{ text: '200000', value: '200000' }
	 ],
	 [
		{ text: 'ä¸‹é™ãªã—', value: '' },
		{ text: '70000', value: '70000' },
		{ text: '80000', value: '80000' },
		{ text: '90000', value: '90000' },
		{ text: '100000', value: '100000' },
		{ text: '110000', value: '110000' },
		{ text: '120000', value: '120000' },
		{ text: '130000', value: '130000' },
		{ text: '140000', value: '140000' },
		{ text: '150000', value: '150000' },
		{ text: '160000', value: '160000' },
		{ text: '170000', value: '170000' },
		{ text: '180000', value: '180000' },
		{ text: '190000', value: '190000' }
	 ],
	 [
		{ text: 'ä¸‹é™ãªã—', value: '' },
		{ text: '60000', value: '60000' },
		{ text: '70000', value: '70000' },
		{ text: '80000', value: '80000' },
		{ text: '90000', value: '90000' },
		{ text: '100000', value: '100000' },
		{ text: '110000', value: '110000' },
		{ text: '120000', value: '120000' },
		{ text: '130000', value: '130000' },
		{ text: '140000', value: '140000' },
		{ text: '150000', value: '150000' },
		{ text: '160000', value: '160000' },
		{ text: '170000', value: '170000' },
		{ text: '180000', value: '180000' }
	 ]
	];

/**
 * å®¶è³ƒFromãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ç”Ÿæˆ
 * @param formName
 * @param selectValue
 */
function createYachinFromList(formName, selectValue){
	createDropdownList( formName, 'web_yachin_from', yachinFromArray[document[formName]['web_yachin_type'].selectedIndex], selectValue);
}

/** å®¶è³ƒToãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ã®å€¤ */
var yachinToArray =
	[
	 [
		{ text: 'ä¸Šé™ãªã—', value: '' }
	 ],
	 [
		{ text: 'ä¸Šé™ãªã—', value: '' },
		{ text: '3000', value: '3000' },
		{ text: '3500', value: '3500' },
		{ text: '4000', value: '4000' },
		{ text: '4500', value: '4500' },
		{ text: '5000', value: '5000' },
		{ text: '5500', value: '5500' },
		{ text: '6000', value: '6000' },
		{ text: '6500', value: '6500' },
		{ text: '7000', value: '7000' },
		{ text: '7500', value: '7500' },
		{ text: '8000', value: '8000' },
		{ text: '8500', value: '8500' },
		{ text: '9000', value: '9000' }
	 ],
	 [
		{ text: 'ä¸Šé™ãªã—', value: '' },
		{ text: '80000', value: '80000' },
		{ text: '90000', value: '90000' },
		{ text: '100000', value: '100000' },
		{ text: '110000', value: '110000' },
		{ text: '120000', value: '120000' },
		{ text: '130000', value: '130000' },
		{ text: '140000', value: '140000' },
		{ text: '150000', value: '150000' },
		{ text: '160000', value: '160000' },
		{ text: '170000', value: '170000' },
		{ text: '180000', value: '180000' },
		{ text: '190000', value: '190000' },
		{ text: '200000', value: '200000' }
	 ],
	 [
		{ text: 'ä¸Šé™ãªã—', value: '' },
		{ text: '70000', value: '70000' },
		{ text: '80000', value: '80000' },
		{ text: '90000', value: '90000' },
		{ text: '100000', value: '100000' },
		{ text: '110000', value: '110000' },
		{ text: '120000', value: '120000' },
		{ text: '130000', value: '130000' },
		{ text: '140000', value: '140000' },
		{ text: '150000', value: '150000' },
		{ text: '160000', value: '160000' },
		{ text: '170000', value: '170000' },
		{ text: '180000', value: '180000' },
		{ text: '190000', value: '190000' }
	 ],
	 [
		{ text: 'ä¸Šé™ãªã—', value: '' },
		{ text: '60000', value: '60000' },
		{ text: '70000', value: '70000' },
		{ text: '80000', value: '80000' },
		{ text: '90000', value: '90000' },
		{ text: '100000', value: '100000' },
		{ text: '110000', value: '110000' },
		{ text: '120000', value: '120000' },
		{ text: '130000', value: '130000' },
		{ text: '140000', value: '140000' },
		{ text: '150000', value: '150000' },
		{ text: '160000', value: '160000' },
		{ text: '170000', value: '170000' },
		{ text: '180000', value: '180000' }
	 ]
	];

/**
 * å®¶è³ƒToãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ç”Ÿæˆ
 * @param formName
 * @param selectValue
 */
function createYachinToList(formName, selectValue){
	createDropdownList( formName, 'web_yachin_to', yachinToArray[document[formName]['web_yachin_type'].selectedIndex], selectValue);
}

/** ã‚°ãƒ¬ãƒ¼ãƒ‰ãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ã®å€¤ */
var gradeArray =
	[
		{ text: 'æŒ‡å®šãªã—', value: '' } ,
		{ text: 'ãƒ©ã‚¤ãƒˆ', value: 'light' } ,
		{ text: 'ãƒ™ãƒ¼ã‚·ãƒƒã‚¯', value: 'basic' } ,
		{ text: 'ãƒã‚¤ã‚¯ãƒ©ã‚¹', value: 'high' } ,
		{ text: 'ãƒ‡ãƒ©ãƒƒã‚¯ã‚¹', value: 'deluxe' },
		{ text: 'ã‚¨ã‚°ã‚¼ã‚¯ãƒ†ã‚£ãƒ–', value: 'executive' }
	];


/**
 * ã‚°ãƒ¬ãƒ¼ãƒ‰ãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ç”Ÿæˆ
 * @param formName
 * @param selectValue
 */
function createGradeList(formName, selectValue){
	createDropdownList( formName, 'grade', gradeArray, selectValue);
}

/** é¢ç©Fromãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ã®å€¤ */
var hirosaFromArray =
	[
		{ text: 'ä¸‹é™ãªã—', value: '' } ,
		{ text: '10', value: '10' } ,
		{ text: '15', value: '15' } ,
		{ text: '20', value: '20' } ,
		{ text: '25', value: '25' } ,
		{ text: '30', value: '30' } ,
		{ text: '35', value: '35' } ,
		{ text: '40', value: '40' } ,
		{ text: '45', value: '45' } ,
		{ text: '50', value: '50' } ,
		{ text: '55', value: '55' } ,
		{ text: '60', value: '60' }
	];

/**
 * é¢ç©Fromãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ç”Ÿæˆ
 * @param formName
 * @param selectValue
 */
function createHirosaFromList(formName, selectValue){
	createDropdownList( formName, 'good_web_hirosa_from', hirosaFromArray, selectValue);
}

/** é¢ç©Toãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ã®å€¤ */
var hirosaToArray =
	[
		{ text: 'ä¸Šé™ãªã—', value: '' } ,
		{ text: '10', value: '10' } ,
		{ text: '15', value: '15' } ,
		{ text: '20', value: '20' } ,
		{ text: '25', value: '25' } ,
		{ text: '30', value: '30' } ,
		{ text: '35', value: '35' } ,
		{ text: '40', value: '40' } ,
		{ text: '45', value: '45' } ,
		{ text: '50', value: '50' } ,
		{ text: '55', value: '55' } ,
		{ text: '60', value: '60' }
	];

/**
 * é¢ç©Toãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ç”Ÿæˆ
 * @param formName
 * @param selectValue
 */
function createHirosaToList(formName, selectValue){
	createDropdownList( formName, 'good_web_hirosa_to', hirosaToArray, selectValue);
}

/** å…¥å±…é–‹å§‹å¸Œæœ›æ—¥ï¼ˆä»¥å†…ï¼‰ãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ã®å€¤ */
var NyuukyoWithinArray =
	[
//		{ text: '--', value: '' } ,
		{ text: '1æ—¥', value: '1' } ,
		{ text: '3æ—¥', value: '3' } ,
		{ text: '7æ—¥', value: '7' } ,
		{ text: '14æ—¥', value: '14' } ,
		{ text: '30æ—¥', value: '30' }
	];

/**
 * å…¥å±…é–‹å§‹å¸Œæœ›æ—¥ï¼ˆä»¥å†…ï¼‰ãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ç”Ÿæˆ
 * @param formName
 * @param selectValue
 */
function createNyuukyoWithinList(formName, selectValue){
	if(selectValue==''){
		createNyuukyoWithinNonDataList(formName);
	}
	else{
		createDropdownList( formName, 'nyuukyo_within', NyuukyoWithinArray, selectValue);
	}
}

/**
 * å…¥å±…é–‹å§‹å¸Œæœ›æ—¥ï¼ˆä»¥å†…ï¼‰ãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ï¼ˆãƒ‡ãƒ¼ã‚¿ç„¡ã—Verï¼‰ç”Ÿæˆ
 * @param formName
 */
function createNyuukyoWithinNonDataList(formName){
	createDropdownList( formName, 'nyuukyo_within', [{ text: '--', value: '' }], "");
}

/**
 * å…¥å±…é–‹å§‹å¸Œæœ›æ—¥ï¼ˆå¹´ï¼‰ãƒªã‚¹ãƒˆå¤‰æ›´æ™‚
 * @param yearObj
 */
function changeNyuukyoY(yearObj){

	var withinObj = document[yearObj.form.name]['nyuukyo_within'];

	//å¹´ã®å€¤ã«ã‚ˆã‚Šä»¥å†…ãƒªã‚¹ãƒˆã‚’å¤‰æ›´ã™ã‚‹
	if(yearObj.options[yearObj.selectedIndex].value == "----") {
		//å¹´ãŒæœªé¸æŠžã®å&nbsp;´åˆã¯å…¥å±…é–‹å§‹å¸Œæœ›æ—¥ï¼ˆä»¥å†…ï¼‰ã¯ä½•ã‚‚ç„¡ã„çŠ¶æ…‹
		createNyuukyoWithinNonDataList(yearObj.form.name);

		//ä»¥å†…ã‚’ã‚¯ãƒªã‚¢ï¼ˆãƒªã‚¹ãƒˆã®å…ˆé&nbsp;­ï¼‰
		withinObj.selectedIndex = 0;
	}else{

		var beforeWithinValue = withinObj.options[withinObj.selectedIndex].value;

		if(withinObj.length == 1) {
			//å…¥å±…é–‹å§‹å¸Œæœ›æ—¥ï¼ˆä»¥å†…ï¼‰ãƒªã‚¹ãƒˆï¼ˆãƒ•ã‚©ãƒ¼ãƒ&nbsp;å,åˆæœŸå€¤ï¼‰
			createNyuukyoWithinList(yearObj.form.name, "30");
		}
	}
}

//function changeNyuukyoWithin(withinObj){
//
//	var yearObj = document[withinObj.form.name]['nyuukyo_kiboubi_y'];
//
//	if(withinObj.options[withinObj.selectedIndex].value == ""){
//		//
//		//yearObj.selectedIndex = 0;
//		if(yearObj.options[yearObj.selectedIndex].value != "----") {
//			//
//			withinObj.selectedIndex = withinObj.length - 1;
//		}
//	}else{
//		if(yearObj.options[yearObj.selectedIndex].value == "----") {
//			//
//			withinObj.selectedIndex = 0;
//		}
//	}
//}

/**
 * ãƒªã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹ç”Ÿæˆ
 * @param formName
 * @param selectName
 * @param selectArray
 * @param selectValue
 */
function createDropdownList(formName, selectName, selectArray, selectValue){
	// length
	document[formName][selectName].length = selectArray.length;

	// text, value
	var i;
	var index = 0;
	for ( i=0; i&lt;selectArray.length; i++){
		document[formName][selectName].options[i].text = selectArray[i].text;
		document[formName][selectName].options[i].value = selectArray[i].value;
		if(selectArray[i].value == selectValue) {
			index = i;
		}
	}

	if(index == 0){
		//ï¼ã®å&nbsp;´åˆã¯ãƒªã‚¹ãƒˆã®å…ˆé&nbsp;­
		document[formName][selectName].selectedIndex = 0;
	}else{
		//åŒã˜å€¤ãŒã‚ã‚‹å&nbsp;´åˆã¯ãã‚Œã‚’é¸æŠž
		document[formName][selectName].selectedIndex = index;
	}
}

//========================================================================
//ãƒžãƒƒãƒ—ãƒªã‚¹ãƒˆã¸é·ç§»ã™ã‚‹éƒ¨å“
//========================================================================

function pushMapListSearch(url, bukkenNo, type, formName,targetValue) {
	document[formName].cmd.value = "";
	var submit_page;
	submit_page = "?bukken_no=" + bukkenNo;
	if(type != ""){
		submit_page += "&amp;search_type=" + type;
	}
	document[formName].action = url + submit_page;
	document[formName].target  = targetValue;
	document[formName].submit();
	document[formName].target  = "_self";
}

//========================================================================
//ã‚­ãƒ£ãƒ³ãƒšãƒ¼ãƒ³ãƒžãƒƒãƒ—ãƒªã‚¹ãƒˆã¸é·ç§»ã™ã‚‹éƒ¨å“
//========================================================================

function pushCampaignMapListSearch(url, bukkenNo, campaign, formName,targetValue) {
	document[formName].cmd.value = "";
	document[formName].action = url + "?bukken_no=" + bukkenNo + "&amp;campaign=" + campaign;
	document[formName].target  = targetValue;
	document[formName].submit();
	document[formName].target  = "_self";
}


//========================================================================
//ãƒ•ãƒªãƒ¼ãƒ¯ãƒ¼ãƒ‰æ¤œç´¢ã®éƒ¨å“ãŸã¡
//========================================================================
function pushFreeWordSearch(url, area, formName) {

	var word = document[formName]['search_word'].value;
	//åˆæœŸå€¤ã®å&nbsp;´åˆã¯é·ç§»ã—ãªã„
	if(formName == "form_header"
	 &amp;&amp; word == "å¸‚åŒºç”ºæ‘ã€è·¯ç·šã€é§…åã€ç‰©ä»¶åãªã©") {
		return;
	}
	if((formName == "form_righter" || formName == "lefter_header")
	 &amp;&amp; word == "å¸‚åŒºç”ºæ‘ã€é§…åãªã©") {
		return;
	}

	//æœªå…¥åŠ›ï¼ˆã‚¹ãƒšãƒ¼ã‚¹ã®ã¿ï¼‰ã®å&nbsp;´åˆã¯é·ç§»ã—ãªã„
	if(word.replace(/^[\sã€€]+|[\sã€€]+$/g, "").length == 0){
		//ã‚¹ãƒšãƒ¼ã‚¹ã®ã¿ã®å&nbsp;´åˆã¯ã‚¹ãƒšãƒ¼ã‚¹ã‚’å‰Šé™¤
		document[formName]['search_word'].value = "";
		return;
	}

	//ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰
	word = encodeURIComponent(word);

	//ã‚¢ãƒŠãƒªãƒ†ã‚£ã‚¯ã‚¹ç”¨
	var k = "";

	if(area == ""){
		document[formName].action = url + "/search/list_easy.html?search_word=" + word;
		k = url + "/search/list_easy.html?search_word=" + word;
	}else{
		document[formName].action = url + "/" + area + "/search/list_easy.html?search_word=" + word;
		k = url + "/" + area + "/search/list_easy.html?search_word=" + word;
	}

	document[formName].submit();
}
//-------------------------------------
//ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãƒãƒƒãƒ—ã‚¢ãƒƒãƒ—
//-------------------------------------
/**
 * ã‚¨ãƒ©ãƒ¼ãƒãƒƒãƒ—ã‚¢ãƒƒãƒ—
 */
function popupError(message){
	popupModal(message, "E");
};

/**
 * ãƒ¯ãƒ¼ãƒ‹ãƒ³ã‚°ãƒãƒƒãƒ—ã‚¢ãƒƒãƒ—
 */
function popupWorning(message){
	popupModal(message, "W");
};

/**
 * ã‚¤ãƒ³ãƒ•ã‚©ãƒ¡ãƒ¼ã‚·ãƒ§ãƒ³ãƒãƒƒãƒ—ã‚¢ãƒƒãƒ—
 */
function popupInfo(message){
	popupModal(message, "I");
};

/**
 * ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸è¡¨ç¤ºãƒ€ã‚¤ã‚¢ãƒ­ã‚°
 * @param message
 * @param messageKbn
 */
function popupModal(message,messageKbn){
	//showModalDialogãŒå»ƒæ­¢ã«ãªã£ãŸ
	alert(message);
};

//-------------------------------------
//ã‚ªãƒ³ãƒ­ãƒ¼ãƒ‰
//-------------------------------------
/**
 * ã‚ªãƒ³ãƒ­ãƒ¼ãƒ‰ã®å‡¦ç†ã‚’è¿½åŠ&nbsp;ã™ã‚‹ã€‚
 * @param func
 */
function addOnload(func){
    try {
        window.addEventListener("load", func, false);
    } catch (e) {
        // IEç”¨
        window.attachEvent("onload", func);
    }
}

function pushCampaignBanner(){
	var pathname = location.pathname;
	var url_dir = location.href.split("/");
	var url_dir1 = url_dir[3];
	if(url_dir1 == null
	  || url_dir1 == ''
	  || url_dir1 == 'beginner'
	  || url_dir1 == 'flow'
	  || url_dir1 == 'faq'
	  || url_dir1 == 'request'
	  || url_dir1 == 'member'
	  || url_dir1 == 'company'
	  || url_dir1 == 'sitemap'
	  || url_dir1 == 'policy'
	  || url_dir1 == 'cancelpolicy'
	  || url_dir1 == 'privacy'
	  || url_dir1 == 'link'
	  || url_dir1 == 'payment'
	  || url_dir1 == 'search'){
	  location.href = "/campaign/";
	}else{
	  location.href = "/" + url_dir1 + "/campaign/";
	}
}
</pre></body></html>