/*------------------------------------------------------------------------------
Jemplate - Template Toolkit foRJavaScript

DESCRIPTION - This module provides the runtime JavaScript support for
compiled Jemplate templates.

AUTHOR - Ingy döt Net <ingy@cpan.org>

Copyright 2006,2008 Ingy döt Net.

This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
------------------------------------------------------------------------------*/

//------------------------------------------------------------------------------
// Main Jemplate class
//------------------------------------------------------------------------------

if (typeof Jemplate == 'undefined') {
    var Jemplate = function() {
        this.init.apply(this, arguments);
    };
}

Jemplate.VERSION = '0.22';

Jemplate.process = function() {
    var jemplate = new Jemplate();
    return jemplate.process.apply(jemplate, arguments);
}

;(function(){

if (! Jemplate.templateMap)
    Jemplate.templateMap = {};

var proto = Jemplate.prototype = {};

proto.init = function(config) {
    this.config = config ||
    {
        AUTO_RESET: true,
        BLOCKS: {},
        CONTEXT: null,
        DEBUG_UNDEF: false,
        DEFAULT: null,
        ERROR: null,
        EVAL_JAVASCRIPT: false,
        FILTERS: {},
        INCLUDE_PATH: [''],
        INTERPOLATE: false,
        OUTPUT: null,
        PLUGINS: {},
        POST_PROCESS: [],
        PRE_PROCESS: [],
        PROCESS: null,
        RECURSION: false,
        STASH: null,
        TOLERANT: null,
        VARIABLES: {},
        WRAPPER: []
    };
}

proto.process = function(template, data, output) {
    var context = this.config.CONTEXT || new Jemplate.Context();
    context.config = this.config;

    context.stash = this.config.STASH || new Jemplate.Stash();
    context.stash.__config__ = this.config;

    context.__filter__ = new Jemplate.Filter();
    context.__filter__.config = this.config;

    context.__plugin__ = new Jemplate.Plugin();
    context.__plugin__.config = this.config;

    var result;

    var proc = function(input) {
        try {
            result = context.process(template, input);
        }
        catch(e) {
            if (! String(e).match(/Jemplate\.STOP\n/))
                throw(e);
            result = e.toString().replace(/Jemplate\.STOP\n/, '');
        }

        if (typeof output == 'undefined')
            return result;
        if (typeof output == 'function') {
            output(result);
            return null;
        }
        if (typeof(output) == 'string' || output instanceof String) {
            if (output.match(/^#[\w\-]+$/)) {
                var id = output.replace(/^#/, '');
                var element = document.getElementById(id);
                if (typeof element == 'undefined')
                    throw('No element found with id="' + id + '"');
                element.innerHTML = result;
                return null;
            }
        }
        else {
            output.innerHTML = result;
            return null;
        }

        throw("Invalid arguments in call to Jemplate.process");

        return 1;
    }

    if (typeof data == 'function')
        data = data();
    else if (typeof data == 'string') {
//        Jemplate.Ajax.get(data, function(r) { proc(Jemplate.JSON.parse(r)) });
        var url = data;
        Jemplate.Ajax.processGet(url, function(data) { proc(data) });
        return null;
    }

    return proc(data);
}

//------------------------------------------------------------------------------
// Jemplate.Context class
//------------------------------------------------------------------------------
if (typeof Jemplate.Context == 'undefined')
    Jemplate.Context = function() {};

proto = Jemplate.Context.prototype;

proto.include = function(template, args) {
    return this.process(template, args, true);
}

proto.process = function(template, args, localise) {
    if (localise)
        this.stash.clone(args);
    else
        this.stash.update(args);
    var func = Jemplate.templateMap[template];
    if (typeof func == 'undefined')
        throw('No Jemplate template named "' + template + '" available');
    var output = func(this);
    if (localise)
        this.stash.declone();
    return output;
}

proto.set_error = function(error, output) {
    this._error = [error, output];
    return error;
}

proto.plugin = function(name, args) {
    if (typeof name == 'undefined')
        throw "Unknown plugin name ':" + name + "'";

    // The Context object (this) is passed as the first argument to the plugin.
    return new window[name](this, args);
}

proto.filter = function(text, name, args) {
    if (name == 'null')
        name = "null_filter";
    if (typeof this.__filter__.filters[name] == "function")
        return this.__filter__.filters[name](text, args, this);
    else
        throw "Unknown filter name ':" + name + "'";
}

//------------------------------------------------------------------------------
// Jemplate.Plugin class
//------------------------------------------------------------------------------
if (typeof Jemplate.Plugin == 'undefined') {
    Jemplate.Plugin = function() { };
}

proto = Jemplate.Plugin.prototype;

proto.plugins = {};

//------------------------------------------------------------------------------
// Jemplate.Filter class
//------------------------------------------------------------------------------
if (typeof Jemplate.Filter == 'undefined') {
    Jemplate.Filter = function() { };
}

proto = Jemplate.Filter.prototype;

proto.filters = {};

proto.filters.null_filter = function(text) {
    return '';
}

proto.filters.upper = function(text) {
    return text.toUpperCase();
}

proto.filters.lower = function(text) {
    return text.toLowerCase();
}

proto.filters.ucfirst = function(text) {
    var first = text.charAt(0);
    var rest = text.substr(1);
    return first.toUpperCase() + rest;
}

proto.filters.lcfirst = function(text) {
    var first = text.charAt(0);
    var rest = text.substr(1);
    return first.toLowerCase() + rest;
}

proto.filters.trim = function(text) {
    return text.replace( /^\s+/g, "" ).replace( /\s+$/g, "" );
}

proto.filters.collapse = function(text) {
    return text.replace( /^\s+/g, "" ).replace( /\s+$/g, "" ).replace(/\s+/, " ");
}

proto.filters.html = function(text) {
    text = text.replace(/&/g, '&amp;');
    text = text.replace(/</g, '&lt;');
    text = text.replace(/>/g, '&gt;');
    text = text.replace(/"/g, '&quot;'); // " end quote for emacs
    return text;
}

proto.filters.html_para = function(text) {
    var lines = text.split(/(?:\r?\n){2,}/);
    return "<p>\n" + lines.join("\n</p>\n\n<p>\n") + "</p>\n";
}

proto.filters.html_break = function(text) {
    return text.replace(/(\r?\n){2,}/g, "$1<br />$1<br />$1");
}

proto.filters.html_line_break = function(text) {
    return text.replace(/(\r?\n)/g, "$1<br />$1");
}

proto.filters.uri = function(text) {
     return encodeURIComponent(text);
}
 
proto.filters.url = function(text) {
    return encodeURI(text);
}

proto.filters.indent = function(text, args) {
    var pad = args[0];
    if (! text) return null;
    if (typeof pad == 'undefined')
        pad = 4;

    var finalpad = '';
    if (typeof pad == 'number' || String(pad).match(/^\d$/)) {
        for (var i = 0; i < pad; i++) {
            finalpad += ' ';
        }
    } else {
        finalpad = pad;
    }
    var output = text.replace(/^/gm, finalpad);
    return output;
}

proto.filters.truncate = function(text, args) {
    var len = args[0];
    if (! text) return null;
    if (! len)
        len = 32;
    // This should probably be <=, but TT just uses <
    if (text.length < len)
        return text;
    var newlen = len - 3;
    return text.substr(0,newlen) + '...';
}

proto.filters.repeat = function(text, iter) {
    if (! text) return null;
    if (! iter || iter == 0)
        iter = 1;
    if (iter == 1) return text

    var output = text;
    for (var i = 1; i < iter; i++) {
        output += text;
    }
    return output;
}

proto.filters.replace = function(text, args) {
    if (! text) return null;
    var re_search = args[0];
    var text_replace = args[1];
    if (! re_search)
        re_search = '';
    if (! text_replace)
        text_replace = '';
    var re = new RegExp(re_search, 'g');
    return text.replace(re, text_replace);
}

//------------------------------------------------------------------------------
// Jemplate.Stash class
//------------------------------------------------------------------------------
if (typeof Jemplate.Stash == 'undefined') {
    Jemplate.Stash = function() {
        this.data = {};
    };
}

proto = Jemplate.Stash.prototype;

proto.clone = function(args) {
    var data = this.data;
    this.data = {};
    this.update(data);
    this.update(args);
    this.data._PARENT = data;
}

proto.declone = function(args) {
    this.data = this.data._PARENT || this.data;
}

proto.update = function(args) {
    if (typeof args == 'undefined') return;
    for (var key in args) {
        var value = args[key];
        this.set(key, value);
    }
}

proto.get = function(key) {
    var root = this.data;
    if (key instanceof Array) {
        for (var i = 0; i < key.length; i += 2) {
            var args = key.slice(i, i+2);
            args.unshift(root);
            value = this._dotop.apply(this, args);
            if (typeof value == 'undefined')
                break;
            root = value;
        }
    }
    else {
        value = this._dotop(root, key);
    }

    if (typeof value == 'undefined') {
        if (this.__config__.DEBUG_UNDEF)
            throw("undefined value found while using DEGUG_UNDEF");
        value = '';
    }

    return value;
}

proto.set = function(key, value, set_default) {
    if (key instanceof Array) {
        var data = this.get(key[0]) || {};
        key = key[2];
    }
    else {
        data = this.data;
    }
    if (! (set_default && (typeof data[key] != 'undefined')))
        data[key] = value;
}

proto._dotop = function(root, item, args) {
    if (typeof item == 'undefined' ||
        typeof item == 'string' && item.match(/^[\._]/)) {
        return undefined;
    }

    if ((! args) &&
        (typeof root == 'object') &&
        (!(root instanceof Array) || (typeof item == 'number')) &&
        (typeof root[item] != 'undefined')) {
        var value = root[item];
        if (typeof value == 'function')
            value = value.apply(root);
        return value;
    }

    if (typeof root == 'string' && this.string_functions[item])
        return this.string_functions[item](root, args);
    if (root instanceof Array && this.list_functions[item])
        return this.list_functions[item](root, args);
    if (typeof root == 'object' && this.hash_functions[item])
        return this.hash_functions[item](root, args);
    if (typeof root[item] == 'function')
        return root[item].apply(root, args);

    return undefined;
}

proto.string_functions = {};

// chunk(size)     negative size chunks from end
proto.string_functions.chunk = function(string, args) {
    var size = args[0];
    var list = new Array();
    if (! size)
        size = 1;
    if (size < 0) {
        size = 0 - size;
        for (i = string.length - size; i >= 0; i = i - size)
            list.unshift(string.substr(i, size));
        if (string.length % size)
            list.unshift(string.substr(0, string.length % size));
    }
    else
        for (i = 0; i < string.length; i = i + size)
            list.push(string.substr(i, size));
    return list;
}

// defined         is value defined?
proto.string_functions.defined = function(string) {
    return 1;
}

// hash            treat as single-element hash with key value
proto.string_functions.hash = function(string) {
    return { 'value': string };
}

// length          length of string representation
proto.string_functions.length = function(string) {
    return string.length;
}

// list            treat as single-item list
proto.string_functions.list = function(string) {
    return [ string ];
}

// match(re)       get list of matches
proto.string_functions.match = function(string, args) {
    var regexp = new RegExp(args[0], 'gm');
    var list = string.match(regexp);
    return list;
}

// repeat(n)       repeated n times
proto.string_functions.repeat = function(string, args) {
    var n = args[0] || 1;
    var output = '';
    for (var i = 0; i < n; i++) {
        output += string;
    }
    return output;
}

// replace(re, sub)    replace instances of re with sub
proto.string_functions.replace = function(string, args) {
    var regexp = new RegExp(args[0], 'gm');
    var sub = args[1];
    if (! sub)
        sub  = '';
    var output = string.replace(regexp, sub);
    return output;
}

// search(re)      true if value matches re
proto.string_functions.search = function(string, args) {
    var regexp = new RegExp(args[0]);
    return (string.search(regexp) >= 0) ? 1 : 0;
}

// size            returns 1, as if a single-item list
proto.string_functions.size = function(string) {
    return 1;
}

// split(re)       split string on re
proto.string_functions.split = function(string, args) {
    var regexp = new RegExp(args[0]);
    var list = string.split(regexp);
    return list;
}



proto.list_functions = {};

proto.list_functions.join = function(list, args) {
    return list.join(args[0]);
};

proto.list_functions.sort = function(list,key) {
    if( typeof(key) != 'undefined' && key != "" ) {
        // we probably have a list of hashes
        // and need to sort based on hash key
        return list.sort(
            function(a,b) {
                if( a[key] == b[key] ) {
                    return 0;
                }
                else if( a[key] > b[key] ) {
                    return 1;
                }
                else {
                    return -1;
                }
            }
        );
    }
    return list.sort();
}

proto.list_functions.nsort = function(list) {
    return list.sort(function(a, b) { return (a-b) });
}

proto.list_functions.grep = function(list, args) {
    var regexp = new RegExp(args[0]);
    var result = [];
    for (var i = 0; i < list.length; i++) {
        if (list[i].match(regexp))
            result.push(list[i]);
    }
    return result;
}

proto.list_functions.unique = function(list) {
    var result = [];
    var seen = {};
    for (var i = 0; i < list.length; i++) {
        var elem = list[i];
        if (! seen[elem])
            result.push(elem);
        seen[elem] = true;
    }
    return result;
}

proto.list_functions.reverse = function(list) {
    var result = [];
    for (var i = list.length - 1; i >= 0; i--) {
        result.push(list[i]);
    }
    return result;
}

proto.list_functions.merge = function(list, args) {
    var result = [];
    var push_all = function(elem) {
        if (elem instanceof Array) {
            for (var j = 0; j < elem.length; j++) {
                result.push(elem[j]);
            }
        }
        else {
            result.push(elem);
        }
    }
    push_all(list);
    for (var i = 0; i < args.length; i++) {
        push_all(args[i]);
    }
    return result;
}

proto.list_functions.slice = function(list, args) {
    return list.slice(args[0], args[1]);
}

proto.list_functions.splice = function(list, args) {
    if (args.length == 1)
        return list.splice(args[0]);
    if (args.length == 2)
        return list.splice(args[0], args[1]);
    if (args.length == 3)
        return list.splice(args[0], args[1], args[2]);
    return null;
}

proto.list_functions.push = function(list, args) {
    list.push(args[0]);
    return list;
}

proto.list_functions.pop = function(list) {
    return list.pop();
}

proto.list_functions.unshift = function(list, args) {
    list.unshift(args[0]);
    return list;
}

proto.list_functions.shift = function(list) {
    return list.shift();
}

proto.list_functions.first = function(list) {
    return list[0];
}

proto.list_functions.size = function(list) {
    return list.length;
}

proto.list_functions.max = function(list) {
    return list.length - 1;
}

proto.list_functions.last = function(list) {
    return list.slice(-1);
}

proto.hash_functions = {};


// each            list of alternating keys/values
proto.hash_functions.each = function(hash) {
    var list = new Array();
    for ( var key in hash )
        list.push(key, hash[key]);
    return list;
}

// exists(key)     does key exist?
proto.hash_functions.exists = function(hash, args) {
    return ( typeof( hash[args[0]] ) == "undefined" ) ? 0 : 1;
}

// FIXME proto.hash_functions.import blows everything up
//
// import(hash2)   import contents of hash2
// import          import into current namespace hash
//proto.hash_functions.import = function(hash, args) {
//    var hash2 = args[0];
//    for ( var key in hash2 )
//        hash[key] = hash2[key];
//    return '';
//}

// keys            list of keys
proto.hash_functions.keys = function(hash) {
    var list = new Array();
    for ( var key in hash )
        list.push(key);
    return list;
}

// list            returns alternating key, value
proto.hash_functions.list = function(hash, args) {
    var what = '';
    if ( args )
        what = args[0];

    var list = new Array();
    var key;
    if (what == 'keys')
        for ( key in hash )
            list.push(key);
    else if (what == 'values')
        for ( key in hash )
            list.push(hash[key]);
    else if (what == 'each')
        for ( key in hash )
            list.push(key, hash[key]);
    else
        for ( key in hash )
            list.push({ 'key': key, 'value': hash[key] });

    return list;
}

// nsort           keys sorted numerically
proto.hash_functions.nsort = function(hash) {
    var list = new Array();
    for (var key in hash)
        list.push(key);
    return list.sort(function(a, b) { return (a-b) });
}

// size            number of pairs
proto.hash_functions.size = function(hash) {
    var size = 0;
    for (var key in hash)
        size++;
    return size;
}


// sort            keys sorted alphabetically
proto.hash_functions.sort = function(hash) {
    var list = new Array();
    for (var key in hash)
        list.push(key);
    return list.sort();
}

// values          list of values
proto.hash_functions.values = function(hash) {
    var list = new Array();
    for ( var key in hash )
        list.push(hash[key]);
    return list;
}

//  delete
proto.hash_functions.remove = function(hash, args) {
    return delete hash[args[0]];
}
proto.hash_functions['delete'] = proto.hash_functions.remove;

//------------------------------------------------------------------------------
// Jemplate.Iterator class
//------------------------------------------------------------------------------
if (typeof Jemplate.Iterator == 'undefined') {
    Jemplate.Iterator = function(object) {
        if( object instanceof Array ) {
            this.object = object;
            this.size = object.length;
            this.max  = this.size -1;
        }
        else if ( object instanceof Object ) {
            this.object = object;
            var object_keys = new Array;
            for( var key in object ) {
                object_keys[object_keys.length] = key;
            }
            this.object_keys = object_keys.sort();
            this.size = object_keys.length;
            this.max  = this.size -1;
        }
    }
}

proto = Jemplate.Iterator.prototype;

proto.get_first = function() {
    this.index = 0;
    this.first = 1;
    this.last  = 0;
    this.count = 1;
    return this.get_next(1);
}

proto.get_next = function(should_init) {
    var object = this.object;
    var index;
    if( typeof(should_init) != 'undefined' && should_init ) {
        index = this.index;
    } else {
        index = ++this.index;
        this.first = 0;
        this.count = this.index + 1;
        if( this.index == this.size -1 ) {
            this.last = 1;
        }
    }
    if (typeof object == 'undefined')
        throw('No object to iterate');
    if( this.object_keys ) {
        if (index < this.object_keys.length) {
            this.prev = index > 0 ? this.object_keys[index - 1] : "";
            this.next = index < this.max ? this.object_keys[index + 1] : "";
            return [this.object_keys[index], false];
        }
    } else {
        if (index < object.length) {
            this.prev = index > 0 ? object[index - 1] : "";
            this.next = index < this.max ? object[index +1] : "";
            return [object[index], false];
        }
    }
    return [null, true];
}

var stubExplanation = "stub that doesn't do anything. Try including the jQuery, YUI, or XHR option when building the runtime";

Jemplate.Ajax = {

    get: function(url, callback) {
        throw("This is a Jemplate.Ajax.get " + stubExplanation);
    },

    processGet: function(url, callback) {
        throw("This is a Jemplate.Ajax.processGet " + stubExplanation);
    },

    post: function(url, callback) {
        throw("This is a Jemplate.Ajax.post " + stubExplanation);
    }

};

Jemplate.JSON = {

    parse: function(decodeValue) {
        throw("This is a Jemplate.JSON.parse " + stubExplanation);
    },

    stringify: function(encodeValue) {
        throw("This is a Jemplate.JSON.stringify " + stubExplanation);
    }

};

}());

;/*
    json2.js
    2008-03-24

    Public Domain.

    NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.

    See http://www.JSON.org/js.html

    This file creates a global JSON object containing three methods: stringify,
    parse, and quote.


        JSON.stringify(value, replacer, space)
            value       any JavaScript value, usually an object or array.

            replacer    an optional parameter that determines how object
                        values are stringified for objects without a toJSON
                        method. It can be a function or an array.

            space       an optional parameter that specifies the indentation
                        of nested structures. If it is omitted, the text will
                        be packed without extra whitespace. If it is a number,
                        it will specify the number of spaces to indent at each
                        level. If it is a string (such as '\t'), it contains the
                        characters used to indent at each level.

            This method produces a JSON text from a JavaScript value.

            When an object value is found, if the object contains a toJSON
            method, its toJSON method with be called and the result will be
            stringified. A toJSON method does not serialize: it returns the
            value represented by the name/value pair that should be serialized,
            or undefined if nothing should be serialized. The toJSON method will
            be passed the key associated with the value, and this will be bound
            to the object holding the key.

            This is the toJSON method added to Dates:

                function toJSON(key) {
                    return this.getUTCFullYear()   + '-' +
                         f(this.getUTCMonth() + 1) + '-' +
                         f(this.getUTCDate())      + 'T' +
                         f(this.getUTCHours())     + ':' +
                         f(this.getUTCMinutes())   + ':' +
                         f(this.getUTCSeconds())   + 'Z';
                }

            You can provide an optional replacer method. It will be passed the
            key and value of each member, with this bound to the containing
            object. The value that is returned from your method will be
            serialized. If your method returns undefined, then the member will
            be excluded from the serialization.

            If no replacer parameter is provided, then a default replacer
            will be used:

                function replacer(key, value) {
                    return Object.hasOwnProperty.call(this, key) ?
                        value : undefined;
                }

            The default replacer is passed the key and value for each item in
            the structure. It excludes inherited members.

            If the replacer parameter is an array, then it will be used to
            select the members to be serialized. It filters the results such
            that only members with keys listed in the replacer array are
            stringified.

            Values that do not have JSON representaions, such as undefined or
            functions, will not be serialized. Such values in objects will be
            dropped; in arrays they will be replaced with null. You can use
            a replacer function to replace those with JSON values.
            JSON.stringify(undefined) returns undefined.

            The optional space parameter produces a stringification of the value
            that is filled with line breaks and indentation to make it easier to
            read.

            If the space parameter is a non-empty string, then that string will
            be used for indentation. If the space parameter is a number, then
            then indentation will be that many spaces.

            Example:

            text = JSON.stringify(['e', {pluribus: 'unum'}]);
            // text is '["e",{"pluribus":"unum"}]'


            text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t');
            // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]'


        JSON.parse(text, reviver)
            This method parses a JSON text to produce an object or array.
            It can throw a SyntaxError exception.

            The optional reviver parameter is a function that can filter and
            transform the results. It receives each of the keys and values, and
            its return value is used instead of the original value. If it
            returns what it received, then structure is not modified. If it
            returns undefined then the member is deleted.

            Example:

            // Parse the text. Values that look like ISO date strings will
            // be converted to Date objects.

            myData = JSON.parse(text, function (key, value) {
                var a;
                if (typeof value === 'string') {
                    a =
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value);
                    if (a) {
                        return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
                            +a[5], +a[6]));
                    }
                }
                return value;
            });


        JSON.quote(text)
            This method wraps a string in quotes, escaping some characters
            as needed.


    This is a reference implementation. You are free to copy, modify, or
    redistribute.

    USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD THIRD PARTY
    CODE INTO YOUR PAGES.
*/

/*jslint regexp: true, forin: true, evil: true */

/*global JSON */

/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
    call, charCodeAt, floor, getUTCDate, getUTCFullYear, getUTCHours,
    getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join, length,
    parse, propertyIsEnumerable, prototype, push, quote, replace, stringify,
    test, toJSON, toString
*/

if (!JSON) var JSON;
if (!JSON) {

// Create a JSON object only if one does not already exist. We create the
// object in a closure to avoid global variables.

    JSON = function () {

        function f(n) {    // Format integers to have at least two digits.
            return n < 10 ? '0' + n : n;
        }

        Date.prototype.toJSON = function () {

// Eventually, this method will be based on the date.toISOString method.

            return this.getUTCFullYear()   + '-' +
                 f(this.getUTCMonth() + 1) + '-' +
                 f(this.getUTCDate())      + 'T' +
                 f(this.getUTCHours())     + ':' +
                 f(this.getUTCMinutes())   + ':' +
                 f(this.getUTCSeconds())   + 'Z';
        };


        var escapeable = /["\\\x00-\x1f\x7f-\x9f]/g,
            gap,
            indent,
            meta = {    // table of character substitutions
                '\b': '\\b',
                '\t': '\\t',
                '\n': '\\n',
                '\f': '\\f',
                '\r': '\\r',
                '"' : '\\"',
                '\\': '\\\\'
            },
            rep;


        function quote(string) {

// If the string contains no control characters, no quote characters, and no
// backslash characters, then we can safely slap some quotes around it.
// Otherwise we must also replace the offending characters with safe escape
// sequences.

            return escapeable.test(string) ?
                '"' + string.replace(escapeable, function (a) {
                    var c = meta[a];
                    if (typeof c === 'string') {
                        return c;
                    }
                    c = a.charCodeAt();
                    return '\\u00' + Math.floor(c / 16).toString(16) +
                                               (c % 16).toString(16);
                }) + '"' :
                '"' + string + '"';
        }


        function str(key, holder) {

// Produce a string from holder[key].

            var i,          // The loop counter.
                k,          // The member key.
                v,          // The member value.
                length,
                mind = gap,
                partial,
                value = holder[key];

// If the value has a toJSON method, call it to obtain a replacement value.

            if (value && typeof value === 'object' &&
                    typeof value.toJSON === 'function') {
                value = value.toJSON(key);
            }

// If we were called with a replacer function, then call the replacer to
// obtain a replacement value.

            if (typeof rep === 'function') {
                value = rep.call(holder, key, value);
            }

// What happens next depends on the value's type.

            switch (typeof value) {
            case 'string':
                return quote(value);

            case 'number':

// JSON numbers must be finite. Encode non-finite numbers as null.

                return isFinite(value) ? String(value) : 'null';

            case 'boolean':
            case 'null':

// If the value is a boolean or null, convert it to a string. Note:
// typeof null does not produce 'null'. The case is included here in
// the remote chance that this gets fixed someday.

                return String(value);

// If the type is 'object', we might be dealing with an object or an array or
// null.

            case 'object':

// Due to a specification blunder in ECMAScript, typeof null is 'object',
// so watch out for that case.

                if (!value) {
                    return 'null';
                }

// Make an array to hold the partial results of stringifying this object value.

                gap += indent;
                partial = [];

// If the object has a dontEnum length property, we'll treat it as an array.

                if (typeof value.length === 'number' &&
                        !(value.propertyIsEnumerable('length'))) {

// The object is an array. Stringify every element. Use null as a placeholder
// for non-JSON values.

                    length = value.length;
                    for (i = 0; i < length; i += 1) {
                        partial[i] = str(i, value) || 'null';
                    }

// Join all of the elements together, separated with commas, and wrap them in
// brackets.

                    v = partial.length === 0 ? '[]' :
                        gap ? '[\n' + gap + partial.join(',\n' + gap) +
                                  '\n' + mind + ']' :
                              '[' + partial.join(',') + ']';
                    gap = mind;
                    return v;
                }

// If the replacer is an array, use it to select the members to be stringified.

                if (typeof rep === 'object') {
                    length = rep.length;
                    for (i = 0; i < length; i += 1) {
                        k = rep[i];
                        if (typeof k === 'string') {
                            v = str(k, value, rep);
                            if (v) {
                                partial.push(quote(k) + (gap ? ': ' : ':') + v);
                            }
                        }
                    }
                } else {

// Otherwise, iterate through all of the keys in the object.

                    for (k in value) {
                        v = str(k, value, rep);
                        if (v) {
                            partial.push(quote(k) + (gap ? ': ' : ':') + v);
                        }
                    }
                }

// Join all of the member texts together, separated with commas,
// and wrap them in braces.

                v = partial.length === 0 ? '{}' :
                    gap ? '{\n' + gap + partial.join(',\n' + gap) +
                              '\n' + mind + '}' :
                          '{' + partial.join(',') + '}';
                gap = mind;
                return v;
            }

            return null;
        }


// Return the JSON object containing the stringify, parse, and quote methods.

        return {
            stringify: function (value, replacer, space) {

// The stringify method takes a value and an optional replacer, and an optional
// space parameter, and returns a JSON text. The replacer can be a function
// that can replace values, or an array of strings that will select the keys.
// A default replacer method can be provided. Use of the space parameter can
// produce text that is more easily readable.

                var i;
                gap = '';
                indent = '';
                if (space) {

// If the space parameter is a number, make an indent string containing that
// many spaces.

                    if (typeof space === 'number') {
                        for (i = 0; i < space; i += 1) {
                            indent += ' ';
                        }

// If the space parameter is a string, it will be used as the indent string.

                    } else if (typeof space === 'string') {
                        indent = space;
                    }
                }

// If there is no replacer parameter, use the default replacer.

                if (!replacer) {
                    rep = function (key, value) {
                        if (!Object.hasOwnProperty.call(this, key)) {
                            return undefined;
                        }
                        return value;
                    };

// The replacer can be a function or an array. Otherwise, throw an error.

                } else if (typeof replacer === 'function' ||
                        (typeof replacer === 'object' &&
                         typeof replacer.length === 'number')) {
                    rep = replacer;
                } else {
                    throw new Error('JSON.stringify');
                }

// Make a fake root object containing our value under the key of ''.
// Return the result of stringifying the value.

                return str('', {'': value});
            },


            parse: function (text, reviver) {

// The parse method takes a text and an optional reviver function, and returns
// a JavaScript value if the text is a valid JSON text.

                var j;

                function walk(holder, key) {

// The walk method is used to recursively walk the resulting structure so
// that modifications can be made.

                    var k, v, value = holder[key];
                    if (value && typeof value === 'object') {
                        for (k in value) {
                            if (Object.hasOwnProperty.call(value, k)) {
                                v = walk(value, k);
                                if (v !== undefined) {
                                    value[k] = v;
                                } else {
                                    delete value[k];
                                }
                            }
                        }
                    }
                    return reviver.call(holder, key, value);
                }


// Parsing happens in three stages. In the first stage, we run the text against
// regular expressions that look for non-JSON patterns. We are especially
// concerned with '()' and 'new' because they can cause invocation, and '='
// because it can cause mutation. But just to be safe, we want to reject all
// unexpected forms.

// We split the first stage into 4 regexp operations in order to work around
// crippling inefficiencies in IE's and Safari's regexp engines. First we
// replace all backslash pairs with '@' (a non-JSON character). Second, we
// replace all simple value tokens with ']' characters. Third, we delete all
// open brackets that follow a colon or comma or that begin the text. Finally,
// we look to see that the remaining characters are only whitespace or ']' or
// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.

                if (/^[\],:{}\s]*$/.test(text.replace(/\\["\\\/bfnrtu]/g, '@').
replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']').
replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {

// In the second stage we use the eval function to compile the text into a
// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
// in JavaScript: it can begin a block or an object literal. We wrap the text
// in parens to eliminate the ambiguity.

                    j = eval('(' + text + ')');

// In the optional third stage, we recursively walk the new structure, passing
// each name/value pair to a reviver function for possible transformation.

                    return typeof reviver === 'function' ?
                        walk({'': j}, '') : j;
                }

// If the text is not JSON parseable, then a SyntaxError is thrown.

                throw new SyntaxError('JSON.parse');
            },

            quote: quote
        };
    }();
}

;;(function(){

Jemplate.Ajax = {

    get: function(url, callback) {
        var request = new XMLHttpRequest();
        request.open('GET', url, Boolean(callback));
        request.setRequestHeader('Accept', 'text/json; text/x-json; application/json');
        return this.request(request, null, callback);
    },

    processGet: function(url, processor) {
        this.get(url, function(responseText){
            processor(Jemplate.JSON.parse(responseText));
        });
    },

    post: function(url, data, callback) {
        var request = new XMLHttpRequest();
        request.open('POST', url, Boolean(callback));
        request.setRequestHeader('Accept', 'text/json; text/x-json; application/json');
        request.setRequestHeader(
            'Content-Type', 'application/x-www-form-urlencoded'
        );
        return this.request(request, data, callback);
    },

    request: function(request, data, callback) {
        if (callback) {
            request.onreadystatechange = function() {
                if (request.readyState == 4) {
                    if(request.status == 200)
                        callback(request.responseText);
                }
            };
        }
        request.send(data);
        if (!callback) {
            if (request.status != 200)
                throw('Request for "' + url +
                      '" failed with status: ' + request.status);
            return request.responseText;
        }
        return null;
    }
};

}());

;;(function(){

Jemplate.JSON = {

    parse: function(encoded) {
        return JSON.parse(encoded);
    },

    stringify: function(decoded) {
        return JSON.stringify(decoded);
    }

};

}());

;// Copyright 2007 Sergey Ilinsky (http://www.ilinsky.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//   http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

(function () {

	// Save reference to earlier defined object implementation (if any)
	var oXMLHttpRequest	= window.XMLHttpRequest;

	// Define on browser type
	var bGecko	= !!window.controllers,
		bIE		= window.document.all && !window.opera;

	// Constructor
	function cXMLHttpRequest() {
		this._object	= oXMLHttpRequest ? new oXMLHttpRequest : new window.ActiveXObject('Microsoft.XMLHTTP');
	};

	// BUGFIX: Firefox with Firebug installed would break pages if not executed
	if (bGecko && oXMLHttpRequest.wrapped)
		cXMLHttpRequest.wrapped	= oXMLHttpRequest.wrapped;

	// Constants
	cXMLHttpRequest.UNSENT				= 0;
	cXMLHttpRequest.OPENED				= 1;
	cXMLHttpRequest.HEADERS_RECEIVED	= 2;
	cXMLHttpRequest.LOADING				= 3;
	cXMLHttpRequest.DONE				= 4;

	// Public Properties
	cXMLHttpRequest.prototype.readyState	= cXMLHttpRequest.UNSENT;
	cXMLHttpRequest.prototype.responseText	= "";
	cXMLHttpRequest.prototype.responseXML	= null;
	cXMLHttpRequest.prototype.status		= 0;
	cXMLHttpRequest.prototype.statusText	= "";

	// Instance-level Events Handlers
	cXMLHttpRequest.prototype.onreadystatechange	= null;

	// Class-level Events Handlers
	cXMLHttpRequest.onreadystatechange	= null;
	cXMLHttpRequest.onopen				= null;
	cXMLHttpRequest.onsend				= null;
	cXMLHttpRequest.onabort				= null;

	// Public Methods
	cXMLHttpRequest.prototype.open	= function(sMethod, sUrl, bAsync, sUser, sPassword) {

		// Save async parameter for fixing Gecko bug with missing readystatechange in synchronous requests
		this._async		= bAsync;

		// Set the onreadystatechange handler
		var oRequest	= this,
			nState		= this.readyState;

		// BUGFIX: IE - memory leak on page unload (inter-page leak)
		if (bIE) {
			var fOnUnload	= function() {
				if (oRequest._object.readyState != cXMLHttpRequest.DONE)
					fCleanTransport(oRequest);
			};
			if (bAsync)
				window.attachEvent("onunload", fOnUnload);
		}

		this._object.onreadystatechange	= function() {
			if (bGecko && !bAsync)
				return;

			// Synchronize state
			oRequest.readyState		= oRequest._object.readyState;

			//
			fSynchronizeValues(oRequest);

			// BUGFIX: Firefox fires unneccesary DONE when aborting
			if (oRequest._aborted) {
				// Reset readyState to UNSENT
				oRequest.readyState	= cXMLHttpRequest.UNSENT;

				// Return now
				return;
			}

			if (oRequest.readyState == cXMLHttpRequest.DONE) {
				//
				fCleanTransport(oRequest);
// Uncomment this block if you need a fix for IE cache
/*
				// BUGFIX: IE - cache issue
				if (!oRequest._object.getResponseHeader("Date")) {
					// Save object to cache
					oRequest._cached	= oRequest._object;

					// Instantiate a new transport object
					cXMLHttpRequest.call(oRequest);

					// Re-send request
					oRequest._object.open(sMethod, sUrl, bAsync, sUser, sPassword);
					oRequest._object.setRequestHeader("If-Modified-Since", oRequest._cached.getResponseHeader("Last-Modified") || new window.Date(0));
					// Copy headers set
					if (oRequest._headers)
						for (var sHeader in oRequest._headers)
							if (typeof oRequest._headers[sHeader] == "string")	// Some frameworks prototype objects with functions
								oRequest._object.setRequestHeader(sHeader, oRequest._headers[sHeader]);

					oRequest._object.onreadystatechange	= function() {
						// Synchronize state
						oRequest.readyState		= oRequest._object.readyState;

						if (oRequest._aborted) {
							//
							oRequest.readyState	= cXMLHttpRequest.UNSENT;

							// Return
							return;
						}

						if (oRequest.readyState == cXMLHttpRequest.DONE) {
							// Clean Object
							fCleanTransport(oRequest);

							// get cached request
							if (oRequest.status == 304)
								oRequest._object	= oRequest._cached;

							//
							delete oRequest._cached;

							//
							fSynchronizeValues(oRequest);

							//
							fReadyStateChange(oRequest);

							// BUGFIX: IE - memory leak in interrupted
							if (bIE && bAsync)
								window.detachEvent("onunload", fOnUnload);
						}
					};
					oRequest._object.send(null);

					// Return now - wait untill re-sent request is finished
					return;
				};
*/
				// BUGFIX: IE - memory leak in interrupted
				if (bIE && bAsync)
					window.detachEvent("onunload", fOnUnload);
			}

			// BUGFIX: Some browsers (Internet Explorer, Gecko) fire OPEN readystate twice
			if (nState != oRequest.readyState)
				fReadyStateChange(oRequest);

			nState	= oRequest.readyState;
		};
		// Add method sniffer
		if (cXMLHttpRequest.onopen)
			cXMLHttpRequest.onopen.apply(this, arguments);

		this._object.open(sMethod, sUrl, bAsync, sUser, sPassword);

		// BUGFIX: Gecko - missing readystatechange calls in synchronous requests
		if (!bAsync && bGecko) {
			this.readyState	= cXMLHttpRequest.OPENED;

			fReadyStateChange(this);
		}
	};
	cXMLHttpRequest.prototype.send	= function(vData) {
		// Add method sniffer
		if (cXMLHttpRequest.onsend)
			cXMLHttpRequest.onsend.apply(this, arguments);

		// BUGFIX: Safari - fails sending documents created/modified dynamically, so an explicit serialization required
		// BUGFIX: IE - rewrites any custom mime-type to "text/xml" in case an XMLNode is sent
		// BUGFIX: Gecko - fails sending Element (this is up to the implementation either to standard)
		if (vData && vData.nodeType) {
			vData	= window.XMLSerializer ? new window.XMLSerializer().serializeToString(vData) : vData.xml;
			if (!this._headers["Content-Type"])
				this._object.setRequestHeader("Content-Type", "application/xml");
		}

		this._object.send(vData);

		// BUGFIX: Gecko - missing readystatechange calls in synchronous requests
		if (bGecko && !this._async) {
			this.readyState	= cXMLHttpRequest.OPENED;

			// Synchronize state
			fSynchronizeValues(this);

			// Simulate missing states
			while (this.readyState < cXMLHttpRequest.DONE) {
				this.readyState++;
				fReadyStateChange(this);
				// Check if we are aborted
				if (this._aborted)
					return;
			}
		}
	};
	cXMLHttpRequest.prototype.abort	= function() {
		// Add method sniffer
		if (cXMLHttpRequest.onabort)
			cXMLHttpRequest.onabort.apply(this, arguments);

		// BUGFIX: Gecko - unneccesary DONE when aborting
		if (this.readyState > cXMLHttpRequest.UNSENT)
			this._aborted	= true;

		this._object.abort();

		// BUGFIX: IE - memory leak
		fCleanTransport(this);
	};
	cXMLHttpRequest.prototype.getAllResponseHeaders	= function() {
		return this._object.getAllResponseHeaders();
	};
	cXMLHttpRequest.prototype.getResponseHeader	= function(sName) {
		return this._object.getResponseHeader(sName);
	};
	cXMLHttpRequest.prototype.setRequestHeader	= function(sName, sValue) {
		// BUGFIX: IE - cache issue
		if (!this._headers)
			this._headers	= {};
		this._headers[sName]	= sValue;

		return this._object.setRequestHeader(sName, sValue);
	};
	cXMLHttpRequest.prototype.toString	= function() {
		return '[' + "object" + ' ' + "XMLHttpRequest" + ']';
	};
	cXMLHttpRequest.toString	= function() {
		return '[' + "XMLHttpRequest" + ']';
	};

	// Helper function
	function fReadyStateChange(oRequest) {
		// Execute onreadystatechange
		if (oRequest.onreadystatechange)
			oRequest.onreadystatechange.apply(oRequest);

		// Sniffing code
		if (cXMLHttpRequest.onreadystatechange)
			cXMLHttpRequest.onreadystatechange.apply(oRequest);
	};

	function fGetDocument(oRequest) {
		var oDocument	= oRequest.responseXML;
		// Try parsing responseText
		if (bIE && oDocument && !oDocument.documentElement && oRequest.getResponseHeader("Content-Type").match(/[^\/]+\/[^\+]+\+xml/)) {
			oDocument	= new ActiveXObject('Microsoft.XMLDOM');
			oDocument.loadXML(oRequest.responseText);
		}
		// Check if there is no error in document
		if (oDocument)
			if ((bIE && oDocument.parseError != 0) || (oDocument.documentElement && oDocument.documentElement.tagName == "parsererror"))
				return null;
		return oDocument;
	};

	function fSynchronizeValues(oRequest) {
		try {	oRequest.responseText	= oRequest._object.responseText;	} catch (e) {}
		try {	oRequest.responseXML	= fGetDocument(oRequest._object);	} catch (e) {}
		try {	oRequest.status			= oRequest._object.status;			} catch (e) {}
		try {	oRequest.statusText		= oRequest._object.statusText;		} catch (e) {}
	};

	function fCleanTransport(oRequest) {
		// BUGFIX: IE - memory leak (on-page leak)
		oRequest._object.onreadystatechange	= new window.Function;

		// Delete private properties
		delete oRequest._headers;
	};

	// Internet Explorer 5.0 (missing apply)
	if (!window.Function.prototype.apply) {
		window.Function.prototype.apply	= function(oRequest, oArguments) {
			if (!oArguments)
				oArguments	= [];
			oRequest.__func	= this;
			oRequest.__func(oArguments[0], oArguments[1], oArguments[2], oArguments[3], oArguments[4]);
			delete oRequest.__func;
		};
	};

	// Register new object with window
	window.XMLHttpRequest	= cXMLHttpRequest;
})();


/*
   This JavaScript code was generated by Jemplate, the JavaScript
   Template Toolkit. Any changes made to this file will be lost the next
   time the templates are compiled.

   Copyright 2006 - Ingy döt Net - All rights reserved.
*/

if (typeof(Jemplate) == 'undefined')
    throw('Jemplate.js must be loaded before any Jemplate template files');

Jemplate.templateMap['list.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 142 "list.tt"

// FOREACH 
(function() {
    var list = stash.get('postlist');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['post'] = value;
//line 2 "list.tt"
stash.set('a', [ ]);
//line 2 "list.tt"
stash.set('b', [ ]);

//line 3 "list.tt"
stash.set('tmp', stash.get(['post', 0, 'blob_client_data1', 0]));
//line 4 "list.tt"
stash.set('detail', stash.get(['tmp', 0, 'replace', [ '\', '~1' ]]));
//line 7 "list.tt"

// FOREACH 
(function() {
    var list = stash.get(['detail', 0, 'split', [ '~' ]]);
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['dir'] = value;
output += '\r\n  ';
//line 6 "list.tt"
stash.set('b', stash.get(['a', 0, 'push', [ stash.get('dir') ]]));;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '<div class="yui-main-reports">\r\n<div class="crnr_tl"><div	class="crnr_tr"></div></div>\r\n	<div class="yui-b_reports">\r\n		<div class="searchDetailsBd">\r\n			<div class="cn_item_head"> <span class="searchTitle">';
//line 12 "list.tt"
output += stash.get(['post', 0, 'title', 0, 'substr', [ 0, 12 ]]);
output += '</span>\r\n				<ul	class="searchDetailLinks">\r\n					<li>编辑：</li>\r\n						<li><a href="search_modify1.html?mobid=';
//line 15 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '">搜索类型</a>	</li>\r\n						<li><a href="search_modify2.html?mobid=';
//line 16 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '">搜索框样式</a></li>\r\n						<li><a href="search_modify3.html?mobid=';
//line 17 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '">搜索结果样式</a>	</li>\r\n						<li><a href="search_modify4.html?mobid=';
//line 18 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '">获取代码</a></li>\r\n						<li><a onclick="del(\'';
//line 19 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '\')"	 href="#">删除</a></li>\r\n					</ul>\r\n				</div>\r\n				<div class="searchPreview">\r\n					<h4>搜索框预览</h4>\r\n					<div id="ymob_';
//line 24 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '"	title="搜索框预览" class="ymobSearchBox">\r\n<!-- Yahoo DIY Search Box Starts --> \r\n	';
//line 26 "list.tt"
stash.set('part', '');
//line 26 "list.tt"
stash.set('url', '');
output += '\r\n';
//line 33 "list.tt"
if (stash.get(['a', 0, 40, 0]) == '1default') {
output += '\r\n		';
//line 28 "list.tt"
stash.set('part', 'powered by <span style="color: #ff0033;font-weight: bold;">YAHOO!</span> <span style="font-weight: bold;color: #545454">SEARCH</span>\n');

output += '\r\n';
}
else if (stash.get(['a', 0, 40, 0]) == '1bg') {
output += '\r\n		';
//line 30 "list.tt"
stash.set('url', 'images/horiz_pwrlogo_red2.gif');

output += '\r\n';
}
else if (stash.get(['a', 0, 40, 0]) == '1white') {
output += '\r\n		';
//line 32 "list.tt"
stash.set('part', '<span style="color: #FFFFFF">powered by <B>YAHOO! SEARCH</B></span>\n');

output += '\r\n';
}

output += '\r\n\r\n<div id="ysrchForm" style=" \r\n			border:1px solid #';
//line 36 "list.tt"
output += stash.get(['a', 0, 32, 0, 'substr', [ 1 ]]);
output += ';\r\n			background:#';
//line 37 "list.tt"
output += stash.get(['a', 0, 31, 0, 'substr', [ 1 ]]);
output += '; \r\n			width:300px;\r\n			margin:0 auto; \r\n			padding:20px; position:relative;">\r\n\r\n		<form id="searchBoxForm_';
//line 42 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '" action="http://diy.cn.yahoo.com/a/bouncer" style="padding:0;" >\r\n				<input name="mobid" value="';
//line 43 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '" type="hidden">\r\n			<input name="ei" value="';
//line 44 "list.tt"
output += stash.get(['a', 0, 8, 0, 'substr', [ 1 ]]);
output += '" type="hidden">\r\n			<input name="fr" value="ystg-c" type="hidden">\r\n			<div style="padding: 0pt 80px 0pt 0pt;">\r\n					<input type="text" id="searchTerm"\r\n						onFocus="this.style.background=\'#fff\';"\r\n						onBlur="if(this.value==\'\')this.style.background=\'#fff url(';
//line 49 "list.tt"
output += stash.get('url');
output += ') 3px center  no-repeat\'"\r\n						name="p" style=" margin:1px 0; width:100%; border:1px solid #';
//line 50 "list.tt"
output += stash.get(['a', 0, 32, 0, 'substr', [ 1 ]]);
output += '; color:#666666; height:18px; padding:0px 3px; background:#fff url(';
//line 50 "list.tt"
output += stash.get('url');
output += ') 3px center no-repeat; position:relative;">\r\n\r\n					<input type="submit" id="btn_';
//line 52 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '" value="雅虎搜索" \r\n						style=" padding-bottom:2px; position:absolute; right:20px; top:20px; margin:0px; height:22px; width:70px; ">\r\n</div>\r\n';
//line 63 "list.tt"
if (stash.get(['a', 0, 1, 0, 'substr', [ 1 ]]) == 'web,site') {
output += '\r\n<ul style="margin: 0pt; padding: 0pt; color: rgb(102, 102, 102); font-family: normal Arial,Helvetica,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 11px; font-size-adjust: none; font-stretch: normal; text-align: left; list-style-type: none;"><li style="display: inline; padding-right: 10px;">\r\n<input name="mobvs" id="web_';
//line 57 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '" value="0" ';
//line 57 "list.tt"
if (stash.get(['a', 0, 2, 0]) == '1web') {
output += 'checked="checked"';
}

output += 'style="vertical-align: middle; margin-right: 5px;" type="radio">\r\n<label for="web_';
//line 58 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '" style="vertical-align: middle; font-size: 12px;">网页</label>\r\n</li><li style="display: inline; padding-right: 10px;">\r\n<input name="mobvs" id="site_';
//line 60 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '" value="1" ';
//line 60 "list.tt"
if (stash.get(['a', 0, 2, 0]) == '1site') {
output += 'checked="checked"';
}

output += ' style="vertical-align: middle; margin-right: 5px;" type="radio">\r\n<label for="site_';
//line 61 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '" style="vertical-align: middle; font-size: 12px;">站内</label>\r\n</li></ul>\r\n';
}

output += '\r\n</form><div style="font-family: verdana;font-size: 9px;color:#000;position:absolute;right:10px;bottom:5px">\r\n';
//line 65 "list.tt"
output += stash.get('part');
output += '\r\n</div></div>\r\n\r\n<!-- Yahoo DIY Search Box Ends--> \r\n\r\n\r\n\r\n					</div>\r\n					<strong>实际尺寸:<em>';
//line 73 "list.tt"
output += stash.get(['a', 0, 6, 0, 'substr', [ 1 ]]);
output += '像素</em></strong>\r\n\r\n					<div class="fw_word_snap">\r\n							<h4>主题词提取<img src="http://cn.yimg.com/i/site/sma_ico07.gif"/></h4>\r\n							';
//line 87 "list.tt"
if (stash.get(['a', 0, 57, 0]) == 11) {
output += '\r\n								<div class="sdlinkcon">\r\n							编辑：\r\n							<a href="theme_modify1.html?mobid=';
//line 80 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '"	title="修改后请重新获取代码">提取规则</a>\r\n							<a href="theme_modify2.html?mobid=';
//line 81 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '"	title="修改后请重新获取代码">主题词样式</a>\r\n							<a href="theme_modify3.html?mobid=';
//line 82 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '">获取代码</a>\r\n							<!--a	href="#">删除</a-->\r\n							</div>\r\n							';
}
else {
output += '\r\n								 <div	class="fw_nocreat">您还没有建立主题词提取模块，<a href="theme_step1.html?mobid=';
//line 86 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '">请点击这里新建</a></div>\r\n							';
}

output += '\r\n						</div>\r\n						<div class="fw_word_snap">\r\n							<h4>相关文章推荐<span	style="font-size:11px;color:red;font-weight:normal;">Alpha</span></h4>\r\n							';
//line 100 "list.tt"
if (stash.get(['a', 0, 68, 0]) == 11) {
output += '					\r\n								<div class="sdlinkcon">\r\n									编辑：\r\n										<a href="recomment_modify1.html?mobid=';
//line 94 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '" title="修改后请重新获取代码">推荐规则</a>\r\n										<a href="recomment_modify2.html?mobid=';
//line 95 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += ' "title="修改后请重新获取代码">展现样式</a>\r\n										<a href="recomment_modify3.html?mobid=';
//line 96 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '">获取代码</a>\r\n								</div>\r\n							';
}
else {
output += '\r\n								<div	class="fw_nocreat">您还没有建立相关文章推荐模块，<a href="recomment_step1.html?mobid=';
//line 99 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '">请点击这里新建</a></div>\r\n								';
}

output += '\r\n								<p style="color:#5F5F5F;margin:0.5em;">注意:修改任何一项都需重新获取代码添加到您的网页方可生效.</p>\r\n						</div>\r\n					</div>					\r\n					<div class="stats">\r\n				<h3>\r\n					<a class="reportHeaderLink" href="report.html?mobid=';
//line 106 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '&type=search">完整报告</a>\r\n					<strong>搜索流量</strong>\r\n					<em>前一天</em>\r\n				</h3>\r\n			';
//line 125 "list.tt"
if (stash.get(['post', 0, 'count', 0]) > 0) {
output += '\r\n						<table width="100%" border="0" cellspacing="1" cellpadding="0">\r\n							<tr class="mc2tr3">\r\n								<td width="30%">搜索次数</td>\r\n					<td width="29%">搜索用户数</td>\r\n											<td width="49%">单用户平均搜索次数</td>\r\n							</tr>\r\n				<tr>\r\n					<td>';
//line 118 "list.tt"
output += stash.get(['post', 0, 'count', 0]);
output += '</td>\r\n					<td>';
//line 119 "list.tt"
output += stash.get(['post', 0, 'num', 0]);
output += '</td>\r\n					<td>';
//line 120 "list.tt"
output += stash.get(['post', 0, 'average', 0]);
output += '</td>\r\n				<tr>\r\n			</table>\r\n			';
}
else {
output += '\r\n      <li>暂无报告</li>\r\n			';
}

output += '\r\n    </h3>\r\n	<h3>\r\n		<a class="reportHeaderLink" href="report.html?mobid=';
//line 128 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '&type=query">完整报告</a>\r\n		<strong>热门搜索</strong> \r\n	</h3>\r\n\r\n	<h3>\r\n		<a class="reportHeaderLink" href="report.html?mobid=';
//line 133 "list.tt"
output += stash.get(['post', 0, 'mob_id', 0]);
output += '&type=source">完整报告</a>\r\n		<strong>最多来源</strong>\r\n	</h3>\r\n	</div>\r\n				</div> <!-- END .bd -->\r\n			</div><!-- END .yui-b -->\r\n			<div class="crnr_bl"><div class="crnr_br"></div></div>\r\n		</div>\r\n		<!-- END .yui-main -->\r\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\r\n\r\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['recomment_1.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 1 "recomment_1.tt"
stash.set('a', [ ]);
//line 1 "recomment_1.tt"
stash.set('b', [ ]);
//line 2 "recomment_1.tt"
stash.set('tmp', stash.get(['postlist', 0, 'blob_client_data1', 0]));
//line 3 "recomment_1.tt"
stash.set('detail', stash.get(['tmp', 0, 'replace', [ '\', '~1' ]]));
//line 6 "recomment_1.tt"

// FOREACH 
(function() {
    var list = stash.get(['detail', 0, 'split', [ '~' ]]);
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['dir'] = value;
output += '\r\n  ';
//line 5 "recomment_1.tt"
stash.set('b', stash.get(['a', 0, 'push', [ stash.get('dir') ]]));;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '<script type="text/javascript">\r\nfunction set_slider(value)\r\n{\r\n	var w_left;\r\n	var h_left;\r\n	w_left=getLeft(document.getElementById("slider"))+3;\r\n	h_left=getLeft(document.getElementById("handle"));\r\n	document.getElementById("handle").style.left=w_left+value*50+"px";\r\n}\r\nfunction slider_click(ev)\r\n{\r\n	ev= ev||event.window;\r\n	var m_left;\r\n	var w_left;\r\n	var w_width;\r\n	var value;\r\n	w_left=getLeft(document.getElementById("slider"))+3;\r\n	m_left=ev.clientX;\r\n	w_width=document.getElementById("slider").offsetWidth-18;\r\n	value=Math.round((m_left-w_left-6)/(w_width/4));\r\n	value=Math.abs(value);\r\n	set_slider(value);\r\n	document.getElementById("mob_sb_cma_ratio").value=value;\r\n}\r\nfunction getLeft(e){\r\nvar offset=e.offsetLeft;\r\nif(e.offsetParent!=null) offset+=getLeft(e.offsetParent);\r\nreturn offset;\r\n}\r\n</script>\r\n<form method="post" id="mobForm" class="yq"  onSubmit="return validateForm();">\r\n		<input type="hidden" id="detail" value=';
//line 38 "recomment_1.tt"
output += stash.get(['postlist', 0, 'blob_client_data1', 0]);
output += '>\r\n	<div class="fw_newword_row">\r\n		<div class="fw_tit">设置搜索范围</div>\r\n		<div class="fw_con">\r\n			<div class="fw_type_box">设为默认&nbsp;&nbsp;\r\n				<label><input name="mob_sb_cma_default"  id="mob_sb_cma_default1"  type="radio" value="web" ';
//line 43 "recomment_1.tt"
if (stash.get(['a', 0, 58, 0]) == '1web') {
output += 'checked="checked"';
}

output += '/>网页搜索</label>&nbsp;&nbsp;\r\n				<label><input name="mob_sb_cma_default" id="mob_sb_cma_default2"  type="radio" value="site"  ';
//line 44 "recomment_1.tt"
if (stash.get(['a', 0, 58, 0]) == '1site') {
output += 'checked="checked"';
}

output += '/>站内搜索</label>\r\n			</div>\r\n		<em>该搜索范围与您创建的定制搜索的范围一致</em>\r\n		</div>\r\n	</div>	\r\n\r\n	<div class="fw_newword_row fw_row2">\r\n		<div class="fw_tit">设置文章匹配</div>\r\n		<div class="fw_con">\r\n			相关性 <label><img id="slider" onclick="slider_click(event)" src="images/horizBg.png" align="top" /></label><img id="handle" src="images/horizSlider.png" align="top" style="position:absolute" /> 多样性\r\n				<input type=hidden name="mob_sb_cma_ratio" id="mob_sb_cma_ratio" value=\'';
//line 54 "recomment_1.tt"
output += stash.get(['a', 0, 59, 0, 'substr', [ 1 ]]);
output += '\' />\r\n			<em>如果您对目前推荐内容的效果不满可以尝试调整相关性和多样性的权重，相关性影响推荐的准确度，但可能会造成推荐数量的减少。</em>\r\n		</div>\r\n	</div>\r\n	\r\n	<div class="fw_newword_row fw_row2">\r\n		<div class="fw_tit">设置展现形式</div>\r\n		<div class="fw_con">\r\n			<label><input name="mob_sb_cma_style" id="mob_sb_cma_style1" type="radio" value="0" ';
//line 62 "recomment_1.tt"
if (stash.get(['a', 0, 60, 0]) == '10') {
output += 'checked="checked"';
}

output += '/>仅显示标题</label>&nbsp;&nbsp;\r\n			<label><input name="mob_sb_cma_style" id="mob_sb_cma_style2"  type="radio" value="1" ';
//line 63 "recomment_1.tt"
if (stash.get(['a', 0, 60, 0]) == '11') {
output += 'checked="checked"';
}

output += '/>显示标题和摘要</label>&nbsp;&nbsp;\r\n			<br />\r\n			<br />\r\n			<br />\r\n		</div>\r\n	</div>\r\n	<!--div class="fw_button"><button>下一步</button>&nbsp;&nbsp;<a href="#">返回列表</a></div-->\r\n\r\n<div id="buttons"><input  type="submit"   value="保存修改" >\r\n<input type="button"  value="取消" onClick="window.location=\'index.html\';return false;"></div></form>\r\n</div>\r\n</div>\r\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['recomment_2.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 1 "recomment_2.tt"
stash.set('a', [ ]);
//line 1 "recomment_2.tt"
stash.set('b', [ ]);
//line 2 "recomment_2.tt"
stash.set('tmp', stash.get(['postlist', 0, 'blob_client_data1', 0]));
//line 3 "recomment_2.tt"
stash.set('detail', stash.get(['tmp', 0, 'replace', [ '\', '~1' ]]));
//line 6 "recomment_2.tt"

// FOrEACH 
(function() {
    var list = stash.get(['detail', 0, 'split', [ '~' ]]);
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['dir'] = value;
output += '\r\n  ';
//line 5 "recomment_2.tt"
stash.set('b', stash.get(['a', 0, 'push', [ stash.get('dir') ]]));;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\r\n';
//line 8 "recomment_2.tt"
stash.set('f1', '');
//line 8 "recomment_2.tt"
stash.set('f2', '');
//line 8 "recomment_2.tt"
stash.set('f3', '');
output += '\r\n';
//line 24 "recomment_2.tt"
if (stash.get(['a', 0, 61, 0]) == '1468') {
output += '\r\n	';
//line 15 "recomment_2.tt"
if (stash.get(['a', 0, 62, 0]) == '1250') {
output += '\r\n			';
//line 12 "recomment_2.tt"
stash.set('f1', 'checked');

output += '\r\n	';
}
else {
output += '\r\n			';
//line 14 "recomment_2.tt"
stash.set('f3', 'checked');

output += '\r\n	';
}

}
else if (stash.get(['a', 0, 61, 0]) == '1160') {
output += '\r\n	';
//line 21 "recomment_2.tt"
if (stash.get(['a', 0, 62, 0]) == '1600') {
output += '\r\n			';
//line 18 "recomment_2.tt"
stash.set('f2', 'checked');

output += '\r\n	';
}
else {
output += '\r\n			';
//line 20 "recomment_2.tt"
stash.set('f3', 'checked');

output += '\r\n	';
}

}
else {
output += '			';
//line 23 "recomment_2.tt"
stash.set('f3', 'checked');

output += '\r\n	';
}

output += '\r\n\r\n\r\n\r\n\r\n	<div class="crnr_tl"><div class="crnr_tr"></div></div>\r\n	<div class="yui-b">\r\n\r\n		<div class="previewContainer" id="previewContainer">\r\n			<div class="crnr_tl"><div class="crnr_tr"></div></div>\r\n			<div class="previewContent">\r\n\r\n\r\n\r\n';
//line 264 "recomment_2.tt"
if (stash.get(['a', 0, 63, 0]) == '1') {
output += '\r\n	<h2>推荐文章展现预览</h2>\r\n				<style>.ymobSearchBox{\r\n			                                   background-color:#EEEEEE;\r\n							     color:#000000;}\r\n						     .ymobSearchBox{font-family:times new roman;}\r\n							 .small{font-size:12px;}\r\n							 .normal{font-size:14px;}\r\n							 .big{font-size:16px;}\r\n							 .small a{font-size:14px;}\r\n							 .normal a{font-size:16px;}\r\n							 .big a{font-size:18px;}\r\n							 .more{font-size:14px;}\r\n						     #previewCode2 a{color:#0000FF;}\r\n							 .ymobSearchBox b{font-weight:normal;}\r\n							 .ymobSearchBox ul li{margin-bottom:5px;\r\n							 padding-left:10px;}</style>				<div class="ymobSearchBox" title="主题词展现预览" id="previewCode2">\r\n					<ul id="list" class=big>\r\n					<li><a href="http://music.cn.yahoo.com" target="_blank">雅虎音乐搜索</a><p>雅虎音乐搜索提供新歌飙升榜、热搜歌曲榜、流行金曲榜、<b>MP3</b>搜<wbr/>索等内容。</p></li>\r\n					<li><a href="http://mp3.baidu.com" target="_blank">百度<b>MP3</b>——全球最大中文<b>MP3</b>搜索引擎</a><p>新闻  网 页 贴 吧 知 道 <b>MP3</b> 图片  视 频 帮助 视频 歌词 全部音乐 <b>mp3</b> rm wma 其它 铃声 彩铃 <b>MP3</b>榜单家族 <b>MP3</b>排行榜 歌曲TOP500 歌曲列表 轻音乐 中国民乐 音乐盒 中文金曲榜...<b>MP3</b>铃声 热辣彩图 亲情...</p></li>\r\n					<li><a href="http://mp3.tom.com" target="_blank"><b>MP3</b>音乐搜索_TOM搜索引擎</a><p>TOM-<b>MP3</b>搜索,包括华语流行、欧美经典、影视金曲、怀旧老<wbr/>歌、DJ音乐、乐队组合、摇滚前线、热门flash、粤语金曲、<wbr/>民歌军歌、校园民谣、动漫游戏歌曲。</p></li>\r\n					<li><a href="http://www.ndip.com.cn" target="_blank"><b>MP3</b>-音乐网址大全</a><p>10万首<b>MP3</b>歌曲 动漫FLASH欣赏 200位歌手音乐MIDI 音乐极限 qq163流行音乐 DJ99在线音乐网 音乐试听 TOM音乐 九天音乐...百度<b>MP3</b>搜索 星星音乐谷 中国音乐在线 天虎音乐网 中华好歌网 古城热线-音乐频道...</p></li>\r\n					<li><a href="http://mp3.pcpop.com" target="_blank">MP3_MP3播放器_最新<b>MP3</b>报价_泡泡网<b>MP3</b>频道</a><p><b>MP3</b> 品牌 三星 索尼 苹果 纽曼 魅族 昂达 艾利和 爱国者 台电 蓝魔 朗科 海畅 创新 优百特 微星 清华紫光 德劲 iAUDIO 长虹ZARVA MPIO OPPO 多彩 明基 清华同方 驰为 琥珀 艾诺 澳维力 更多...</p></li>\r\n					</ul>	\r\n					<p id="more" align="right"><a href="http://www.yahoo.cn/s?p=mp3&pid=hp&v=web" class="more" target="_blank">更多内容</a></p></div>\r\n				</div>\r\n\r\n			</div>\r\n			<div style="display:none" id="searchBoxCode"></div>\r\n			<div class="crnr_bl" id="pcbottom"><div class="crnr_br"></div></div>\r\n		</div>\r\n\r\n		<form method="post"  id="mobForm" onSubmit="return validateForm();">\r\n			<input type="hidden" id="detail" value=';
//line 72 "recomment_2.tt"
output += stash.get(['postlist', 0, 'blob_client_data1', 0]);
output += '>\r\n			<p style="visibility:hidden">\r\n<input type=hidden name=.scrumb value="gCx.70Gb5Ec" >\r\n<input type=hidden name="flow3" value="">\r\n<input type=hidden name="args" value="ei=UTF-8&mobid=U0SOrUX8vR4IoAALpwZpc">\r\n<input type=hidden name="mobid" value="U0SOrUX8vR4IoAALpwZpc">\r\n			</p>\r\n\r\n			<div class=bd id="topFormFields">\r\n				<h2>显示</h2>\r\n\r\n				<!--h2>1. 搜索框尺寸</h2-->\r\n								<ul id="searchBoxWidth">\r\n					<li class="custom">\r\n						<input id="prvwSizeWide" type="radio" name="mob_sb_cma_width" value=""  >\r\n						<label for="prvwSizeWide"> 宽幅<em>468×250</em></label>\r\n					</li>\r\n					<li class="custom">\r\n						<input id="prvwSizeNarrow" type="radio" name="mob_sb_cma_width" value=""  >\r\n						<label for="prvwSizeNarrow"> 窄幅 <em>160×600</em></label>\r\n					</li>\r\n					<li>\r\n						<input id="prvwSizeCustom" type="radio" name="mob_sb_cma_width" checked="checked"><label for="prvwSizeCustom"> 自定义<em></em></label>\r\n					</li>\r\n					<li class="custom">\r\n						<input type="text" name="mob_sb_cma_width" id="sb_customBoxWidth" value="550" ><label for="sb_customBoxWidth">像素</label>×<input type="text" name="mob_sb_cma_width" id="sb_customBoxHeight" value="550" ><label for="sb_customBoxHeight">像素</label>\r\n					</li>\r\n				</ul>\r\n			</div>\r\n			<input name="mob_sb_cma_width" id="finalWidth" type="hidden" />\r\n			<input name="mob_sb_cma_height" id="finalHeight" type="hidden" />\r\n\r\n			<div class=bd id="formFields">\r\n				<div>\r\n					<ul>\r\n					</ul>\r\n				</div>\r\n				<h2>配色</h2>\r\n				<div id="colors">   \r\n					<ul>\r\n						<li>\r\n							<div id="bgColorSample" class="colorSample" style="background:#EEEEEE;"  ></div>\r\n							<label for="bgColor">背景颜色：</label>\r\n							# <input maxlength="6" id="bgColor" type="text" name="mob_sb_cma_bgcolor" value="EEEEEE">\r\n						</li>\r\n						<li>\r\n							<div id="ppColorSample" class="colorSample" style="background:#000000" ></div>\r\n							<label for="ppColor">摘要颜色：</label>\r\n							# <input maxlength="6" id="ppColor" type="text" name="mob_sb_cma_concolor" value="000000" >\r\n						</li>\r\n						<li>\r\n							<div id="baColorSample" class="colorSample" style="background:#0000FF" ></div>\r\n							<label for="baColor">链接颜色：</label>\r\n							# <input maxlength="6" id="baColor" type="text" name="mob_sb_cma_lnkcolor" value="0000FF">\r\n						</li>\r\n						<li><label>字体大小：</label>\r\n							<select name="mob_sb_cma_txtsize" id="fontsize">\r\n					<option value="0" >小</option>\r\n					<option value="1" >中</option>\r\n					<option value="2" selected>大</option>\r\n							</select></li>\r\n						<li><label>字体样式：</label>\r\n							<select name="mob_sb_cma_txtfont" id="fontfamily">\r\n<option value="arial" >Arial</option>\r\n<option value="bookman" >Bookman Old Style</option>\r\n<option value="courier" >Courier</option>\r\n<option value="garamond" >Garamond</option>\r\n<option value="lucida console" >Lucida Console</option>\r\n<option value="symbol" >Symbol</option>\r\n<option value="tahoma" >Tahoma</option>\r\n<option value="times new roman" selected>Times New Roman</option>\r\n<option value="verdana" >Verdana</option>\r\n							</select>\r\n						</li>\r\n					</ul>\r\n				</div>\r\n</div>\r\n\r\n\r\n	';
}
else {
output += '\r\n';
//line 158 "recomment_2.tt"
if (stash.get(['a', 0, 66, 0]) == '10') {
output += '\r\n';
//line 153 "recomment_2.tt"
stash.set('classname', 'small');

output += '\r\n';
}
else if (stash.get(['a', 0, 66, 0]) == '11') {
output += '\r\n';
//line 155 "recomment_2.tt"
stash.set('classname', 'normal');

output += '\r\n';
}
else {
output += '\r\n';
//line 157 "recomment_2.tt"
stash.set('classname', 'big');

output += '\r\n';
}

output += '\r\n				<h2>推荐文章展现预览</h2>\r\n				<style>.ymobSearchBox{\r\n								background-color:#';
//line 161 "recomment_2.tt"
output += stash.get(['a', 0, 63, 0, 'substr', [ 1 ]]);
output += ';;\r\n							  color:#';
//line 162 "recomment_2.tt"
output += stash.get(['a', 0, 64, 0, 'substr', [ 1 ]]);
output += ';}\r\n						     .ymobSearchBox{font-family:';
//line 163 "recomment_2.tt"
output += stash.get(['a', 0, 67, 0, 'substr', [ 1 ]]);
output += ';}\r\n							 .small{font-size:12px;}\r\n							 .normal{font-size:14px;}\r\n							 .big{font-size:16px;}\r\n							 .small a{font-size:14px;}\r\n							 .normal a{font-size:16px;}\r\n							 .big a{font-size:18px;}\r\n							 .more{font-size:14px;}\r\n						     #previewCode2 a{color:#';
//line 171 "recomment_2.tt"
output += stash.get(['a', 0, 65, 0, 'substr', [ 1 ]]);
output += ';}\r\n							 .ymobSearchBox b{font-weight:normal;}\r\n							 .ymobSearchBox ul li{margin-bottom:5px;\r\n							 padding-left:10px;}</style>				<div class="ymobSearchBox" title="主题词展现预览" id="previewCode2">\r\n					<ul id="list" class=';
//line 175 "recomment_2.tt"
output += stash.get('classname');
output += '>\r\n					<li><a href="http://music.cn.yahoo.com" target="_blank">雅虎音乐搜索</a><p>雅虎音乐搜索提供新歌飙升榜、热搜歌曲榜、流行金曲榜、<b>MP3</b>搜<wbr/>索等内容。</p></li>\r\n					<li><a href="http://mp3.baidu.com" target="_blank">百度<b>MP3</b>——全球最大中文<b>MP3</b>搜索引擎</a><p>新闻  网 页 贴 吧 知 道 <b>MP3</b> 图片  视 频 帮助 视频 歌词 全部音乐 <b>mp3</b> rm wma 其它 铃声 彩铃 <b>MP3</b>榜单家族 <b>MP3</b>排行榜 歌曲TOP500 歌曲列表 轻音乐 中国民乐 音乐盒 中文金曲榜...<b>MP3</b>铃声 热辣彩图 亲情...</p></li>\r\n					<li><a href="http://mp3.tom.com" target="_blank"><b>MP3</b>音乐搜索_TOM搜索引擎</a><p>TOM-<b>MP3</b>搜索,包括华语流行、欧美经典、影视金曲、怀旧老<wbr/>歌、DJ音乐、乐队组合、摇滚前线、热门flash、粤语金曲、<wbr/>民歌军歌、校园民谣、动漫游戏歌曲。</p></li>\r\n					<li><a href="http://www.ndip.com.cn" target="_blank"><b>MP3</b>-音乐网址大全</a><p>10万首<b>MP3</b>歌曲 动漫FLASH欣赏 200位歌手音乐MIDI 音乐极限 qq163流行音乐 DJ99在线音乐网 音乐试听 TOM音乐 九天音乐...百度<b>MP3</b>搜索 星星音乐谷 中国音乐在线 天虎音乐网 中华好歌网 古城热线-音乐频道...</p></li>\r\n					<li><a href="http://mp3.pcpop.com" target="_blank">MP3_MP3播放器_最新<b>MP3</b>报价_泡泡网<b>MP3</b>频道</a><p><b>MP3</b> 品牌 三星 索尼 苹果 纽曼 魅族 昂达 艾利和 爱国者 台电 蓝魔 朗科 海畅 创新 优百特 微星 清华紫光 德劲 iAUDIO 长虹ZARVA MPIO OPPO 多彩 明基 清华同方 驰为 琥珀 艾诺 澳维力 更多...</p></li>\r\n					</ul>	\r\n					<p id="more" align="right"><a href="http://www.yahoo.cn/s?p=mp3&pid=hp&v=web" class="more" target="_blank">更多内容</a></p></div>\r\n				</div>\r\n\r\n			</div>\r\n			<div style="display:none" id="searchBoxCode"></div>\r\n			<div class="crnr_bl" id="pcbottom"><div class="crnr_br"></div></div>\r\n		</div>\r\n\r\n		<form method="post"  id="mobForm" onSubmit="return validateForm()">\r\n			<input type="hidden" id="detail" value=';
//line 191 "recomment_2.tt"
output += stash.get(['postlist', 0, 'blob_client_data1', 0]);
output += '>\r\n\r\n			<div class=bd id="topFormFields">\r\n				<h2>显示</h2>\r\n\r\n				<!--h2>1. 搜索框尺寸</h2-->\r\n								<ul id="searchBoxWidth">\r\n					<li class="custom">\r\n						<input id="prvwSizeWide" type="radio" name="mob_sb_cma_width" value=""  ';
//line 199 "recomment_2.tt"
output += stash.get('f1');
output += '>\r\n						<label for="prvwSizeWide"> 宽幅<em>468×250</em></label>\r\n					</li>\r\n					<li class="custom">\r\n						<input id="prvwSizeNarrow" type="radio" name="mob_sb_cma_width" value=""  ';
//line 203 "recomment_2.tt"
output += stash.get('f2');
output += '>\r\n						<label for="prvwSizeNarrow"> 窄幅 <em>160×600</em></label>\r\n					</li>\r\n					<li>\r\n						<input id="prvwSizeCustom" type="radio" name="mob_sb_cma_width" ';
//line 207 "recomment_2.tt"
output += stash.get('f3');
output += '><label for="prvwSizeCustom"> 自定义<em></em></label>\r\n					</li>\r\n					<li class="custom">\r\n						<input type="text" name="mob_sb_cma_width" id="sb_customBoxWidth" value="';
//line 210 "recomment_2.tt"
if (stash.get('f3') == 'checked') {
//line 210 "recomment_2.tt"
output += stash.get(['a', 0, 61, 0, 'substr', [ 1 ]]);
}

output += '" ><label for="sb_customBoxWidth">像素</label>×<input type="text" name="mob_sb_cma_width" id="sb_customBoxHeight" value="';
//line 210 "recomment_2.tt"
if (stash.get('f3') == 'checked') {
//line 210 "recomment_2.tt"
output += stash.get(['a', 0, 62, 0, 'substr', [ 1 ]]);
}

output += '" ><label for="sb_customBoxHeight">像素</label>\r\n					</li>\r\n				</ul>\r\n			</div>\r\n			<input name="mob_sb_cma_width" id="finalWidth" type="hidden" />\r\n			<input name="mob_sb_cma_height" id="finalHeight" type="hidden" />\r\n\r\n			<div class=bd id="formFields">\r\n				<div>\r\n					<ul>\r\n					</ul>\r\n				</div>\r\n				<h2>配色</h2>\r\n				<div id="colors">   \r\n					<ul>\r\n						<li>\r\n							<div id="bgColorSample" class="colorSample" style="background:#';
//line 226 "recomment_2.tt"
output += stash.get(['a', 0, 63, 0, 'substr', [ 1 ]]);
output += ';"  ></div>\r\n							<label for="bgColor">背景颜色：</label>\r\n							# <input maxlength="6" id="bgColor" type="text" name="mob_sb_cma_bgcolor" value="';
//line 228 "recomment_2.tt"
output += stash.get(['a', 0, 63, 0, 'substr', [ 1 ]]);
output += '">\r\n						</li>\r\n						<li>\r\n							<div id="ppColorSample" class="colorSample" style="background:#';
//line 231 "recomment_2.tt"
output += stash.get(['a', 0, 64, 0, 'substr', [ 1 ]]);
output += '" ></div>\r\n							<label for="ppColor">摘要颜色：</label>\r\n							# <input maxlength="6" id="ppColor" type="text" name="mob_sb_cma_concolor" value="';
//line 233 "recomment_2.tt"
output += stash.get(['a', 0, 64, 0, 'substr', [ 1 ]]);
output += '" >\r\n						</li>\r\n						<li>\r\n							<div id="baColorSample" class="colorSample" style="background:#';
//line 236 "recomment_2.tt"
output += stash.get(['a', 0, 65, 0, 'substr', [ 1 ]]);
output += '" ></div>\r\n							<label for="baColor">链接颜色：</label>\r\n							# <input maxlength="6" id="baColor" type="text" name="mob_sb_cma_lnkcolor" value="';
//line 238 "recomment_2.tt"
output += stash.get(['a', 0, 65, 0, 'substr', [ 1 ]]);
output += '">\r\n						</li>\r\n						<li><label>字体大小：</label>\r\n							<select name="mob_sb_cma_txtsize" id="fontsize">\r\n					<option value="0" ';
//line 242 "recomment_2.tt"
if (stash.get(['a', 0, 66, 0]) == '10') {
output += 'selected';
}

output += '>小</option>\r\n					<option value="1" ';
//line 243 "recomment_2.tt"
if (stash.get(['a', 0, 66, 0]) == '11') {
output += 'selected';
}

output += '>中</option>\r\n					<option value="2" ';
//line 244 "recomment_2.tt"
if (stash.get(['a', 0, 66, 0]) == '12') {
output += 'selected';
}

output += '>大</option>\r\n							</select></li>\r\n						<li><label>字体样式：</label>\r\n							<select name="mob_sb_cma_txtfont" id="fontfamily">\r\n							<option value="arial" ';
//line 248 "recomment_2.tt"
if (stash.get(['a', 0, 67, 0]) == '1arial') {
output += 'selected';
}

output += '>Arial</option>\r\n							<option value="bookman" ';
//line 249 "recomment_2.tt"
if (stash.get(['a', 0, 67, 0]) == '1bookman') {
output += 'selected';
}

output += '>Bookman Old Style</option>\r\n							<option value="courier" ';
//line 250 "recomment_2.tt"
if (stash.get(['a', 0, 67, 0]) == '1courier') {
output += 'selected';
}

output += '>Courier</option>\r\n							<option value="garamond" ';
//line 251 "recomment_2.tt"
if (stash.get(['a', 0, 67, 0]) == '1garamond') {
output += 'selected';
}

output += '>Garamond</option>\r\n							<option value="lucida console" ';
//line 252 "recomment_2.tt"
if (stash.get(['a', 0, 67, 0]) == '1lucida console') {
output += 'selected';
}

output += '>Lucida Console</option>\r\n							<option value="symbol" ';
//line 253 "recomment_2.tt"
if (stash.get(['a', 0, 67, 0]) == '1symbol') {
output += 'selected';
}

output += '>Symbol</option>\r\n							<option value="tahoma" ';
//line 254 "recomment_2.tt"
if (stash.get(['a', 0, 67, 0]) == '1tahoma') {
output += 'selected';
}

output += '>Tahoma</option>\r\n							<option value="times new roman" ';
//line 255 "recomment_2.tt"
if (stash.get(['a', 0, 67, 0]) == '1times new roman') {
output += 'selected';
}

output += '>Times New Roman</option>\r\n							<option value="verdana" ';
//line 256 "recomment_2.tt"
if (stash.get(['a', 0, 67, 0]) == '1verdana') {
output += 'selected';
}

output += '>Verdana</option>							\r\n							</select>\r\n						</li>\r\n					</ul>\r\n				</div>\r\n</div>\r\n				\r\n				\r\n	';
}

output += '				\r\n				<div id="colorPicker">\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'330000\')" title="330000" style="background:#330000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'333300\')" title="333300" style="background:#333300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'336600\')" title="336600" style="background:#336600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'339900\')" title="339900" style="background:#339900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CC00\')" title="33CC00" style="background:#33cc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FF00\')" title="33FF00" style="background:#33ff00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FF00\')" title="66FF00" style="background:#66ff00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CC00\')" title="66CC00" style="background:#66cc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'669900\')" title="669900" style="background:#669900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'666600\')" title="666600" style="background:#666600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'663300\')" title="663300" style="background:#663300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'660000\')" title="660000" style="background:#660000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF0000\')" title="FF0000" style="background:#ff0000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF3300\')" title="FF3300" style="background:#ff3300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF6600\')" title="FF6600" style="background:#ff6600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF9900\')" title="FF9900" style="background:#ff9900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCC00\')" title="FFCC00" style="background:#ffcc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFF00\')" title="FFFF00" style="background:#ffff00"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'330033\')" title="330033" style="background:#330033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'333333\')" title="333333" style="background:#333333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'336633\')" title="336633" style="background:#336633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'339933\')" title="339933" style="background:#339933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CC33\')" title="33CC33" style="background:#33cc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FF33\')" title="33FF33" style="background:#33ff33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FF33\')" title="66FF33" style="background:#66ff33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CC33\')" title="66CC33" style="background:#66cc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'669933\')" title="669933" style="background:#669933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'666633\')" title="666633" style="background:#666633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'663333\')" title="663333" style="background:#663333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'660033\')" title="660033" style="background:#660033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF0033\')" title="FF0033" style="background:#ff0033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF3333\')" title="FF3333" style="background:#ff3333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF6633\')" title="FF6633" style="background:#ff6633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF9933\')" title="FF9933" style="background:#ff9933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCC33\')" title="FFCC33" style="background:#ffcc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFF33\')" title="FFFF33" style="background:#ffff33"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'330066\')" title="330066" style="background:#330066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'333366\')" title="333366" style="background:#333366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'336666\')" title="336666" style="background:#336666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'339966\')" title="339966" style="background:#339966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CC66\')" title="33CC66" style="background:#33cc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FF66\')" title="33FF66" style="background:#33ff66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FF66\')" title="66FF66" style="background:#66ff66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CC66\')" title="66CC66" style="background:#66cc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'669966\')" title="669966" style="background:#669966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'666666\')" title="666666" style="background:#666666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'663366\')" title="663366" style="background:#663366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'660066\')" title="660066" style="background:#660066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF0066\')" title="FF0066" style="background:#ff0066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF3366\')" title="FF3366" style="background:#ff3366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF6666\')" title="FF6666" style="background:#ff6666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF9966\')" title="FF9966" style="background:#ff9966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCC66\')" title="FFCC66" style="background:#ffcc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFF66\')" title="FFFF66" style="background:#ffff66"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'330099\')" title="330099" style="background:#330099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'333399\')" title="333399" style="background:#333399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'336699\')" title="336699" style="background:#336699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'339999\')" title="339999" style="background:#339999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CC99\')" title="33CC99" style="background:#33cc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FF99\')" title="33FF99" style="background:#33ff99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FF99\')" title="66FF99" style="background:#66ff99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CC99\')" title="66CC99" style="background:#66cc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'669999\')" title="669999" style="background:#669999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'666699\')" title="666699" style="background:#666699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'663399\')" title="663399" style="background:#663399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'660099\')" title="660099" style="background:#660099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF0099\')" title="FF0099" style="background:#ff0099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF3399\')" title="FF3399" style="background:#ff3399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF6699\')" title="FF6699" style="background:#ff6699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF9999\')" title="FF9999" style="background:#ff9999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCC99\')" title="FFCC99" style="background:#ffcc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFF99\')" title="FFFF99" style="background:#ffff99"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'3300CC\')" title="3300CC" style="background:#3300cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3333CC\')" title="3333CC" style="background:#3333cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3366CC\')" title="3366CC" style="background:#3366cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3399CC\')" title="3399CC" style="background:#3399cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CCCC\')" title="33CCCC" style="background:#33cccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FFCC\')" title="33FFCC" style="background:#33ffcc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FFCC\')" title="66FFCC" style="background:#66ffcc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CCCC\')" title="66CCCC" style="background:#66cccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6699CC\')" title="6699CC" style="background:#6699cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6666CC\')" title="6666CC" style="background:#6666cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6633CC\')" title="6633CC" style="background:#6633cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6600CC\')" title="6600CC" style="background:#6600cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF00CC\')" title="FF00CC" style="background:#ff00cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF33CC\')" title="FF33CC" style="background:#ff33cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF66CC\')" title="FF66CC" style="background:#ff66cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF99CC\')" title="FF99CC" style="background:#ff99cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCCCC\')" title="FFCCCC" style="background:#ffcccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFFCC\')" title="FFFFCC" style="background:#ffffcc"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'3300FF\')" title="3300FF" style="background:#3300ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3333FF\')" title="3333FF" style="background:#3333ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3366FF\')" title="3366FF" style="background:#3366ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3399FF\')" title="3399FF" style="background:#3399ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CCFF\')" title="33CCFF" style="background:#33ccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FFFF\')" title="33FFFF" style="background:#33ffff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FFFF\')" title="66FFFF" style="background:#66ffff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CCFF\')" title="66CCFF" style="background:#66ccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6699FF\')" title="6699FF" style="background:#6699ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6666FF\')" title="6666FF" style="background:#6666ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6633FF\')" title="6633FF" style="background:#6633ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6600FF\')" title="6600FF" style="background:#6600ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF00FF\')" title="FF00FF" style="background:#ff00ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF33FF\')" title="FF33FF" style="background:#ff33ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF66FF\')" title="FF66FF" style="background:#ff66ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF99FF\')" title="FF99FF" style="background:#ff99ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCCFF\')" title="FFCCFF" style="background:#ffccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title="FFFFFF" style="background:#ffffff"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'0000FF\')" title="0000FF" style="background:#0000ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0033FF\')" title="0033FF" style="background:#0033ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0066FF\')" title="0066FF" style="background:#0066ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0099FF\')" title="0099FF" style="background:#0099ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CCFF\')" title="00CCFF" style="background:#00ccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FFFF\')" title="00FFFF" style="background:#00ffff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FFFF\')" title="99FFFF" style="background:#99ffff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CCFF\')" title="99CCFF" style="background:#99ccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9999FF\')" title="9999FF" style="background:#9999ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9966FF\')" title="9966FF" style="background:#9966ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9933FF\')" title="9933FF" style="background:#9933ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9900FF\')" title="9900FF" style="background:#9900ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC00FF\')" title="CC00FF" style="background:#cc00ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC33FF\')" title="CC33FF" style="background:#cc33ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC66FF\')" title="CC66FF" style="background:#cc66ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC99FF\')" title="CC99FF" style="background:#cc99ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCCFF\')" title="CCCCFF" style="background:#ccccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFFFF\')" title="CCFFFF" style="background:#ccffff"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'0000CC\')" title="0000CC" style="background:#0000cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0033CC\')" title="0033CC" style="background:#0033cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0066CC\')" title="0066CC" style="background:#0066cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0099CC\')" title="0099CC" style="background:#0099cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CCCC\')" title="00CCCC" style="background:#00cccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FFCC\')" title="00FFCC" style="background:#00ffcc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FFCC\')" title="99FFCC" style="background:#99ffcc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CCCC\')" title="99CCCC" style="background:#99cccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9999CC\')" title="9999CC" style="background:#9999cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9966CC\')" title="9966CC" style="background:#9966cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9933CC\')" title="9933CC" style="background:#9933cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9900CC\')" title="9900CC" style="background:#9900cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC00CC\')" title="CC00CC" style="background:#cc00cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC33CC\')" title="CC33CC" style="background:#cc33cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC66CC\')" title="CC66CC" style="background:#cc66cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC99CC\')" title="CC99CC" style="background:#cc99cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCCCC\')" title="CCCCCC" style="background:#cccccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFFCC\')" title="CCFFCC" style="background:#ccffcc"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'000099\')" title="000099" style="background:#000099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'003399\')" title="003399" style="background:#003399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'006699\')" title="006699" style="background:#006699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'009999\')" title="009999" style="background:#009999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CC99\')" title="00CC99" style="background:#00cc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FF99\')" title="00FF99" style="background:#00ff99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FF99\')" title="99FF99" style="background:#99ff99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CC99\')" title="99CC99" style="background:#99cc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'999999\')" title="999999" style="background:#999999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'996699\')" title="996699" style="background:#996699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'993399\')" title="993399" style="background:#993399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'990099\')" title="990099" style="background:#990099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC0099\')" title="CC0099" style="background:#cc0099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC3399\')" title="CC3399" style="background:#cc3399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC6699\')" title="CC6699" style="background:#cc6699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC9999\')" title="CC9999" style="background:#cc9999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCC99\')" title="CCCC99" style="background:#cccc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFF99\')" title="CCFF99" style="background:#ccff99"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'000066\')" title="000066" style="background:#000066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'003366\')" title="003366" style="background:#003366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'006666\')" title="006666" style="background:#006666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'009966\')" title="009966" style="background:#009966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CC66\')" title="00CC66" style="background:#00cc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FF66\')" title="00FF66" style="background:#00ff66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FF66\')" title="99FF66" style="background:#99ff66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CC66\')" title="99CC66" style="background:#99cc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'999966\')" title="999966" style="background:#999966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'996666\')" title="996666" style="background:#996666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'993366\')" title="993366" style="background:#993366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'990066\')" title="990066" style="background:#990066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC0066\')" title="CC0066" style="background:#cc0066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC3366\')" title="CC3366" style="background:#cc3366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC6666\')" title="CC6666" style="background:#cc6666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC9966\')" title="CC9966" style="background:#cc9966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCC66\')" title="CCCC66" style="background:#cccc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFF66\')" title="CCFF66" style="background:#ccff66"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'000033\')" title="000033" style="background:#000033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'003333\')" title="003333" style="background:#003333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'006633\')" title="006633" style="background:#006633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'009933\')" title="009933" style="background:#009933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CC33\')" title="00CC33" style="background:#00cc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FF33\')" title="00FF33" style="background:#00ff33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FF33\')" title="99FF33" style="background:#99ff33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CC33\')" title="99CC33" style="background:#99cc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'999933\')" title="999933" style="background:#999933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'996633\')" title="996633" style="background:#996633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'993333\')" title="993333" style="background:#993333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'990033\')" title="990033" style="background:#990033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC0033\')" title="CC0033" style="background:#cc0033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC3333\')" title="CC3333" style="background:#cc3333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC6633\')" title="CC6633" style="background:#cc6633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC9933\')" title="CC9933" style="background:#cc9933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCC33\')" title="CCCC33" style="background:#cccc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFF33\')" title="CCFF33" style="background:#ccff33"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'000000\')" title="000000" style="background:#000000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'003300\')" title="003300" style="background:#003300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'006600\')" title="006600" style="background:#006600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'009900\')" title="009900" style="background:#009900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CC00\')" title="00CC00" style="background:#00cc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FF00\')" title="00FF00" style="background:#00ff00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FF00\')" title="99FF00" style="background:#99ff00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CC00\')" title="99CC00" style="background:#99cc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'999900\')" title="999900" style="background:#999900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'996600\')" title="996600" style="background:#996600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'993300\')" title="993300" style="background:#993300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'990000\')" title="990000" style="background:#990000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC0000\')" title="CC0000" style="background:#cc0000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC3300\')" title="CC3300" style="background:#cc3300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC6600\')" title="CC6600" style="background:#cc6600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC9900\')" title="CC9900" style="background:#cc9900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCC00\')" title="CCCC00" style="background:#cccc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFF00\')" title="CCFF00" style="background:#ccff00"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'000000\')" title="000000" style="background:#000000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'111111\')" title="111111" style="background:#111111"></li>\r\n<li onclick="YMOB.chooseThisColor(\'222222\')" title="222222" style="background:#222222"></li>\r\n<li onclick="YMOB.chooseThisColor(\'333333\')" title="333333" style="background:#333333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'444444\')" title="444444" style="background:#444444"></li>\r\n<li onclick="YMOB.chooseThisColor(\'555555\')" title="555555" style="background:#555555"></li>\r\n<li onclick="YMOB.chooseThisColor(\'666666\')" title="666666" style="background:#666666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'777777\')" title="777777" style="background:#777777"></li>\r\n<li onclick="YMOB.chooseThisColor(\'888888\')" title="888888" style="background:#888888"></li>\r\n<li onclick="YMOB.chooseThisColor(\'999999\')" title="999999" style="background:#999999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'AAAAAA\')" title="AAAAAA" style="background:#aaaaaa"></li>\r\n<li onclick="YMOB.chooseThisColor(\'BBBBBB\')" title="BBBBBB" style="background:#bbbbbb"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCCCC\')" title="CCCCCC" style="background:#cccccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'DDDDDD\')" title="DDDDDD" style="background:#dddddd"></li>\r\n<li onclick="YMOB.chooseThisColor(\'EEEEEE\')" title="EEEEEE" style="background:#eeeeee"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title="FFFFFF" style="background:#ffffff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'7E9DB9\')" title="7E9DB9" style="background:#7E9DB9"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title="FFFFFF" style="background:#FFFFFF"></li>\r\n</ul>\r\n				</div>\r\n							</div>\r\n			<br>\r\n			<br>\r\n\r\n<!-- END .bd -->\r\n    <div id="buttons">\r\n    <input type="button" onClick="return validateForm();"  value="保存修改">\r\n    <input type="button" value="取消" onClick="window.location=\'index.html\'"></div>\r\n    </form>\r\n</div>\r\n</div>\r\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['search_1.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 1 "search_1.tt"
stash.set('a', [ ]);
//line 1 "search_1.tt"
stash.set('b', [ ]);
//line 2 "search_1.tt"
stash.set('tmp', stash.get(['postlist', 0, 'blob_client_data1', 0]));
//line 3 "search_1.tt"
stash.set('detail', stash.get(['tmp', 0, 'replace', [ '\', '~1' ]]));
//line 6 "search_1.tt"

// FOREACH 
(function() {
    var list = stash.get(['detail', 0, 'split', [ '~' ]]);
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['dir'] = value;
output += '\r\n  ';
//line 5 "search_1.tt"
stash.set('b', stash.get(['a', 0, 'push', [ stash.get('dir') ]]));;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\r\n <div class="crnr_tl"><div class="crnr_tr"></div></div>\r\n<form method="post" id="mobForm" class="yq"  onsubmit="return validateForm();">\r\n<input type="hidden" id="detail" value=';
//line 10 "search_1.tt"
output += stash.get(['postlist', 0, 'blob_client_data1', 0]);
output += '>\r\n		<div class="yui-b">\r\n			<div class=bd id="formFields">\r\n				<div class="error" id="logoErrorDiv" style="display:none"></div>\r\n				<h2>名称\r\n					<input maxlength="20" type="text" size="80" name="mob_title" id="mob_title" value="';
//line 15 "search_1.tt"
output += stash.get(['postlist', 0, 'title', 0]);
output += '" onchange="YMOBV.checkMobTitle();"/></h2>\r\n					<div class="diy_co3"><em> * 必填项 </em> 该名称为搜索框的标识,供您方便管理,您网站的用户不会看到它。</div>\r\n				</div>\r\n			</div>\r\n			<div class="hline"></div>\r\n			<div class="diy_co3">\r\n				<!--div class="diy_co3t">选择搜索类型</div-->\r\n				<h2> 选择搜索类型</h2>\r\n\r\n<div id="verticalError" style="display:none;" class="error">请至少选中一项</div>\r\n<span style="height:1px;"></span>\r\n				<div class="diy_co3c">\r\n\r\n					<h1><input class="selectVertical" id="webSearch" name="mob_verticals" type="checkbox" value="web" ';
//line 28 "search_1.tt"
if (stash.get(['a', 0, 1, 0, 'substr', [ 0, 4 ]]) == '1web') {
output += 'checked="checked"';
}

output += '/>&nbsp;<label for="webSearch" class="pointer">全网搜索</label>&nbsp;&nbsp;&nbsp;<a id="webOptionsTrigger" style="cursor:pointer" href="#" class="show">[个性化定制]</a></h1>\r\n					\r\n					<div id="webSearchOption" class="diy_co3c" style="display:none">\r\n					<p>\r\n					输入您希望搜索的网址,每条网址单独一行。<br />网页搜索基于您输入的网址进行搜索,如不填写将在全网中搜索。                                                                                                                             \r\n					<textarea rows="3" name="mob_web_require_sites" id="mob_web_include_sites">';
//line 33 "search_1.tt"
output += stash.get(['a', 0, 14, 0, 'substr', [ 1 ]]);
output += '</textarea>\r\n					添加与您网站相关的关键词,用“逗号”分开。<br />这些关键词将被包含于每次搜索中。\r\n					<input id="addSearchTerms" name="mob_web_require_terms" type="text"  value="';
//line 35 "search_1.tt"
output += stash.get(['a', 0, 12, 0, 'substr', [ 1 ]]);
output += '"/>\r\n					添加您排斥的站点,每条网址单独一行。<br />搜索结果不再显示包含如下网址的结果。\r\n					<textarea\r\n					id="mob_web_exclude_sites"\r\n					name="mob_web_exclude_sites"\r\n					cols="30" rows="3">';
//line 40 "search_1.tt"
output += stash.get(['a', 0, 15, 0, 'substr', [ 1 ]]);
output += '</textarea>\r\n					添加您网站的排斥词,用“逗号”分开。<br />搜索结果不再显示包含这些排斥词的条目。\r\n					<input id="excludeSearchTerms" name="mob_web_exclude_terms" type="text" value="';
//line 42 "search_1.tt"
output += stash.get(['a', 0, 13, 0, 'substr', [ 1 ]]);
output += '"/>\r\n					</p>\r\n					</div>\r\n          \r\n					<h1><input class="selectVertical" id="siteSearch" name="mob_verticals" value="site" type="checkbox" ';
//line 46 "search_1.tt"
if (stash.get(['a', 0, 1, 0]) == '1site' || stash.get(['a', 0, 1, 0]) == '1web,site') {
output += 'checked="checked"';
}

output += '/>&nbsp;<label for="siteSearch" class="pointer">站内搜索</label> <em>域名</em><input id="siteSearchUrl" name="mob_site_url" type="text" class="co3cinp"   value="';
//line 46 "search_1.tt"
output += stash.get(['a', 0, 16, 0, 'substr', [ 1 ]]);
output += '"/><p style="display:none" id="siteSearchCau"><strong>* 必填项</strong> 请\r\n输入站内搜索域名。</p></h1>\r\n		\r\n<div id="siteSearchOption" class="diy_co3cb"  style="display: ';
//line 49 "search_1.tt"
if (stash.get(['a', 0, 1, 0]) == '1web' || stash.get(['a', 0, 1, 0]) == '1site') {
output += 'none';
}

output += '">设为默认 <input name="mob_default_vertical" type="radio" value="web" id="websbo" ';
//line 49 "search_1.tt"
if (stash.get(['a', 0, 2, 0]) == '1web') {
output += 'checked="checked"';
}

output += '/>\r\n<label for="websbo">全网搜索</label> <input name="mob_default_vertical" type="radio" value="site" id="sitesbo" ';
//line 50 "search_1.tt"
if (stash.get(['a', 0, 2, 0]) != '1web') {
output += 'checked="checked"';
}

output += '/><label for="sitesbo">站内搜索</label></div>\r\n					<!--}}}end:表3-->\r\n<div id="buttons">\r\n<input type="submit"  value="保存修改" >\r\n<input type="button" value="取消" onClick="window.location=\'index.html\'"></div>\r\n</div>				</div>\r\n				<div class="x"></div>\r\n			</div>\r\n		</form>\r\n<div class="crnr_bl"><div class="crnr_br"></div></div>\r\n		</div>\r\n		</div>\r\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['search_2.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 1 "search_2.tt"
stash.set('a', [ ]);
//line 1 "search_2.tt"
stash.set('b', [ ]);
//line 2 "search_2.tt"
stash.set('tmp', stash.get(['postlist', 0, 'blob_client_data1', 0]));
//line 3 "search_2.tt"
stash.set('detail', stash.get(['tmp', 0, 'replace', [ '\', '~1' ]]));
//line 6 "search_2.tt"

// FOREACH 
(function() {
    var list = stash.get(['detail', 0, 'split', [ '~' ]]);
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['dir'] = value;
output += '\r\n  ';
//line 5 "search_2.tt"
stash.set('b', stash.get(['a', 0, 'push', [ stash.get('dir') ]]));;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '	<div class="crnr_tl"><div class="crnr_tr"></div></div>\r\n\r\n			<div class="yui-b">\r\n\r\n				<div class="previewContainer" id="previewContainer">\r\n					<div class="crnr_tl"><div class="crnr_tr"></div></div>\r\n					<div class="previewContent">\r\n\r\n						<h2>预览</h2>\r\n						<div id="previewCode" title="搜索框预览" class="ymobSearchBox" >\r\n						</div>\r\n\r\n					</div>\r\n					<div style="display:none" id="searchBoxCode"></div>\r\n					<div class="crnr_bl" id="pcbottom"><div class="crnr_br"></div></div>\r\n				</div>\r\n			<form method="post" id="mobForm"  class="yq"  onsubmit="return validateForm();">\r\n			<input type="hidden" id="detail" value=';
//line 24 "search_2.tt"
output += stash.get(['postlist', 0, 'blob_client_data1', 0]);
output += '>\r\n\r\n				<div class=bd id="topFormFields"><br><br>\r\n					<h2>显示</h2>					\r\n				<!--h2>1. 搜索框尺寸</h2-->\r\n				';
//line 29 "search_2.tt"
stash.set('f1', '');
//line 29 "search_2.tt"
stash.set('f2', '');
//line 29 "search_2.tt"
stash.set('f3', '');
//line 29 "search_2.tt"
stash.set('f4', '');
output += '\r\n				';
//line 43 "search_2.tt"
if (stash.get(['a', 0, 6, 0]) == '1300') {
output += '\r\n				';
//line 31 "search_2.tt"
stash.set('f1', 'checked="checked"');

output += '\r\n				';
//line 32 "search_2.tt"
stash.set('f2', '');

output += '\r\n				';
//line 33 "search_2.tt"
stash.set('f3', '');

output += '\r\n				';
}
else if (stash.get(['a', 0, 6, 0]) == '1600') {
output += '\r\n				';
//line 35 "search_2.tt"
stash.set('f2', 'checked="checked"');

output += '\r\n				';
//line 36 "search_2.tt"
stash.set('f1', '');

output += '\r\n				';
//line 37 "search_2.tt"
stash.set('f3', '');

output += '\r\n				';
}
else {
output += '\r\n				';
//line 39 "search_2.tt"
stash.set('f3', 'checked="checked"');

output += '\r\n				';
//line 40 "search_2.tt"
stash.set('f2', '');

output += '\r\n				';
//line 41 "search_2.tt"
stash.set('f1', '');

output += '\r\n				';
//line 42 "search_2.tt"
stash.set('f4', stash.get(['a', 0, 6, 0, 'substr', [ 1 ]]));

output += '\r\n				';
}

output += '\r\n\r\n				<ul id="searchBoxWidth">\r\n					<li>\r\n						<input id="prvwSizeNarrow" type="radio" name="mob_sb_boxwidth" value="narrow" ';
//line 47 "search_2.tt"
output += stash.get('f1');
output += ' >\r\n						<label for="prvwSizeNarrow">竖型<em>300像素</em></label>\r\n					</li>\r\n					<li>\r\n						<input id="prvwSizeWide" type="radio" name="mob_sb_boxwidth" value="wide" ';
//line 51 "search_2.tt"
output += stash.get('f2');
output += ']>\r\n						<label for="prvwSizeWide"> 横幅<em>600像素</em></label>\r\n					</li>\r\n					<li>\r\n						<input id="prvwSizeCustom" type="radio" name="mob_sb_boxwidth" value="custom" ';
//line 55 "search_2.tt"
output += stash.get('f3');
output += '>\r\n						<label for="prvwSizeCustom"> 自定义<em></em> </label>\r\n					</li>\r\n\r\n					<li class="custom">\r\n						<input type="text" name="sb_customBoxWidth" id="sb_customBoxWidth" value="';
//line 60 "search_2.tt"
output += stash.get('f4');
output += '" >\r\n						<label for="sb_customBoxWidth">像素</label>\r\n\r\n						<em>最小: 300像素 &#160; 最大: 600像素</em>\r\n					</li>\r\n				</ul>\r\n				</div>\r\n				<div class=bd id="formFields">\r\n					<div>\r\n						<ul>\r\n								<li class="lgset" id="ylogoStyle">Logo设置： \r\n									<input name="mob_sb_ylogo_style" type="radio"  ';
//line 71 "search_2.tt"
if (stash.get(['a', 0, 40, 0]) == '1default') {
output += ' checked="checked"';
}

output += ' value="default"  id="ylogoStyleDefault" />默认&nbsp;&nbsp;&nbsp;&nbsp;\r\n									<input name="mob_sb_ylogo_style" type="radio"  ';
//line 72 "search_2.tt"
if (stash.get(['a', 0, 40, 0]) == '1white') {
output += ' checked="checked"';
}

output += ' value="white"  id="ylogoStyleWhite" />反白&nbsp;&nbsp;(用于深色背景)&nbsp;&nbsp;&nbsp;&nbsp;\r\n									<input name="mob_sb_ylogo_style" type="radio"  ';
//line 73 "search_2.tt"
if (stash.get(['a', 0, 40, 0]) == '1bg') {
output += '  checked="checked"';
}

output += ' value="bg"  id="ylogoStyleBg" />搜索框背景&nbsp;&nbsp;&nbsp;&nbsp;\r\n									<input name="mob_sb_ylogo_style" type="radio"  value="none" ';
//line 74 "search_2.tt"
if (stash.get(['a', 0, 40, 0]) == '1none') {
output += 'checked="checked"';
}

output += '  id="ylogoStyleNone" />不显示雅虎logo\r\n							</li>\r\n						</ul>\r\n					</div>\r\n				<h2>配色</h2>\r\n<div id="colors">   \r\n	<ul>\r\n		<li>\r\n			<div id="bgColorSample" class="colorSample" style="background:#';
//line 82 "search_2.tt"
output += stash.get(['a', 0, 31, 0, 'substr', [ 1 ]]);
output += ';"  ></div>\r\n			<label for="bgColor">背景颜色：</label>\r\n			# <input maxlength="6" id="bgColor" type="text" name="mob_sb_bg_color" value="';
//line 84 "search_2.tt"
output += stash.get(['a', 0, 31, 0, 'substr', [ 1 ]]);
output += '">\r\n		</li>\r\n		<li>\r\n			<div id="bcColorSample" class="colorSample" style="background:#';
//line 87 "search_2.tt"
output += stash.get(['a', 0, 32, 0, 'substr', [ 1 ]]);
output += '" ></div>\r\n			<label for="bcColor">边框颜色：</label>\r\n			# <input maxlength="6" id="bcColor" type="text" name="mob_sb_border_color" value="';
//line 89 "search_2.tt"
output += stash.get(['a', 0, 32, 0, 'substr', [ 1 ]]);
output += '">\r\n		</li>	\r\n		<li>\r\n	</ul>\r\n</div>\r\n</div>\r\n	<div id="colorPicker">\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'330000\')" title="330000" style="background:#330000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'333300\')" title="333300" style="background:#333300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'336600\')" title="336600" style="background:#336600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'339900\')" title="339900" style="background:#339900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CC00\')" title="33CC00" style="background:#33cc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FF00\')" title="33FF00" style="background:#33ff00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FF00\')" title="66FF00" style="background:#66ff00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CC00\')" title="66CC00" style="background:#66cc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'669900\')" title="669900" style="background:#669900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'666600\')" title="666600" style="background:#666600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'663300\')" title="663300" style="background:#663300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'660000\')" title="660000" style="background:#660000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF0000\')" title="FF0000" style="background:#ff0000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF3300\')" title="FF3300" style="background:#ff3300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF6600\')" title="FF6600" style="background:#ff6600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF9900\')" title="FF9900" style="background:#ff9900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCC00\')" title="FFCC00" style="background:#ffcc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFF00\')" title="FFFF00" style="background:#ffff00"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'330033\')" title="330033" style="background:#330033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'333333\')" title="333333" style="background:#333333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'336633\')" title="336633" style="background:#336633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'339933\')" title="339933" style="background:#339933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CC33\')" title="33CC33" style="background:#33cc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FF33\')" title="33FF33" style="background:#33ff33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FF33\')" title="66FF33" style="background:#66ff33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CC33\')" title="66CC33" style="background:#66cc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'669933\')" title="669933" style="background:#669933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'666633\')" title="666633" style="background:#666633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'663333\')" title="663333" style="background:#663333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'660033\')" title="660033" style="background:#660033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF0033\')" title="FF0033" style="background:#ff0033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF3333\')" title="FF3333" style="background:#ff3333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF6633\')" title="FF6633" style="background:#ff6633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF9933\')" title="FF9933" style="background:#ff9933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCC33\')" title="FFCC33" style="background:#ffcc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFF33\')" title="FFFF33" style="background:#ffff33"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'330066\')" title="330066" style="background:#330066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'333366\')" title="333366" style="background:#333366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'336666\')" title="336666" style="background:#336666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'339966\')" title="339966" style="background:#339966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CC66\')" title="33CC66" style="background:#33cc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FF66\')" title="33FF66" style="background:#33ff66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FF66\')" title="66FF66" style="background:#66ff66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CC66\')" title="66CC66" style="background:#66cc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'669966\')" title="669966" style="background:#669966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'666666\')" title="666666" style="background:#666666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'663366\')" title="663366" style="background:#663366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'660066\')" title="660066" style="background:#660066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF0066\')" title="FF0066" style="background:#ff0066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF3366\')" title="FF3366" style="background:#ff3366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF6666\')" title="FF6666" style="background:#ff6666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF9966\')" title="FF9966" style="background:#ff9966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCC66\')" title="FFCC66" style="background:#ffcc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFF66\')" title="FFFF66" style="background:#ffff66"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'330099\')" title="330099" style="background:#330099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'333399\')" title="333399" style="background:#333399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'336699\')" title="336699" style="background:#336699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'339999\')" title="339999" style="background:#339999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CC99\')" title="33CC99" style="background:#33cc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FF99\')" title="33FF99" style="background:#33ff99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FF99\')" title="66FF99" style="background:#66ff99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CC99\')" title="66CC99" style="background:#66cc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'669999\')" title="669999" style="background:#669999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'666699\')" title="666699" style="background:#666699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'663399\')" title="663399" style="background:#663399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'660099\')" title="660099" style="background:#660099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF0099\')" title="FF0099" style="background:#ff0099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF3399\')" title="FF3399" style="background:#ff3399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF6699\')" title="FF6699" style="background:#ff6699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF9999\')" title="FF9999" style="background:#ff9999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCC99\')" title="FFCC99" style="background:#ffcc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFF99\')" title="FFFF99" style="background:#ffff99"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'3300CC\')" title="3300CC" style="background:#3300cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3333CC\')" title="3333CC" style="background:#3333cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3366CC\')" title="3366CC" style="background:#3366cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3399CC\')" title="3399CC" style="background:#3399cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CCCC\')" title="33CCCC" style="background:#33cccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FFCC\')" title="33FFCC" style="background:#33ffcc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FFCC\')" title="66FFCC" style="background:#66ffcc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CCCC\')" title="66CCCC" style="background:#66cccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6699CC\')" title="6699CC" style="background:#6699cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6666CC\')" title="6666CC" style="background:#6666cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6633CC\')" title="6633CC" style="background:#6633cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6600CC\')" title="6600CC" style="background:#6600cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF00CC\')" title="FF00CC" style="background:#ff00cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF33CC\')" title="FF33CC" style="background:#ff33cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF66CC\')" title="FF66CC" style="background:#ff66cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF99CC\')" title="FF99CC" style="background:#ff99cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCCCC\')" title="FFCCCC" style="background:#ffcccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFFCC\')" title="FFFFCC" style="background:#ffffcc"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'3300FF\')" title="3300FF" style="background:#3300ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3333FF\')" title="3333FF" style="background:#3333ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3366FF\')" title="3366FF" style="background:#3366ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3399FF\')" title="3399FF" style="background:#3399ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CCFF\')" title="33CCFF" style="background:#33ccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FFFF\')" title="33FFFF" style="background:#33ffff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FFFF\')" title="66FFFF" style="background:#66ffff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CCFF\')" title="66CCFF" style="background:#66ccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6699FF\')" title="6699FF" style="background:#6699ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6666FF\')" title="6666FF" style="background:#6666ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6633FF\')" title="6633FF" style="background:#6633ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6600FF\')" title="6600FF" style="background:#6600ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF00FF\')" title="FF00FF" style="background:#ff00ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF33FF\')" title="FF33FF" style="background:#ff33ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF66FF\')" title="FF66FF" style="background:#ff66ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF99FF\')" title="FF99FF" style="background:#ff99ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCCFF\')" title="FFCCFF" style="background:#ffccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title="FFFFFF" style="background:#ffffff"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'0000FF\')" title="0000FF" style="background:#0000ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0033FF\')" title="0033FF" style="background:#0033ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0066FF\')" title="0066FF" style="background:#0066ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0099FF\')" title="0099FF" style="background:#0099ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CCFF\')" title="00CCFF" style="background:#00ccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FFFF\')" title="00FFFF" style="background:#00ffff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FFFF\')" title="99FFFF" style="background:#99ffff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CCFF\')" title="99CCFF" style="background:#99ccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9999FF\')" title="9999FF" style="background:#9999ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9966FF\')" title="9966FF" style="background:#9966ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9933FF\')" title="9933FF" style="background:#9933ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9900FF\')" title="9900FF" style="background:#9900ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC00FF\')" title="CC00FF" style="background:#cc00ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC33FF\')" title="CC33FF" style="background:#cc33ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC66FF\')" title="CC66FF" style="background:#cc66ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC99FF\')" title="CC99FF" style="background:#cc99ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCCFF\')" title="CCCCFF" style="background:#ccccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFFFF\')" title="CCFFFF" style="background:#ccffff"></li>\r\n		</ul>\r\n\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'0000CC\')" title="0000CC" style="background:#0000cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0033CC\')" title="0033CC" style="background:#0033cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0066CC\')" title="0066CC" style="background:#0066cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0099CC\')" title="0099CC" style="background:#0099cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CCCC\')" title="00CCCC" style="background:#00cccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FFCC\')" title="00FFCC" style="background:#00ffcc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FFCC\')" title="99FFCC" style="background:#99ffcc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CCCC\')" title="99CCCC" style="background:#99cccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9999CC\')" title="9999CC" style="background:#9999cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9966CC\')" title="9966CC" style="background:#9966cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9933CC\')" title="9933CC" style="background:#9933cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9900CC\')" title="9900CC" style="background:#9900cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC00CC\')" title="CC00CC" style="background:#cc00cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC33CC\')" title="CC33CC" style="background:#cc33cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC66CC\')" title="CC66CC" style="background:#cc66cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC99CC\')" title="CC99CC" style="background:#cc99cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCCCC\')" title="CCCCCC" style="background:#cccccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFFCC\')" title="CCFFCC" style="background:#ccffcc"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'000099\')" title="000099" style="background:#000099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'003399\')" title="003399" style="background:#003399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'006699\')" title="006699" style="background:#006699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'009999\')" title="009999" style="background:#009999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CC99\')" title="00CC99" style="background:#00cc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FF99\')" title="00FF99" style="background:#00ff99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FF99\')" title="99FF99" style="background:#99ff99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CC99\')" title="99CC99" style="background:#99cc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'999999\')" title="999999" style="background:#999999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'996699\')" title="996699" style="background:#996699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'993399\')" title="993399" style="background:#993399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'990099\')" title="990099" style="background:#990099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC0099\')" title="CC0099" style="background:#cc0099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC3399\')" title="CC3399" style="background:#cc3399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC6699\')" title="CC6699" style="background:#cc6699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC9999\')" title="CC9999" style="background:#cc9999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCC99\')" title="CCCC99" style="background:#cccc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFF99\')" title="CCFF99" style="background:#ccff99"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'000066\')" title="000066" style="background:#000066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'003366\')" title="003366" style="background:#003366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'006666\')" title="006666" style="background:#006666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'009966\')" title="009966" style="background:#009966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CC66\')" title="00CC66" style="background:#00cc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FF66\')" title="00FF66" style="background:#00ff66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FF66\')" title="99FF66" style="background:#99ff66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CC66\')" title="99CC66" style="background:#99cc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'999966\')" title="999966" style="background:#999966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'996666\')" title="996666" style="background:#996666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'993366\')" title="993366" style="background:#993366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'990066\')" title="990066" style="background:#990066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC0066\')" title="CC0066" style="background:#cc0066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC3366\')" title="CC3366" style="background:#cc3366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC6666\')" title="CC6666" style="background:#cc6666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC9966\')" title="CC9966" style="background:#cc9966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCC66\')" title="CCCC66" style="background:#cccc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFF66\')" title="CCFF66" style="background:#ccff66"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'000033\')" title="000033" style="background:#000033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'003333\')" title="003333" style="background:#003333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'006633\')" title="006633" style="background:#006633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'009933\')" title="009933" style="background:#009933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CC33\')" title="00CC33" style="background:#00cc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FF33\')" title="00FF33" style="background:#00ff33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FF33\')" title="99FF33" style="background:#99ff33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CC33\')" title="99CC33" style="background:#99cc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'999933\')" title="999933" style="background:#999933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'996633\')" title="996633" style="background:#996633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'993333\')" title="993333" style="background:#993333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'990033\')" title="990033" style="background:#990033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC0033\')" title="CC0033" style="background:#cc0033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC3333\')" title="CC3333" style="background:#cc3333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC6633\')" title="CC6633" style="background:#cc6633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC9933\')" title="CC9933" style="background:#cc9933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCC33\')" title="CCCC33" style="background:#cccc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFF33\')" title="CCFF33" style="background:#ccff33"></li>\r\n		</ul>\r\n		<ul>\r\n\r\n			<li onclick="YMOB.chooseThisColor(\'000000\')" title="000000" style="background:#000000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'003300\')" title="003300" style="background:#003300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'006600\')" title="006600" style="background:#006600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'009900\')" title="009900" style="background:#009900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CC00\')" title="00CC00" style="background:#00cc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FF00\')" title="00FF00" style="background:#00ff00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FF00\')" title="99FF00" style="background:#99ff00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CC00\')" title="99CC00" style="background:#99cc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'999900\')" title="999900" style="background:#999900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'996600\')" title="996600" style="background:#996600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'993300\')" title="993300" style="background:#993300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'990000\')" title="990000" style="background:#990000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC0000\')" title="CC0000" style="background:#cc0000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC3300\')" title="CC3300" style="background:#cc3300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC6600\')" title="CC6600" style="background:#cc6600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC9900\')" title="CC9900" style="background:#cc9900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCC00\')" title="CCCC00" style="background:#cccc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFF00\')" title="CCFF00" style="background:#ccff00"></li>\r\n\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'000000\')" title="000000" style="background:#000000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'111111\')" title="111111" style="background:#111111"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'222222\')" title="222222" style="background:#222222"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'333333\')" title="333333" style="background:#333333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'444444\')" title="444444" style="background:#444444"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'555555\')" title="555555" style="background:#555555"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'666666\')" title="666666" style="background:#666666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'777777\')" title="777777" style="background:#777777"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'888888\')" title="888888" style="background:#888888"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'999999\')" title="999999" style="background:#999999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'AAAAAA\')" title="AAAAAA" style="background:#aaaaaa"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'BBBBBB\')" title="BBBBBB" style="background:#bbbbbb"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCCCC\')" title="CCCCCC" style="background:#cccccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'DDDDDD\')" title="DDDDDD" style="background:#dddddd"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'EEEEEE\')" title="EEEEEE" style="background:#eeeeee"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title="FFFFFF" style="background:#ffffff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'7E9DB9\')" title="7E9DB9" style="background:#7E9DB9"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title="FFFFFF" style="background:#FFFFFF"></li>\r\n		</ul>\r\n	</div>\r\n				<br />\r\n				<div class="cn_encode">\r\n				<div class="hline"></div>\r\n				<h2>编码</h2>\r\n				<ul><li>\r\n				<div class="encoding">\r\n					<input name="mob_sb_site_encoding" type="radio" value="UTF-8" id="world" ';
//line 366 "search_2.tt"
if (stash.get(['a', 0, 8, 0]) == '1UTF-8') {
output += ' checked="checked"';
}

output += ' /> 世界码UTF-8&nbsp;&nbsp;&nbsp;&nbsp;\r\n        	<input name="mob_sb_site_encoding" type="radio" value="GBK" id="chs" ';
//line 367 "search_2.tt"
if (stash.get(['a', 0, 8, 0]) == '1GBK') {
output += ' checked="checked"';
}

output += '/>简体中文GB2312 或 GBK\r\n				</div>\r\n				</li></ul></div>\r\n			</div> <!-- END .bd -->\r\n\r\n				</div>\r\n				<div id="buttons">\r\n<input type="button" onclick="return validateForm();"  value="完成" >\r\n<input type="button" value="取消" onClick="window.location=\'index.html\'"></div>\r\n</form>\r\n\r\n<!-- END .yui-b -->\r\n\r\n	 		<div class="crnr_bl"><div class="crnr_br"></div></div>\r\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['search_3.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 1 "search_3.tt"
stash.set('a', [ ]);
//line 1 "search_3.tt"
stash.set('b', [ ]);
//line 2 "search_3.tt"
stash.set('tmp', stash.get(['postlist', 0, 'blob_client_data1', 0]));
//line 3 "search_3.tt"
stash.set('detail', stash.get(['tmp', 0, 'replace', [ '\', '~1' ]]));
//line 6 "search_3.tt"

// FOREACH 
(function() {
    var list = stash.get(['detail', 0, 'split', [ '~' ]]);
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['dir'] = value;
output += '\r\n  ';
//line 5 "search_3.tt"
stash.set('b', stash.get(['a', 0, 'push', [ stash.get('dir') ]]));;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\r\n<div class="crnr_tl"><div class="crnr_tr"></div></div>\r\n\r\n			<div class="yui-b">\r\n				<div class="previewContainer">\r\n					<div class="crnr_tl"><div class="crnr_tr"></div></div>\r\n					<div class="previewContent">\r\n						<h2>预览 </h2>\r\n						<div class="ymobSearchBox" title="搜索结果页头预览" id="bannerCode">\r\n						</div>\r\n					</div>\r\n					<div class="crnr_bl"><div class="crnr_br"></div></div>\r\n				</div>\r\n<form method="post" id="mobForm" onSubmit="return validateForm();">\r\n			<input type="hidden" id="detail" value=';
//line 21 "search_3.tt"
output += stash.get(['postlist', 0, 'blob_client_data1', 0]);
output += '>\r\n\r\n				<div class=bd id="formFields">\r\n				<div class="cn_head_txt">\r\n					<h2>页头文字</h2>\r\n					<div>\r\n						<input maxlength=20 id="bannerText" type="text" size="80" name="mob_banner_text" value="';
//line 27 "search_3.tt"
output += stash.get(['a', 0, 11, 0, 'substr', [ 1 ]]);
output += '" onChange="YMOBV.checkBannerText();">\r\n						<span class="ymobreq">* 必填项</span>\r\n					</div>\r\n				</div>\r\n\r\n					<div id="logoValues">\r\n						<ul>\r\n							<li class="checkbox">\r\n								<input name="mob_logo_active" type="hidden" value=';
//line 35 "search_3.tt"
output += stash.get(['a', 0, 37, 0, 'substr', [ 1 ]]);
output += '>\r\n                <input id="addLogo" name="mob_logo_active" type="checkbox" ';
//line 36 "search_3.tt"
if (stash.get(['a', 0, 37, 0]) == '11') {
output += ' checked="checked"';
}

output += '>\r\n								<label for="addLogo">添加您网站的Logo</label>\r\n\r\n							</li>\r\n							<li>\r\n								<label for="logoUrl">URL路径:</label>\r\n								<input id="logoUrl" name="mob_logo_url" type="text" value="';
//line 42 "search_3.tt"
output += stash.get(['a', 0, 26, 0, 'substr', [ 1 ]]);
output += '" size="63"> <span class="ymobreqb" id="logoUrlReq" style="display:none">* 必填项</span>\r\n								<!-- <img id="bannerImage" style="display:none;" alt="" src=""> -->\r\n								<em>e.g. "http://mysite.com/logo.gif"</em>\r\n							</li>\r\n							<li class="smallInputs">\r\n								<div class="error" id="logoErrorDiv" style="display:none"></div>\r\n								<label for="mob_logo_height">尺寸:</label>\r\n									<input id="mob_logo_width" type="text" name=mob_logo_width value="';
//line 49 "search_3.tt"
output += stash.get(['a', 0, 28, 0, 'substr', [ 1 ]]);
output += '">\r\n									<input id="mob_logo_height" type="text" name=mob_logo_height value="';
//line 50 "search_3.tt"
output += stash.get(['a', 0, 29, 0, 'substr', [ 1 ]]);
output += '">\r\n										<a href="javascript:void(0);" onclick="YMOB.resetLogoSizes();" id="resetSizes">重新根据URL路径自动判断</a>\r\n									<br />\r\n									<em class="smallInputs">宽 (px)</em>\r\n									<em class="smallInputs">高 (px)</em>\r\n							</li>\r\n							<li>\r\n								<label for="siteUrl">链接地址:</label>\r\n								<input id="siteUrl" name="mob_logo_target_url" type="text" size="63" value="';
//line 58 "search_3.tt"
output += stash.get(['a', 0, 17, 0, 'substr', [ 1 ]]);
output += '"> <span class="ymobreqb" id="siteUrlReq" style="display:none">* 必填项</span>\r\n								<em>输入Logo链接地址 (如"http://mysite.com")</em>\r\n\r\n							</li>\r\n							<li>\r\n								<label>描述:</label>\r\n								<input id="logoAlt" name="mob_logo_alt" type="text" size="63" value="';
//line 64 "search_3.tt"
output += stash.get(['a', 0, 27, 0, 'substr', [ 1 ]]);
output += '"> <span class="ymobreqb" id="logoAltUrlReq" style="display:none;">* 必填项</span>\r\n								<em>输入鼠标移动到Logo上所显示的文字信息</em>\r\n							</li>\r\n						</ul>\r\n					</div>\r\n\r\n					<h2>搜索框设置</h2>\r\n<div id="colors">   \r\n	<ul>\r\n\r\n		<li>\r\n			<div id="bnrBgColorSample" class="colorSample" style="background:#';
//line 75 "search_3.tt"
output += stash.get(['a', 0, 9, 0, 'substr', [ 1 ]]);
output += ';"  ></div>\r\n			<label for="bnrBgColorSample">背景颜色：</label>\r\n			# <input maxlength="6" id="bnrBgCo" type="text" name="mob_banner_bgcolor" value="';
//line 77 "search_3.tt"
output += stash.get(['a', 0, 9, 0, 'substr', [ 1 ]]);
output += '">\r\n		</li>\r\n		<li>\r\n			<div id="bnrBrColorSample" class="colorSample" style="background:#';
//line 80 "search_3.tt"
output += stash.get(['a', 0, 30, 0, 'substr', [ 1 ]]);
output += '" ></div>\r\n			<label for="bnrBrCo">边框颜色：</label>\r\n			# <input maxlength="6" id="bnrBrCo" type="text" name="mob_logo_border" value="';
//line 82 "search_3.tt"
output += stash.get(['a', 0, 30, 0, 'substr', [ 1 ]]);
output += '">\r\n		</li>\r\n		<li>\r\n			<div id="bnrTxColorSample" class="colorSample" style="background:#';
//line 85 "search_3.tt"
output += stash.get(['a', 0, 10, 0, 'substr', [ 1 ]]);
output += '" ></div>\r\n			<label for="bnrTxCo">页头文字颜色：</label>\r\n			# <input maxlength="6" id="bnrTxCo" type="text" name="mob_banner_textcolor" value="';
//line 87 "search_3.tt"
output += stash.get(['a', 0, 10, 0, 'substr', [ 1 ]]);
output += '">\r\n		</li>\r\n		<li>\r\n		<label for="fontSize">字体大小:</label>&#160;&#160;\r\n			<select id="fontSize" name="mob_sb_fontsize">\r\n						<option value="0" ';
//line 92 "search_3.tt"
if (stash.get(['a', 0, 35, 0]) == '10') {
output += 'selected';
}

output += '>小</option>\r\n						<option value="1" ';
//line 93 "search_3.tt"
if (stash.get(['a', 0, 35, 0]) == '11') {
output += 'selected';
}

output += '>中</option>\r\n						<option value="2" ';
//line 94 "search_3.tt"
if (stash.get(['a', 0, 35, 0]) == '12') {
output += 'selected';
}

output += '>大</option>\r\n			</select>\r\n		</li>\r\n		<li>\r\n			<label for="font">字体样式:</label>&#160;&#160;\r\n			<select id="font" name="mob_sb_fontface">\r\n			<option value="arial" ';
//line 100 "search_3.tt"
if (stash.get(['a', 0, 36, 0]) == '1arial') {
output += 'selected';
}

output += '>Arial</option>\r\n		<option value="bookman" ';
//line 101 "search_3.tt"
if (stash.get(['a', 0, 36, 0]) == '1bookman') {
output += 'selected';
}

output += '>Bookman Old Style</option>\r\n		<option value="courier" ';
//line 102 "search_3.tt"
if (stash.get(['a', 0, 36, 0]) == '1courier') {
output += 'selected';
}

output += '>Courier</option>\r\n		<option value="garamond" ';
//line 103 "search_3.tt"
if (stash.get(['a', 0, 36, 0]) == '1garamond') {
output += 'selected';
}

output += '>Garamond</option>\r\n		<option value="lucida console" ';
//line 104 "search_3.tt"
if (stash.get(['a', 0, 36, 0]) == '1lucida console') {
output += 'selected';
}

output += '>Lucida Console</option>\r\n		<option value="symbol" ';
//line 105 "search_3.tt"
if (stash.get(['a', 0, 36, 0]) == '1symbol') {
output += 'selected';
}

output += '>Symbol</option>\r\n		<option value="tahoma" ';
//line 106 "search_3.tt"
if (stash.get(['a', 0, 36, 0]) == '1tahoma') {
output += 'selected';
}

output += '>Tahoma</option>\r\n		<option value="times new roman" ';
//line 107 "search_3.tt"
if (stash.get(['a', 0, 36, 0]) == '1times new roman') {
output += 'selected';
}

output += '>Times New Roman</option>\r\n		<option value="verdana" ';
//line 108 "search_3.tt"
if (stash.get(['a', 0, 36, 0]) == '1verdana') {
output += 'selected';
}

output += '>Verdana</option>\r\n			</select>	\r\n		</li>\r\n	</ul>\r\n</div>    \r\n<div id="colorPicker">\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'330000\')" title"330000" style="background:#330000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'333300\')" title"333300" style="background:#333300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'336600\')" title"336600" style="background:#336600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'339900\')" title"339900" style="background:#339900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CC00\')" title"33CC00" style="background:#33cc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FF00\')" title"33FF00" style="background:#33ff00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FF00\')" title"66FF00" style="background:#66ff00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CC00\')" title"66CC00" style="background:#66cc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'669900\')" title"669900" style="background:#669900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'666600\')" title"666600" style="background:#666600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'663300\')" title"663300" style="background:#663300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'660000\')" title"660000" style="background:#660000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF0000\')" title"FF0000" style="background:#ff0000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF3300\')" title"FF3300" style="background:#ff3300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF6600\')" title"FF6600" style="background:#ff6600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF9900\')" title"FF9900" style="background:#ff9900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCC00\')" title"FFCC00" style="background:#ffcc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFF00\')" title"FFFF00" style="background:#ffff00"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'330033\')" title"330033" style="background:#330033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'333333\')" title"333333" style="background:#333333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'336633\')" title"336633" style="background:#336633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'339933\')" title"339933" style="background:#339933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CC33\')" title"33CC33" style="background:#33cc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FF33\')" title"33FF33" style="background:#33ff33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FF33\')" title"66FF33" style="background:#66ff33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CC33\')" title"66CC33" style="background:#66cc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'669933\')" title"669933" style="background:#669933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'666633\')" title"666633" style="background:#666633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'663333\')" title"663333" style="background:#663333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'660033\')" title"660033" style="background:#660033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF0033\')" title"FF0033" style="background:#ff0033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF3333\')" title"FF3333" style="background:#ff3333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF6633\')" title"FF6633" style="background:#ff6633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF9933\')" title"FF9933" style="background:#ff9933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCC33\')" title"FFCC33" style="background:#ffcc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFF33\')" title"FFFF33" style="background:#ffff33"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'330066\')" title"330066" style="background:#330066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'333366\')" title"333366" style="background:#333366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'336666\')" title"336666" style="background:#336666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'339966\')" title"339966" style="background:#339966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CC66\')" title"33CC66" style="background:#33cc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FF66\')" title"33FF66" style="background:#33ff66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FF66\')" title"66FF66" style="background:#66ff66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CC66\')" title"66CC66" style="background:#66cc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'669966\')" title"669966" style="background:#669966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'666666\')" title"666666" style="background:#666666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'663366\')" title"663366" style="background:#663366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'660066\')" title"660066" style="background:#660066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF0066\')" title"FF0066" style="background:#ff0066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF3366\')" title"FF3366" style="background:#ff3366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF6666\')" title"FF6666" style="background:#ff6666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF9966\')" title"FF9966" style="background:#ff9966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCC66\')" title"FFCC66" style="background:#ffcc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFF66\')" title"FFFF66" style="background:#ffff66"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'330099\')" title"330099" style="background:#330099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'333399\')" title"333399" style="background:#333399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'336699\')" title"336699" style="background:#336699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'339999\')" title"339999" style="background:#339999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CC99\')" title"33CC99" style="background:#33cc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FF99\')" title"33FF99" style="background:#33ff99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FF99\')" title"66FF99" style="background:#66ff99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CC99\')" title"66CC99" style="background:#66cc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'669999\')" title"669999" style="background:#669999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'666699\')" title"666699" style="background:#666699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'663399\')" title"663399" style="background:#663399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'660099\')" title"660099" style="background:#660099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF0099\')" title"FF0099" style="background:#ff0099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF3399\')" title"FF3399" style="background:#ff3399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF6699\')" title"FF6699" style="background:#ff6699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF9999\')" title"FF9999" style="background:#ff9999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCC99\')" title"FFCC99" style="background:#ffcc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFF99\')" title"FFFF99" style="background:#ffff99"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'3300CC\')" title"3300CC" style="background:#3300cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3333CC\')" title"3333CC" style="background:#3333cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3366CC\')" title"3366CC" style="background:#3366cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3399CC\')" title"3399CC" style="background:#3399cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CCCC\')" title"33CCCC" style="background:#33cccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FFCC\')" title"33FFCC" style="background:#33ffcc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FFCC\')" title"66FFCC" style="background:#66ffcc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CCCC\')" title"66CCCC" style="background:#66cccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6699CC\')" title"6699CC" style="background:#6699cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6666CC\')" title"6666CC" style="background:#6666cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6633CC\')" title"6633CC" style="background:#6633cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6600CC\')" title"6600CC" style="background:#6600cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF00CC\')" title"FF00CC" style="background:#ff00cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF33CC\')" title"FF33CC" style="background:#ff33cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF66CC\')" title"FF66CC" style="background:#ff66cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF99CC\')" title"FF99CC" style="background:#ff99cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCCCC\')" title"FFCCCC" style="background:#ffcccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFFCC\')" title"FFFFCC" style="background:#ffffcc"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'3300FF\')" title"3300FF" style="background:#3300ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3333FF\')" title"3333FF" style="background:#3333ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3366FF\')" title"3366FF" style="background:#3366ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'3399FF\')" title"3399FF" style="background:#3399ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33CCFF\')" title"33CCFF" style="background:#33ccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'33FFFF\')" title"33FFFF" style="background:#33ffff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66FFFF\')" title"66FFFF" style="background:#66ffff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'66CCFF\')" title"66CCFF" style="background:#66ccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6699FF\')" title"6699FF" style="background:#6699ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6666FF\')" title"6666FF" style="background:#6666ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6633FF\')" title"6633FF" style="background:#6633ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'6600FF\')" title"6600FF" style="background:#6600ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF00FF\')" title"FF00FF" style="background:#ff00ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF33FF\')" title"FF33FF" style="background:#ff33ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF66FF\')" title"FF66FF" style="background:#ff66ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FF99FF\')" title"FF99FF" style="background:#ff99ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFCCFF\')" title"FFCCFF" style="background:#ffccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title"FFFFFF" style="background:#ffffff"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'0000FF\')" title"0000FF" style="background:#0000ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0033FF\')" title"0033FF" style="background:#0033ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0066FF\')" title"0066FF" style="background:#0066ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0099FF\')" title"0099FF" style="background:#0099ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CCFF\')" title"00CCFF" style="background:#00ccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FFFF\')" title"00FFFF" style="background:#00ffff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FFFF\')" title"99FFFF" style="background:#99ffff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CCFF\')" title"99CCFF" style="background:#99ccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9999FF\')" title"9999FF" style="background:#9999ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9966FF\')" title"9966FF" style="background:#9966ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9933FF\')" title"9933FF" style="background:#9933ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9900FF\')" title"9900FF" style="background:#9900ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC00FF\')" title"CC00FF" style="background:#cc00ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC33FF\')" title"CC33FF" style="background:#cc33ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC66FF\')" title"CC66FF" style="background:#cc66ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC99FF\')" title"CC99FF" style="background:#cc99ff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCCFF\')" title"CCCCFF" style="background:#ccccff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFFFF\')" title"CCFFFF" style="background:#ccffff"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'0000CC\')" title"0000CC" style="background:#0000cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0033CC\')" title"0033CC" style="background:#0033cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0066CC\')" title"0066CC" style="background:#0066cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'0099CC\')" title"0099CC" style="background:#0099cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CCCC\')" title"00CCCC" style="background:#00cccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FFCC\')" title"00FFCC" style="background:#00ffcc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FFCC\')" title"99FFCC" style="background:#99ffcc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CCCC\')" title"99CCCC" style="background:#99cccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9999CC\')" title"9999CC" style="background:#9999cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9966CC\')" title"9966CC" style="background:#9966cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9933CC\')" title"9933CC" style="background:#9933cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'9900CC\')" title"9900CC" style="background:#9900cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC00CC\')" title"CC00CC" style="background:#cc00cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC33CC\')" title"CC33CC" style="background:#cc33cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC66CC\')" title"CC66CC" style="background:#cc66cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC99CC\')" title"CC99CC" style="background:#cc99cc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCCCC\')" title"CCCCCC" style="background:#cccccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFFCC\')" title"CCFFCC" style="background:#ccffcc"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'000099\')" title"000099" style="background:#000099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'003399\')" title"003399" style="background:#003399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'006699\')" title"006699" style="background:#006699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'009999\')" title"009999" style="background:#009999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CC99\')" title"00CC99" style="background:#00cc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FF99\')" title"00FF99" style="background:#00ff99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FF99\')" title"99FF99" style="background:#99ff99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CC99\')" title"99CC99" style="background:#99cc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'999999\')" title"999999" style="background:#999999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'996699\')" title"996699" style="background:#996699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'993399\')" title"993399" style="background:#993399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'990099\')" title"990099" style="background:#990099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC0099\')" title"CC0099" style="background:#cc0099"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC3399\')" title"CC3399" style="background:#cc3399"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC6699\')" title"CC6699" style="background:#cc6699"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC9999\')" title"CC9999" style="background:#cc9999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCC99\')" title"CCCC99" style="background:#cccc99"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFF99\')" title"CCFF99" style="background:#ccff99"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'000066\')" title"000066" style="background:#000066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'003366\')" title"003366" style="background:#003366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'006666\')" title"006666" style="background:#006666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'009966\')" title"009966" style="background:#009966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CC66\')" title"00CC66" style="background:#00cc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FF66\')" title"00FF66" style="background:#00ff66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FF66\')" title"99FF66" style="background:#99ff66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CC66\')" title"99CC66" style="background:#99cc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'999966\')" title"999966" style="background:#999966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'996666\')" title"996666" style="background:#996666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'993366\')" title"993366" style="background:#993366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'990066\')" title"990066" style="background:#990066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC0066\')" title"CC0066" style="background:#cc0066"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC3366\')" title"CC3366" style="background:#cc3366"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC6666\')" title"CC6666" style="background:#cc6666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC9966\')" title"CC9966" style="background:#cc9966"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCC66\')" title"CCCC66" style="background:#cccc66"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFF66\')" title"CCFF66" style="background:#ccff66"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'000033\')" title"000033" style="background:#000033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'003333\')" title"003333" style="background:#003333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'006633\')" title"006633" style="background:#006633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'009933\')" title"009933" style="background:#009933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CC33\')" title"00CC33" style="background:#00cc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FF33\')" title"00FF33" style="background:#00ff33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FF33\')" title"99FF33" style="background:#99ff33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CC33\')" title"99CC33" style="background:#99cc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'999933\')" title"999933" style="background:#999933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'996633\')" title"996633" style="background:#996633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'993333\')" title"993333" style="background:#993333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'990033\')" title"990033" style="background:#990033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC0033\')" title"CC0033" style="background:#cc0033"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC3333\')" title"CC3333" style="background:#cc3333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC6633\')" title"CC6633" style="background:#cc6633"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC9933\')" title"CC9933" style="background:#cc9933"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCC33\')" title"CCCC33" style="background:#cccc33"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFF33\')" title"CCFF33" style="background:#ccff33"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'000000\')" title"000000" style="background:#000000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'003300\')" title"003300" style="background:#003300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'006600\')" title"006600" style="background:#006600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'009900\')" title"009900" style="background:#009900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00CC00\')" title"00CC00" style="background:#00cc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'00FF00\')" title"00FF00" style="background:#00ff00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99FF00\')" title"99FF00" style="background:#99ff00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'99CC00\')" title"99CC00" style="background:#99cc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'999900\')" title"999900" style="background:#999900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'996600\')" title"996600" style="background:#996600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'993300\')" title"993300" style="background:#993300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'990000\')" title"990000" style="background:#990000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC0000\')" title"CC0000" style="background:#cc0000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC3300\')" title"CC3300" style="background:#cc3300"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC6600\')" title"CC6600" style="background:#cc6600"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CC9900\')" title"CC9900" style="background:#cc9900"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCC00\')" title"CCCC00" style="background:#cccc00"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCFF00\')" title"CCFF00" style="background:#ccff00"></li>\r\n		</ul>\r\n		<ul>\r\n			<li onclick="YMOB.chooseThisColor(\'000000\')" title"000000" style="background:#000000"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'111111\')" title"111111" style="background:#111111"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'222222\')" title"222222" style="background:#222222"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'333333\')" title"333333" style="background:#333333"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'444444\')" title"444444" style="background:#444444"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'555555\')" title"555555" style="background:#555555"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'666666\')" title"666666" style="background:#666666"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'777777\')" title"777777" style="background:#777777"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'888888\')" title"888888" style="background:#888888"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'999999\')" title"999999" style="background:#999999"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'AAAAAA\')" title"AAAAAA" style="background:#aaaaaa"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'BBBBBB\')" title"BBBBBB" style="background:#bbbbbb"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'CCCCCC\')" title"CCCCCC" style="background:#cccccc"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'DDDDDD\')" title"DDDDDD" style="background:#dddddd"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'EEEEEE\')" title"EEEEEE" style="background:#eeeeee"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title"FFFFFF" style="background:#ffffff"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'7E9DB9\')" title"7E9DB9" style="background:#7E9DB9"></li>\r\n			<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title"FFFFFF" style="background:#FFFFFF"></li>\r\n		</ul>\r\n	</div>\r\n					<h2>页面配色方案</h2>\r\n					\r\n					<div id="srpTheme">\r\n					<input name="mob_sb_srp_theme" type="radio"  value="classic" ';
//line 378 "search_3.tt"
if (stash.get(['a', 0, 42, 0]) == '1classic') {
output += 'checked';
}

output += '  id="srpThemeClassic" />经典蓝白&nbsp;&nbsp;&nbsp;&nbsp;\r\n      			                <input name="mob_sb_srp_theme" type="radio"  value="black" ';
//line 379 "search_3.tt"
if (stash.get(['a', 0, 42, 0]) == '1black') {
output += 'checked';
}

output += '  id="srpThemeBlack" />黑色深沉&nbsp;&nbsp;&nbsp;&nbsp;\r\n      			                <input name="mob_sb_srp_theme" type="radio"  value="pink"  ';
//line 380 "search_3.tt"
if (stash.get(['a', 0, 42, 0]) == '1pink') {
output += 'checked';
}

output += '  id="srpThemePink" />粉红女郎&nbsp;&nbsp;&nbsp;&nbsp;\r\n					</div>\r\n<br>\r\n					<div class="cn_other">\r\n					<div id="behavior">\r\n						<ul>\r\n							<li class="checkbox">\r\n								<label for="specificLanguage">指定搜索结果页的语言</label>\r\n\r\n								<select id="mob_languages">\r\n						  <option value="pref" ';
//line 390 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1pref') {
output += 'selected';
}

output += '>用户偏好的语言\r\n<option value="any" ';
//line 391 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1any') {
output += 'selected';
}

output += '>所有语言\r\n<option value="zh-CN" ';
//line 392 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1zh-CN') {
output += 'selected';
}

output += '>简体中文\r\n<option value="zh-TW" ';
//line 393 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1zh-TW') {
output += 'selected';
}

output += '>繁体中文\r\n<option value="ja" ';
//line 394 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1ja') {
output += 'selected';
}

output += '>日文\r\n<option value="ko" ';
//line 395 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1ko') {
output += 'selected';
}

output += '>韩文\r\n<option value="en" ';
//line 396 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1en') {
output += 'selected';
}

output += '>英文\r\n<option value="fr" ';
//line 397 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1fr') {
output += 'selected';
}

output += '>法文\r\n<option value="de" ';
//line 398 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1de') {
output += 'selected';
}

output += '>德文\r\n<option value="ru" ';
//line 399 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1ru') {
output += 'selected';
}

output += '>俄文\r\n<option value="es" ';
//line 400 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1es') {
output += 'selected';
}

output += '>西班牙文\r\n<option value="it" ';
//line 401 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1it') {
output += 'selected';
}

output += '>意大利文\r\n<option value="ar" ';
//line 402 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1ar') {
output += 'selected';
}

output += '>阿拉伯文\r\n<option value="bg" ';
//line 403 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1bg') {
output += 'selected';
}

output += '>保加利亚文\r\n<option value="ca" ';
//line 404 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1ca') {
output += 'selected';
}

output += '>加泰罗尼亚文\r\n<option value="hr" ';
//line 405 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1hr') {
output += 'selected';
}

output += '>克罗地亚文\r\n<option value="cs" ';
//line 406 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1cs') {
output += 'selected';
}

output += '>捷克文\r\n<option value="da" ';
//line 407 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1da') {
output += 'selected';
}

output += '>丹麦文\r\n<option value="nl" ';
//line 408 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1nl') {
output += 'selected';
}

output += '>荷文\r\n<option value="et" ';
//line 409 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1et') {
output += 'selected';
}

output += '>爱沙尼亚文\r\n<option value="fi" ';
//line 410 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1fi') {
output += 'selected';
}

output += '>芬兰文\r\n<option value="el" ';
//line 411 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1el') {
output += 'selected';
}

output += '>希腊文\r\n<option value="iw" ';
//line 412 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1iw') {
output += 'selected';
}

output += '>希伯来文\r\n<option value="hu" ';
//line 413 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1hu') {
output += 'selected';
}

output += '>匈牙利文\r\n<option value="is" ';
//line 414 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1is') {
output += 'selected';
}

output += '>冰岛文\r\n<option value="id" ';
//line 415 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1id') {
output += 'selected';
}

output += '>印度尼西亚文\r\n<option value="lv" ';
//line 416 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1lv') {
output += 'selected';
}

output += '>拉脱维亚文\r\n<option value="lt" ';
//line 417 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1lt') {
output += 'selected';
}

output += '>立陶宛文\r\n<option value="no" ';
//line 418 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1no') {
output += 'selected';
}

output += '>挪威文\r\n<option value="fa" ';
//line 419 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1fa') {
output += 'selected';
}

output += '>波斯文\r\n<option value="pl" ';
//line 420 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1pl') {
output += 'selected';
}

output += '>波兰文\r\n<option value="pt" ';
//line 421 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1pt') {
output += 'selected';
}

output += '>葡萄牙文\r\n<option value="ro" ';
//line 422 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1ro') {
output += 'selected';
}

output += '>罗马尼亚文\r\n<option value="sr" ';
//line 423 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1sr') {
output += 'selected';
}

output += '>塞尔维亚文\r\n<option value="sk" ';
//line 424 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1sk') {
output += 'selected';
}

output += '>斯洛伐克文\r\n<option value="sl" ';
//line 425 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1sl') {
output += 'selected';
}

output += '>斯洛文尼亚文\r\n<option value="sv" ';
//line 426 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1sv') {
output += 'selected';
}

output += '>瑞典文\r\n<option value="th" ';
//line 427 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1th') {
output += 'selected';
}

output += '>泰文\r\n<option value="tr" ';
//line 428 "search_3.tt"
if (stash.get(['a', 0, 4, 0]) == '1tr') {
output += 'selected';
}

output += '>土耳其文\r\n								</select>\r\n							</li>\r\n						</ul>\r\n					</div>\r\n					</div>\r\n				</div>\r\n<div id="buttons">\r\n<input class="strong" type="submit" value="完成">\r\n<input type="button"  value="取消" onClick="window.location=\'index.html\';return false;">\r\n\r\n</form>\r\n<!-- END .bd -->\r\n			</div>\r\n<!-- END .yui-b -->\r\n\r\n<div class="crnr_bl"><div class="crnr_br"></div></div>\r\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['search_list.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 60 "search_list.tt"

// FOREACH 
(function() {
    var list = stash.get('posts');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['post'] = value;
output += '<div class="yui-main-reports">\n			<div class="crnr_tl"><div class="crnr_tr"></div></div>\n			<div class="yui-b_reports">\n				<div class="searchDetailsBd">\n					<div class="cn_item_head"> <span class="searchTitle">';
//line 6 "search_list.tt"
output += stash.get(['post', 0, 'title', 0]);
output += '</span>\n            <ul class="searchDetailLinks">\n              <li>编辑：</li>\n              <li><a href="http://diy.cn.yahoo.com/m/tune?mobid=U0SQATJsvR4IoAAQWc0Zs">搜索类型</a> </li>\n              <li><a href="http://diy.cn.yahoo.com/m/searchbox?mobid=U0SQATJsvR4IoAAQWc0Zs">搜索框样式</a></li>\n              <li><a href="http://diy.cn.yahoo.com/m/design?mobid=U0SQATJsvR4IoAAQWc0Zs">搜索结果样式</a> </li>\n              <li><a href="http://diy.cn.yahoo.com/m/code?mobid=U0SQATJsvR4IoAAQWc0Zs">获取代码</a></li>\n              <li><a onclick="return confirm(\'确定要删除你订制的搜索吗?\');"  href="http://diy.cn.yahoo.com/a/delete?mobid=U0SQATJsvR4IoAAQWc0Zs&_done=http%3A%2F%2Fdiy.cn.yahoo.com%2Fm%2Fhome%3Fei%3DUTF-8&.scrumb=qvsjrDUj9xn">删除</a></li>\n            </ul>\n          </div>\n					<div class="searchPreview">\n						<h4>搜索框预览</h4>\n						<div id="ymob_U0SQATJsvR4IoAAQWc0Zs" title="搜索框预览" class="ymobSearchBox"></div>\n						<strong>实际尺寸:<em>300像素</em></strong>\n						<div class="fw_word_snap">\n								<h4>主题词提取<img src="http://cn.yimg.com/i/site/sma_ico07.gif"/></h4>\n									<div class="fw_nocreat">您还没有建立主题词提取模块，<a href="http://diy.cn.yahoo.com/n/step1?mobid=U0SQATJsvR4IoAAQWc0Zs&flow2=1">请点击这里新建</a></div>\n						</div>\n					 <div class="fw_word_snap">\n					    <h4>相关文章推荐<span style="font-size:11px;color:red;font-weight:normal;">Alpha</span></h4>\n							<div class="sdlinkcon">\n							编辑：\n							<a href="http://diy.cn.yahoo.com/c/step1?mobid=U0SQATJsvR4IoAAQWc0Zs" title="修改后请重新获取代码">推荐规则</a>\n							<a href="http://diy.cn.yahoo.com/c/step2?mobid=U0SQATJsvR4IoAAQWc0Zs" title="修改后请重新获取代码">展现样式</a>\n							<a href="http://diy.cn.yahoo.com/c/step3?mobid=U0SQATJsvR4IoAAQWc0Zs">获取代码</a>\n					  	</div>\n								<p style="color:#5F5F5F;margin:0.5em;">注意:修改任何一项都需重新获取代码添加到您的网页方可生效.</p>\n						</div>\n					</div>\n<div class="stats">\n	<h3>\n		<a class="reportHeaderLink" href="http://diy.cn.yahoo.com/r/traffic?mobid=U0SQATJsvR4IoAAQWc0Zs">完整报告</a>\n		<strong>搜索流量</strong>\n		<em>最近7天</em>\n	</h3>\n      <li>暂无报告</li>\n	<h3>\n		<a class="reportHeaderLink" href="http://diy.cn.yahoo.com/r/queries?mobid=U0SQATJsvR4IoAAQWc0Zs">完整报告</a>\n		<strong>热门搜索</strong> \n		<em>最近7天</em>\n	</h3>\n      <li>暂无报告</li>\n\n	<h3>\n		<a class="reportHeaderLink" href="http://diy.cn.yahoo.com/r/referrals?mobid=U0SQATJsvR4IoAAQWc0Zs">完整报告</a>\n		<strong>最多来源</strong>\n		<em>最近7天</em>\n	</h3>\n        <li>暂无报告</li>\n				</div>\n				</div> \n			</div>\n			<div class="crnr_bl"><div class="crnr_br"></div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['theme_1.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 1 "theme_1.tt"
stash.set('a', [ ]);
//line 1 "theme_1.tt"
stash.set('b', [ ]);
//line 2 "theme_1.tt"
stash.set('tmp', stash.get(['postlist', 0, 'blob_client_data1', 0]));
//line 3 "theme_1.tt"
stash.set('detail', stash.get(['tmp', 0, 'replace', [ '\', '~1' ]]));
//line 6 "theme_1.tt"

// FOREACH 
(function() {
    var list = stash.get(['detail', 0, 'split', [ '~' ]]);
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['dir'] = value;
output += '\r\n  ';
//line 5 "theme_1.tt"
stash.set('b', stash.get(['a', 0, 'push', [ stash.get('dir') ]]));;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\r\n<form method="post" id="mobForm" class="yq" onsubmit="return validateForm();">	\r\n	<input type="hidden" id="detail" value=';
//line 9 "theme_1.tt"
output += stash.get(['postlist', 0, 'blob_client_data1', 0]);
output += '>\r\n	<div class="fw_newword_row">\r\n		<div class="fw_tit">设置搜索范围</div>\r\n		<div class="fw_con">\r\n			<div class="fw_type_box">设为默认&nbsp;&nbsp;\r\n				<label><input name="mob_sb_cm_default" id="mob_sb_cm_default1" type="radio" value="web" ';
//line 14 "theme_1.tt"
if (stash.get(['a', 0, 47, 0]) == '1web') {
output += 'checked="checked"';
}

output += '/>网页搜索</label>&nbsp;&nbsp;\r\n				<label><input name="mob_sb_cm_default" id="mob_sb_cm_default2" type="radio" value="site"  ';
//line 15 "theme_1.tt"
if (stash.get(['a', 0, 47, 0]) == '1site') {
output += 'checked="checked"';
}

output += '/>站内搜索</label>\r\n			</div>\r\n		<em>该搜索范围与您创建的定制搜索的范围一致</em>\r\n		</div>\r\n	</div>	\r\n\r\n	<div class="fw_newword_row fw_row2">\r\n		<div class="fw_tit">高级选项</div>\r\n		<div class="fw_con">\r\n			设置主题词展现数量：<br />\r\n			<label><input name="mob_sb_cm_count" id="mob_sb_cm_count1" type="radio" value="3" ';
//line 25 "theme_1.tt"
if (stash.get(['a', 0, 48, 0]) == '13') {
output += 'checked="checked"';
}

output += '/>展现3个</label>&nbsp;&nbsp;\r\n			<label><input name="mob_sb_cm_count" id="mob_sb_cm_count2" type="radio" value="4" ';
//line 26 "theme_1.tt"
if (stash.get(['a', 0, 48, 0]) == '14') {
output += 'checked="checked"';
}

output += '/>展现4个</label>&nbsp;&nbsp;\r\n			<label><input name="mob_sb_cm_count" id="mob_sb_cm_count3" type="radio" value="5" ';
//line 27 "theme_1.tt"
if (stash.get(['a', 0, 48, 0]) == '15') {
output += 'checked="checked"';
}

output += '/>展现5个</label>&nbsp;&nbsp;\r\n			<br />\r\n			<br />\r\n			<br />\r\n			设置主题词展现方案：<br />\r\n			<label><input name="mob_sb_cm_scheme" id="mob_sb_cm_scheme1" type="radio" value="0" ';
//line 32 "theme_1.tt"
if (stash.get(['a', 0, 49, 0]) == '10') {
output += 'checked="checked"';
}

output += '/>方案1</label>&nbsp;&nbsp;\r\n			<label><input name="mob_sb_cm_scheme" id="mob_sb_cm_scheme2" type="radio" value="1" ';
//line 33 "theme_1.tt"
if (stash.get(['a', 0, 49, 0]) == '11') {
output += 'checked="checked"';
}

output += '/>方案2</label>&nbsp;&nbsp;\r\n			<label><input name="mob_sb_cm_scheme" id="mob_sb_cm_scheme3" type="radio" value="2" ';
//line 34 "theme_1.tt"
if (stash.get(['a', 0, 49, 0]) == '12') {
output += 'checked="checked"';
}

output += '/>方案3</label>&nbsp;&nbsp;\r\n			<em>如果您对目前提取的主题词效果不满可以尝试更换取词方案</em>\r\n		</div>\r\n	</div>\r\n\r\n<div id="buttons"><input class="strong" type="submit"  value="保存修改" >\r\n<input type="button"  value="取消" onClick="window.location=\'index.html\';return false;" ></div></form>\r\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['theme_2.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 1 "theme_2.tt"
stash.set('a', [ ]);
//line 1 "theme_2.tt"
stash.set('b', [ ]);
//line 2 "theme_2.tt"
stash.set('tmp', stash.get(['postlist', 0, 'blob_client_data1', 0]));
//line 3 "theme_2.tt"
stash.set('detail', stash.get(['tmp', 0, 'replace', [ '\', '~1' ]]));
//line 6 "theme_2.tt"

// FOREACH 
(function() {
    var list = stash.get(['detail', 0, 'split', [ '~' ]]);
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['dir'] = value;
output += '\r\n  ';
//line 5 "theme_2.tt"
stash.set('b', stash.get(['a', 0, 'push', [ stash.get('dir') ]]));;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\r\n		<div class="crnr_tl"><div class="crnr_tr"></div></div>\r\n			<div class="yui-b">\r\n\r\n				<div class="previewContainer" id="previewContainer">\r\n					<div class="crnr_tl"><div class="crnr_tr"></div></div>\r\n					<div class="previewContent">\r\n\r\n';
//line 226 "theme_2.tt"
if (stash.get(['a', 0, 51, 0]) == '1') {
output += '\r\n<h2>主题词展现预览</h2>\r\n				<style>.ymobSearchBox{\r\n			             background-color:#FFFFFF;\r\n							     color:#666666;\r\n							     width:600px;}\r\n						     .ymobSearchBox{\r\n							     font-size:16px;\r\n							     font-family:arial;}\r\n						     #previewCode2 p a{\r\n							     color:#7E9DB9;\r\n							     font-size:16px;}\r\n							   </style>				<div class="ymobSearchBox" title="主题词展现预览" id="previewCode2">\r\n					<p>点击查看更多&nbsp;&nbsp;<a href="#">关键词一</a>&nbsp;&nbsp;<a href="#">关键词二</a>&nbsp;&nbsp;<a href="#">关键词三</a>&nbsp;&nbsp;相关信息</p>\r\n				</div>\r\n\r\n			</div>\r\n			<div style="display:none" id="searchBoxCode"></div>\r\n			<div class="crnr_bl" id="pcbottom"><div class="crnr_br"></div></div>\r\n		</div>\r\n\r\n		<form method="post"  id="mobForm" onSubmit="return validateForm()">\r\n			<input type="hidden" id="detail" value=';
//line 37 "theme_2.tt"
output += stash.get(['postlist', 0, 'blob_client_data1', 0]);
output += '>\r\n			<div class=bd id="topFormFields">\r\n				<h2>显示</h2>\r\n<!--h2>1. 搜索框尺寸</h2-->\r\n								<ul id="searchBoxWidth">\r\n					<li>\r\n						<input id="prvwSizeNarrow" type="radio"  name="mob_sb_cm_width" value="400"  ><label for="prvwSizeNarrow"> 宽<em>400像素</em></label>\r\n					</li>\r\n					<li>\r\n						<input id="prvwSizeWide" type="radio"  name="mob_sb_cm_width" value="600" checked="checked" ><label for="prvwSizeWide"> 宽<em>600像素</em></label>\r\n					</li>\r\n					<li>\r\n						<input id="prvwSizeCustom" type="radio"  name="mob_sb_cm_width" ><label for="prvwSizeCustom"> 自定义<em></em></label>\r\n					</li>\r\n					<li class="custom">\r\n						<input type="text" name="mob_sb_cm_width" id="sb_customBoxWidth" value="" ><label for="sb_customBoxWidth">像素</label><em>最小: 400像素 &#160; 最大: 600像素</em>\r\n					</li>\r\n				</ul>\r\n			</div>\r\n			<input name="mob_sb_cm_width" id="finalWidth" type="hidden" />\r\n\r\n			<div class=bd id="formFields">\r\n				<div>\r\n					<ul>\r\n					</ul>\r\n				</div>\r\n				<h2>配色</h2>\r\n				<!--h2> 3. 颜色和字体</h2>\r\n				<h3> </h3-->\r\n				<div id="colors">   \r\n					<ul>\r\n						<li>\r\n							<div id="bgColorSample" class="colorSample" style="background:#FFFFFF;"  ></div>\r\n							<label for="bgColor">背景颜色：</label>\r\n							# <input maxlength="6" id="bgColor" type="text" name="mob_sb_cm_bgcolor" value="FFFFFF">\r\n						</li>\r\n						<!--li>\r\n							<div id="bcColorSample" class="colorSample" style="background:#7E9DB9" ></div>\r\n							<label for="bcColor">边框颜色：</label>\r\n							# <input maxlength="6" id="bcColor" type="text" name="mob_sb_cm_brcolor" value="7E9DB9">\r\n						</li-->\r\n						<!--li id="ppColorListItem"  -->\r\n						<li>\r\n							<div id="ppColorSample" class="colorSample" style="background:#666666" ></div>\r\n							<label for="ppColor">文字颜色：</label>\r\n							# <input maxlength="6" id="ppColor" type="text" name="mob_sb_cm_txtcolor" id="mob_sb_pop_color" value="666666" >\r\n						</li>\r\n						<li>\r\n							<div id="baColorSample" class="colorSample" style="background:#7E9DB9" ></div>\r\n							<label for="baColor">链接颜色：</label>\r\n							# <input maxlength="6" id="baColor" type="text" name="mob_sb_cm_lnkcolor" value="7E9DB9">\r\n						</li>\r\n						<li><label>字体大小：</label>\r\n							<select name="mob_sb_cm_txtsize" id="fontsize">\r\n					<option value="0" >小</option>\r\n					<option value="1" >中</option>\r\n					<option value="2" selected>大</option>\r\n							</select></li>\r\n						<li><label>字体样式：</label>\r\n							<select name="mob_sb_cm_txtfont" id="fontfamily">\r\n<option value="arial" selected>Arial</option>\r\n<option value="bookman" >Bookman Old Style</option>\r\n<option value="courier" >Courier</option>\r\n<option value="garamond" >Garamond</option>\r\n<option value="lucida console" >Lucida Console</option>\r\n<option value="symbol" >Symbol</option>\r\n<option value="tahoma" >Tahoma</option>\r\n<option value="times new roman" >Times New Roman</option>\r\n<option value="verdana" >Verdana</option>\r\n							</select>\r\n						</li>\r\n					</ul>\r\n				</div>\r\n					\r\n';
}
else {
output += '\r\n	';
//line 118 "theme_2.tt"
if (stash.get(['a', 0, 55, 0]) == '10') {
output += '\r\n		';
//line 113 "theme_2.tt"
stash.set('fontsize', '12px');

output += '\r\n	';
}
else if (stash.get(['a', 0, 55, 0]) == '11') {
output += '\r\n		';
//line 115 "theme_2.tt"
stash.set('fontsize', '14px');

output += '\r\n	';
}
else if (stash.get(['a', 0, 55, 0]) == '12') {
output += '\r\n		';
//line 117 "theme_2.tt"
stash.set('fontsize', '16px');

output += '\r\n	';
}

output += '\r\n  ';
//line 119 "theme_2.tt"
stash.set('f1', '');
//line 119 "theme_2.tt"
stash.set('f2', '');
//line 119 "theme_2.tt"
stash.set('f3', '');
//line 119 "theme_2.tt"
stash.set('f4', '');
output += '\r\n  ';
//line 133 "theme_2.tt"
if (stash.get(['a', 0, 50, 0]) == '1400') {
output += '\r\n  ';
//line 121 "theme_2.tt"
stash.set('f1', 'checked="checked"');

output += '\r\n  ';
//line 122 "theme_2.tt"
stash.set('f2', '');

output += '\r\n  ';
//line 123 "theme_2.tt"
stash.set('f3', '');

output += '\r\n  ';
}
else if (stash.get(['a', 0, 50, 0]) == '1600') {
output += '\r\n  ';
//line 125 "theme_2.tt"
stash.set('f2', 'checked="checked"');

output += '\r\n  ';
//line 126 "theme_2.tt"
stash.set('f1', '');

output += '\r\n  ';
//line 127 "theme_2.tt"
stash.set('f3', '');

output += '\r\n  ';
}
else {
output += '\r\n  ';
//line 129 "theme_2.tt"
stash.set('f3', 'checked="checked"');

output += '\r\n  ';
//line 130 "theme_2.tt"
stash.set('f2', '');

output += '\r\n  ';
//line 131 "theme_2.tt"
stash.set('f1', '');

output += '\r\n  ';
//line 132 "theme_2.tt"
stash.set('f4', stash.get(['a', 0, 50, 0, 'substr', [ 1 ]]));

output += '\r\n  ';
}

output += '\r\n	<h2>主题词展现预览</h2>\r\n						<style>.ymobSearchBox{\r\n											 background-color:#';
//line 136 "theme_2.tt"
output += stash.get(['a', 0, 51, 0, 'substr', [ 1 ]]);
output += ';\r\n											 color:#';
//line 137 "theme_2.tt"
output += stash.get(['a', 0, 53, 0, 'substr', [ 1 ]]);
output += ';\r\n											 width:';
//line 138 "theme_2.tt"
output += stash.get(['a', 0, 50, 0, 'substr', [ 1 ]]);
output += 'px;}\r\n										 .ymobSearchBox{\r\n											 font-size:';
//line 140 "theme_2.tt"
output += stash.get('fontsize');
output += ';\r\n											 font-family:';
//line 141 "theme_2.tt"
output += stash.get(['a', 0, 56, 0, 'substr', [ 1 ]]);
output += ';}\r\n										 #previewCode2 p a{\r\n											 color:#';
//line 143 "theme_2.tt"
output += stash.get(['a', 0, 54, 0, 'substr', [ 1 ]]);
output += ';\r\n											 font-size:';
//line 144 "theme_2.tt"
output += stash.get('fontsize');
output += '}\r\n										 </style>				<div class="ymobSearchBox" title="主题词展现预览" id="previewCode2">\r\n							<p>点击查看更多&nbsp;&nbsp;<a href="#">关键词一</a>&nbsp;&nbsp;<a href="#">关键词二</a>&nbsp;&nbsp;<a href="#">关键词三</a>&nbsp;&nbsp;相关信息</p>\r\n						</div>\r\n\r\n					</div>\r\n					<div style="display:none" id="searchBoxCode"></div>\r\n					<div class="crnr_bl" id="pcbottom"><div class="crnr_br"></div></div>\r\n				</div>\r\n\r\n				<form method="post"  id="mobForm" onSubmit="return validateForm();">\r\n					<input type="hidden" id="detail" value=';
//line 155 "theme_2.tt"
output += stash.get(['postlist', 0, 'blob_client_data1', 0]);
output += '>\r\n					<div class=bd id="topFormFields">\r\n						<h2>显示</h2>\r\n\r\n						<!--h2>1. 搜索框尺寸</h2-->\r\n										<ul id="searchBoxWidth">\r\n							<li>\r\n								<input id="prvwSizeNarrow" type="radio" name="mob_sb_cm_width" value="400"  ';
//line 162 "theme_2.tt"
output += stash.get('f1');
output += '><label for="prvwSizeNarrow"> 宽<em>400像素</em></label>\r\n							</li>\r\n							<li>\r\n								<input id="prvwSizeWide" type="radio" name="mob_sb_cm_width" value="600" ';
//line 165 "theme_2.tt"
output += stash.get('f2');
output += ' ><label for="prvwSizeWide"> 宽<em>600像素</em></label>\r\n							</li>\r\n							<li>\r\n								<input id="prvwSizeCustom" type="radio" name="mob_sb_cm_width" ';
//line 168 "theme_2.tt"
output += stash.get('f3');
output += '><label for="prvwSizeCustom"> 自定义<em></em></label>\r\n							</li>\r\n							<li class="custom">\r\n								<input type="text" name="mob_sb_cm_width" id="sb_customBoxWidth" value="';
//line 171 "theme_2.tt"
output += stash.get('f4');
output += '" ><label for="sb_customBoxWidth">像素</label><em>最小: 400像素 &#160; 最大: 600像素</em>\r\n							</li>\r\n						</ul>\r\n					</div>\r\n					<input name="mob_sb_cm_width" id="finalWidth" type="hidden" />\r\n\r\n					<div class=bd id="formFields">\r\n						<div>\r\n							<ul>\r\n							</ul>\r\n						</div>\r\n						<h2>配色</h2>\r\n						<!--h2> 3. 颜色和字体</h2>\r\n						<h3> </h3-->\r\n						<div id="colors">   \r\n							<ul>\r\n								<li>\r\n									<div id="bgColorSample" class="colorSample" style="background:#';
//line 188 "theme_2.tt"
output += stash.get(['a', 0, 51, 0, 'substr', [ 1 ]]);
output += ';"  ></div>\r\n									<label for="bgColor">背景颜色：</label>\r\n									# <input maxlength="6" id="bgColor" type="text" name="mob_sb_cm_bgcolor" value="';
//line 190 "theme_2.tt"
output += stash.get(['a', 0, 51, 0, 'substr', [ 1 ]]);
output += '">\r\n								</li>						\r\n								<!--li id="ppColorListItem"  -->\r\n								<li>\r\n									<div id="ppColorSample" class="colorSample" style="background:#';
//line 194 "theme_2.tt"
output += stash.get(['a', 0, 53, 0, 'substr', [ 1 ]]);
output += '" ></div>\r\n									<label for="ppColor">文字颜色：</label>\r\n									# <input maxlength="6" id="ppColor" type="text" name="mob_sb_cm_txtcolor" id="mob_sb_pop_color" value="';
//line 196 "theme_2.tt"
output += stash.get(['a', 0, 53, 0, 'substr', [ 1 ]]);
output += '" >\r\n								</li>\r\n								<li>\r\n									<div id="baColorSample" class="colorSample" style="background:#';
//line 199 "theme_2.tt"
output += stash.get(['a', 0, 54, 0, 'substr', [ 1 ]]);
output += '" ></div>\r\n									<label for="baColor">链接颜色：</label>\r\n									# <input maxlength="6" id="baColor" type="text" name="mob_sb_cm_lnkcolor" value="';
//line 201 "theme_2.tt"
output += stash.get(['a', 0, 54, 0, 'substr', [ 1 ]]);
output += '">\r\n								</li>\r\n								<li><label>字体大小：</label>\r\n									<select name="mob_sb_cm_txtsize" id="fontsize">\r\n							<option value="0" ';
//line 205 "theme_2.tt"
if (stash.get(['a', 0, 55, 0]) == '10') {
output += 'selected';
}

output += '>小</option>\r\n							<option value="1" ';
//line 206 "theme_2.tt"
if (stash.get(['a', 0, 55, 0]) == '11') {
output += 'selected';
}

output += '>中</option>\r\n							<option value="2" ';
//line 207 "theme_2.tt"
if (stash.get(['a', 0, 55, 0]) == '12') {
output += 'selected';
}

output += '>大</option>\r\n									</select></li>\r\n								<li><label>字体样式：</label>\r\n									<select name="mob_sb_cm_txtfont" id="fontfamily">\r\n		<option value="arial" ';
//line 211 "theme_2.tt"
if (stash.get(['a', 0, 56, 0]) == '1arial') {
output += 'selected';
}

output += '>Arial</option>\r\n		<option value="bookman" ';
//line 212 "theme_2.tt"
if (stash.get(['a', 0, 56, 0]) == '1bookman') {
output += 'selected';
}

output += '>Bookman Old Style</option>\r\n		<option value="courier" ';
//line 213 "theme_2.tt"
if (stash.get(['a', 0, 56, 0]) == '1courier') {
output += 'selected';
}

output += '>Courier</option>\r\n		<option value="garamond" ';
//line 214 "theme_2.tt"
if (stash.get(['a', 0, 56, 0]) == '1garamond') {
output += 'selected';
}

output += '>Garamond</option>\r\n		<option value="lucida console" ';
//line 215 "theme_2.tt"
if (stash.get(['a', 0, 56, 0]) == '1lucida console') {
output += 'selected';
}

output += '>Lucida Console</option>\r\n		<option value="symbol" ';
//line 216 "theme_2.tt"
if (stash.get(['a', 0, 56, 0]) == '1symbol') {
output += 'selected';
}

output += '>Symbol</option>\r\n		<option value="tahoma" ';
//line 217 "theme_2.tt"
if (stash.get(['a', 0, 56, 0]) == '1tahoma') {
output += 'selected';
}

output += '>Tahoma</option>\r\n		<option value="times new roman" ';
//line 218 "theme_2.tt"
if (stash.get(['a', 0, 56, 0]) == '1times new roman') {
output += 'selected';
}

output += '>Times New Roman</option>\r\n		<option value="verdana" ';
//line 219 "theme_2.tt"
if (stash.get(['a', 0, 56, 0]) == '1verdana') {
output += 'selected';
}

output += '>Verdana</option>\r\n									</select>\r\n								</li>\r\n							</ul>\r\n						</div>\r\n\r\n		\r\n';
}

output += '\r\n\r\n				<div id="colorPicker">\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'330000\')" title="330000" style="background:#330000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'333300\')" title="333300" style="background:#333300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'336600\')" title="336600" style="background:#336600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'339900\')" title="339900" style="background:#339900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CC00\')" title="33CC00" style="background:#33cc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FF00\')" title="33FF00" style="background:#33ff00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FF00\')" title="66FF00" style="background:#66ff00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CC00\')" title="66CC00" style="background:#66cc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'669900\')" title="669900" style="background:#669900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'666600\')" title="666600" style="background:#666600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'663300\')" title="663300" style="background:#663300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'660000\')" title="660000" style="background:#660000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF0000\')" title="FF0000" style="background:#ff0000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF3300\')" title="FF3300" style="background:#ff3300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF6600\')" title="FF6600" style="background:#ff6600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF9900\')" title="FF9900" style="background:#ff9900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCC00\')" title="FFCC00" style="background:#ffcc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFF00\')" title="FFFF00" style="background:#ffff00"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'330033\')" title="330033" style="background:#330033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'333333\')" title="333333" style="background:#333333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'336633\')" title="336633" style="background:#336633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'339933\')" title="339933" style="background:#339933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CC33\')" title="33CC33" style="background:#33cc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FF33\')" title="33FF33" style="background:#33ff33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FF33\')" title="66FF33" style="background:#66ff33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CC33\')" title="66CC33" style="background:#66cc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'669933\')" title="669933" style="background:#669933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'666633\')" title="666633" style="background:#666633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'663333\')" title="663333" style="background:#663333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'660033\')" title="660033" style="background:#660033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF0033\')" title="FF0033" style="background:#ff0033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF3333\')" title="FF3333" style="background:#ff3333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF6633\')" title="FF6633" style="background:#ff6633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF9933\')" title="FF9933" style="background:#ff9933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCC33\')" title="FFCC33" style="background:#ffcc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFF33\')" title="FFFF33" style="background:#ffff33"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'330066\')" title="330066" style="background:#330066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'333366\')" title="333366" style="background:#333366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'336666\')" title="336666" style="background:#336666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'339966\')" title="339966" style="background:#339966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CC66\')" title="33CC66" style="background:#33cc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FF66\')" title="33FF66" style="background:#33ff66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FF66\')" title="66FF66" style="background:#66ff66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CC66\')" title="66CC66" style="background:#66cc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'669966\')" title="669966" style="background:#669966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'666666\')" title="666666" style="background:#666666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'663366\')" title="663366" style="background:#663366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'660066\')" title="660066" style="background:#660066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF0066\')" title="FF0066" style="background:#ff0066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF3366\')" title="FF3366" style="background:#ff3366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF6666\')" title="FF6666" style="background:#ff6666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF9966\')" title="FF9966" style="background:#ff9966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCC66\')" title="FFCC66" style="background:#ffcc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFF66\')" title="FFFF66" style="background:#ffff66"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'330099\')" title="330099" style="background:#330099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'333399\')" title="333399" style="background:#333399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'336699\')" title="336699" style="background:#336699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'339999\')" title="339999" style="background:#339999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CC99\')" title="33CC99" style="background:#33cc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FF99\')" title="33FF99" style="background:#33ff99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FF99\')" title="66FF99" style="background:#66ff99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CC99\')" title="66CC99" style="background:#66cc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'669999\')" title="669999" style="background:#669999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'666699\')" title="666699" style="background:#666699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'663399\')" title="663399" style="background:#663399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'660099\')" title="660099" style="background:#660099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF0099\')" title="FF0099" style="background:#ff0099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF3399\')" title="FF3399" style="background:#ff3399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF6699\')" title="FF6699" style="background:#ff6699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF9999\')" title="FF9999" style="background:#ff9999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCC99\')" title="FFCC99" style="background:#ffcc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFF99\')" title="FFFF99" style="background:#ffff99"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'3300CC\')" title="3300CC" style="background:#3300cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3333CC\')" title="3333CC" style="background:#3333cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3366CC\')" title="3366CC" style="background:#3366cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3399CC\')" title="3399CC" style="background:#3399cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CCCC\')" title="33CCCC" style="background:#33cccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FFCC\')" title="33FFCC" style="background:#33ffcc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FFCC\')" title="66FFCC" style="background:#66ffcc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CCCC\')" title="66CCCC" style="background:#66cccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6699CC\')" title="6699CC" style="background:#6699cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6666CC\')" title="6666CC" style="background:#6666cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6633CC\')" title="6633CC" style="background:#6633cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6600CC\')" title="6600CC" style="background:#6600cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF00CC\')" title="FF00CC" style="background:#ff00cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF33CC\')" title="FF33CC" style="background:#ff33cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF66CC\')" title="FF66CC" style="background:#ff66cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF99CC\')" title="FF99CC" style="background:#ff99cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCCCC\')" title="FFCCCC" style="background:#ffcccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFFCC\')" title="FFFFCC" style="background:#ffffcc"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'3300FF\')" title="3300FF" style="background:#3300ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3333FF\')" title="3333FF" style="background:#3333ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3366FF\')" title="3366FF" style="background:#3366ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'3399FF\')" title="3399FF" style="background:#3399ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33CCFF\')" title="33CCFF" style="background:#33ccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'33FFFF\')" title="33FFFF" style="background:#33ffff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66FFFF\')" title="66FFFF" style="background:#66ffff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'66CCFF\')" title="66CCFF" style="background:#66ccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6699FF\')" title="6699FF" style="background:#6699ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6666FF\')" title="6666FF" style="background:#6666ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6633FF\')" title="6633FF" style="background:#6633ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'6600FF\')" title="6600FF" style="background:#6600ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF00FF\')" title="FF00FF" style="background:#ff00ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF33FF\')" title="FF33FF" style="background:#ff33ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF66FF\')" title="FF66FF" style="background:#ff66ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FF99FF\')" title="FF99FF" style="background:#ff99ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFCCFF\')" title="FFCCFF" style="background:#ffccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title="FFFFFF" style="background:#ffffff"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'0000FF\')" title="0000FF" style="background:#0000ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0033FF\')" title="0033FF" style="background:#0033ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0066FF\')" title="0066FF" style="background:#0066ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0099FF\')" title="0099FF" style="background:#0099ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CCFF\')" title="00CCFF" style="background:#00ccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FFFF\')" title="00FFFF" style="background:#00ffff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FFFF\')" title="99FFFF" style="background:#99ffff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CCFF\')" title="99CCFF" style="background:#99ccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9999FF\')" title="9999FF" style="background:#9999ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9966FF\')" title="9966FF" style="background:#9966ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9933FF\')" title="9933FF" style="background:#9933ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9900FF\')" title="9900FF" style="background:#9900ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC00FF\')" title="CC00FF" style="background:#cc00ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC33FF\')" title="CC33FF" style="background:#cc33ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC66FF\')" title="CC66FF" style="background:#cc66ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC99FF\')" title="CC99FF" style="background:#cc99ff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCCFF\')" title="CCCCFF" style="background:#ccccff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFFFF\')" title="CCFFFF" style="background:#ccffff"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'0000CC\')" title="0000CC" style="background:#0000cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0033CC\')" title="0033CC" style="background:#0033cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0066CC\')" title="0066CC" style="background:#0066cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'0099CC\')" title="0099CC" style="background:#0099cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CCCC\')" title="00CCCC" style="background:#00cccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FFCC\')" title="00FFCC" style="background:#00ffcc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FFCC\')" title="99FFCC" style="background:#99ffcc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CCCC\')" title="99CCCC" style="background:#99cccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9999CC\')" title="9999CC" style="background:#9999cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9966CC\')" title="9966CC" style="background:#9966cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9933CC\')" title="9933CC" style="background:#9933cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'9900CC\')" title="9900CC" style="background:#9900cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC00CC\')" title="CC00CC" style="background:#cc00cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC33CC\')" title="CC33CC" style="background:#cc33cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC66CC\')" title="CC66CC" style="background:#cc66cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC99CC\')" title="CC99CC" style="background:#cc99cc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCCCC\')" title="CCCCCC" style="background:#cccccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFFCC\')" title="CCFFCC" style="background:#ccffcc"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'000099\')" title="000099" style="background:#000099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'003399\')" title="003399" style="background:#003399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'006699\')" title="006699" style="background:#006699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'009999\')" title="009999" style="background:#009999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CC99\')" title="00CC99" style="background:#00cc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FF99\')" title="00FF99" style="background:#00ff99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FF99\')" title="99FF99" style="background:#99ff99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CC99\')" title="99CC99" style="background:#99cc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'999999\')" title="999999" style="background:#999999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'996699\')" title="996699" style="background:#996699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'993399\')" title="993399" style="background:#993399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'990099\')" title="990099" style="background:#990099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC0099\')" title="CC0099" style="background:#cc0099"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC3399\')" title="CC3399" style="background:#cc3399"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC6699\')" title="CC6699" style="background:#cc6699"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC9999\')" title="CC9999" style="background:#cc9999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCC99\')" title="CCCC99" style="background:#cccc99"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFF99\')" title="CCFF99" style="background:#ccff99"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'000066\')" title="000066" style="background:#000066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'003366\')" title="003366" style="background:#003366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'006666\')" title="006666" style="background:#006666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'009966\')" title="009966" style="background:#009966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CC66\')" title="00CC66" style="background:#00cc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FF66\')" title="00FF66" style="background:#00ff66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FF66\')" title="99FF66" style="background:#99ff66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CC66\')" title="99CC66" style="background:#99cc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'999966\')" title="999966" style="background:#999966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'996666\')" title="996666" style="background:#996666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'993366\')" title="993366" style="background:#993366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'990066\')" title="990066" style="background:#990066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC0066\')" title="CC0066" style="background:#cc0066"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC3366\')" title="CC3366" style="background:#cc3366"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC6666\')" title="CC6666" style="background:#cc6666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC9966\')" title="CC9966" style="background:#cc9966"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCC66\')" title="CCCC66" style="background:#cccc66"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFF66\')" title="CCFF66" style="background:#ccff66"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'000033\')" title="000033" style="background:#000033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'003333\')" title="003333" style="background:#003333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'006633\')" title="006633" style="background:#006633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'009933\')" title="009933" style="background:#009933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CC33\')" title="00CC33" style="background:#00cc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FF33\')" title="00FF33" style="background:#00ff33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FF33\')" title="99FF33" style="background:#99ff33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CC33\')" title="99CC33" style="background:#99cc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'999933\')" title="999933" style="background:#999933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'996633\')" title="996633" style="background:#996633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'993333\')" title="993333" style="background:#993333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'990033\')" title="990033" style="background:#990033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC0033\')" title="CC0033" style="background:#cc0033"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC3333\')" title="CC3333" style="background:#cc3333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC6633\')" title="CC6633" style="background:#cc6633"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC9933\')" title="CC9933" style="background:#cc9933"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCC33\')" title="CCCC33" style="background:#cccc33"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFF33\')" title="CCFF33" style="background:#ccff33"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'000000\')" title="000000" style="background:#000000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'003300\')" title="003300" style="background:#003300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'006600\')" title="006600" style="background:#006600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'009900\')" title="009900" style="background:#009900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00CC00\')" title="00CC00" style="background:#00cc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'00FF00\')" title="00FF00" style="background:#00ff00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99FF00\')" title="99FF00" style="background:#99ff00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'99CC00\')" title="99CC00" style="background:#99cc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'999900\')" title="999900" style="background:#999900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'996600\')" title="996600" style="background:#996600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'993300\')" title="993300" style="background:#993300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'990000\')" title="990000" style="background:#990000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC0000\')" title="CC0000" style="background:#cc0000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC3300\')" title="CC3300" style="background:#cc3300"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC6600\')" title="CC6600" style="background:#cc6600"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CC9900\')" title="CC9900" style="background:#cc9900"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCC00\')" title="CCCC00" style="background:#cccc00"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCFF00\')" title="CCFF00" style="background:#ccff00"></li>\r\n</ul>\r\n<ul>\r\n<li onclick="YMOB.chooseThisColor(\'000000\')" title="000000" style="background:#000000"></li>\r\n<li onclick="YMOB.chooseThisColor(\'111111\')" title="111111" style="background:#111111"></li>\r\n<li onclick="YMOB.chooseThisColor(\'222222\')" title="222222" style="background:#222222"></li>\r\n<li onclick="YMOB.chooseThisColor(\'333333\')" title="333333" style="background:#333333"></li>\r\n<li onclick="YMOB.chooseThisColor(\'444444\')" title="444444" style="background:#444444"></li>\r\n<li onclick="YMOB.chooseThisColor(\'555555\')" title="555555" style="background:#555555"></li>\r\n<li onclick="YMOB.chooseThisColor(\'666666\')" title="666666" style="background:#666666"></li>\r\n<li onclick="YMOB.chooseThisColor(\'777777\')" title="777777" style="background:#777777"></li>\r\n<li onclick="YMOB.chooseThisColor(\'888888\')" title="888888" style="background:#888888"></li>\r\n<li onclick="YMOB.chooseThisColor(\'999999\')" title="999999" style="background:#999999"></li>\r\n<li onclick="YMOB.chooseThisColor(\'AAAAAA\')" title="AAAAAA" style="background:#aaaaaa"></li>\r\n<li onclick="YMOB.chooseThisColor(\'BBBBBB\')" title="BBBBBB" style="background:#bbbbbb"></li>\r\n<li onclick="YMOB.chooseThisColor(\'CCCCCC\')" title="CCCCCC" style="background:#cccccc"></li>\r\n<li onclick="YMOB.chooseThisColor(\'DDDDDD\')" title="DDDDDD" style="background:#dddddd"></li>\r\n<li onclick="YMOB.chooseThisColor(\'EEEEEE\')" title="EEEEEE" style="background:#eeeeee"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title="FFFFFF" style="background:#ffffff"></li>\r\n<li onclick="YMOB.chooseThisColor(\'7E9DB9\')" title="7E9DB9" style="background:#7E9DB9"></li>\r\n<li onclick="YMOB.chooseThisColor(\'FFFFFF\')" title="FFFFFF" style="background:#FFFFFF"></li>\r\n</ul>\r\n				</div>\r\n				<div id="buttons">\r\n<input type="submit" value="保存修改">\r\n<input type="button" value="取消" onClick="window.location=\'index.html\'"></div>\r\n</form>\r\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

