if (!window.exad) {
	window.exad = {};
	var checkChar = function(value) {
		if (!value || value == "undefined" || value == "null") {
			value = null;
		} else {
			value = parseInt(value);
			if (value < 0) {
				value = 0;
			}
			value = String(value);
		}
		if (value) {
			var a = value.match(/[A-Z0-9_\.]+/i);
			if (a && a.length == 1 && a[0].length == value.length) {
				return value;
			} else {
				return "";
			}
		} else {
			return "";
		}
	};
	window.exad.callback = function(value) {
		if (excitead_common.weatherID) {
			var c = excitead_common.weatherID;
			for (p in value) {
				if (value[p]["area_code"] == c) {
					break;
				}
			}
			var e1 = checkChar(value[p]["weather_code"]);
			var e2 = checkChar(value[p]["min_temp"]);
			var e3 = checkChar(value[p]["max_temp"]);
			var e4 = checkChar(value[p]["humidity"]);
			var e5 = checkChar(value[p]["pollen"]);
			var edata = e1 + "|" + e2 + "|" + e3 + "|" + e4 + "|" + e5;
			var now = new Date();
			var d = new Date(now.getTime() + (4 * 1000 * 60 * 60));
			var s = d.toGMTString();
			var domain = location.hostname;
			domain = domain.replace(/.*(\.[\w\-]+\.[a-zA-Z]{3}$)/, '$1');
			domain = domain.replace(/.*(\.[\w\-]+\.\w+\.[a-zA-Z]{2}$)/, '$1');
			domain = domain.replace(/.*(\.[\w\-]{3,}\.[a-zA-Z]{2}$)/, '$1');
			document.cookie = 'xsa_edata=' + edata + '; expires=' + s + '; path=/; domain=' + domain;
		}
	};
}

if (!window.excitead_common) {
	window.excitead_common = function(){
		var _version = "2011/02/22";
		var _cookieObject = null;;
		var _asiSegs = null;;
		var _d1 = null;
		var _d2 = null;
		var _d3 = null;
		var _e1 = null;
		var _e2 = null;
		var _e3 = null;
		var _e4 = null;
		var _e5 = null;
		var _t1 = null;
		var _t2 = null;
		var _weatherID = null;
		var _adunitID = null;
		var _debugMode = false;
		var _showDebugInfo = false;
		var _seq = 0;
		var _ipsx2openx = {
			"EXCITE_WEBAD-IMAGE_0402-300X250" : "117499"
		};
		var _openx2ipsx = {
			"117499" : {"site":"EXCITE.WEBAD", "area":"IMAGE.0402", "size":"300X250"}
		};
		var _prefCode2WeatherCodeTable = [
			"1400", "none", "none", "none", "none", "none", "none", "4010", "4110",
			"4210", "4310", "4510", "4410", "4610", "none", "none", "none", "none",
			"none", "none", "none", "5010", "5110", "none", "none", "6100", "6200",
			"6310", "none", "none", "none", "none", "none", "6710", "none", "none",
			"none", "none", "none", "8210", "none", "none", "none", "none", "none",
			"none", "none"
		];
		var converter = function(s){var t=[3,3,2,3,4,3,9,7];var a=0;for(var i=0;i<4;i++){a+=(parseInt(s.substr(i*3,3),10)/t[i+4]-t[i])*Math.pow(10,3-i);}return a;};
		var debugPatch = function() {
			if (window["excitead_request"]) {
				if (window["excitead_request"].char == "UTF-8" || window["excitead_request"].char == "UFT-8" ) {
					window["excitead_request"].char = "UTF8";
				}
				if (window["excitead_request"].site) window["excitead_request"].site = window["excitead_request"].site.toUpperCase();
				if (window["excitead_request"].area) window["excitead_request"].area = window["excitead_request"].area.toUpperCase();
				if (window["excitead_request"].size) window["excitead_request"].size = window["excitead_request"].size.toUpperCase();
			}
		};
		var initializeAdID = function() {
			debugPatch();
			_seq++;
			var p;
			var ipsxStringID;
			if (window["excitead_request"]) p = window["excitead_request"];
			if (p) {
				if (p.site && p.area && p.size) {
					
					var site = p.site.replace(/\./ig, "_");
					var area = p.area.replace(/\./ig, "_");
					var size = p.size.replace(/\./ig, "_");
					ipsxStringID = site + "-" + area + "-" + size;
				}
				if (p.auid) {
					_adunitID = p.auid;
				}
			}
			if (!_adunitID) {
				_adunitID = _ipsx2openx[ipsxStringID];
			}
		};
		var initializeCookie = function() {
			if (_cookieObject == null) {
				var a = document.cookie.split(/[ ;]/);
				var c;
				var n = a.length;
				_cookieObject = {};
				for (var i = 0; i < n; i++) {
					c = a[i].split("=");
					if (c[0] != "") _cookieObject[c[0]] = c[1];
				}
			}
		};
		var initializeEmotionalData = function() {
			var c = _cookieObject["xsa_edata"];
			if (c) {
				var a = c.split("|");
				if (a && a.length) {
					if (a[0]) _e1 = a[0];
					if (a[1]) _e2 = a[1];
					if (a[2]) _e3 = a[2];
					if (a[3]) _e4 = a[3];
					if (a[4]) _e5 = a[4];
				}
			}
		};
		var initializeASISegments = function() {
			_asiSegs = getASISegs();
			_d3 = getAreaCode(_asiSegs);
		};
		var getASISegs = function() {
			var s = null;
			var b = document.cookie.indexOf("rsi_segs=");
			if (b >= 0) {
				b = document.cookie.indexOf("=", b) + 1;
				if (b > 0) {
					var e = document.cookie.indexOf(";", b);
					if (e == -1) e = document.cookie.length;
					s = document.cookie.substring(b, e).split("|")
				}	
			}
			return s;
		};
		var getAreaCode = function(asiSegs) {
			if (!asiSegs)
				return null;
			var areaID = null;
			var a = asiSegs;
			if (a && a.length) {
				var n = a.length;
				for (var i = 0; i < n; i++) {
					var tmp = a[i].split("_");
					if (tmp.length == 2) {
						var id = parseInt(tmp[1]);
						if (id >= 10053 && id <= 10099) {
							areaID = String(id - 10052);
							break;
						}
					}
				}
			}
			return areaID;
		};
		var initializeDemographic = function() {
			if (location.hostname.indexOf("excite.co.jp") >= 0) {
				var a = (document.cookie).split(";");
				for (var i = 0; i < a.length; i++) {
					a[i] = a[i].replace(/^\s+|\s+$/g, "");
					if (a[i].indexOf("__ursgen=") == 0) {
						break;
					}
				}
				
				if (i != a.length) {
					a = (a[i].substring(9)).split(".");
					if (a.length == 2) {
						_d1 = (a[0] == "0000101")? "M" : "F";
						var age = new Date().getFullYear() - parseInt(converter(a[1]) - 1);
						if (age >= 0 && age <= 300) {
							if (age > 100) {
								age = 100;
							}
							_d2 = String(age);
						}
					}
				}
			} else {
				if (_asiSegs && typeof _asiSegs == "object" && _asiSegs.length >= 0) {
					var m = _asiSegs.length;
					for (var j = 0; j < m; j++) {
						if (_asiSegs[j] == "K10143_10027") {
							_d1 = "M";
							break;
						} else if (_asiSegs[j] == "K10143_10018") {
							_d1 = "F";
							break;
						}
					}
				}
			}
		};
		var handleWindowOnLoaded = function() {
			if (!_e1) {
				if (_weatherID) {
					fetchWheatherJS();
				} else {
					_asiSegs = getASISegs();
					_d3 = getAreaCode(_asiSegs);
					if (_d3 && _prefCode2WeatherCodeTable[_d3] != "none") {
						_weatherID = _prefCode2WeatherCodeTable[_d3];
					}
					initializeGlobalValue();
					if (_weatherID) {
						fetchWheatherJS();
					}
				}
			}
			/*if (location.href.indexOf("http://a.excite.co.jp/News") == 0 && navigator.userAgent.indexOf("Android") >= 0) {
				if (!window["rsi_now"] && !window["rsi_csid"]) {
					var timer = setTimeout(function() {
						clearTimeout(timer);
						if (!window["rsi_now"] && !window["rsi_csid"]) {
							var e = document.createElement("script");
							e.type = "text/javascript";
							e.src = "http://js.revsci.net/gateway/gw.js?csid=K10143&auto=t";
							document.body.appendChild(e);
						}
					}, 500);
				}
			}*/
		};
		var fetchWheatherJS = function() {
			var e = document.createElement("script");
			e.type = "text/javascript";
			e.src = "http://www.excite.co.jp/sa/weather/js/weather.js";
			document.body.appendChild(e);
		};
		var handleWindowOnLoadedForDebug = function() {
			var getData = function(e) {
				var s = (e.innerHTML);
				var a;
				var i = s.indexOf("<!-- ExciteAdInfo[");
				if (i >= 0) {
					s = s.substring(i);
					var j = s.indexOf("] -->");
					if (j > 18) {
						s = s.substring(18, j);
						a = s.split("/");
					}
				}
				var o;
				if (a) {
					for (i = 0; i < a.length; i++) {
						var kv = a[i].split(":");
						if (kv && kv.length == 2) {
							if (!o) {
								o = {};
							}
							o[kv[0]] = kv[1];
						}
					}
				}
				return o;
			};
			var e = document.getElementsByTagName("DIV");
			if (e && e.length) {
				var n = (e.length);
				for (var i = 0; i < n; i++) {
					if (e[i].id.indexOf("excitead_debug") >= 0) {
						var o = getData(e[i]);
						if (o && o["UserIP"] == "180.235.103.68") {
							e[i].style.visibility = "visible";
							e[i].style.hight = "40px";
							e[i].style.position = "relative";
							e[i].style.zIndex = "9999";
							e[i].style.backgroundColor = "#dddddd";
							e[i].style.border = "1px #ff0000 solid";
							e[i].innerHTML = "AdUnitID:" + o["AdUnitID"] + "   --->  OserID:" + o["OrderID"] + " / LineItemID:" + o["LineItemID"] + " / AdID:" + o["AdID"];
						}
					}
				}
			}
		};
		var initializeWeather = function() {
			if (_d3 && _prefCode2WeatherCodeTable[_d3] != "none") {
				_weatherID = _prefCode2WeatherCodeTable[_d3];
			}
		};
		var initializeOnLoad = function() {
			var addListener = function(element, type, fn, flg) {
				if (!element) {
					return false;
				}
				if (element.addEventListener) {
					element.addEventListener(type, fn, flg);
				} else {
					if (element.attachEvent) {
						element.attachEvent('on' + type, fn);
					}
					else {
						return false;
					}
				}
			};
			addListener(window, "load", handleWindowOnLoaded);
		};
		var initializeDebugger = function() {
			if (_debugMode && location.href.indexOf("excitead_debug=true") >= 0) {
				var addListener = function(element, type, fn, flg) {
					if (!element) {
						return false;
					}
					if (element.addEventListener) {
						element.addEventListener(type, fn, flg);
					} else {
						if (element.attachEvent) {
							element.attachEvent('on' + type, fn);
						}
						else {
							return false;
						}
					}
				};
				_showDebugInfo = true;
				addListener(window, "load", handleWindowOnLoadedForDebug);
			} else {
				_showDebugInfo = false;
			}
		};
		var initializeAndroid = function() {
			var ua = navigator.userAgent;
			var version;
			var device;
			if (ua.indexOf("Android") >= 0) {
				var s = ua.substring(ua.indexOf("(" )+ 1, ua.indexOf(")"));
				var list = s.split("; ");
				if (list[2]) {
					var os = list[2].match(/(Android )([0-9]\.[0-9])/);
					if (os && os[2]) {
						version = os[2].replace(/\./, "_");
						_t1 = version;
					}
				}
				if (list[4]) {
					device = list[4].substring(0, list[4].indexOf(" Build"));
					device = device.replace(/ /ig, "_");
					device = device.replace(/\-/ig, "_");
					device = device.replace(/\//ig, "_");
					_t2 = device;
				}
			}
		};
		var initializeGlobalValue = function() {
			excitead_common.d1 = _d1;
			excitead_common.d2 = _d2;
			excitead_common.d3 = _d3;
			excitead_common.e1 = _e1;
			excitead_common.e2 = _e2;
			excitead_common.e3 = _e3;
			excitead_common.e4 = _e4;
			excitead_common.e5 = _e5;
			excitead_common.t1 = _t1;
			excitead_common.t2 = _t2;
			excitead_common.asiSegs = _asiSegs;
			excitead_common.cookieObject = _cookieObject;
			excitead_common.adunitID = _adunitID;
			excitead_common.ipsx2openx = _ipsx2openx;
			excitead_common.openx2ipsx = _openx2ipsx;
			excitead_common.weatherID = _weatherID;
			excitead_common.showDebugInfo = _showDebugInfo;
			excitead_common.seq = _seq;
		};
		
		initializeCookie();
		initializeEmotionalData();
		initializeASISegments();
		initializeDemographic();
		initializeWeather();
		initializeAndroid();
		initializeOnLoad();
		//initializeDebugger();
		
		return {
			d1: null,
			d2: null,
			d3: null,
			asiSegs: null,
			cookieObject: null,
			adunitID: null,
			ipsx2openx: null,
			openx2ipsx: null,
			prefCode2WeatherCodeTable: null,
			start: function() {
				initializeAdID();
				initializeGlobalValue();
			}
		}
	}();
}
excitead_common.start();

if (!window.excitead_ipsx) {
	window.excitead_ipsx = function(){
		var asiSegsIPSX, tagsIPSX;
		var pageID = (Math.random() * 100000000 | 0);
		var prefCode2ipsxString = [
			"HOKKAIDO", "AOMORI", "IWATE", "MIYAGI", "AKITA", "YAMAGATA", "FUKUSHIMA",
			"IBARAGI", "TOCHIGI", "GUNMA", "SAITAMA", "CHIBA", "TOKYO", "KANAGAWA",
			"NIIGATA", "TOYAMA", "ISHIKAWA", "FUKUI", "YAMANASHI", "NAGANO", "GIFU",
			"SIZUOKA", "AICHI", "MIE", "SHIGA", "KYOTO", "OSAKA", "HYOGO", "NARA",
			"WAKAYAMA", "TOTTORI", "SHIMANE", "OKAYAMA", "HIROSHIMA", "YAMAGUCHI",
			"TOKUSHIMA", "KAGAWA", "EHIME", "KOUCHI", "FUKUOKA", "SAGA", "NAGASAKI",
			"KUMAMOTO", "OITA", "MIYAZAKI", "KAGOSHIMA", "OKINAWA"
			];
		
		var createIPSXTags = function() {
			var p;
			if (window["excitead_request"]) p = window["excitead_request"];
			tagsIPSX = "";
			var table = {
				"site" : "SITE",
				"area" : "AREA",
				"size" : "AAMSZ",
				"char" : "OENCJP"
			};
			for (var i in table) {
				if (p && p[i]) {
					if (typeof table[i] == 'string' || table[i] instanceof String) {
						if (p[i] && p[i] != undefined && p[i] != "") {
							var s = table[i] + "=" + p[i];
							tagsIPSX += s + "/";
						}
					}
				}
			}
			if (p && p.tags && p.tags != undefined && p.tags != "") {
				tagsIPSX += p.tags + "/";
			}
			if (excitead_common.d1 && excitead_common.d1 != undefined && excitead_common.d1 != "") {
				var d1tmp = (excitead_common.d1 == "M")? "0000101" : "0000102";
				tagsIPSX += "DMG=" + d1tmp + "/";
			}
			if (excitead_common.d3) {
				var prefCode = parseInt(excitead_common.d3);
				if (prefCode >= 1 && prefCode <= 47) {
					if (prefCode2ipsxString[prefCode - 1]) {
						tagsIPSX += "PREF=" + prefCode2ipsxString[prefCode - 1] + "/";
					}
				}
			}
			/*if (excitead_common.cookieObject) {
				if (excitead_common.cookieObject, excitead_common.cookieObject["ET1"]) {
					tagsIPSX += "ET1=" +  excitead_common.cookieObject["ET1"] + "/";
				}
				if (excitead_common.cookieObject, excitead_common.cookieObject["ET2"]) {
					tagsIPSX += "ET2=" +  excitead_common.cookieObject["ET2"] + "/";
				}
				if (excitead_common.cookieObject, excitead_common.cookieObject["ET3"]) {
					tagsIPSX += "ET3=" +  excitead_common.cookieObject["ET3"] + "/";
				}
				if (excitead_common.cookieObject, excitead_common.cookieObject["ET4"]) {
					tagsIPSX += "ET4=" +  excitead_common.cookieObject["ET4"] + "/";
				}
			}*/
			if (excitead_common.e1) {
				tagsIPSX += "ET1=" +  excitead_common.e1 + "/";
			}
			if (excitead_common.e2) {
				tagsIPSX += "ET2=" +  excitead_common.e2 + "/";
			}
			if (excitead_common.e3) {
				tagsIPSX += "ET3=" +  excitead_common.e3 + "/";
			}
			if (excitead_common.e4) {
				tagsIPSX += "ET4=" +  excitead_common.e4 + "/";
			}
			if (excitead_common.e5) {
				tagsIPSX += "ET5=" +  excitead_common.e5 + "/";
			}
			if (excitead_common.t1) {
				tagsIPSX += "TT1=" +  excitead_common.t1 + "/";
			}
			if (excitead_common.t2) {
				tagsIPSX += "TT2=" +  excitead_common.t2.toUpperCase() + "/";
			}
			if (asiSegsIPSX && asiSegsIPSX != undefined && asiSegsIPSX != "") {
				tagsIPSX += asiSegsIPSX + "/";
			}
			tagsIPSX += "acc_random=" + (Math.random() * 100000000 | 0) + "/";
			tagsIPSX += "pageid=" + pageID;
		};
		
		var documentWriteIPSX = function() {
			document.write('<script src="http://adimp.excite.co.jp/jserver/' + tagsIPSX + '"><\/script>');
		};
		
		var initializeASISegmentsIPSX = function() {
			var s = excitead_common.asiSegs;
			if (s) {
				var asiSK = "A";
				var asiSL = 10;
				var asiSS = "/";
				asiSegsIPSX = "";
				if (s.length < asiSL) asiSL = s.length;
				for (var i = 0; i < asiSL; i++) {
					asiSegsIPSX += asiSK + i + "=" + s[i];
					if (i < s.length - 1)
						asiSegsIPSX += "/";
				}
			}
		};
		initializeASISegmentsIPSX();
		return {
			start: function() {
				var p;
				if (window["excitead_request"]) p = window["excitead_request"];
				if (p) {
					if (p.site && p.area && p.size) {
						createIPSXTags();
						documentWriteIPSX();
					}
				}
			}
		}
	}();
}
excitead_ipsx.start();

(function (window, document) {
	if (!window.OX) {
		var _OX_gateway = "http://d.openx.excite.co.jp/w/1.0",
			_OX_creatives = {},
			_OX_creative_attributes = {},
			_OX_variables = {};
		var _OX_enrichRequest, _OX_detectPlugins;
		window.OX = function () {
			var _gateway = _OX_gateway;
			var _cb = Math.floor(Math.random() * 9999999999);
			var _adunits = [];
			var _pages = [];
			var _topics = [];
			var _variables = [];
			var _target = null;
			var _pageURL = window.location;
			var _refererURL = document.referrer;
			var _md = null;
			var _ns = null;
			var _xid = null;
			var _test = null;
			this.setGateway = function (url) {
				_gateway = url
			};
			this.addAdUnit = function (id) {
				_adunits.push(id)
			};
			this.addPage = function (id) {
				_pages.push(id)
			};
			this.addContentTopic = function (id) {
				_topics.push(id)
			};
			this.setPageURL = function (url) {
				_pageURL = url
			};
			this.setRefererURL = function (url) {
				_refererURL = url
			};
			this.disableMarket = function () {
				_md = true
			};
			this.disableSegmentation = function () {
				_ns = true
			};
			this.setUserID = function (xid) {
				_xid = xid
			};
			this.setTest = function (test) {
				_test = test
			};
			this.addVariable = function (key, value) {
				if (!_variables[key]) {
					_variables[key] = []
				}
				_variables[key].push(value)
			};
			this.setAnchorTarget = function (target) {
				_target = target
			};
			this.fetchAds = function () {
				var gw = location.protocol == "https:" ? _gateway.replace("http:", "https:") : _gateway;
				var request = "<script src='" + gw + "/ajs?";
				_OX_creatives[_cb] = [];
				_OX_creative_attributes[_cb] = [];
				request += "o=" + _cb;
				request += _adunits.length > 0 ? "&auid=" + _adunits.join(",") : "";
				request += _pages.length > 0 ? "&pgid=" + _pages.join(",") : "";
				if (_topics.length > 0) {
					request += "&tid=" + _topics.join(",")
				}
				request += _target ? "&tg=" + _target : "";
				request += _OX_enrichRequest();
				for (var k in _variables) {
					if (_variables.hasOwnProperty(k)) {
						for (var i = 0; i < _variables[k].length; ++i) {
							request += "&c." + escape(k) + "=" + escape(_variables[k][i])
						}
					}
				}
				if (_pageURL) {
					request += "&url=" + escape(_pageURL)
				}
				if (_refererURL) {
					request += "&ref=" + escape(_refererURL)
				}
				if (_md) {
					request += "&md=1"
				}
				if (_ns) {
					request += "&ns=1"
				}
				if (_xid) {
					request += "&xid=" + escape(_xid)
				}
				if (_test) {
					request += "&test=true"
				}
				request += "&cb=" + _cb;
				request += "'><\/script>";
				document.write(request)
			};
			this.showAdUnit = function (id) {
				try {
					var ad = _OX_creatives[_cb][id].shift();
					if (ad) {
						if (_OX_creative_attributes[_cb][id]["framed"]) {
							OX.frameCreative(ad, _OX_creative_attributes[_cb][id]["frame_width"], _OX_creative_attributes[_cb][id]["frame_height"])
						} else {
							document.write(ad)
						}
					}
				} catch (err) {}
			};
			return this
		};
		window.OX.setGateway = function (url) {
			_OX_gateway = url
		};
		window.OX.addCreative = function (o, auid, html, framed, frame_width, frame_height) {
			if (!_OX_creatives[o]) {
				_OX_creatives[o] = {}
			}
			if (!_OX_creatives[o][auid]) {
				_OX_creatives[o][auid] = []
			}
			_OX_creatives[o][auid].push(html);
			if (!_OX_creative_attributes[o]) {
				_OX_creative_attributes[o] = {}
			}
			if (!_OX_creative_attributes[o][auid]) {
				_OX_creative_attributes[o][auid] = {}
			}
			if (framed) {
				_OX_creative_attributes[o][auid]["framed"] = true;
				_OX_creative_attributes[o][auid]["frame_width"] = frame_width;
				_OX_creative_attributes[o][auid]["frame_height"] = frame_height
			}
		};
		window.OX.frameCreative = function (html, width, height) {
			var creativePage = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>OpenX</title><base target="_top" /></head><body style="margin: 0; padding: 0">' + html + "</body></html>";
			var allScripts = document.getElementsByTagName("script");
			var thisScript = allScripts[allScripts.length - 1];
			var ifrm = document.createElement("iframe");
			ifrm.setAttribute("width", width);
			ifrm.setAttribute("height", height);
			ifrm.setAttribute("frameSpacing", "0");
			ifrm.setAttribute("frameBorder", "no");
			ifrm.setAttribute("scrolling", "no");
			thisScript.parentNode.insertBefore(ifrm, thisScript);
			var ifrmDoc = (ifrm.contentWindow || ifrm.contentDocument);
			if (ifrmDoc.document) {
				ifrmDoc = ifrmDoc.document
			}
			if (ifrmDoc) {
				var isIE = false;
				/*@cc_on
					isIE = true;
				@*/
				ifrmDoc.open();
				ifrmDoc.write(creativePage);
				if (isIE) {
					setTimeout(function () {
						ifrmDoc.close()
					}, 5000)
				} else {
					ifrmDoc.close()
				}
			}
		};
		window.OX.addVariable = function (key, value) {
			if (!_OX_variables[key]) {
				_OX_variables[key] = []
			}
			_OX_variables[key].push(value)
		};
		window.OX.requestAd = function (json) {
			var gw = json.gw ? json.gw : _OX_gateway;
			gw = location.protocol == "https:" ? gw.replace("http:", "https:") : gw;
			var request = "<script src='" + gw + "/ajs?";
			request += json.auid ? "auid=" + json.auid : "auid=";
			request += json.tid ? "&tid=" + json.tid : "";
			request += json.tg ? "&tg=" + json.tg : "";
			request += _OX_enrichRequest();
			if (json.vars) {
				for (var k in json.vars) {
					if (json.vars.hasOwnProperty(k)) {
						request += json.vars[k] ? "&c." + escape(k) + "=" + escape(json.vars[k]) : ""
					}
				}
			}
			if (json.url) {
				request += "&url=" + escape(json.url)
			} else {
				request += window.location ? "&url=" + escape(window.location) : ""
			}
			if (json.ref) {
				request += "&ref=" + escape(json.ref)
			} else {
				request += document.referrer ? "&ref=" + escape(document.referrer) : ""
			}
			request += json.test ? "&test=true" : "";
			request += json.md ? "&md=1" : "";
			request += json.cc ? "&cc=1" : "";
			request += json.ns ? "&ns=1" : "";
			request += json.userid ? "&xid=" + escape(json.userid) : "";
			request += "&cb=" + Math.floor(Math.random() * 99999999999);
			request += json.r ? "&r=" + escape(json.r) : "";
			request += "'><\/script>";
			if (excitead_common.showDebugInfo) {
				request = '<div  style="position: absolute; left: 0px; top: 0px; visibility: hidden;" id="excitead_debug' + String(new Date().getTime()) + '">' + request + '</div>';
			}
			document.write(request)
		};
		window.OX.recordAction = function (json) {
			var gw = json.gw ? json.gw : _OX_gateway;
			gw = location.protocol == "https:" ? gw.replace("http:", "https:") : gw;
			var request = "<script src='" + gw + "/raj?";
			request += json.cvid ? "cvid=" + json.cvid : "";
			request += _OX_enrichRequest();
			if (json.vars) {
				for (var k in json.vars) {
					if (json.vars.hasOwnProperty(k)) {
						request += json.vars[k] ? "&c." + escape(k) + "=" + escape(json.vars[k]) : ""
					}
				}
			}
			request += window.location ? "&url=" + escape(window.location) : "";
			request += document.referrer ? "&ref=" + escape(document.referrer) : "";
			if (json.test) {
				request += "&test=true"
			}
			request += "&cb=" + Math.floor(Math.random() * 99999999999);
			request += "'><\/script>";
			document.write(request)
		};
		window.OX.recordSegments = function (json) {
			if (json.expires) {
				var expires = Date.parse(json.expires);
				var now = new Date();
				if (expires < now) {
					return
				}
			}
			var gw = json.gw ? json.gw : _OX_gateway;
			gw = location.protocol == "https:" ? gw.replace("http:", "https:") : gw;
			var request = "<div style='position: absolute; left: 0px; top: 0px; visibility: hidden;'><img src='" + gw + "/rs?";
			request += json.add ? "as=" + json.add : "";
			request += json.del ? "&ds=" + json.del : "";
			request += json.channel ? "&channel=" + json.channel : "";
			request += _OX_enrichRequest();
			if (json.vars) {
				for (var k in json.vars) {
					if (json.vars.hasOwnProperty(k)) {
						request += json.vars[k] ? "&c." + escape(k) + "=" + escape(json.vars[k]) : ""
					}
				}
			}
			request += window.location ? "&url=" + escape(window.location) : "";
			request += document.referrer ? "&ref=" + escape(document.referrer) : "";
			if (json.test) {
				request += "&test=true"
			}
			request += "&cb=" + Math.floor(Math.random() * 99999999999);
			request += "' border='0' height='0' width='0'/></div>";
			document.write(request)
		};
		window.OX.appendTag = function (html) {
			document.write(html)
		};
		_OX_enrichRequest = function () {
			var parameters = "";
			parameters += "&res=" + window.screen.width + "x" + window.screen.height + "x" + window.screen.colorDepth;
			parameters += "&plg=" + _OX_detectPlugins();
			parameters += document.charset ? "&ch=" + document.charset : (document.characterSet ? "&ch=" + document.characterSet : "");
			parameters += "&tz=" + (new Date()).getTimezoneOffset();
			if (_OX_variables) {
				for (var k in _OX_variables) {
					if (_OX_variables.hasOwnProperty(k)) {
						for (var i = 0; i < _OX_variables[k].length; ++i) {
							parameters += "&c." + escape(k) + "=" + escape(_OX_variables[k][i])
						}
					}
				}
			}
			return parameters
		};
		_OX_detectPlugins = function () {
			var cookie = "OX_plg";
			if (_OX_detectPlugins.pluginlist) {
				return _OX_detectPlugins.pluginlist
			}
			if (document.cookie) {
				var arr = document.cookie.split((escape(cookie) + "="));
				if (2 <= arr.length) {
					var arr2 = arr[1].split(";");
					if (arr2[0]) {
						return unescape(arr2[0])
					}
				}
			}
			var pluginlist = "";
			var supported = [];
			var plugins = {
				swf: {
					activex: ["ShockwaveFlash.ShockwaveFlash", "ShockwaveFlash.ShockwaveFlash.3", "ShockwaveFlash.ShockwaveFlash.4", "ShockwaveFlash.ShockwaveFlash.5", "ShockwaveFlash.ShockwaveFlash.6", "ShockwaveFlash.ShockwaveFlash.7"],
					plugin: /flash/gim
				},
				sl: {
					activex: ["AgControl.AgControl"],
					plugin: /silverlight/gim
				},
				pdf: {
					activex: ["acroPDF.PDF.1", "PDF.PdfCtrl.1", "PDF.PdfCtrl.4", "PDF.PdfCtrl.5", "PDF.PdfCtrl.6"],
					plugin: /adobe\s?acrobat/gim
				},
				qt: {
					activex: ["QuickTime.QuickTime", "QuickTime.QuickTime.4"],
					plugin: /quicktime/gim
				},
				wmp: {
					activex: ["WMPlayer.OCX"],
					plugin: /(windows\smedia)|(Microsoft)/gim
				},
				shk: {
					activex: ["SWCtl.SWCtl", "SWCt1.SWCt1.7", "SWCt1.SWCt1.8", "SWCt1.SWCt1.9", "ShockwaveFlash.ShockwaveFlash.1"],
					plugin: /shockwave/gim
				},
				rp: {
					activex: ["RealPlayer", "rmocx.RealPlayer G2 Control.1"],
					plugin: /realplayer/gim
				}
			};
			for (var p in plugins) {
				if (window.ActiveXObject) {
					for (var i = 0; i < plugins[p].activex.length; ++i) {
						try {
							ActiveXObject(plugins[p].activex[i]);
							supported.push(p);
							break
						} catch (e) {}
					}
				} else {
					var n = window.navigator;
					for (var j = 0; j < n.plugins.length; ++j) {
						if (n.plugins[j].name.match(plugins[p].plugin)) {
							supported.push(p);
							break
						}
					}
				}
			}
			pluginlist = supported.join(",");
			_OX_detectPlugins.pluginlist = pluginlist;
			document.cookie = cookie + "=" + pluginlist;
			return pluginlist
		}
	}
})(window, document);
/*	SWFObject v2.2 <http://code.google.com/p/swfobject/> 
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
*/
var OX_swfobject = function () {
		var D = "undefined",
			r = "object",
			S = "Shockwave Flash",
			W = "ShockwaveFlash.ShockwaveFlash",
			q = "application/x-shockwave-flash",
			R = "SWFObjectExprInst",
			x = "onreadystatechange",
			O = window,
			j = document,
			t = navigator,
			T = false,
			U = [h],
			o = [],
			N = [],
			I = [],
			l, Q, E, B, J = false,
			a = false,
			n, G, m = true,
			M = function () {
				var aa = typeof j.getElementById != D && typeof j.getElementsByTagName != D && typeof j.createElement != D,
					ah = t.userAgent.toLowerCase(),
					Y = t.platform.toLowerCase(),
					ae = Y ? /win/.test(Y) : /win/.test(ah),
					ac = Y ? /mac/.test(Y) : /mac/.test(ah),
					af = /webkit/.test(ah) ? parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false,
					X = !+"\v1",
					ag = [0, 0, 0],
					ab = null;
				if (typeof t.plugins != D && typeof t.plugins[S] == r) {
					ab = t.plugins[S].description;
					if (ab && !(typeof t.mimeTypes != D && t.mimeTypes[q] && !t.mimeTypes[q].enabledPlugin)) {
						T = true;
						X = false;
						ab = ab.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
						ag[0] = parseInt(ab.replace(/^(.*)\..*$/, "$1"), 10);
						ag[1] = parseInt(ab.replace(/^.*\.(.*)\s.*$/, "$1"), 10);
						ag[2] = /[a-zA-Z]/.test(ab) ? parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/, "$1"), 10) : 0
					}
				} else {
					if (typeof O.ActiveXObject != D) {
						try {
							var ad = new ActiveXObject(W);
							if (ad) {
								ab = ad.GetVariable("$version");
								if (ab) {
									X = true;
									ab = ab.split(" ")[1].split(",");
									ag = [parseInt(ab[0], 10), parseInt(ab[1], 10), parseInt(ab[2], 10)]
								}
							}
						} catch (Z) {}
					}
				}
				return {
					w3: aa,
					pv: ag,
					wk: af,
					ie: X,
					win: ae,
					mac: ac
				}
			}(),
			k = function () {
				if (!M.w3) {
					return
				}
				if ((typeof j.readyState != D && j.readyState == "complete") || (typeof j.readyState == D && (j.getElementsByTagName("body")[0] || j.body))) {
					f()
				}
				if (!J) {
					if (typeof j.addEventListener != D) {
						j.addEventListener("DOMContentLoaded", f, false)
					}
					if (M.ie && M.win) {
						j.attachEvent(x, function () {
							if (j.readyState == "complete") {
								j.detachEvent(x, arguments.callee);
								f()
							}
						});
						if (O == top) {
							(function () {
								if (J) {
									return
								}
								try {
									j.documentElement.doScroll("left")
								} catch (X) {
									setTimeout(arguments.callee, 0);
									return
								}
								f()
							})()
						}
					}
					if (M.wk) {
						(function () {
							if (J) {
								return
							}
							if (!/loaded|complete/.test(j.readyState)) {
								setTimeout(arguments.callee, 0);
								return
							}
							f()
						})()
					}
					s(f)
				}
			}();

		function f() {
			if (J) {
				return
			}
			try {
				var Z = j.getElementsByTagName("body")[0].appendChild(C("span"));
				Z.parentNode.removeChild(Z)
			} catch (aa) {
				return
			}
			J = true;
			var X = U.length;
			for (var Y = 0; Y < X; Y++) {
				U[Y]()
			}
		}
		function K(X) {
			if (J) {
				X()
			} else {
				U[U.length] = X
			}
		}
		function s(Y) {
			if (typeof O.addEventListener != D) {
				O.addEventListener("load", Y, false)
			} else {
				if (typeof j.addEventListener != D) {
					j.addEventListener("load", Y, false)
				} else {
					if (typeof O.attachEvent != D) {
						i(O, "onload", Y)
					} else {
						if (typeof O.onload == "function") {
							var X = O.onload;
							O.onload = function () {
								X();
								Y()
							}
						} else {
							O.onload = Y
						}
					}
				}
			}
		}
		function h() {
			if (T) {
				V()
			} else {
				H()
			}
		}
		function V() {
			var X = j.getElementsByTagName("body")[0];
			var aa = C(r);
			aa.setAttribute("type", q);
			var Z = X.appendChild(aa);
			if (Z) {
				var Y = 0;
				(function () {
					if (typeof Z.GetVariable != D) {
						var ab = Z.GetVariable("$version");
						if (ab) {
							ab = ab.split(" ")[1].split(",");
							M.pv = [parseInt(ab[0], 10), parseInt(ab[1], 10), parseInt(ab[2], 10)]
						}
					} else {
						if (Y < 10) {
							Y++;
							setTimeout(arguments.callee, 10);
							return
						}
					}
					X.removeChild(aa);
					Z = null;
					H()
				})()
			} else {
				H()
			}
		}
		function H() {
			var ag = o.length;
			if (ag > 0) {
				for (var af = 0; af < ag; af++) {
					var Y = o[af].id;
					var ab = o[af].callbackFn;
					var aa = {
						success: false,
						id: Y
					};
					if (M.pv[0] > 0) {
						var ae = c(Y);
						if (ae) {
							if (F(o[af].swfVersion) && !(M.wk && M.wk < 312)) {
								w(Y, true);
								if (ab) {
									aa.success = true;
									aa.ref = z(Y);
									ab(aa)
								}
							} else {
								if (o[af].expressInstall && A()) {
									var ai = {};
									ai.data = o[af].expressInstall;
									ai.width = ae.getAttribute("width") || "0";
									ai.height = ae.getAttribute("height") || "0";
									if (ae.getAttribute("class")) {
										ai.styleclass = ae.getAttribute("class")
									}
									if (ae.getAttribute("align")) {
										ai.align = ae.getAttribute("align")
									}
									var ah = {};
									var X = ae.getElementsByTagName("param");
									var ac = X.length;
									for (var ad = 0; ad < ac; ad++) {
										if (X[ad].getAttribute("name").toLowerCase() != "movie") {
											ah[X[ad].getAttribute("name")] = X[ad].getAttribute("value")
										}
									}
									P(ai, ah, Y, ab)
								} else {
									p(ae);
									if (ab) {
										ab(aa)
									}
								}
							}
						}
					} else {
						w(Y, true);
						if (ab) {
							var Z = z(Y);
							if (Z && typeof Z.SetVariable != D) {
								aa.success = true;
								aa.ref = Z
							}
							ab(aa)
						}
					}
				}
			}
		}
		function z(aa) {
			var X = null;
			var Y = c(aa);
			if (Y && Y.nodeName == "OBJECT") {
				if (typeof Y.SetVariable != D) {
					X = Y
				} else {
					var Z = Y.getElementsByTagName(r)[0];
					if (Z) {
						X = Z
					}
				}
			}
			return X
		}
		function A() {
			return !a && F("6.0.65") && (M.win || M.mac) && !(M.wk && M.wk < 312)
		}
		function P(aa, ab, X, Z) {
			a = true;
			E = Z || null;
			B = {
				success: false,
				id: X
			};
			var ae = c(X);
			if (ae) {
				if (ae.nodeName == "OBJECT") {
					l = g(ae);
					Q = null
				} else {
					l = ae;
					Q = X
				}
				aa.id = R;
				if (typeof aa.width == D || (!/%$/.test(aa.width) && parseInt(aa.width, 10) < 310)) {
					aa.width = "310"
				}
				if (typeof aa.height == D || (!/%$/.test(aa.height) && parseInt(aa.height, 10) < 137)) {
					aa.height = "137"
				}
				j.title = j.title.slice(0, 47) + " - Flash Player Installation";
				var ad = M.ie && M.win ? "ActiveX" : "PlugIn",
					ac = "MMredirectURL=" + O.location.toString().replace(/&/g, "%26") + "&MMplayerType=" + ad + "&MMdoctitle=" + j.title;
				if (typeof ab.flashvars != D) {
					ab.flashvars += "&" + ac
				} else {
					ab.flashvars = ac
				}
				if (M.ie && M.win && ae.readyState != 4) {
					var Y = C("div");
					X += "SWFObjectNew";
					Y.setAttribute("id", X);
					ae.parentNode.insertBefore(Y, ae);
					ae.style.display = "none";
					(function () {
						if (ae.readyState == 4) {
							ae.parentNode.removeChild(ae)
						} else {
							setTimeout(arguments.callee, 10)
						}
					})()
				}
				u(aa, ab, X)
			}
		}
		function p(Y) {
			if (M.ie && M.win && Y.readyState != 4) {
				var X = C("div");
				Y.parentNode.insertBefore(X, Y);
				X.parentNode.replaceChild(g(Y), X);
				Y.style.display = "none";
				(function () {
					if (Y.readyState == 4) {
						Y.parentNode.removeChild(Y)
					} else {
						setTimeout(arguments.callee, 10)
					}
				})()
			} else {
				Y.parentNode.replaceChild(g(Y), Y)
			}
		}
		function g(ab) {
			var aa = C("div");
			if (M.win && M.ie) {
				aa.innerHTML = ab.innerHTML
			} else {
				var Y = ab.getElementsByTagName(r)[0];
				if (Y) {
					var ad = Y.childNodes;
					if (ad) {
						var X = ad.length;
						for (var Z = 0; Z < X; Z++) {
							if (!(ad[Z].nodeType == 1 && ad[Z].nodeName == "PARAM") && !(ad[Z].nodeType == 8)) {
								aa.appendChild(ad[Z].cloneNode(true))
							}
						}
					}
				}
			}
			return aa
		}
		function u(ai, ag, Y) {
			var X, aa = c(Y);
			if (M.wk && M.wk < 312) {
				return X
			}
			if (aa) {
				if (typeof ai.id == D) {
					ai.id = Y
				}
				if (M.ie && M.win) {
					var ah = "";
					for (var ae in ai) {
						if (ai[ae] != Object.prototype[ae]) {
							if (ae.toLowerCase() == "data") {
								ag.movie = ai[ae]
							} else {
								if (ae.toLowerCase() == "styleclass") {
									ah += ' class="' + ai[ae] + '"'
								} else {
									if (ae.toLowerCase() != "classid") {
										ah += " " + ae + '="' + ai[ae] + '"'
									}
								}
							}
						}
					}
					var af = "";
					for (var ad in ag) {
						if (ag[ad] != Object.prototype[ad]) {
							af += '<param name="' + ad + '" value="' + ag[ad] + '" />'
						}
					}
					aa.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + ah + ">" + af + "</object>";
					N[N.length] = ai.id;
					X = c(ai.id)
				} else {
					var Z = C(r);
					Z.setAttribute("type", q);
					for (var ac in ai) {
						if (ai[ac] != Object.prototype[ac]) {
							if (ac.toLowerCase() == "styleclass") {
								Z.setAttribute("class", ai[ac])
							} else {
								if (ac.toLowerCase() != "classid") {
									Z.setAttribute(ac, ai[ac])
								}
							}
						}
					}
					for (var ab in ag) {
						if (ag[ab] != Object.prototype[ab] && ab.toLowerCase() != "movie") {
							e(Z, ab, ag[ab])
						}
					}
					aa.parentNode.replaceChild(Z, aa);
					X = Z
				}
			}
			return X
		}
		function e(Z, X, Y) {
			var aa = C("param");
			aa.setAttribute("name", X);
			aa.setAttribute("value", Y);
			Z.appendChild(aa)
		}
		function y(Y) {
			var X = c(Y);
			if (X && X.nodeName == "OBJECT") {
				if (M.ie && M.win) {
					X.style.display = "none";
					(function () {
						if (X.readyState == 4) {
							b(Y)
						} else {
							setTimeout(arguments.callee, 10)
						}
					})()
				} else {
					X.parentNode.removeChild(X)
				}
			}
		}
		function b(Z) {
			var Y = c(Z);
			if (Y) {
				for (var X in Y) {
					if (typeof Y[X] == "function") {
						Y[X] = null
					}
				}
				Y.parentNode.removeChild(Y)
			}
		}
		function c(Z) {
			var X = null;
			try {
				X = j.getElementById(Z)
			} catch (Y) {}
			return X
		}
		function C(X) {
			return j.createElement(X)
		}
		function i(Z, X, Y) {
			Z.attachEvent(X, Y);
			I[I.length] = [Z, X, Y]
		}
		function F(Z) {
			var Y = M.pv,
				X = Z.split(".");
			X[0] = parseInt(X[0], 10);
			X[1] = parseInt(X[1], 10) || 0;
			X[2] = parseInt(X[2], 10) || 0;
			return (Y[0] > X[0] || (Y[0] == X[0] && Y[1] > X[1]) || (Y[0] == X[0] && Y[1] == X[1] && Y[2] >= X[2])) ? true : false
		}
		function v(ac, Y, ad, ab) {
			if (M.ie && M.mac) {
				return
			}
			var aa = j.getElementsByTagName("head")[0];
			if (!aa) {
				return
			}
			var X = (ad && typeof ad == "string") ? ad : "screen";
			if (ab) {
				n = null;
				G = null
			}
			if (!n || G != X) {
				var Z = C("style");
				Z.setAttribute("type", "text/css");
				Z.setAttribute("media", X);
				n = aa.appendChild(Z);
				if (M.ie && M.win && typeof j.styleSheets != D && j.styleSheets.length > 0) {
					n = j.styleSheets[j.styleSheets.length - 1]
				}
				G = X
			}
			if (M.ie && M.win) {
				if (n && typeof n.addRule == r) {
					n.addRule(ac, Y)
				}
			} else {
				if (n && typeof j.createTextNode != D) {
					n.appendChild(j.createTextNode(ac + " {" + Y + "}"))
				}
			}
		}
		function w(Z, X) {
			if (!m) {
				return
			}
			var Y = X ? "visible" : "hidden";
			if (J && c(Z)) {
				c(Z).style.visibility = Y
			} else {
				v("#" + Z, "visibility:" + Y)
			}
		}
		function L(Y) {
			var Z = /[\\\"<>\.;]/;
			var X = Z.exec(Y) != null;
			return X && typeof encodeURIComponent != D ? encodeURIComponent(Y) : Y
		}
		var d = function () {
				if (M.ie && M.win) {
					window.attachEvent("onunload", function () {
						var ac = I.length;
						for (var ab = 0; ab < ac; ab++) {
							I[ab][0].detachEvent(I[ab][1], I[ab][2])
						}
						var Z = N.length;
						for (var aa = 0; aa < Z; aa++) {
							y(N[aa])
						}
						for (var Y in M) {
							M[Y] = null
						}
						M = null;
						for (var X in OX_swfobject) {
							OX_swfobject[X] = null
						}
						OX_swfobject = null
					})
				}
			}();
		return {
			registerObject: function (ab, X, aa, Z) {
				if (M.w3 && ab && X) {
					var Y = {};
					Y.id = ab;
					Y.swfVersion = X;
					Y.expressInstall = aa;
					Y.callbackFn = Z;
					o[o.length] = Y;
					w(ab, false)
				} else {
					if (Z) {
						Z({
							success: false,
							id: ab
						})
					}
				}
			},
			getObjectById: function (X) {
				if (M.w3) {
					return z(X)
				}
			},
			embedSWF: function (ab, ah, ae, ag, Y, aa, Z, ad, af, ac) {
				var X = {
					success: false,
					id: ah
				};
				if (M.w3 && !(M.wk && M.wk < 312) && ab && ah && ae && ag && Y) {
					w(ah, false);
					K(function () {
						ae += "";
						ag += "";
						var aj = {};
						if (af && typeof af === r) {
							for (var al in af) {
								aj[al] = af[al]
							}
						}
						aj.data = ab;
						aj.width = ae;
						aj.height = ag;
						var am = {};
						if (ad && typeof ad === r) {
							for (var ak in ad) {
								am[ak] = ad[ak]
							}
						}
						if (Z && typeof Z === r) {
							for (var ai in Z) {
								if (typeof am.flashvars != D) {
									am.flashvars += "&" + ai + "=" + escape(Z[ai])
								} else {
									am.flashvars = ai + "=" + escape(Z[ai])
								}
							}
						}
						if (F(Y)) {
							var an = u(aj, am, ah);
							if (aj.id == ah) {
								w(ah, true)
							}
							X.success = true;
							X.ref = an
						} else {
							if (aa && A()) {
								aj.data = aa;
								P(aj, am, ah, ac);
								return
							} else {
								w(ah, true)
							}
						}
						if (ac) {
							ac(X)
						}
					})
				} else {
					if (ac) {
						ac(X)
					}
				}
			},
			switchOffAutoHideShow: function () {
				m = false
			},
			ua: M,
			getFlashPlayerVersion: function () {
				return {
					major: M.pv[0],
					minor: M.pv[1],
					release: M.pv[2]
				}
			},
			hasFlashPlayerVersion: F,
			createSWF: function (Z, Y, X) {
				if (M.w3) {
					return u(Z, Y, X)
				} else {
					return undefined
				}
			},
			showExpressInstall: function (Z, aa, X, Y) {
				if (M.w3 && A()) {
					P(Z, aa, X, Y)
				}
			},
			removeSWF: function (X) {
				if (M.w3) {
					y(X)
				}
			},
			createCSS: function (aa, Z, Y, X) {
				if (M.w3) {
					v(aa, Z, Y, X)
				}
			},
			addDomLoadEvent: K,
			addLoadEvent: s,
			getQueryParamValue: function (aa) {
				var Z = j.location.search || j.location.hash;
				if (Z) {
					if (/\?/.test(Z)) {
						Z = Z.split("?")[1]
					}
					if (aa == null) {
						return L(Z)
					}
					var Y = Z.split("&");
					for (var X = 0; X < Y.length; X++) {
						if (Y[X].substring(0, Y[X].indexOf("=")) == aa) {
							return L(Y[X].substring((Y[X].indexOf("=") + 1)))
						}
					}
				}
				return ""
			},
			expressInstallCallback: function () {
				if (a) {
					var X = c(R);
					if (X && l) {
						X.parentNode.replaceChild(l, X);
						if (Q) {
							w(Q, true);
							if (M.ie && M.win) {
								l.style.display = "block"
							}
						}
						if (E) {
							E(B)
						}
					}
					a = false
				}
			}
		}
	}();
(function (b) {
	if (b.OX_ads && OX_ads.length) {
		for (var a = OX_ads.length; a--;) {
			OX.requestAd(OX_ads[a])
		}
		OX_ads = []
	}
})(window);


if (!window.excitead_openx) {
	window.excitead_openx = function(){
		var disableTable = [
			"END_OF_ID"
		];
		var activeTable = [
			"118166",
			"118167",
			"76947",
			"76938",
			"76939",
			"76948",
			"76949",
			"76941",
			"76943",
			"76940",
			"76944",
			"76942",
			"76946",
			"119255",
			"76936",
			"76951",
			"76952",
			"76950",
			"119258",
			"119259",
			"119260",
			"119261",
			"119262",
			"119257",
			"119280",
			"119263",
			"119264",
			"119266",
			"119267",
			"119268",
			"119269",
			"119527",
			"119271",
			"119272",
			"119273",
			"119274",
			"119275",
			"119668",
			"120184",
			"121941",
			"121942",
			"121943",
			"121944",
			"121945",
			"121946",
			"121947",
			"121948",
			"END_OF_ID"
		];
		var useDisableTable = false;
		var initialzie = function() {
			if (OX) {
				if (excitead_common.d1) {
					OX.addVariable("d1", excitead_common.d1);
				}
				if (excitead_common.d2) {
					OX.addVariable("d2", excitead_common.d2);
				}
				if (excitead_common.d3) {
					OX.addVariable("d3", excitead_common.d3);
				}
				if (excitead_common.e1) {
					OX.addVariable("e1", excitead_common.e1);
				}
				if (excitead_common.e2) {
					OX.addVariable("e2", excitead_common.e2);
				}
				if (excitead_common.e3) {
					OX.addVariable("e3", excitead_common.e3);
				}
				if (excitead_common.e4) {
					OX.addVariable("e4", excitead_common.e4);
				}
				if (excitead_common.e5) {
					OX.addVariable("e5", excitead_common.e5);
				}
				if (excitead_common.asiSegs) {
					var list = excitead_common.asiSegs.join(",");
					OX.addVariable("a", list);
				}
			}
		};
		initialzie();
		return {
			start: function() {
				if (excitead_common.adunitID) {
					var table;
					if (useDisableTable) {
						table = disableTable;
					} else {
						table = activeTable;
					}
					for (var i = 0; i < table.length; i++) {
						if (table[i] == excitead_common.adunitID) {
							break;
						}
					}
					if (useDisableTable) {
						if (table.length == i) {
							OX.requestAd({"auid":excitead_common.adunitID, "md":true});
						}
					} else {
						if (table.length != i) {
							OX.requestAd({"auid":excitead_common.adunitID, "md":true});
						}
					}
				}
			}
		}
	}();
}
excitead_openx.start();

/*excitead_sptest();
function excitead_sptest() {
	if ((window.excitead_request.site == "ANDROID.NEWS" && window.excitead_request.area == "IMAGE") ||
		(window.excitead_request.site == "IPHONE.NEWS" && window.excitead_request.area == "IMAGE"))
	{
		var segs = "";
		var s = excitead_common.asiSegs;
		if (s) {
			var asiSK = "A";
			var asiSL = 10;
			var asiSS = "/";
			if (s.length < asiSL) asiSL = s.length;
			for (var i = 0; i < asiSL; i++) {
				segs += asiSK + i + "=" + s[i];
				if (i < s.length - 1)
					segs += "/";
			}
		}
		var tags = "";
		if (excitead_common.t1) {
			tags += "S1=" + excitead_common.t1 + "/";
		}
		if (excitead_common.t2) {
			tags += "S2=" + excitead_common.t2 + "/";
		}
		if (segs) {
			tags += segs + "/";
		}
		if (navigator.userAgent.indexOf("iPhone") >= 0) {
			
			tags += "CNT=1/";
		} else if (navigator.userAgent.indexOf("Android") >= 0) {
			tags += "CNT=2/";
		}
		var u = "http://adimp.excite.co.jp/nserver/SITE=EXCITE.DEMO2/AREA=IMAGE/AAMSZ=1X1/";
		u += tags;
		u += "acc_random=" + Math.floor(Math.random() * 100000000);
		new Image().src = u;
	}
}*/

