﻿////////////////////////////////////////////////////////////////////////
// maxSearch Search Engine List v1.0.1
// 2007-03-14 14:33:16
// SiC
////////////////////////////////////////////////////////////////////////
//**********************************************************************
// Default Values
//**********************************************************************
maxSearch.defaults = {};
maxSearch.defaults.langCode = "en-us";
maxSearch.defaults.category = "preferred";
maxSearch.defaults.saveHistory = true;
maxSearch.defaults.loadAll = false;
maxSearch.defaults.maxKeyword = 15;
maxSearch.defaults.preferredList = {};
maxSearch.defaults.preferredList["en-us"] = [
	{c: "web", n: "google"},
	{c: "web", n: "yahoo"},
	{c: "web", n: "ask"},
	{c: "forum", n: "google"},
	{c: "image", n: "google"}	
]
maxSearch.defaults.preferredList["zh-cn"] = [
        {c: "video", n: "gougou"},
	{c: "gouwu", n: "taobao"},
        {c: "gouwu", n: "dangdang"},
        {c: "gouwu", n: "joyo"},
        {c: "gouwu", n: "mingpin"},
        {c: "music", n: "365myt"},
        {c: "music", n: "LRC"},
	{c: "music", n: "mms"},
	{c: "image", n: "google"}
        //{c: "web", n: "google"},
        //{c: "web", n: "google"},
        //{c: "web", n: "soso"},      
]
maxSearch.defaults.preferredList["fr-fr"] = [
	{c: "web", n: "google"},
	{c: "web", n: "yahoo"},
	{c: "web", n: "ask"},
	{c: "forum", n: "google"},
	{c: "image", n: "google"}
]
//**********************************************************************
// Search Engine Lists
//**********************************************************************
maxSearch.localeList = {};
//**********************************************************************
// English
//**********************************************************************
maxSearch.localeList["en-us"] = {};
maxSearch.localeList["en-us"]["web"] = {
	"title": "Web",
	"items": {
		"google": { title: "Google",
url: "http://www.google.cn/search?client=pub-0137779446057255&channel=5589300547&prog=aff&hl=zh-CN&q={keyword}" },
		"yahoo": { title: "Yahoo!",
			url: "http://search.yahoo.com/search?fr=cb-max&serveUrl=www.365myt.com&ei=utf-8&p={keyword}" },
		"ask": { title: "Ask.com",
			url: "http://www.ask.com/web?q={keyword}" },
		"live": { title: "Live Search",
			url: "http://search.live.com/results.aspx?q={keyword}" },
		"looksmart": { title: "Looksmart",
			url: "http://search.looksmart.com/p/search?free=1&qta=1&qt={keyword}" },
		"gigablast": { title: "Gigablast",
			url: "http://www.gigablast.com/search?q={keyword}" }
	}
}
maxSearch.localeList["en-us"]["image"] = {
	"title": "Images",
	"items": {
		"google": { title: "Google", subtitle: " Images",
			url: "http://images.google.com/images?hl=en&q={keyword}&gbv=2" },
		"yahoo": { title: "Yahoo!", subtitle: " Images",
url: "http://images.search.yahoo.com/search/images?ei=UTF-8&fr=cb-max&serveUrl=www.365myt.com&p={keyword}" },
		"ask": { title: "Ask.com", subtitle: " Images",
			url: "http://images.ask.com/pictures?q={keyword}&qsrc=2072&tool=img" },
		"live": { title: "Live Search", subtitle: " Images",
			url: "http://search.live.com/images/results.aspx?q={keyword}&FORM=BIRE" },
		"flickr": { title: "Flickr",
			url: "http://www.flickr.com/search/?q={keyword}" },
		"picsearch": { title: "PicSearch",
			url: "http://www.picsearch.com/search.cgi?q={keyword}" }
	}
}
maxSearch.localeList["en-us"]["news"] = {
	"title": "News",
	"items": {
		"google": { title: "Google", subtitle: " News",
			url: "http://news.google.com/news?hl=en&ned=us&q={keyword}" },
		"yahoo": { title: "Yahoo!", subtitle: " News",
			url: "http://news.search.yahoo.com/news/search?p={keyword}" },
		"live": { title: "Live Search", subtitle: " News",
			url: "http://search.live.com/news/results.aspx?q={keyword}&FORM=BNRE" },
		"daypop": { title: "Daypop", subtitle: " News",
			url: "http://www.daypop.com/search?q={keyword}&t=n" },
		"alltheweb": { title: "AllTheWeb", subtitle: " News",
			url: "http://www.alltheweb.com/search?cat=news&cs=utf8&q={keyword}&rys=0&itag=crv&_sb_lang=any" },
		"altavista": { title: "AltaVista", subtitle: " News",
			url: "http://www.altavista.com/news/results?q={keyword}&nc=0&nr=0&nd=2" }
	}
}
maxSearch.localeList["en-us"]["blog"] = {
	"title": "Blog",
	"items": {
		"google": { title: "Google", subtitle: " Blogs",
			url: "http://blogsearch.google.com/blogsearch?ie=UTF8&oe=UTF-8&hl=en&q={keyword}&om=1&z=4&tab=lb" },
		"ask": { title: "Ask.com", subtitle: " Blogs",
			url: "http://www.ask.com/blogsearch?q={keyword}" },
		"technorati": { title: "Technorati",
			url: "http://technorati.com/search/{keyword}" },
		"feedster": { title: "Feedster",
			url: "http://www.feedster.com/search/{keyword}" }
	}
}
maxSearch.localeList["en-us"]["reference"] = {
	"title": "Reference",
	"items": {
		"dictionary": { title: "Dictionary.com",
			url: "http://dictionary.reference.com/browse/{keyword}" },
		"webster": { title: "Merriam-Webster",
			url: "http://www.webster.com/dictionary/{keyword}" },
		"wikipedia": { title: "Wikipedia",
			url: "http://www.wikipedia.org/w/wiki.phtml?search={keyword}" },
		"encarta": { title: "Encarta",
			url: "http://encarta.msn.com/encnet/refpages/search.aspx?q={keyword}" },
		"britannica": { title: "Britannica",
			url: "http://www.britannica.com/search?query={keyword}" },
		"infomine": { title: "Infomine",
			url: "http://infomine.ucr.edu/cgi-bin/canned_search?query={keyword}" }
	}
}
maxSearch.localeList["en-us"]["misc"] = {
	"title": "Misc.",
	"items": {
		"google_groups": { title: "Google Groups",
			url: "http://groups.google.com/groups/search?q={keyword}" },
		"google_maps": { title: "Google Maps",
			url: "http://maps.google.com/maps?ie=UTF-8&oe=UTF-8&hl=en&q={keyword}&z=4&om=1&um=1&sa=N&tab=wl" },
		"amazon": { title: "Amazon",
url: "http://www.amazon.com/s/ref=nb_ss_gw/002-0555077-8828815?url=search-alias%3Daps&field-keywords={keyword}" },
		"ebay": { title: "eBay",
			url: "http://buy.ebay.com/{keyword}" },
		"youtube": { title: "YouTube",
			url: "http://www.youtube.com/results?search_query={keyword}" },
		"yahoo": { title: "Yahoo! Answers", subtitle: "",
			url: "http://answers.yahoo.com/search/search_result;_ylt=AlnxKjDWkwMepoT1FRXn2tgjzKIX?p={keyword}" }
	}
}
//**********************************************************************
// 简体中文
//**********************************************************************
maxSearch.localeList["zh-cn"] = {};
maxSearch.localeList["zh-cn"]["web"] = {
	"title": "网页",
	"items": {
		"google": { title: "Google",
url: "http://www.google.cn/search?q={keyword}&client=pub-0137779446057255&channel=5400639933&forid=1&prog=aff&ie=UTF-8&oe=UTF-8&hl=zh-CN&source=sdo_cts_html" },
		"sogou": { title: "搜狗",
		        url: "http://www.sogou.com/web?Source=www.365myt.com&query={keyword:gb2312}" },
		"live": { title: "Bing",
			url: "http://cn.bing.com/search?Source=www.365myt.com&q={keyword}" },
                "baidu": { title: "百度",
			url: "http://www.baidu.com/baidu?tn=soufc_pg&fyb=0&ch=1&word={keyword:gb2312}" },
		"soso": { title: "搜搜",
			url: "http://www.soso.com/q?Source=www.365myt.com&w={keyword:gb2312}"	},
                "youdao": { title: "有道",
			url: "http://www.youdao.com/search?keyfrom=yodaoweb.suggest&Source=www.365myt.com&q={keyword}"}
	}
}
maxSearch.localeList["zh-cn"]["image"] = {
	"title": "图片",
	"items": {
		"google": { title: "Google", subtitle: "图片",
			url: "http://images.google.cn/images?Source=www.365myt.com&q={keyword}" },
                "sogou": { title: "搜狗", subtitle: "图片",
			url: "http://pic.sogou.com/pics?Source=www.365myt.com&query={keyword:gb2312}" },
                "soso": { title: "搜搜",
			url: "http://image.soso.com/image.cgi?sc=img&Source=www.365myt.com&w={keyword:gb2312}" },
		"live": { title: "Bing", subtitle: "图片",
			url: "http://cn.bing.com/images/search?Source=www.365myt.com&q={keyword}" },	
		"iask": { title: "爱问", subtitle: "图片",
			url: "http://p.iask.com/p?Source=www.365myt.com&k={keyword:gb2312}" },
                "baidu": { title: "百度", subtitle: "图片",
			url: "http://image.baidu.com/i?ct=201326592&lm=-1&word={keyword:gb2312}&Source=www.365myt.com" }
		
	}
}
maxSearch.localeList["zh-cn"]["news"] = {
	"title": "新闻",
	"items": {
		"google": { title: "Google", subtitle: "新闻",
			url: "http://news.google.cn/news?ie=utf-8&oe=utf-8&q={keyword}" },
		"baidu": { title: "百度", subtitle: "新闻",
			url: "http://news.baidu.com/ns?word={keyword:gb2312}" },
		"iask": { title: "爱问", subtitle: "新闻",
			url: "http://www.iask.com/n?Source=www.365myt.com&k={keyword:gb2312}" },
		"sogou": { title: "搜狗", subtitle: "新闻",
			url: "http://news.sogou.com/news?Source=www.365myt.com&query={keyword:gb2312}" },
		"qihoo": { title: "奇虎", subtitle: "新闻",
			url: "http://so.news.qihoo.com/?Source=www.365myt.com&kw={keyword:gb2312}" },
		"zhongshou": { title: "中搜", subtitle: "新闻",
			url: "http://z.zhongsou.com/n?Source=www.365myt.com&w={keyword:gb2312}" }
	}
}
maxSearch.localeList["zh-cn"]["music"] = {
	"title": "音乐",
	"items": {	
                "365myt": { title: "MP3", 
			url: "http://mp3.365myt.com/Musics/?q={keyword}&ie=utf-8" },
                "LRC": { title: "歌词", 
			url: "http://mp3.365myt.com/lyrics/?q={keyword:gb2312}&ie=gb2312" },
                "mms": { title: "铃声", 
			url: "http://www.365myt.com/lingsheng/?q={keyword:gb2312}&l=.html" },
		"baidu": { title: "百度",
			url: "http://mp3.baidu.com/m?f=ms&&ct=134217728&lm=-1&word={keyword:gb2312}" },	
                "sogou": { title: "搜狗", subtitle: "音乐",
			url: "http://d.sogou.com/music?Source=www.365myt.com&class=1&query={keyword:gb2312}" },
                "youdao": { title: "有道", subtitle: "MP3",
	url: "http://mp3.youdao.com/search?ue=utf8&keyfrom=music.index&t=ALL&Source=www.365myt.com&q={keyword}" },
		"soso": { title: "搜搜", subtitle: "MP3",
			url: "http://cgi.music.soso.com/fcgi-bin/m.q?Source=www.365myt.com&w={keyword:gb2312}" }
	}
}
maxSearch.localeList["zh-cn"]["video"] = {
	"title": "视频",
	"items": {
                "gougou": { title: "狗狗",
			url: "http://www.gougou.com/search?id=31814&search={keyword}" },
                "Google": { title: "Google视频",
			url: "http://video.google.cn/videosearch?Source=www.365myt.com&emb=0&q={keyword}" },
                "baidu": { title: "百度", 
			url: "http://video.baidu.com/v?ct=301989888&rn=20&pn=0&db=0&s=8&word={keyword:gb2312}" },		
		"youku": { title: "优酷",
			url: "http://so.youku.com/search_video/q_{keyword:gb2312}" },
		"tudou": { title: "土豆",
			url: "http://so.tudou.com/isearch/{keyword}/" },
		"ku6": { title: "酷6", subtitle: "视频",
			url: "http://so.ku6.com/v?q={keyword}" },
                "56": { title: "56视频",
			url: "http://so.56.com/index?type=video&key={keyword:gb2312}" },
                "6cn": { title: "六间房",
			url: "http://6.cn/search.php?t=v&ko=1&k={keyword}" },
                "gougouvideo": { title: "Bing",
			url: "http://cn.bing.com/videos/search?Source=www.365myt.com&q={keyword}" }
	}
}
maxSearch.localeList["zh-cn"]["forum"] = {
	"title": "社区问答",
	"items": {
                 "baidu_zhidao": { title: "百度知道",
			url: "http://zhidao.baidu.com/q?ct=17&pn=0&tn=ikaslist&rn=10&word={keyword:gb2312}" },
		"tieba": { title: "百度贴吧",
			url: "http://tieba.baidu.com/f?kw={keyword:gb2312}" },
		"iask_k": { title: "爱问知识人",
			url: "http://iask.sina.com.cn/search_engine/search_knowledge_engine.php?key={keyword:gb2312}" },
		"qihoo": { title: "奇虎", subtitle: "论坛",
			url: "http://www.qihoo.com/wenda.php?kw={keyword:gb2312}&ff=1&do=search&noq=q&src=nindex" },
		"soso": { title: "搜搜问问",
			url: "http://wenwen.soso.com/z/SearchSolved.e?ch=k2&sp={keyword}" },
		"yahoo": { title: "雅虎知识堂", subtitle: "论坛",
url: "http://ks.cn.yahoo.com/search/search_result?title=&link=ask_write&source=ysearch_knowledge_search&p={keyword}" }
	}
}
maxSearch.localeList["zh-cn"]["blog"] = {
	"title": "博客",
	"items": {
		"Google": { title: "Google",
			url: "http://blogsearch.google.cn/blogsearch?hl=zh-CN&q={keyword}" },
		"baidu": { title: "百度", subtitle: "博客",
			url: "http://blogsearch.baidu.com/s?wd={keyword:gb2312}" },
		"yodao": { title: "有道", subtitle: "博客",
			url: "http://blog.yodao.com/search?q={keyword}" },
		"qihoo": { title: "奇虎", subtitle: "博客",
			url: "http://so.blog.qihoo.com/index.html?kw={keyword:gb2312}" }
	}
}
maxSearch.localeList["zh-cn"]["dict"] = {
	"title": "词典",
	"items": {
		"iciba": { title: "爱词霸",
			url: "http://dict.iciba.com/{keyword}/?uid=29314&sid=7" },
		"baidu": { title: "百度词典",
			url: "http://www.baidu.com/s?&ct=1048576&wd={keyword:gb2312}&tn=1ndex2_pg" },
		"dictcn": { title: "Dict.cn",
			url: "http://www.dict.cn/search/?q={keyword:gb2312}" },
		"yodao": { title: "有道", subtitle: "海量词典",
			url: "http://dict.yodao.com/search?q={keyword}" },
		"zdic": { title: "汉典",
			url: "http://www.zdic.net/zd/search/?q={keyword}" }
	}
}
maxSearch.localeList["zh-cn"]["ditu"] = {
	"title": "地图",
	"items": {
		"google": { title: "谷歌地图",
                         url: "http://ditu.google.cn/maps?f=l&hl=zh-CN&geocode=&q={keyword}" },
		"baidu": { title: "百度地图",
                         url: "http://map.baidu.com/#word={keyword:gb2312}&ct=10" },
                "sogou": { title: "搜狗地图",
                         url: "http://map.sogou.com/#c=11944000,4152000,4&city=%u5168%u56FD&lq={keyword}&page=1" }
	}
}
maxSearch.localeList["zh-cn"]["gouwu"] = {
	"title": "购物",
	"items": {
		"taobao": { title: "淘宝",
  url: "http://search8.taobao.com/browse/search_auction.htm?cat=0&unid=&commend=all&search_type=auction&user_action=initiative&f=D9_5_1&at_topsearch=1&sort=&spercent=0&pid=mm_10504968_0_0&q={keyword:gb2312}" },
		"dangdang": { title: "当当",
url: "http://union.dangdang.com/transfer/transfer.aspx?from=P-267074&backurl=http://search.dangdang.com/search.aspx?key={keyword:gb2312}" },
                "joyo": { title: "卓越",
                        url: "http://www.amazon.cn/search/search.asp?source=soufc&searchWord={keyword}" },
                "mingpin": { title: "购物客",
                        url: "http://mingpin.gouwuke.com/search.do?oid=10649&gsid=89740&keyword={keyword:gb2312}&view=list" }
	}
}
//**********************************************************************
// Français
//**********************************************************************
maxSearch.localeList["fr-fr"] = {};
maxSearch.localeList["fr-fr"]["preferred"] = {}; // place holder for user list
maxSearch.localeList["fr-fr"]["web"] = {
	"title": "Web",
	"items": {
		"google": { title: "Google",
url: "http://www.google.fr/search?client=pub-0137779446057255&forid=1&ie=utf-8&oe=utf-8&hl=fr&q={keyword}" },
		"yahoo": { title: "Yahoo!",
			url: "http://fr.search.yahoo.com/search?&ei=utf-8&p={keyword}" },
		"ask": { title: "Ask.com",
			url: "http://fr.ask.com/web?q={keyword}" },
		"live": { title: "Live Search",
			url: "http://search.live.com/results.aspx?q={keyword}" },
		"exalead": { title: "Exalead",
			url: "http://www.exalead.fr/search/results?q={keyword}&%24mode=allweb" },
		"voila": { title: "Voila",
			url: "http://search.ke.voila.fr/S/voila?rtype=kw&rdata={keyword}&profil=voila" }
	}
}
maxSearch.localeList["fr-fr"]["image"] = {
	"title": "Images",
	"items": {
		"google": { title: "Google", subtitle: " Images",
			url: "http://images.google.fr/images?hl=fr&q={keyword}&gbv=2" },
		"yahoo": { title: "Yahoo!", subtitle: " Images",
			url: "http://fr.search.yahoo.com/search/images?ei=UTF-8&fr=&p={keyword}" },
		"ask": { title: "Ask.com", subtitle: " Images",
			url: "http://fr.ask.com/pictures?q={keyword}&qsrc=2072&tool=img" },
		"live": { title: "Live Search", subtitle: " Images",
			url: "http://search.live.com/images/results.aspx?q={keyword}&FORM=BIRE" },
		"flickr": { title: "Flickr",
			url: "http://www.flickr.com/search/?q={keyword}" },
		"picsearch": { title: "PicSearch",
			url: "http://www.picsearch.fr/search.cgi?q={keyword}" }
	}
}
maxSearch.localeList["fr-fr"]["news"] = {
	"title": "Actualités",
	"items": {
		"google": { title: "Google", subtitle: " News",
			url: "http://news.google.fr/news?hl=fr&ned=fr&q={keyword}" },
		"yahoo": { title: "Yahoo!", subtitle: " News",
			url: "http://fr.news.search.yahoo.com/news/search?p={keyword}" },
		"live": { title: "Live Search", subtitle: " News",
			url: "http://search.live.com/news/results.aspx?q={keyword}&FORM=BNRE" },
		"daypop": { title: "Daypop", subtitle: " News",
			url: "http://www.daypop.com/search?q={keyword}&t=n&ln=fr" },
		"alltheweb": { title: "AllTheWeb", subtitle: " News",
			url: "http://www.alltheweb.com/search?cat=news&cs=utf8&q={keyword}&rys=0&itag=crv&_sb_lang=fr" },
		"altavista": { title: "AltaVista", subtitle: " News",
			url: "http://www.altavista.com/news/results?q={keyword}&nc=0&nr=0&nd=2" }
	}
}
maxSearch.localeList["fr-fr"]["blog"] = {
	"title": "Blogs",
	"items": {
		"google": { title: "Google", subtitle: " Blogs",
			url: "http://blogsearch.google.fr/blogsearch?ie=UTF8&oe=UTF-8&hl=fr&q={keyword}&om=1&z=4&tab=lb" },
		"ask": { title: "Ask.com", subtitle: " Blogs",
			url: "http://fr.ask.com/blogsearch?q={keyword}" },
		"technorati": { title: "Technorati",
			url: "http://technorati.com/search/{keyword}?language=fr&authority=n" },
		"feedster": { title: "Feedster",
			url: "http://www.feedster.com/search/{keyword}" }
	}
}
maxSearch.localeList["fr-fr"]["reference"] = {
	"title": "Références",
	"items": {
		"dictionary": { title: "Dictionary.com",
			url: "http://dictionary.reference.com/browse/{keyword}" },
		"tv5": { title: "Dictionnaire TV5",
			url: "http://dictionnaire.tv5.org/dictionnaires.asp?Action=&param={keyword}&che=1" },
		"alexandria": { title: "Dictionnaire Alexandria",
url: "http://www.tv5.org/TV5Site/alexandria/definition.php?sl=fr&tl=fr&ok.x=0&ok.y=0&ok=OK&terme={keyword}" },
		"wikipedia": { title: "Wikipédia",
			url: "http://fr.wikipedia.org/wiki/{keyword}" },
		"encarta": { title: "Encarta",
			url: "http://fr.encarta.msn.com/encnet/refpages/search.aspx?q={keyword}" },
		"britannica": { title: "Britannica",
			url: "http://www.britannica.com/search?query={keyword}" }
	}
}
maxSearch.localeList["fr-fr"]["misc"] = {
	"title": "Divers",
	"items": {
		"google_groups": { title: "Google Groupes",
			url: "http://groups.google.fr/groups/search?q={keyword}" },
		"google_maps": { title: "Google Maps",
			url: "http://maps.google.fr/maps?ie=UTF-8&oe=UTF-8&hl=fr&q={keyword}&z=4&om=1&um=1&sa=N&tab=wl" },
		"amazon": { title: "Amazon",
url: "http://www.amazon.fr/s/ref=nb_ss_gw/002-0555077-8828815?url=search-alias%3Daps&field-keywords={keyword}" },
		"ebay": { title: "eBay",
			url: "http://acheter.ebay.fr/{keyword}" },
		"youtube": { title: "YouTube",
			url: "http://www.youtube.com/results?search_query={keyword}" },
		"yahoo": { title: "Yahoo Questions Réponses", subtitle: "",
			url: "http://fr.answers.yahoo.com/search/search_result;_ylt=AlnxKjDWkwMepoT1FRXn2tgjzKIX?p={keyword}" }
	}
}