﻿//可编辑内容开始（可放置特版中）



function tourad(pics, links, texts) {

    var pic_width = 775; //图片宽度
    var pic_height = 158; //图片高度
    var swf_width = 751;
    var show_text = 0; //是否显示文字标签 1显示 0不显示
    var button_pos = 4; //按扭位置 1左 2右 3上 4下
    var stop_time = 5000; //图片停留时间(1000为1秒钟)


    var imag = new Array();
    var link = new Array();
    var text = new Array();

    //可编辑内容结束

    var swf_height = show_text == 1 ? pic_height + 20 : pic_height;
    //  var pics = "", links = "", texts = "";

    //   pics = "images/logo/lijiang.jpg|images/logo/liangjiang_sihu.jpg|images/logo/liusanjie.jpg|images/logo/longji.jpg|images/logo/yulonghe.jpg|images/logo/gudong.jpg";
    //  links = "/hot_sites/lijiang.html|/hot_sites/liangjiang_sihu.html|/hot_sites/liusanjie.html|/hot_sites/longji.html|/hot_sites/yulonghe.html|/hot_sites/gudong.html";
    //  texts = "||||";

    imag = pics.split('|');
    link = links.split('|');
    text = texts.split('|');

    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="' + swf_width + '" height="' + swf_height + '">');
    document.write('<param name="movie" value="/js/focus.swf">');
    document.write('<param name="quality" value="high">');
    document.write('<param name="wmode" value="transparent">');
    document.write('<param name="FlashVars" value="pics=' + pics + '&links=' + links + '&texts=' + texts + '&pic_width=' + pic_width + '&pic_height=' + pic_height + '&show_text=' + show_text + '&button_pos=' + button_pos + '&stop_time=' + stop_time + '">');
    document.write('<embed src="/js/focus.swf" FlashVars="pics=' + pics + '&links=' + links + '&texts=' + texts + '&pic_width=' + pic_width + '&pic_height=' + pic_height + '&show_text=' + show_text + '&button_pos=' + button_pos + '&stop_time=' + stop_time + '" quality="high" width="' + swf_width + '" height="' + swf_height + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');

}
function hotelad(pics, links, texts) {

    var pic_width = 781; //图片宽度
    var pic_height = 104; //图片高度
    var swf_width = 752;
    var show_text = 0; //是否显示文字标签 1显示 0不显示
    var button_pos = 4; //按扭位置 1左 2右 3上 4下
    var stop_time = 5000; //图片停留时间(1000为1秒钟)


    var imag = new Array();
    var link = new Array();
    var text = new Array();

    //可编辑内容结束

    var swf_height = show_text == 1 ? pic_height + 20 : pic_height;
    //  var pics = "", links = "", texts = "";

    //   pics = "images/logo/lijiang.jpg|images/logo/liangjiang_sihu.jpg|images/logo/liusanjie.jpg|images/logo/longji.jpg|images/logo/yulonghe.jpg|images/logo/gudong.jpg";
    //  links = "/hot_sites/lijiang.html|/hot_sites/liangjiang_sihu.html|/hot_sites/liusanjie.html|/hot_sites/longji.html|/hot_sites/yulonghe.html|/hot_sites/gudong.html";
    //  texts = "||||";

    imag = pics.split('|');
    link = links.split('|');
    text = texts.split('|');

    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="' + swf_width + '" height="' + swf_height + '">');
    document.write('<param name="movie" value="/js/focus.swf">');
    document.write('<param name="quality" value="high">');
    document.write('<param name="wmode" value="transparent">');
    document.write('<param name="FlashVars" value="pics=' + pics + '&links=' + links + '&texts=' + texts + '&pic_width=' + pic_width + '&pic_height=' + pic_height + '&show_text=' + show_text + '&button_pos=' + button_pos + '&stop_time=' + stop_time + '">');
    document.write('<embed src="/js/focus.swf" FlashVars="pics=' + pics + '&links=' + links + '&texts=' + texts + '&pic_width=' + pic_width + '&pic_height=' + pic_height + '&show_text=' + show_text + '&button_pos=' + button_pos + '&stop_time=' + stop_time + '" quality="high" width="' + swf_width + '" height="' + swf_height + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');

}


function sceneryad(pics, links, texts) {

    var pic_width = 424; //图片宽度
    var pic_height = 207; //图片高度
    var swf_width = 420;
    var show_text = 0; //是否显示文字标签 1显示 0不显示
    var button_pos = 4; //按扭位置 1左 2右 3上 4下
    var stop_time = 5000; //图片停留时间(1000为1秒钟)


    var imag = new Array();
    var link = new Array();
    var text = new Array();

    //可编辑内容结束

    var swf_height = show_text == 1 ? pic_height + 20 : pic_height;
    //  var pics = "", links = "", texts = "";

    //   pics = "images/logo/lijiang.jpg|images/logo/liangjiang_sihu.jpg|images/logo/liusanjie.jpg|images/logo/longji.jpg|images/logo/yulonghe.jpg|images/logo/gudong.jpg";
    //  links = "/hot_sites/lijiang.html|/hot_sites/liangjiang_sihu.html|/hot_sites/liusanjie.html|/hot_sites/longji.html|/hot_sites/yulonghe.html|/hot_sites/gudong.html";
    //  texts = "||||";

    imag = pics.split('|');
    link = links.split('|');
    text = texts.split('|');

    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="' + swf_width + '" height="' + swf_height + '">');
    document.write('<param name="movie" value="/js/focus.swf">');
    document.write('<param name="quality" value="high">');
    document.write('<param name="wmode" value="transparent">');
    document.write('<param name="FlashVars" value="pics=' + pics + '&links=' + links + '&texts=' + texts + '&pic_width=' + pic_width + '&pic_height=' + pic_height + '&show_text=' + show_text + '&button_pos=' + button_pos + '&stop_time=' + stop_time + '">');
    document.write('<embed src="/js/focus.swf" FlashVars="pics=' + pics + '&links=' + links + '&texts=' + texts + '&pic_width=' + pic_width + '&pic_height=' + pic_height + '&show_text=' + show_text + '&button_pos=' + button_pos + '&stop_time=' + stop_time + '" quality="high" width="' + swf_width + '" height="' + swf_height + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');

}
