/* カスタマイズ用のJavaScriptコードをここに記述してください */ function SetCond(fm,condg){ var tmpflt = ""; if(fm.cond1)fm.cond1.value = ""; // if(fm.cond2)fm.cond2.value = ""; if(fm.cond3)fm.cond3.value = ""; if(condg == 'condg1'){ if(document.getElementById('tcond1').checked){ tmpflt += "&cond1=" + document.getElementById('tcond1').value; if(fm.cond1)fm.cond1.value = document.getElementById('tcond1').value; } // if(document.getElementById('tcond3').checked){ // tmpflt += "&cond2=" + document.getElementById('tcond3').value; // if(fm.cond2)fm.cond2.value = document.getElementById('tcond3').value; // } if(document.getElementById('tcond5').checked){ tmpflt += "&cond3=" + document.getElementById('tcond5').value; if(fm.cond2)fm.cond3.value = document.getElementById('tcond5').value; } } if(condg == 'condg2'){ if(document.getElementById('tcond2').checked){ tmpflt += "&cond1=" + document.getElementById('tcond2').value; if(fm.cond1)fm.cond1.value = document.getElementById('tcond2').value; } // if(document.getElementById('tcond4').checked){ // tmpflt += "&cond2=" + document.getElementById('tcond4').value; // if(fm.cond2)fm.cond2.value = document.getElementById('tcond4').value; // } if(document.getElementById('tcond6').checked){ tmpflt += "&cond3=" + document.getElementById('tcond6').value; if(fm.cond2)fm.cond3.value = document.getElementById('tcond6').value; } } if(fm.gpsfilter)fm.gpsfilter.value = tmpflt; } function SetBgcolor(fm){ var elm = fm.keyword; elm.style.backgroundColor = "#FFF"; } function rdCheck(fromSrh) { if(navigator.userAgent.indexOf("SC-06D") != -1 || navigator.userAgent.indexOf("Galaxy Nexus") != -1){ if(fromSrh){ if (window.name != "reloadFlag") { location.reload(); window.name = "reloadFlag"; } } } } function clearWindowName(){ window.name = ""; }