﻿document.writeln("<script type=\"text\/javascript\">");

document.writeln("if(typeof deconcept == \"undefined\") var deconcept = new Object();");

document.writeln("if(typeof deconcept.util == \"undefined\") deconcept.util = new Object();");

document.writeln("if(typeof deconcept.SWFObjectUtil == \"undefined\") deconcept.SWFObjectUtil = new Object();");

document.writeln("deconcept.SWFObject = function(swf, id, w, h, ver, c, quality, xiRedirectUrl, redirectUrl, detectKey) {");

document.writeln("	if (!document.getElementById) { return; }");

document.writeln("	this.DETECT_KEY = detectKey ? detectKey : \'detectflash\';");

document.writeln("	this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY);");

document.writeln("	this.params = new Object();");

document.writeln("	this.variables = new Object();");

document.writeln("	this.attributes = new Array();");

document.writeln("	if(swf) { this.setAttribute(\'swf\', swf); }");

document.writeln("	if(id) { this.setAttribute(\'id\', id); }");

document.writeln("	if(w) { this.setAttribute(\'width\', w); }");

document.writeln("	if(h) { this.setAttribute(\'height\', h); }");

document.writeln("	if(ver) { this.setAttribute(\'version\', new deconcept.PlayerVersion(ver.toString().split(\".\"))); }");

document.writeln("	this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion();");

document.writeln("	if (!window.opera && document.all && this.installedVer.major > 7) {");

document.writeln("		deconcept.SWFObject.doPrepUnload = true;");

document.writeln("	}");

document.writeln("	if(c) { this.addParam(\'bgcolor\', c); }");

document.writeln("	var q = quality ? quality : \'high\';");

document.writeln("	this.addParam(\'quality\', q);");

document.writeln("	this.setAttribute(\'useExpressInstall\', false);");

document.writeln("	this.setAttribute(\'doExpressInstall\', false);");

document.writeln("	var xir = (xiRedirectUrl) ? xiRedirectUrl : window.location;");

document.writeln("	this.setAttribute(\'xiRedirectUrl\', xir);");

document.writeln("	this.setAttribute(\'redirectUrl\', \'\');");

document.writeln("	if(redirectUrl) { this.setAttribute(\'redirectUrl\', redirectUrl); }");

document.writeln("}");

document.writeln("deconcept.SWFObject.prototype = {");

document.writeln("	useExpressInstall: function(path) {");

document.writeln("		this.xiSWFPath = !path ? \"expressinstall.swf\" : path;");

document.writeln("		this.setAttribute(\'useExpressInstall\', true);");

document.writeln("	},");

document.writeln("	setAttribute: function(name, value){");

document.writeln("		this.attributes[name] = value;");

document.writeln("	},");

document.writeln("	getAttribute: function(name){");

document.writeln("		return this.attributes[name];");

document.writeln("	},");

document.writeln("	addParam: function(name, value){");

document.writeln("		this.params[name] = value;");

document.writeln("	},");

document.writeln("	getParams: function(){");

document.writeln("		return this.params;");

document.writeln("	},");

document.writeln("	addVariable: function(name, value){");

document.writeln("		this.variables[name] = value;");

document.writeln("	},");

document.writeln("	getVariable: function(name){");

document.writeln("		return this.variables[name];");

document.writeln("	},");

document.writeln("	getVariables: function(){");

document.writeln("		return this.variables;");

document.writeln("	},");

document.writeln("	getVariablePairs: function(){");

document.writeln("		var variablePairs = new Array();");

document.writeln("		var key;");

document.writeln("		var variables = this.getVariables();");

document.writeln("		for(key in variables){");

document.writeln("			variablePairs[variablePairs.length] = key +\"=\"+ variables[key];");

document.writeln("		}");

document.writeln("		return variablePairs;");

document.writeln("	},");

document.writeln("	getSWFHTML: function() {");

document.writeln("		var swfNode = \"\";");

document.writeln("		if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) {");

document.writeln("			if (this.getAttribute(\"doExpressInstall\")) {");

document.writeln("				this.addVariable(\"MMplayerType\", \"PlugIn\");");

document.writeln("				this.setAttribute(\'swf\', this.xiSWFPath);");

document.writeln("			}");

document.writeln("			swfNode = \'<embed pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" type=\"application\/x-shockwave-flash\" src=\"\'+ this.getAttribute(\'swf\') +\'\" width=\"\'+ this.getAttribute(\'width\') +\'\" height=\"\'+ this.getAttribute(\'height\') +\'\" style=\"\'+ this.getAttribute(\'style\') +\'\"\';");

document.writeln("			swfNode += \' id=\"\'+ this.getAttribute(\'id\') +\'\" name=\"\'+ this.getAttribute(\'id\') +\'\" \';");

document.writeln("			var params = this.getParams();");

document.writeln("			 for(var key in params){ swfNode += [key] +\'=\"\'+ params[key] +\'\" \'; }");

document.writeln("			var pairs = this.getVariablePairs().join(\"&\");");

document.writeln("			 if (pairs.length > 0){ swfNode += \'flashvars=\'+ pairs +\'&realfull=1&moz=1\"\'; }");

document.writeln("			swfNode += \'\/>\';");

document.writeln("		} else { ");

document.writeln("			if (this.getAttribute(\"doExpressInstall\")) {");

document.writeln("				this.addVariable(\"MMplayerType\", \"ActiveX\");");

document.writeln("				this.setAttribute(\'swf\', this.xiSWFPath);");

document.writeln("			}");

document.writeln("			swfNode = \'<object id=\"\'+ this.getAttribute(\'id\') +\'\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http:\/\/fpdownload.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=9,0,28,0\" width=\"\'+ this.getAttribute(\'width\') +\'\" height=\"\'+ this.getAttribute(\'height\') +\'\" style=\"\'+ this.getAttribute(\'style\') +\'\">\';");

document.writeln("			swfNode += \'<param name=\"movie\" value=\"\'+ this.getAttribute(\'swf\') +\'\" \/>\';");

document.writeln("			var params = this.getParams();");

document.writeln("			for(var key in params) {");

document.writeln("			 swfNode += \'<param name=\"\'+ key +\'\" value=\"\'+ params[key] +\'\" \/>\';");

document.writeln("			}			var pairs = this.getVariablePairs().join(\"&\");");

document.writeln("		if(pairs.length > 0) {swfNode += \'<param name=\"flashvars\" value=\"\'+ pairs +\'\" \/>\';}");

document.writeln("			swfNode += \"<\/object>\";		}");

document.writeln("		return swfNode;");

document.writeln("	},");

document.writeln("	write: function(elementId){");

document.writeln("		if(this.getAttribute(\'useExpressInstall\')) {");

document.writeln("			var expressInstallReqVer = new deconcept.PlayerVersion([6,0,65]);");

document.writeln("			if (this.installedVer.versionIsValid(expressInstallReqVer) && !this.installedVer.versionIsValid(this.getAttribute(\'version\'))) {");

document.writeln("				this.setAttribute(\'doExpressInstall\', true);");

document.writeln("				this.addVariable(\"MMredirectURL\", escape(this.getAttribute(\'xiRedirectUrl\')));");

document.writeln("				document.title = document.title.slice(0, 47) + \" - Flash Player Installation\";");

document.writeln("				this.addVariable(\"MMdoctitle\", document.title);");

document.writeln("			}");

document.writeln("		}");

document.writeln("		if(this.skipDetect || this.getAttribute(\'doExpressInstall\') || this.installedVer.versionIsValid(this.getAttribute(\'version\'))){");

document.writeln("			");

document.writeln("		}else{");

document.writeln("			if(this.getAttribute(\'redirectUrl\') != \"\") {");

document.writeln("				document.location.replace(this.getAttribute(\'redirectUrl\'));");

document.writeln("			}");

document.writeln("			");

document.writeln("		}");

document.writeln("		var n = (typeof elementId == \'string\') ? document.getElementById(elementId) : elementId;");

document.writeln("		n.innerHTML = this.getSWFHTML();");

document.writeln("		return true;");

document.writeln("	}");

document.writeln("}");

document.writeln("deconcept.SWFObjectUtil.getPlayerVersion = function(){");

document.writeln("	var PlayerVersion = new deconcept.PlayerVersion([0,0,0]);");

document.writeln("	if(navigator.plugins && navigator.mimeTypes.length){");

document.writeln("		var x = navigator.plugins[\"Shockwave Flash\"];");

document.writeln("		if(x && x.description) {");

document.writeln("			PlayerVersion = new deconcept.PlayerVersion(x.description.replace(\/([a-zA-Z]|\\s)+\/, \"\").replace(\/(\\s+r|\\s+b[0-9]+)\/, \".\").split(\".\"));");

document.writeln("		}");

document.writeln("	}else if (navigator.userAgent && navigator.userAgent.indexOf(\"Windows CE\") >= 0){ ");

document.writeln("		var axo = 1;");

document.writeln("		var counter = 3;");

document.writeln("		while(axo) {");

document.writeln("			try {");

document.writeln("				counter++;");

document.writeln("				axo = new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash.\"+ counter);");

document.writeln("\/\/				document.write(\"player v: \"+ counter);");

document.writeln("			PlayerVersion = new deconcept.PlayerVersion([counter,0,0]);");

document.writeln("			} catch (e) {");

document.writeln("				axo = null;");

document.writeln("			}");

document.writeln("		}");

document.writeln("	} else {");

document.writeln("		try{");

document.writeln("			var axo = new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash.7\");");

document.writeln("		}catch(e){");

document.writeln("			try {");

document.writeln("				var axo = new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash.6\");");

document.writeln("				PlayerVersion = new deconcept.PlayerVersion([6,0,21]);");

document.writeln("				axo.AllowScriptAccess = \"always\"; ");

document.writeln("			} catch(e) {");

document.writeln("				if (PlayerVersion.major == 6) {");

document.writeln("					return PlayerVersion;");

document.writeln("				}");

document.writeln("			}");

document.writeln("			try {");

document.writeln("				axo = new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\");");

document.writeln("			} catch(e) {}");

document.writeln("		}");

document.writeln("		if (axo != null) {");

document.writeln("			PlayerVersion = new deconcept.PlayerVersion(axo.GetVariable(\"$version\").split(\" \")[1].split(\",\"));");

document.writeln("		}");

document.writeln("	}");

document.writeln("	return PlayerVersion;");

document.writeln("}");

document.writeln("deconcept.PlayerVersion = function(arrVersion){");

document.writeln("	this.major = arrVersion[0] != null ? parseInt(arrVersion[0]) : 0;");

document.writeln("	this.minor = arrVersion[1] != null ? parseInt(arrVersion[1]) : 0;");

document.writeln("	this.rev = arrVersion[2] != null ? parseInt(arrVersion[2]) : 0;");

document.writeln("}");

document.writeln("deconcept.PlayerVersion.prototype.versionIsValid = function(fv){");

document.writeln("	if(this.major < fv.major) return false;");

document.writeln("	if(this.major > fv.major) return true;");

document.writeln("	if(this.minor < fv.minor) return false;");

document.writeln("	if(this.minor > fv.minor) return true;");

document.writeln("	if(this.rev < fv.rev) return false;");

document.writeln("	return true;");

document.writeln("}");

document.writeln("deconcept.util = {");

document.writeln("	getRequestParameter: function(param) {");

document.writeln("		var q = document.location.search || document.location.hash;");

document.writeln("		if (param == null) { return q; }");

document.writeln("		if(q) {");

document.writeln("			var pairs = q.substring(1).split(\"&\");");

document.writeln("			for (var i=0; i < pairs.length; i++) {");

document.writeln("				if (pairs[i].substring(0, pairs[i].indexOf(\"=\")) == param) {");

document.writeln("					return pairs[i].substring((pairs[i].indexOf(\"=\")+1));");

document.writeln("				}");

document.writeln("			}");

document.writeln("		}");

document.writeln("		return \"\";");

document.writeln("	}");

document.writeln("}");

document.writeln("deconcept.SWFObjectUtil.cleanupSWFs = function() {");

document.writeln("	var objects = document.getElementsByTagName(\"OBJECT\");");

document.writeln("	for (var i = objects.length - 1; i >= 0; i--) {");

document.writeln("		objects[i].style.display = \'none\';");

document.writeln("		for (var x in objects[i]) {");

document.writeln("			if (typeof objects[i][x] == \'function\') {");

document.writeln("				objects[i][x] = function(){};");

document.writeln("			}");

document.writeln("		}");

document.writeln("	}");

document.writeln("}");

document.writeln("if (deconcept.SWFObject.doPrepUnload) {");

document.writeln("	if (!deconcept.unloadSet) {");

document.writeln("		deconcept.SWFObjectUtil.prepUnload = function() {");

document.writeln("			__flash_unloadHandler = function(){};");

document.writeln("			__flash_savedUnloadHandler = function(){};");

document.writeln("			window.attachEvent(\"onunload\", deconcept.SWFObjectUtil.cleanupSWFs);");

document.writeln("		}");

document.writeln("		window.attachEvent(\"onbeforeunload\", deconcept.SWFObjectUtil.prepUnload);");

document.writeln("		deconcept.unloadSet = true;");

document.writeln("	}");

document.writeln("}");

document.writeln("if (!document.getElementById && document.all) { document.getElementById = function(id) { return document.all[id]; }}");

document.writeln("var getQueryParamValue = deconcept.util.getRequestParameter;");

document.writeln("var FlashObject = deconcept.SWFObject; ");

document.writeln("var SWFObject = deconcept.SWFObject;");

document.writeln("<\/script>");

document.writeln("<div id=\"1\"><\/div>");

document.writeln("<script language=javascript type=text\/javascript>");

document.writeln("urlarr = new Array();");

document.writeln("imgarr = new Array(); ");

document.writeln("titlearr = new Array();");

document.writeln("var titles = \"\"; ");

document.writeln("var imgs = \"\"; ");

document.writeln("var urls = \"\";");

document.writeln("urlarr[1] = \"/yanzhaomen/\";");

document.writeln("imgarr[1]  = \"/adimg/01.jpg\";");

document.writeln("titlearr[1] = \"两性情感:同居七晚 我还是把初夜给了他\";");

document.writeln("urlarr[2] = \"/koujiaojiqiao\";");

document.writeln("imgarr[2]  = \"/adimg/02.jpg\";");

document.writeln("titlearr[2] = \"少妇:我装未婚少女骗他和我恋爱\";");

document.writeln("urlarr[3] = \"/xingaizhishi\";");

document.writeln("imgarr[3]  = \"/adimg/03.jpg\";");

document.writeln("titlearr[3] = \"林志玲长裙飘起引围观 手忙脚乱上下失守(图)\";");

document.writeln("urlarr[4] = \"/xingjiqiao/\";");

document.writeln("imgarr[4]  = \"/adimg/04.jpg\";");

document.writeln("titlearr[4] = \"天使与魔鬼 性感姐妹秀\";");

document.writeln("urlarr[5] = \"/xinggaochao\";");

document.writeln("imgarr[5]  = \"/adimg/05.jpg\";");

document.writeln("titlearr[5] = \"母婴育儿专题：乳头凹陷的母亲怎样喂奶? \";");

document.writeln("for(i=1;i<imgarr.length;i++){");

document.writeln("                  if(imgs==\"\") imgs = imgarr[i];");

document.writeln("                  else imgs += \"|\"+imgarr[i];");

document.writeln("                }");

document.writeln("                for(i=1;i<urlarr.length;i++){");

document.writeln("                  if(urls==\"\") urls = urlarr[i];");

document.writeln("                  else urls += \"|\"+urlarr[i];");

document.writeln("                }");

document.writeln("                for(i=1;i<titlearr.length;i++){");

document.writeln("                  if(titles==\"\") titles = titlearr[i];");

document.writeln("                  else titles += \"|\"+titlearr[i];");

document.writeln("                }");

//document.writeln("                var pw = 425;var ph = 209;var sizes = 14;var Times = 4000;");

document.writeln("                var pw = 480;var ph = 270;var sizes = 14;var Times = 4000;");

document.writeln("                var umcolor = 0xFFFFFF;	var btnbg =0xA8CC216;var txtcolor =0xFFFFFF;	var txtoutcolor = 0x000000;");

document.writeln("                var flash = new SWFObject(\'\/adimg\/focus.swf\', \'mymovie\', pw, ph, \'7\', \'\');");

document.writeln("                flash.addParam(\'allowFullScreen\', \'true\');");

document.writeln("                flash.addParam(\'allowScriptAccess\', \'always\');");

document.writeln("                flash.addParam(\'quality\', \'high\');");

document.writeln("                flash.addParam(\'wmode\', \'Transparent\');");

document.writeln("                flash.addVariable(\'pw\', pw);");

document.writeln("                flash.addVariable(\'ph\', ph);");

document.writeln("                flash.addVariable(\'sizes\', sizes);");

document.writeln("                flash.addVariable(\'umcolor\', umcolor);");

document.writeln("                flash.addVariable(\'btnbg\', btnbg);");

document.writeln("                flash.addVariable(\'txtcolor\', txtcolor);");

document.writeln("                flash.addVariable(\'txtoutcolor\', txtoutcolor);");

document.writeln("                flash.addVariable(\'urls\', urls);");

document.writeln("                flash.addVariable(\'Times\', Times);");

document.writeln("                flash.addVariable(\'titles\', titles);");

document.writeln("                flash.addVariable(\'imgs\', imgs);");

document.writeln("                flash.write(\'1\');");

document.writeln("            <\/script>");




