// JavaScript Document
<!--
//动态查询该饭店的房源信息
function seljdmc(sel){	
  var str1,pp;
  str1=sel.options[sel.selectedIndex].text;  	
  pp="index.asp?jdmc="+str1;
  window.location=pp;	  
return; 
}





<!--


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}





//-->



function OpenNewWin(filename, fieldName)
    {
    var width_val, height_val, fieldName, filename, WinFeature
        fieldName = fieldName.toString();
        //filename = filename.toString();
        if (filename=='getdate.asp') {
            width_val=300;height_val=190;
            }
            else {
                width_val=230;height_val=180;
        }
        //document.write (width_val);
        
        if(fieldName.length != 0)
        {
            if (filename=='SoNo.asp'){
                var pre;
                pre    = document.ga_form.from_prefix.value ;
                filename = filename + "?rec=" +fieldName+"&pre="+pre;
            }
            else {
                filename = filename + "?rec=" +fieldName;
            }             
        }//if
        WinFeature="width="+width_val+",height="+height_val+",statusbar=no,toolbar=no,resize=no,scrollbars=yes"
        //alert(WinFeature);
        OpenWin = window.open (filename,'',WinFeature)
        
    }
