**关于window.location的问题**
如下这个函数:
function MenuHistory(){
var curLoc=location.href;
switch (curLoc)
{
case location.protocol + "//" + location.host+“/new_mrn.cfm”:
case location.protocol + "//" + location.host+“/mrn_list.cfm”:
testopenLayer(0);
testopenLayer(1);
break;}
现在我有一个BUTTON,ONCLICK的功能是window.location='../mrn_list.cfm?PAGE=#mPAGE#'因为多了个URL参数,所以上面的函数就辨别不了这种情况,有什么办法可以辨别这种带URL的情况呢?Javascript中没有类似于SQL中的LIKE功能的的LIKE函数吗?