document.write(''); var unique = ""; var lines = new Array; var _area = ""; var _keyword = ""; var _limit = ""; function getLines(area, keyword, limit){ _area = area; _keyword = keyword; _limit = limit; var _unique = encodeURIComponent(area+keyword+limit); if (unique == _unique){ showLines(); }else{ unique = _unique; getLinesUseJs(area, keyword, limit); } } function getLinesUseJs(area, keyword, limit){ // var file = "http://data.travel.sina.com.cn/bureau/interface/search_travel_sina_com_cn.php?area="+encodeURIComponent(area)+"&keyword="+encodeURIComponent(keyword)+"&limit="+limit; var file = "http://data.travel.sina.com.cn/bureau/interface/search_travel_sina_com_cn.php?area="+area+"&keyword="+keyword+"&limit="+limit; var _doc = document.getElementsByTagName('head')[0]; //var _doc = document.body; var js = document.createElement('script'); js.setAttribute('type', 'text/javascript'); js.setAttribute('src', file); _doc.appendChild(js); //document.write(_doc.innerHTML); if (navigator.userAgent.toLowerCase().indexOf("msie") != -1){//IE6、IE7 js.onreadystatechange = function () { if (js.readyState == 'loaded' || js.readyState == 'complete') { lines = _lines; showLines(); } } }else{//Is Firefox2、Firefox3、Safari3.1+、Opera9.6+ js.onload = function () { lines = _lines; showLines(); } } } var total = ""; function getLinesTotal(keyword){ if ((typeof total == 'string') || (!trim(total))){ var file = "http://data.travel.sina.com.cn/bureau/interface/search_travel_sina_com_cn.php?keyword="+keyword+""; var _doc = document.getElementsByTagName('head')[0]; //var _doc = document.body; var js = document.createElement('script'); js.setAttribute('type', 'text/javascript'); js.setAttribute('src', file); _doc.appendChild(js); //document.write(_doc.innerHTML); if (navigator.userAgent.toLowerCase().indexOf("msie") != -1){//IE6、IE7 js.onreadystatechange = function () { if (js.readyState == 'loaded' || js.readyState == 'complete') { total = Number(_total); setLinesTotal(); } } }else{//Is Firefox2、Firefox3、Safari3.1+、Opera9.6+ js.onload = function () { total = Number(_total); setLinesTotal(); } } }else{ setLinesTotal(); } } function loadLines(area,key,limit){ // html += '
';
// 1 => 国内 , 2 => 出境 , 3 => 周边
if(lines[i][15] == 1){
html += '';
}else if(lines[i][15] == 2){
html += '';
}else{
html += '';
}
html += '
| 途径城市景区:'+lines[i][7]+' | '; html += '|
| 发团日期:'+lines[i][11]+' | '; html += '|
| 报价:¥'+lines[i][10]+' | '; html += ''; html += ''+lines[i][1]+' 提供 | '; html += '

';
// 1 => 国内 , 2 => 出境 , 3 => 周边
if(lines[i][15] == 1){
html += '';
}else if(lines[i][15] == 2){
html += '';
}else{
html += '';
}
html += '
| 途径城市景区:'+lines[i][7]+' | '; html += '|
| 发团日期:'+lines[i][11]+' | '; html += '|
| 报价:¥'+lines[i][10]+' | '; html += ''; html += ''+lines[i][1]+' 提供 | '; html += '

暂无数据