<!--

function openWindow1(theURL,winName)
{
window.open(theURL,winName,'scrollbars=yes,resizable=yes,width=550,height=700');
}

function openWindow2(theURL,winName)
{
window.open(theURL,winName,'scrollbars=yes,resizable=yes,width=540,height=700');
}

function openWindow3(theURL,winName)
{
window.open(theURL,winName,'scrollbars=yes,resizable=yes,width=580,height=570');
}

function openWindow4(theURL,winName)
{
window.open(theURL,winName,'scrollbars=yes,resizable=yes,width=550,height=630');
}

function openWindow5(theURL,winName)
{
window.open(theURL,winName,'scrollbars=yes,resizable=yes,width=610,height=700');
}

function openWindow6(theURL,winName)
{
window.open(theURL,winName,'scrollbars=yes,resizable=yes,width=595,height=700');
}

function openWindow7(theURL,winName)
{
window.open(theURL,winName,'scrollbars=yes,resizable=yes,width=540,height=330');
}

function openWindow8(theURL,winName)
{
window.open(theURL,winName,'scrollbars=yes,resizable=yes,width=420,height=700');
}

function openWindow9(theURL,winName)
{
window.open(theURL,winName,'scrollbars=yes,resizable=yes,width=580,height=700');
}

function openWindow(theURL,winName)
{
window.open(theURL,winName,'scrollbars=yes,resizable=yes,width=280,height=300');
}

function newwindow0() 
{
window.open("/enjoy/more/aircon2003_popup/index.html","newwindow0","width=620,height=600,scrollbars=1,menubar=1");
}

function openWin(){
shops = window.open("","shopWin","width=500,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,resizble=no,scrollbars=yes");
document.storestock.submit();
}
function openVote1(url){
shops = window.open(url,"shopWin","width=500,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,resizble=no,scrollbars=yes");
}

function form(){
window.open("/enjoy/more/resources_recycling_form/index.html","form","resizable=1,width=600,height=450,scrollbars=1,menubar=0")
}

function openVote(url){
shops = window.open(url,"shopWin","width=650,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,resizble=no,scrollbars=yes");
}

function mini_win(file){
window.open( file, 'mini_win','width=650,height=600,status=no,scrollbars=yes,directories=no,menubar=no,resizable=no,toolbar=no');
// miniWin.focus();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// アドレスチェック
function check_address(input){
	var checkStr   = input.value;
	var checkChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-+.*!=_';

	if (!checkStr)
	return true;
	if (checkStr.length < '7'){
		errorForm(input, 'メールアドレスが短すぎます。');
		return false;
	}
	var alnum = false;
	for (at = dot = i = 0; i < checkStr.length ; i++){
		if ((ch = checkStr.charAt(i)) == '@'){
			if (!i){
				errorForm(input, '@の位置が不正です。');
				return false;
			}
			at++;
			alnum = false;
		}else if (ch == '.'){
			if (at && !alnum){
				errorForm(input, 'ピリオドの位置が不正です。');
				return false;
			}
			dot++;
			alnum = false;
		}else{
			for (j = 0 ; j < checkChars.length ; j++)
			if (ch == checkChars.charAt(j)){
				alnum = true;
				break;
			}
			if (j == checkChars.length){
				errorForm(input, '使えない文字が入力されました。');
				return false;
			}
		}
	}
	if (at != 1 || !dot || !alnum){
		errorForm(input, 'メールアドレスが正しくありません。');
		return false;
	}
	return true;
   }

// アドレスチェック
function check_address1(input){
	var checkStr   = input.value;
	var checkChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-+.*!=_';

	if (!checkStr)
	return true;
	if (checkStr.length < '5'){
		errorForm(input, 'メールアドレスが短すぎます。');
		return false;
	}
	var alnum = false;
	for (at = dot = i = 0; i < checkStr.length ; i++){
		if ((ch = checkStr.charAt(i)) == '@'){
			if (!i){
				errorForm(input, '@の位置が不正です。');
				return false;
			}
			at++;
			alnum = false;
		}else if (ch == '.'){
			if (at && !alnum){
				errorForm(input, 'ピリオドの位置が不正です。');
				return false;
			}
			dot++;
			alnum = false;
		}else{
			for (j = 0 ; j < checkChars.length ; j++)
			if (ch == checkChars.charAt(j)){
				alnum = true;
				break;
			}
			if (j == checkChars.length){
				errorForm(input, '使えない文字が入力されました。');
				return false;
			}
		}
	}
	if (at != 1 || !dot || !alnum){
		errorForm(input, 'メールアドレスが正しくありません。');
		return false;
	}
return true;
}

function check_address2(input, str){
	var checkStr   = str;
	var checkChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-+.*!=_';

	if (!checkStr)
	return true;
	var alnum = false;
	for (at = dot = i = 0; i < checkStr.length ; i++){
		if ((ch = checkStr.charAt(i)) == '@'){
			if (!i){
				errorForm2(input, '@の位置が不正です。', true);
				return false;
			}
			at++;
			alnum = false;
		}else if (ch == '.'){
			if (at && !alnum){
				errorForm2(input, 'ピリオドの位置が不正です。', true);
				return false;
			}
			dot++;
			alnum = false;
		}else{
			for (j = 0 ; j < checkChars.length ; j++)
			if (ch == checkChars.charAt(j)){
				alnum = true;
				break;
			}
			if (j == checkChars.length){
				errorForm2(input, '使えない文字が入力されました。', true);
				return false;
			}
		}
	}
	if (at != 1 || !dot || !alnum){
		errorForm2(input, 'メールアドレスが正しくありません。', true);
		return false;
	}
	return true;
}

function errorForm(target, msg){
alert(msg);
target.focus();
target.select();
}

function errorForm1(target, msg){
	alert(msg);
	target.focus();
}

function errorForm2(target, msg, select){
	alert(msg);
	target.focus();
	if(select) {
		target.select();
	}
}

//入力チェック
function form_chk(theForm){
	//申込タイプ
	if ( theForm.select_type.selectedIndex =="" ){
		alert("\"お申込タイプ\"をご入力下さい。");
		theForm.select_type.focus();
		return (false);
	}
	// 氏名(姓)
	if ( theForm.apply_last_name.value =="" ){
		alert("\"氏名\"をご入力下さい。");
		theForm.apply_last_name.focus();
		return (false);
	}
	// 氏名(名)
	if ( theForm.apply_first_name.value =="" ){
		alert("\"氏名\"をご入力下さい。");
		theForm.apply_first_name.focus();
		return (false);
	}
	// フリガナ(姓)
	if ( theForm.apply_last_name_kana.value =="" ){
		alert("\"フリガナ\"をご入力下さい。");
		theForm.apply_last_name_kana.focus();
		return (false);
	}
	// フリガナ(名)
	if ( theForm.apply_first_name_kana.value =="" ){
		alert("\"フリガナ\"をご入力下さい。");
		theForm.apply_first_name_kana.focus();
		return (false);
	}
	// 郵便番号(上)
	if ( theForm.apply_zip1.value =="" ){
		alert("\"郵便番号\"をご入力下さい。");
		theForm.apply_zip1.focus();
		return (false);
	}
	// 郵便番号(下)
	if ( theForm.apply_zip2.value =="" ){
		alert("\"郵便番号\"をご入力下さい。");
		theForm.apply_zip2.focus();
		return (false);
	}
	// 電話番号(上)
	if ( theForm.apply_tel1.value =="" ){
		alert("\"電話番号\"をご入力下さい。");
		theForm.apply_tel1.focus();
		return (false);
	}
	// 電話番号(中)
	if ( theForm.apply_tel2.value =="" ){
		alert("\"電話番号\"をご入力下さい。");
		theForm.apply_tel2.focus();
		return (false);
	}
	// 電話番号(下)
	if ( theForm.apply_tel3.value =="" ){
		alert("\"電話番号\"をご入力下さい。");
		theForm.apply_tel3.focus();
		return (false);
	}
	//メールアドレス
	if ( theForm.email.value =="" ){
		alert("\"メールアドレス\"をご入力下さい。");
		theForm.email.focus();
		return (false);
	}
	//連絡（月）
	if ( theForm.c_month.selectedIndex =="" ){
		alert("\"ご連絡希望日時（月）\"をご入力下さい。");
		theForm.c_month.focus();
		return (false);
	}
	//連絡（日）
	if ( theForm.c_day.selectedIndex =="" ){
		alert("\"ご連絡希望日時（日）\"をご入力下さい。");
		theForm.c_day.focus();
		return (false);
	}
	//連絡（From時間）
	if ( theForm.c_fromhour.selectedIndex =="" ){
		alert("\"ご連絡希望日時（時間）\"をご入力下さい。");
		theForm.c_fromhour.focus();
		return (false);
	}
	//連絡（From時間）
	if ( theForm.c_tohour.selectedIndex =="" ){
		alert("\"ご連絡希望日時（時間）\"をご入力下さい。");
		theForm.c_tohour.focus();
		return (false);
	}
}

//入力チェック
function form_chk1(theForm, maxitems){
	// お名前
	if ( theForm.name.value =="" ){
		alert("\"お名前\"をご入力下さい。");
		theForm.name.focus();
		return (false);
	}
	// フリガナ
	if ( theForm.namekana.value =="" ){
		alert("\"フリガナ\"をご入力下さい。");
		theForm.namekana.focus();
		return (false);
	}
	// メールアドレス
	if ( theForm.email.value =="" ){
		alert("\"メールアドレス\"をご入力下さい。");
		theForm.email.focus();
		return (false);
	}

	// ご要望アイテム
	var	checked = false;
	var chkitem = "";
	var chkitemvol = "";
	var chkitemrecomm = "";
	for( var idx=1; idx<=maxitems; idx++ ) {
		var chkformitem = eval( "theForm.item" + idx );
		var chkformitemvol = eval( "theForm.itemvol" + idx );
		var chkformitemrecomm = eval( "theForm.itemrecomm" + idx );
		checked = checked | (chkformitem.checked && chkformitemvol.value != "");
		if( chkformitem.checked && chkformitemvol.value != "" ) {
			if( chkitem == "" ) {
				chkitem = "on";
				chkitemvol = chkformitemvol.value;
				chkitemrecomm = chkformitemrecomm.value;
			} else {
				chkitem = chkitem + "," + "on";
				chkitemvol = chkitemvol + "," + chkformitemvol.value;
				chkitemrecomm = chkitemrecomm + "," + chkformitemrecomm.value;
			}
		} else {
			if( chkitem == "" ) {
				chkitem = "off";
				chkitemvol = "";
				chkitemrecomm = "";
			} else {
				chkitem = chkitem + "," + "off"
				chkitemvol = chkitemvol + "," + "";
				chkitemrecomm = chkitemrecomm + "," + "";
			}
		}
	}
	if( ! checked ){
		errorForm(theForm.item1, '"ご要望アイテム"を一つ以上ご選択、ならびに"数量"をご指定ください。', false);
		return (false);
	} else {
		theForm.p_item.value = chkitem;
		theForm.p_itemvol.value = chkitemvol;
		theForm.p_itemrecomm.value = chkitemrecomm;
	}

	// ご連絡方法
	if ( theForm.contmethod[0].checked == false && theForm.contmethod[1].checked == false ) {
		alert("\"ご連絡方法\"をご入力下さい。");
		theForm.contmethod[0].focus();
		return (false);
	}
	if( theForm.contmethod[0].checked ){
		// ヨドバシからお客様の場合のみ
		if( theForm.telnumber.value == "" ){
			errorForm(theForm.telnumber, '"ご連絡電話番号"をご入力下さい。', true);
			return(false);
		}
		// ご連絡日程（月）
		if( theForm.contactMM.value == "" ) {
			errorForm(theForm.contactMM, '"ご連絡日程（月）"をご選択下さい。', false);
			return(false);
		}
		
		// ご連絡日程（）
		if( theForm.contactDD.value == "" ) {
			errorForm(theForm.contactDD, '"ご連絡日程（日）"をご選択下さい。', false);
			return(false);
		}
		
		// ご連絡時間帯
		if( theForm.contactHHMM.value == "" ) {
			errorForm(theForm.contactHHMM, '"ご連絡時間帯"をご選択下さい。', false);
			return(false);
		}
	}
	// お支払い方法
	if ( theForm.paymethod[0].checked == false && theForm.paymethod[1].checked == false &&
		 theForm.paymethod[2].checked == false ) {
		alert("\"お支払い方法\"をご入力下さい。");
		theForm.paymethod[0].focus();
		return (false);
	}

	return (true);
}

function form_chk2( theForm ) {
  //メールアドレス
  if ( theForm.emailuser.value =="" ){
	errorForm( theForm.emailuser, '"メールアドレス"をご入力下さい。');
	return(false);
  }
  return(true);
}

function form_chk3(theForm){
	// タイプ
	if (( theForm.comp1.checked == false) && ( theForm.comp2.checked == false )){
		alert("\"ご希望の証券会社\"をご入力下さい。");
		theForm.comp1[0].focus();
		return (false);
	}
	// 性別
	if (( theForm.seibetsu[0].checked == false) && ( theForm.seibetsu[1].checked == false)){
		alert("\"性別\"をご入力下さい。");
		theForm.seibetsu.focus();
		return (false);
	}
	// 生年月日
	if ( theForm.ybirth.value == "" ) {
		alert("\"生年月日\"をご入力下さい。");
		theForm.ybirth.focus();
		return (false);
	}
	if ( theForm.mbirth.value == "" ) {
		alert("\"生年月日\"をご入力下さい。");
		theForm.mbirth.focus();
		return (false);
	}
	if ( theForm.dbirth.value == "" ) {
		alert("\"生年月日\"をご入力下さい。");
		theForm.dbirth.focus();
		return (false);
	}
	// 氏名(姓)
	if ( theForm.name1.value =="" ){
		alert("\"お申し込み者名\"をご入力下さい。");
		theForm.name1.focus();
		return (false);
	}
	// 氏名(名)
	if ( theForm.name2.value =="" ){
		alert("\"お申し込み者名\"をご入力下さい。");
		theForm.name2.focus();
		return (false);
	}
	// フリガナ(姓)
	if ( theForm.kana1.value =="" ){
		alert("\"お申し込み者名（フリガナ）\"をご入力下さい。");
		theForm.kana1.focus();
		return (false);
	}
	// フリガナ(名)
	if ( theForm.kana2.value =="" ){
		alert("\"お申し込み者名（フリガナ）\"をご入力下さい。");
		theForm.kana2.focus();
		return (false);
	}
	// 郵便番号(上)
	if ( theForm.zip1.value =="" ){
		alert("\"郵便番号\"をご入力下さい。");
		theForm.zip1.focus();
		return (false);
	}
	// 郵便番号(下)
	if ( theForm.zip2.value =="" ){
		alert("\"郵便番号\"をご入力下さい。");
		theForm.zip2.focus();
		return (false);
	}
	//都道府県
	if ( theForm.adr1.value =="" ){
		alert("\"都道府県\"をご入力下さい。");
		theForm.adr1.focus();
		return (false);
	}
	//市区郡
	if ( theForm.adr2.value =="" ){
		alert("\"市区郡\"をご入力下さい。");
		theForm.adr2.focus();
		return (false);
	}
	// 電話番号(上)
	if ( theForm.tel1.value =="" ){
		alert("\"電話番号\"をご入力下さい。");
		theForm.tel1.focus();
		return (false);
	}
	// 電話番号(中)
	if ( theForm.tel2.value =="" ){
		alert("\"電話番号\"をご入力下さい。");
		theForm.tel2.focus();
		return (false);
	}
	// 電話番号(下)
	if ( theForm.tel3.value =="" ){
		alert("\"電話番号\"をご入力下さい。");
		theForm.tel3.focus();
		return (false);
	}
	// E-mailアドレス
	if ( theForm.mail.value =="" ){
		alert("\"E-mailアドレス\"をご入力下さい。");
		theForm.mail.focus();
		return (false);
	}
	return (true);
}

function form_chk4(theForm, maxitems){

	//お名前
	if (theForm.name.value == ""){
		errorForm2(theForm.name, '"お名前"をご入力下さい。', true);
		return (false);
	}
	// フリガナ
	if (theForm.kananame.value == ""){
		errorForm2(theForm.kananame, '"フリガナ"をご入力下さい。', true);
		return (false);
	}
	// メールアドレス
	if ( theForm.email.value == "" ){
		errorForm2(theForm.email, '"メールアドレス"をご入力下さい。', true);
		return (false);
	}
	if ( !check_address( theForm.email, theForm.email.value ) ) {
		return( false );
	}
	// ご要望商品
	var	checked = false;
	var chkitems = "";
	for( var idx=0; idx<maxitems; idx++ ) {
		var chkbox = eval( "theForm.chkboxitems" + idx );
		checked = checked | chkbox.checked;
		if( chkbox.checked ) {
			if( chkitems == "" ) {
				chkitems = chkbox.value;
			} else {
				chkitems = chkitems + "," + chkbox.value;
			}
		}
	}
	if( ! checked ){
		errorForm2(chkbox, '"ご要望商品"を一つ以上ご選択下さい。', false);
		return (false);
	} else {
		theForm.chkitems.value = chkitems;
	}
	
	// 時間帯
	// ご連絡方法
	if( theForm.contmethod[0].checked ){
		// ヨドバシからお客様の場合のみ
		if( theForm.telnumber.value == "" ){
			errorForm2(theForm.telnumber, '"ご連絡電話番号"をご入力下さい。', true);
			return(false);
		}
		// ご連絡日程
		if( theForm.contactMMDD.value == "" ) {
			errorForm2(theForm.contactMMDD, '"ご連絡日程"をご選択下さい。', false);
			return(false);
		}
		
		// ご連絡時間帯
		if( theForm.contactHHMM.value == "" ) {
			errorForm2(theForm.contactHHMM, '"ご連絡時間帯"をご選択下さい。', false);
			return(false);
		}
	}

	return (true);
}

function SymError(){
 return true;
}
window.onerror = SymError;
function toi(){
window.open("https://order.yodobashi.com/enjoy/more/inquiry_form_ssl/index.html","toi","resizable=1,width=600,height=550,scrollbars=1,menubar=0")
}
function cust(){
window.open("https://order.yodobashi.com/gaea/servlet/account","cust","resizable=1,width=600,height=550,scrollbars=1,menubar=0")
}

function closeWindow() {
	var url = "http://www.yodobashi.com/enjoy/more/inquiry_result/index.html";
	var isWin = window.opener.closed;
	if(!isWin){
		window.opener.location.href = url;
	} else {
		mainWin = window.open(url,"mainwin");
	}
	self.close();
}

function move1(whichlayer){
 tlayer=eval(whichlayer)
 if (tlayer.top>0&&tlayer.top<=5){
  tlayer.top=0
  setTimeout("move1(tlayer)",3000)
  setTimeout("move2(document.main.document.second)",3000)
  return
 }
 if (tlayer.top>=tlayer.document.height*-1){
  tlayer.top-=5
  setTimeout("move1(tlayer)",100)
 }
 else{
  tlayer.top=scrollerheight
  tlayer.document.write(messages[i])
  tlayer.document.close()
  if (i==messages.length-1) {
   i=0
  }
  else {
   i++
  }
 }
}

function move2(whichlayer){
 tlayer2=eval(whichlayer)
 if (tlayer2.top>0&&tlayer2.top<=5){
  tlayer2.top=0
  setTimeout("move2(tlayer2)",3000)
  setTimeout("move1(document.main.document.main)",3000)
  return
 }
 if (tlayer2.top>=tlayer2.document.height*-1){
  tlayer2.top-=5
  setTimeout("move2(tlayer2)",100)
 }
 else{
  tlayer2.top=scrollerheight
  tlayer2.document.write(messages[i])
  tlayer2.document.close()
  if (i==messages.length-1) {
   i=0
  }
  else {
   i++
  }
 }
}

function move3(whichdiv){
 tdiv=eval(whichdiv)
 if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){
  tdiv.style.pixelTop=0
  setTimeout("move3(tdiv)",3000)
  setTimeout("move4(second2)",3000)
  return
 }
 if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){
  tdiv.style.pixelTop-=5
  setTimeout("move3(tdiv)",100)
 }
 else{
  tdiv.style.pixelTop=scrollerheight
  tdiv.innerHTML=messages[i]
  if (i==messages.length-1) {
   i=0
  }
  else {
   i++
  }
 }
}

function move4(whichdiv){
 tdiv2=eval(whichdiv)
 if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){
  tdiv2.style.pixelTop=0
  setTimeout("move4(tdiv2)",3000)
  setTimeout("move3(first2)",3000)
  return
 }
 if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){
  tdiv2.style.pixelTop-=5
  setTimeout("move4(second2)",100)
 }
 else{
  tdiv2.style.pixelTop=scrollerheight
  tdiv2.innerHTML=messages[i]
  if (i==messages.length-1){
   i=0
  }
  else {
   i++
  }
 }
}

function startscroll(){
 if (document.all){
  move3(first2)
  second2.style.top=scrollerheight
  second2.style.visibility='visible'
 }
 else if (document.layers){
  document.main.visibility='show'
  move1(document.main.document.main)
  document.main.document.second.top=scrollerheight+5
  document.main.document.second.visibility='show'
 }
}

function selectCategory( oid ){
	document.frmSelect.oid.value = oid;
	document.frmSelect.submit();
}

function searchNew(index)
{
	var S;
	if ( index == 1 ) {
		S = document.SearchForm1;
	} else {
		S = document.SearchForm2;
	}
	var n = S.site.selectedIndex;
	var key = S.key.value;
    if ( n == 1 ) {
        if ( key == "" ) {
            alert( "キーワードを入力してください" );
            S.key.focus();
            return false;
        }
        if ( S.category.value == 89 ) {
            S.narrowtype.value = "デジタルカメラ";
        } else if ( S.category.value == 13 ) {
            S.narrowtype.value = "カメラ";
        } else if ( S.category.value == 38974433 ) {
            S.narrowtype.value = "パソコン";
        } else if ( S.category.value == 38974453 ) {
            S.narrowtype.value = "パソコン周辺機器";
        } else if ( S.category.value == 38974471 ) {
            S.narrowtype.value = "パソコンサプライ";
        } else if ( S.category.value == 38974489 ) {
            S.narrowtype.value = "パソコンソフト";
        } else if ( S.category.value == 36230034 ) {
            S.narrowtype.value = "本";
        } else if ( S.category.value == 1045 ) {
            S.narrowtype.value = "AV";
        } else if ( S.category.value == 162 ) {
            S.narrowtype.value = "家電";
        } else if ( S.category.value == 219 ) {
            S.narrowtype.value = "ゲーム";
        } else if ( S.category.value == 36230034 ) {
            S.narrowtype.value = "本";
        } else if ( S.category.value == 219 ) {
            S.narrowtype.value = "ゲーム";
        } else if ( S.category.value == 1107 ) {
            S.narrowtype.value = "DVDソフト";
        } else if ( S.category.value == 208 ) {
            S.narrowtype.value = "時計";
        } else if ( S.category.value == 55394790 ) {
            S.narrowtype.value = "ホビー・おもちゃ";
        } else if ( S.category.value == 51901345 ) {
            S.narrowtype.value = "健康・スポーツ";
        } else if ( S.category.value == 51901221 ) {
            S.narrowtype.value = "オフィス・ビジネス";
        } else {
            S.narrowtype.value = "";
        }
   		S.action = "/enjoy/search.jsp";
   	} else {
        S.action = "/enjoy/newitem.jsp";
    }
	return true;
}	

function haisui()
{
window.open("/enjoy/popup.jsp","popup"," resizable=1,width=350,height=510,scrollbars=0,menubar=0")
}

// 商品一覧条件検索
function NarrowingPage(frmNm, context_path){
	var url  = context_path + "more/productslist/";
	var oid  = getFormValue(document.forms[frmNm].oid);
	var cat  = getFormValue(document.forms[frmNm].cat);
	var moid = getFormValue(document.forms[frmNm].moid);
	var sr   = getFormValue(document.forms[frmNm].sr);
	var isAdd = false;
	if(null != cat && cat){
		url += "cat_"  + cat;
		isAdd = true;
	}
	if(null != moid && moid){
		if(isAdd) url += "/";
		url += "moid_" + moid;
		isAdd = true;
	}
	if(null != sr && sr){
		if(isAdd) url += "/";
		url += "sr_"   + sr;
		isAdd = true;
	}
	if(null != oid && oid){
		if(isAdd) url += "/";
		url += oid + ".html";
	}
	location.href = url;
}
function getFormValue(obj){
	var ret = null;
	try{
		ret = obj.value
	}catch(e){}
	return ret;
}
-->