📄 vogateads2.js
字号:
var vlinks = Array();var ir = 0;var _viewAds = new Image;var _link = 0;var default_frame = 0;if (_frame == "undefined") { _frame = default_frame;}var expdate = new Date();var clickURL = "http://action.vogate.com/click/click.php?r="+escape(document.referrer)+"&";var scriptBase = "http://code.vogate.com/script/release/";var urlBase = "http://action.vogate.com/click/";var imageBase = "http://img.vogate.com/adsimages/";var imageBase1 = "http://code.vogate.com/script/images/png" + _frame + "/";var imageBase2 = "http://code.vogate.com/script/images/";var fwd = imageBase2 + "boring.gif";var pah = imageBase2 + "pah.gif";var sew_ = imageBase2 + "google.gif";var cha_ = imageBase2 + "b6.gif";var cha1_ = imageBase2 + "b7.gif";var sewb_ = imageBase2 + "b9.gif";var ld_ = imageBase2 + "loading.gif";var _pa_ = imageBase2 + "fa.gif";var _pah5 = "http://www.google.cn/search?hl=zh-CN&meta=&q=";var pollURL = "http://www.vogate.com/ads_polling.php?";var forwardURL = "http://www.vogate.com/ads_forwarding.php?";var _s_e_w_ = true;var is_chat = false;var _fl_ = false;var visits = 0;var c_list = Array();var ad_area = document.getElementById("vogate_ad_area") ? document.getElementById("vogate_ad_area") : document.body;var is_c = document.getElementById("vogate_ad_area") ? true : false;window.onerror = function () { return true;};function _D_(site_id, ads_id, keyword) { _viewAds.src = urlBase + "view.php?site_id=" + site_id + "&ads_id=" + ads_id + "&k=" + keyword + "&s=" + escape(location.href)+"&r="+escape(document.referrer);}document.image_Array = new Array();function _C_() { var args = _C_.arguments; for (var i = 0; i < args.length; i++) { var imgIndex = document.image_Array.length; document.image_Array[imgIndex] = new Image; document.image_Array[imgIndex].src = args[i]; }}function __c__(ID) { if (!bIE) { return; } if (ID == "v_tr") { return; } var loc = eval("window.document." + ID); if (loc != undefined) { loc.StopPlay(); }}rnd.today = new Date();rnd.seed = rnd.today.getTime();function rnd() { rnd.seed = (rnd.seed * 9301 + 49297) % 233280; return rnd.seed / (233280);}function rand(number) { return Math.ceil(rnd() * number);}function adLinks(advertiserId, keyword, title, text, picture, links, url, adsType, htmlContent) { this.advertiserId = advertiserId; this.adsType = adsType; this.keyword = keyword; this.title = title; this.text = text; var tmp = ""; if (picture.indexOf("http://") == 0) { tmp = picture; } else { if (picture != "") { tmp = imageBase + picture; } else { tmp = ""; } } this.picture = tmp; this.links = ((links == "") ? " " : links); this.url = url; this.htmlContent = htmlContent;}function __f_(ad, n) { var _kw = ad.keyword; var click_url = ad.url; click_url = clickURL + "ads_id=" + ad.advertiserId + "&site_id=" + publisher_id + "&click=1&url=" + escape(ad.url) + "&v=" + visits + "&k=" + escape(ad.keyword) + "&s=" + escape(location.href) + "&rn=" + rand(999999); var _xtx_ = ad.title + " @Vogate.com"; _ih1 = "<A id=\"vad_" + n + "\" title=\"" + _xtx_ + "\" class=\"vLink1\""; _ih2 = " href=\"" + click_url + "\" target=\"_blank\" onmouseover=\"if(typeof(showTitle)!='undefined'){this.title='';window.clearTimeout(hideTO);showTitle(event, this, " + n + ",'');}\" onmouseout=\"if(typeof(showTitle)!='undefined'){mouseIsOverLayer = false; mouseOverWhileLoad = false; hideTO = window.setTimeout('checkIfMouseOverLayer()',500);}\" onClick=\"\">" + _kw + "</A>"; if (bIE) { var _tr = document.body.createTextRange(); while (__t_ = _tr.findText(_kw)) { var __r_ = _tr.parentElement(); _ih = _ih1 + " style=\"font-size:1em;\"" + _ih2; if (FilterNode(__r_) && ___V_____(__r_)) { _tr.pasteHTML(_ih); break; } _tr.collapse(false); } } else { Accept_Node = function (node) { if (node.tagName == "IMG" || node.tagName == "A" || node.tagName == "FORM" || node.tagName == "OBJECT" || node.tagName == "SCRIPT") { return NodeFilter.FILTER_REJECT; } else { return NodeFilter.FILTER_ACCEPT; } }; var tw = document.createTreeWalker(ad_area, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT, Accept_Node, false); var vNodes = new Array(); var range = document.createRange(); while (cNode = tw.nextNode()) { if (cNode.nodeValue != null) { vNodes[vNodes.length] = cNode; } } for (var i = 0; i < vNodes.length; i++) { var key = vNodes[i].nodeValue; var pos = key.indexOf(_kw); if (pos != -1) { range.selectNode(vNodes[i]); range.setStart(vNodes[i], pos); range.setEnd(vNodes[i], range.startOffset + _kw.length); range.deleteContents(); var nNode = document.createElement("span"); _ih = _ih1 + " style=\"font-size:1em;\"" + _ih2; nNode.innerHTML = _ih; range.insertNode(nNode); break; } } }}function __g_(doWrite) { var bw = "1", ld = "underline", bl = "dotted", bl1 = "solid", bw1 = "2"; switch (_link) { case 1: bl = "solid"; break; case 2: ld = "none"; bw1 = "1"; bl1 = "dotted"; break; case 3: bl = "solid"; ld = "none"; bw1 = "1"; break; case 4: bw = "0"; ld = "none"; bw1 = "0"; case 5: bw = "0"; ld = "none"; bw1 = "1"; default: break; } var style = [["A.vLink1:link", "color:" + link_color + "!important;" + "border-bottom: " + bw + "px " + link_color + " " + bl + ";" + "text-decoration: " + ld + ";"], ["A.vLink1:visited", "color:" + link_color + "!important;" + "border-bottom: " + bw + "px " + link_color + " " + bl + ";" + "text-decoration:" + ld + ";"], ["A.vLink1:hover", "color:" + link_color + "!important;" + "border-bottom: " + bw1 + "px " + link_color + " " + bl1 + ";" + "text-decoration:" + ld + ";"], ["A.vLink1:active", "color:" + link_color + "!important;" + "border-bottom: " + bw + "px " + link_color + " " + bl + ";" + "text-decoration: " + ld + ";"], ["DIV.linkTitle", "position: absolute;" + "font-size: 9pt;" + "padding: 0px;" + (bIE) ? "filter:revealTrans(duration=0.3,transition=4)" : ""], ["A.vTLink1:link", "color:" + title_text_color + "!important;"], ["A.vTLink1:visited", "color:" + title_text_color + "!important;"], ["A.vTLink1:hover", "color:" + title_text_color + "!important;" + "text-decoration:underline;"], ["A.vTLink1:active", "color:" + title_text_color + "!important;"]]; if (doWrite) { } else { if (!document.styleSheets.length) { document.createStyleSheet(); } var sheet = document.styleSheets[document.styleSheets.length - 1]; if (bIE) { for (var i = 0; i < style.length; i++) { sheet.addRule(style[i][0], style[i][1]); } } else { for (var i = 0; i < style.length; i++) { sheet.insertRule(style[i][0] + " { " + style[i][1] + " } ", 0); } } }}function __d_(url, doWrite) { if (doWrite) { document.writeln("<script type='text/javascript' src='" + url + "'></script>"); } else { if (bIE) { var s = document.createElement("script"); s.setAttribute("type", "text/javascript"); s.setAttribute("src", url); document.body.appendChild(s); } else { var s = document.createElement("SPAN"); s.innerHTML = "<script type='text/javascript' src='" + url + "'></script>"; document.body.appendChild(s); } }}function __c_() { if (!ready) { setTimeout("__c_();", 3000); return; } __g_(false); _C_(imageBase1 + "pop10.png", imageBase1 + "pop16.png", imageBase1 + "pop11.png", imageBase1 + "pop15.png", imageBase1 + "pop12.png", imageBase1 + "pop13.png", imageBase1 + "pop17.png", imageBase1 + "pop14.png", imageBase1 + "pop21.png", imageBase1 + "pop22.png", imageBase1 + "pop25.png", imageBase1 + "pop26.png"); _C_(imageBase2 + "fwd3.gif", imageBase2 + "pah.gif", sew_, cha_, cha1_, sewb_, ld_); for (var i = 0; i < vlinks.length; i++) { var _pp = vlinks[i].picture; switch (parseInt(vlinks[i].adsType)) { case 2: case 3: _C_(_pp); __f_(vlinks[i], i); break; case 8: case 9: var sp = _pp.split(","); var ps = ""; if (sp.length > 2) { for (j = 1; j < sp.length; j++) { ps += ("\"" + sp[0] + "/" + sp[j] + "\","); } ps = ps.substr(0, ps.length - 1); _C_(ps); __f_(vlinks[i], i); } break; default: __f_(vlinks[i], i); break; } } setDrag();}var osMac = false;if (navigator.platform.toLowerCase().indexOf("mac") != -1) { osMac = true;}var hideTO;var bIE = (navigator.appName.indexOf("Microsoft") != -1);var bOpera = (navigator.userAgent.toLowerCase().indexOf("opera") != -1);if (!document.getElementById("linkTitle")) { if (bIE) { var _m_b_ = document.getElementsByTagName("BODY")[0]; var _n_n_ = document.createElement("DIV"); _n_n_.id = "vogate_d_2"; _n_n_.innerHTML = "<DIV onmouseover=\"mouseIsOverLayer = true;\" onmouseout=\" mouseOverWhileLoad=false; hideTitle(event, this);\" class=\"linkTitle\" id=\"linkTitle\" style=\" position: absolute; visibility: hidden; z-index:9999; display: none;\"><DIV id=\"linkTitleText\"></DIV></DIV>"; _m_b_.children(0).insertAdjacentElement("BeforeBegin", _n_n_); } else { document.writeln("<DIV onmouseover=\"mouseIsOverLayer = true;\" onmouseout=\" mouseOverWhileLoad=false; hideTitle(event, this);\" class=\"linkTitle\" id=\"linkTitle\" style=\" position: absolute; visibility: hidden; z-index:9999; display: none;\">"); document.writeln("<DIV id=\"linkTitleText\"></DIV>"); document.writeln("</DIV>"); }}function hideTitle(e, elmnt) { if (draged) { return; } if (document.all) { if (!(linkTitle.contains(window.event.toElement))) { mouseIsOverLayer = false; if (!mouseOverWhileLoad) { hideTO = window.setTimeout("_c_()", 500); } } } else { if (checkMouseLeave(elmnt, e)) { mouseIsOverLayer = false; if (!mouseOverWhileLoad) { hideTO = window.setTimeout("_c_()", 500); } } }}function _c_() { if (!mouseIsOverLayer) { document.getElementById("linkTitle").style.display = "none"; if (is_chat) { is_chat = false; var ___if = document.getElementById("_fi_"); ___if.src = ""; } __c__("sotester"); }}function checkIfMouseOverLayer() { if (draged) { return; } if (!mouseIsOverLayer && !mouseOverWhileLoad) { if (document.all) { document.all.linkTitle.style.display = "none"; } else { var oLayer = document.getElementById("linkTitle"); oLayer.style.visibility = "hidden"; oLayer.style.display = "none"; } if (is_chat) { is_chat = false; var ___if = document.getElementById("_fi_"); ___if.src = ""; } __c__("sotester"); }}function _c__(container, containee) { var isParent = false; do { if ((isParent = container == containee)) { break; } containee = containee.parentNode; } while (containee != null); return isParent;}function checkMouseLeave(element, evt) { if (element.contains && evt.toElement) { return !element.contains(evt.toElement); } else { if (evt.relatedTarget) { return !_c__(element, evt.relatedTarget); } }}function showTitle(e, obj, adlinkID, divId) { var _l_, _k_, _f_, c__; var status = 1; var picture = vlinks[adlinkID].picture; var title = vlinks[adlinkID].title; var text = vlinks[adlinkID].text; var url = vlinks[adlinkID].url; var isEbay = false; var _eb_offset = 0; if (url.indexOf("ebay.com.cn") > 0) { isEbay = true; _eb_offset = 10; } var _sew_offset = 0; if (_s_e_w_ && vlinks[adlinkID].adsType != "6" && vlinks[adlinkID].adsType != "8") { _sew_offset = 25; } var divHeight = 150; if (vlinks[adlinkID].adsType == "5" || vlinks[adlinkID].adsType == "7" || vlinks[adlinkID].adsType == "9" || vlinks[adlinkID].adsType == "99") { divHeight = 190; } else { if (vlinks[adlinkID].adsType == "11") { divHeight = 155; } else { if (vlinks[adlinkID].adsType == "6" || vlinks[adlinkID].adsType == "8") { divHeight = 175; } } } _l_ = 0; _k_ = 0; mouseOverWhileLoad = false; currentAdLinkIndexToShow = adlinkID; mouseIsOverLayer = true; var divElement = null; if (bIE) { _f_ = window.event.y; c__ = window.event.x; winW = document.body.clientWidth; winH = document.body.clientHeight; curX = event.clientX; curY = event.clientY; } else { _f_ = e.pageY - _k__(); c__ = e.pageX - _g__(); winW = window.innerWidth; winH = window.innerHeight; curX = e.pageX - window.pageXOffset; curY = e.pageY - window.pageYOffset; } var telem = document.getElementById("vad_" + adlinkID); var textH = telem.offsetHeight; var textW = telem.offsetWidth; var textY = telem.offsetTop; var textX = telem.offsetLeft; while (telem = telem.offsetParent) { textY += telem.offsetTop; textX += telem.offsetLeft; } _l_ = (textY - divHeight - _eb_offset - _sew_offset); if (divHeight > 150) { _l_ = (textY - divHeight - 35 - _eb_offset - _sew_offset); } _k_ = textX + 12; if (divHeight > 150) { __o_ = divHeight + 25; } else { __o_ = divHeight; } if (curY < __o_ + 20) { if (curY < winH - curY) { status = 3; _l_ = textY + textH + 5; } } var _xW = 310; if (vlinks[adlinkID].adsType == "6" || vlinks[adlinkID].adsType == "8") { _xW = 194; } if (winW - textX - textW - 12 < _xW) { _k_ = textX - _xW + 12; if (status == 1) { status = 2; } else { status = 4; } } __k_(adlinkID, _l_, _k_, status);}function _sew__() { window.open(_pah5 + encodeURIComponent(document.vogate_iask_frm.q.value));}function __k_(adlinkID, _g_, d__, status) { var title = vlinks[adlinkID].title; var text = vlinks[adlinkID].text; var picture = vlinks[adlinkID].picture; var ads_id = vlinks[adlinkID].advertiserId; var url = vlinks[adlinkID].url; var keyword = vlinks[adlinkID].keyword; var ads_type = vlinks[adlinkID].adsType; draged = false; if (is_chat) { is_chat = false; var ___if = document.getElementById("_fi_"); ___if.src = ""; } var isEbay = false; var is163 = false; if (url.indexOf("163.com") > 0) { is163 = true; imageBase1 = "http://code.vogate.com/script/images/163/"; } else { imageBase1 = "http://code.vogate.com/script/images/png" + _frame + "/"; } var headImg = imageBase1 + "pop10.png"; var footImg = imageBase1 + "pop15.png"; if (ads_type == "6" || ads_type == "8") { headImg = imageBase1 + "pop21.png"; } var headH = is163 ? 27 : 21; var footH = 43; var __m_ = 4; if (status == 2) { headImg = imageBase1 + "pop10.png"; footImg = imageBase1 + "pop14.png"; if (ads_type == "6" || ads_type == "8") { headImg = imageBase1 + "pop21.png"; } headH = is163 ? 27 : 21; footH = 43; __m_ = 4; } else { if (status == 3) { headImg = imageBase1 + "pop16.png"; footImg = imageBase1 + "pop11.png"; if (ads_type == "6" || ads_type == "8") { footImg = imageBase1 + "pop22.png"; } headH = 43; footH = is163 ? 27 : 21; __m_ = 5; } else { if (status == 4) { headImg = imageBase1 + "pop17.png"; footImg = imageBase1 + "pop11.png"; if (ads_type == "6" || ads_type == "8") { footImg = imageBase1 + "pop22.png"; } headH = 43; footH = is163 ? 27 : 21; __m_ = 5; } } } var links = vlinks[adlinkID].links; var url = clickURL + "ads_id=" + ads_id + "&site_id=" + publisher_id + "&click=1&url=" + escape(vlinks[adlinkID].url) + "&v=" + visits + "&k=" + escape(keyword) + "&s=" + escape(location.href); var pI = ""; if (picture != "") { if (ads_type == "5" || ads_type == "7" || ads_type == "9") { pI = "<div id=\"flashcontent\" style=\"float:left; margin-right:2px; margin-left:2px; width:180px; height:150px;\"></div>"; } else { if (ads_type == "6" || ads_type == "8") { pI = "<div id=\"flashcontent\" style=\"width:180px; height:150px;\"></div>"; } else { if (ads_type == "4") { pI = "<div id=\"flashcontent\" style=\"width:296px; height:90px;\"></div>"; } else { if (ads_type == "98") { pI = "<div id=\"flashcontent\" style=\"width:400px; height:400px;\"></div>"; } else { if (ads_type == "2") { pI = "<img src=\"" + picture + "\" onclick=\"window.open('" + url + "')\">"; } else { pI = "<img src=\"" + picture + "\" style=\"float:left; margin-right:6px; margin-left:4px;\" onclick=\"window.open('" + url + "')\">"; } } } } } } if (ads_type == "99") { links = ""; url = ""; pI = vlinks[adlinkID].htmlContent; } if (ads_type == "15") { pI = "<div id=\"text_links\" style=\"width:296px;height:90px;font-size:12px;margin-left:6px; line-height:18px;\">"; var tmp = vlinks[adlinkID].url; sp = tmp.split(";"); for (i = 0; i < sp.length; i++) { var tmp1 = sp[i].split("|"); var _l_ = tmp1[0]; var _t_ = tmp1[1]; var reg = new RegExp(keyword, "g"); _t_ = _t_.replace(reg, "<b>" + keyword + "</b>"); var _url_ = clickURL + "ads_id=" + ads_id + "&site_id=" + publisher_id + "&click=1&url=" + escape(_l_) + "&v=" + visits + "&k=" + escape(keyword) + "&s=" + escape(location.href); pI += "<a class=\"vTLink1\" href=\"" + _url_ + "\" target=\"_blank\">" + _t_ + "</a><br>"; } pI += "</div>"; } var poll1 = pollURL + "v=1&ads_id=" + ads_id; var poll2 = pollURL + "v=0&ads_id=" + ads_id; var fwd1 = forwardURL + "ads_id=" + ads_id; var newListing = ""; if (document.all) { document.all.linkTitleText.innerHTML = ""; } else { document.getElementById("linkTitleText").innerHTML = ""; } if (bIE) { var cursorType1 = "hand"; } else { var cursorType1 = "pointer"; } cursorType = "hand"; var _onClickH = ""; var _onClickF = ""; var _styleH = ""; var _styleF = ""; var _pah = "http://www.vogate.com/buildad.php"; if (headH == 21 || headH == 27) { _onClickH = "onClick=\"javascript:window.open('" + _pah + "');\" onmouseover=\"_ind_=true;\" onmouseout=\"_ind_=false;draging=false\""; _styleH = "cursor:" + cursorType + ";"; } if (footH == 21 || footH == 27) { _onClickF = "onClick=\"javascript:window.open('" + _pah + "');\" onmouseover=\"_ind_=true;\" onmouseout=\"_ind_=false;draging=false\""; _styleF = "cursor:" + cursorType + ";"; } var __nl__ = "<table id=\"_df\" style=\""; if (bIE) { __nl__ += "filter:alpha(opacity=95);"; } __nl__ += "width:"; if (ads_type == "6" || ads_type == "8") { __nl__ += "194"; } else { __nl__ += "310"; } __nl__ += "px;TABLE-LAYOUT:auto;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td style=\"" + _styleH + "position:relative\" id=\"_headI\" colspan=\"3\" height=\"" + headH + "\" " + _onClickH + "></td></tr><tr><td width=\"7\" background=\"" + imageBase1 + "pop12.png\"></td><td id=\"_bgk\" width=\""; if (ads_type == "6" || ads_type == "8") { __nl__ += "180"; } else { __nl__ += "296"; } __nl__ += "\" align=\"left\" style=\"cursor:" + cursorType1 + ";padding:"; if (ads_type == "2" || ads_type == "4" || ads_type == "6" || ads_type == "8" || ads_type == "99" || ads_type == "15") { __nl__ += "0"; } else { __nl__ += "4"; } __nl__ += "px; background-color:" + layer_background_color + "\" onmouseover=\"this.style.backgroundColor='" + layer_hover_color + "'; "; if (bIE) { __nl__ += "document.all._df.filters.alpha.opacity=100;"; } else { __nl__ += "document.getElementById('_df').style.opacity='1.0';"; } __nl__ += "\" onmouseout=\"this.style.backgroundColor='" + layer_background_color + "';"; if (bIE) { __nl__ += "document.all._df.filters.alpha.opacity=90;\""; } else { __nl__ += "document.getElementById('_df').style.opacity='0.95';\""; } __nl__ += ">"; if (ads_type == "1" || ads_type == "3") { __nl__ += "<table style=\"width:100%;TABLE-LAYOUT:auto;\" border=\"0\"><tr><td>" + pI + "</td><td>"; } else { __nl__ += pI; } if (ads_type == "1" || ads_type == "3" || ads_type == "5" || ads_type == "7" || ads_type == "9" || ads_type == "11") { __nl__ += "<div onclick=\"window.open('" + url + "')\"><span id=\"_title_\" style=\"color:" + title_text_color + ";font-size:12px; line-height:12px;text-align:left\"><strong>" + title + "</strong></span><DIV id=\"_content_\" style=\"margin-top:5px;font-size:12px;line-height:12px;text-align:left;color:" + ad_text_color + ";\">" + text + "</DIV>"; if (ads_type == "5" || ads_type == "7" || ads_type == "9" || ads_type == "11") { __nl__ += "<DIV style=\"margin-top: 5px;\"><table style=\"width:30%;TABLE-LAYOUT:auto;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td style=\"font-size:10px;font-family:Arial;color:" + link_text_color + ";\" align=\"left\" onmouseover=\"this.style.textDecoration='underline'\" onmouseout=\"this.style.textDecoration='none'\">" + links + "</span></td></tr><tr><td width=\"105\">"; } else { if (ads_type == "1" || ads_type == "3") { __nl__ += "</div></td></tr></table><DIV style=\"margin-top: 5px;\"><table style=\"width:100%;TABLE-LAYOUT:auto;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td style=\"font-size:10px;font-family:Arial;color:" + link_text_color + ";\" onmouseover=\"this.style.textDecoration='underline'\" onmouseout=\"this.style.textDecoration='none'\">" + links + "</span></td><td width=\"105\" align=\"right\" valign=\"middle\">"; } } if (ads_type == "5" || ads_type == "7" || ads_type == "9" || ads_type == "11") { __nl__ += "</td></tr></table></div></div>"; } else { if (ads_type == "1" || ads_type == "3") { __nl__ += "</td></tr></table></div>"; } } } if (_s_e_w_) { if (ads_type != "6" && ads_type != "8") { var mt_ = title + " " + text; __nl__ += "<div style=\"height:22px; width:100%; border-top:1px dashed #666666;\"><table width=\"95%\" height=\"20\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" style=\"margin-top:0px; padding-top:0px;\"><tr>"; if (ads_type != "99" && ads_type != "98" && vlinks[adlinkID].htmlContent != "") { var _sp_ = vlinks[adlinkID].htmlContent.split("-"); if (_sp_.length == 2) { _url_ = clickURL + "ads_id=1441&site_id=" + publisher_id + "&click=1&url=" + escape(_sp_[0]) + "&v=" + visits + "&k=" + escape(vlinks[adlinkID].keyword) + "&s=" + escape(location.href); __nl__ += "<td width=\"120\"><marquee onMouseOver=\"this.stop();\" onMouseOut=\"this.start();\" scrollamount=2><a href=\"" + _url_ + "\" target=\"_blank\" style=\"font-size:12px;color:" + title_text_color + "\">" + _sp_[1] + "</a></marquee></td><td> </td><td> </td>"; } } else { __nl__ += "<td width=\"48\"><img src=\"" + sew_ + "\" onClick=\"_sew__()\" alt=\"\u4f7f\u7528Google\u641c\u7d22\"></td><td><form name=\"vogate_iask_frm\" style=\"margin:0;padding:0px;border:0px;\" onkeydown=\"if(event.keyCode==13){return false;}\"><input name=\"q\" type=\"text\" style=\"border:1px solid #333333;height:16px;width:75px;font-size:12px;background-color:#FFFFFF;\" maxlength=\"10\" value=\"" + vlinks[adlinkID].keyword + "\" onkeydown=\"if(event.keyCode==13){_sew__();}\"/></form></td><td width=\"25\"><img src=\"" + sewb_ + "\" width=\"16\" height=\"15\" style=\"margin-top:2px;\" alt=\"\u4f7f\u7528Google\u641c\u7d22\" onClick=\"_sew__()\" /></td>"; } __nl__ += "<td width=\"125\" align=\"right\" valign=\"middle\"><span><img src=\"" + cha1_ + "\" width=\"29\" height=\"15\" style=\"margin-top:2px;\" alt=\"\u548c\u6d4f\u89c8\u8fd9\u4e2a\u7f51\u7ad9\u7684\u670b\u53cb\u804a\u5929\" onClick=\"eval(__ch__('" + publisher_id + "'))\"/></span> <span><img src=\"" + pah + "\" width=\"29\" height=\"15\" style=\"margin-top:2px;\" alt=\"\u65b0\u95fb\" onClick=\"__fn__(" + ads_type + ")\" /></span> <span><img src=\"" + _pa_ + "\" width=\"15\" height=\"15\" style=\"margin-top:3px;\" alt=\"\u53d1\u5e03\u60a8\u7684\u5e7f\u544a\" onClick=\"javascript:window.open('" + _pah + "');\" /></span></td></tr></table></div>"; } } __nl__ += "</td><td width=\"7\" background=\"" + imageBase1 + "pop13.png\"></td></tr><tr><td id=\"_footI\" style=\"" + _styleF + "position:relative\" colspan=\"3\" height=\"" + footH + "\" " + _onClickF + "></td></tr></table>"; if (ads_type == "98") { newListing = pI; } else { newListing = __nl__; } if (document.all && !bOpera) { if (document.all.linkTitle.filters != "undefined" && ads_type != "98") { document.all.linkTitle.filters[0].Transition = __m_; document.all.linkTitle.filters[0].apply(); } document.all.linkTitle.all.linkTitleText.innerHTML += newListing; document.all.linkTitle.style.left = d__; document.all.linkTitle.style.top = _g_; document.all.linkTitle.style.display = ""; document.all.linkTitle.style.zIndex = 99999; document.all.linkTitle.style.visibility = "visible"; document.all.linkTitle.style.backgroundColor="transparent"; if (ads_type != "98" && ads_type != "99") { var headLayer = document.getElementById("_headI"); headLayer.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='" + headImg + "');"; var footLayer = document.getElementById("_footI"); footLayer.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='" + footImg + "');"; } if (document.all.linkTitle.filters != "undefined" && ads_type != "98") { document.all.linkTitle.filters[0].play(); } } else { var oLayer = document.getElementById("linkTitle"); var oLayerTxt = document.getElementById("linkTitleText"); var wW = window.innerWidth; var wH = window.innerHight; oLayer.style.top = _g_ + "px"; oLayer.style.left = d__ + "px"; oLayerTxt.innerHTML += newListing; oLayer.style.display = ""; oLayer.style.zIndex = 99999; if (!bOpera) { oLayer.style.opacity = 0.95; } oLayer.style.visibility = "visible"; if (ads_type != "98" && ads_type != "99") { var headLayer = document.getElementById("_headI"); headLayer.innerHTML = "<img src=\"" + headImg + "\">"; var footLayer = document.getElementById("_footI"); footLayer.innerHTML = "<img src=\"" + footImg + "\">"; } } if (ads_type == "4" || ads_type == "5" || ads_type == "6" || ads_type == "7" || ads_type == "8" || ads_type == "9" || ads_type == "98" || ads_type == "99") { var ___id_ = "vogaterm", _src___ = picture, _vars_ = "", __w1___ = 180, __h1___ = 150, _trans_ = false, _bgc__ = "#FFFFFF"; if (ads_type == "8" || ads_type == "9") { __w1___ = 180; __h1___ = 150; ___id_ = "v_tr"; var text_height = 0; var swf_height = __h1___ + text_height; var _pics = ""; var _links = ""; var _texts = ""; var sp = picture.split(","); if (sp.length > 2) { for (j = 1; j < sp.length; j++) { imgUrl = sp[0] + "/" + sp[j]; _pics += imgUrl + "|"; _links += escape(url) + "|"; _texts += "|"; } } _pics = _pics.substr(0, _pics.length - 1); _links = _links.substr(0, _links.length - 1); _texts = _texts.substr(0, _texts.length - 1); _vars_ = "pics=" + _pics + "&links=" + _links + "&texts=" + _texts + "&borderwidth=" + __w1___ + "&borderheight=" + __h1___ + "&textheight=" + text_height; _src___ = imageBase + "focus.swf"; _bgc__ = "#F0F0F0"; } else { if (ads_type == "4") { __w1___ = 296; __h1___ = 90; } else { if (ads_type == "98") { _trans_ = true; var ___s_i_e_ = vlinks[adlinkID].htmlContent; if (___s_i_e_ != "") { var sp = ___s_i_e_.split("x"); if (!isNaN(sp[0]) && !isNaN(sp[1])) { __w1___ = sp[0]; __h1___ = sp[1]; } } } else { _bgc__ = "#000000"; } } } if (bIE) { var so = new SWFObject(_src___, "sotester", __w1___, __h1___, "7", _bgc__, true); if (_vars_ != "") { so.addParam("FlashVars", _vars_); } if (_trans_) { so.addParam("wmode", "transparent"); } so.addParam("quality", "high"); so.addParam("menu", "false"); so.addParam("bgcolor", _bgc__); so.write("flashcontent"); } else { var _m____ = "<object id=\"" + ___id_ + "\" data=\"" + _src___ + "\" type=\"application/x-shockwave-flash\" height=\"" + __h1___ + "\" width=\"" + __w1___ + "\" class=\"mozilla\"><param name=\"autoplay\" value=\"true\"><param name=\"menu\" value=\"false\"><param name=\"quality\" value=\"high\">"; if (_vars_ != "") { _m____ += "<param name=\"FlashVars\" value=\"" + _vars_ + "\">"; } if (_trans_) { _m____ += "<param name=\"wmode\" value=\"transparent\">"; } _m____ += "</object>"; document.getElementById("flashcontent").innerHTML = _m____; } } _D_(publisher_id, ads_id, escape(vlinks[adlinkID].keyword));}var ifPlayerSWF = "";function CreatePlayerContainer() {}function __fn__(i) { var h = 113; if (i == 9 || i == 7 || i == 99 || i == 97) { h = 188; } var newListing = "<iframe width=100% height=" + h + " frameborder=0 scrolling=no src=\"http://www.vogate.com/rss_news.php?h=" + h + "\"></iframe>"; var oLayerTxt = document.getElementById("_bgk"); oLayerTxt.style.padding = 0; oLayerTxt.innerHTML = newListing;}function __ch__(i) { is_chat = true; var footLayer = document.getElementById("_footI"); var headLayer = document.getElementById("_headI");
footLayer.style.display = "none";
headLayer.style.display = "none";
if (bIE) { _x = footLayer.style.filter; _y = headLayer.style.filter; } else { _x = footLayer.innerHTML; _y = headLayer.innerHTML; } if (_x.indexOf("pop14") > -1) { if (bIE) { footLayer.style.filter = _x.replace("pop14", "pop25"); } else { footLayer.innerHTML = _x.replace("pop14", "pop25"); } footLayer.style.height = "14px"; } else { if (_x.indexOf("pop15") > -1) { if (bIE) { footLayer.style.filter = _x.replace("pop15", "pop25"); } else { footLayer.innerHTML = _x.replace("pop15", "pop25"); } footLayer.style.height = "14px"; } else { if (_y.indexOf("pop16") > -1) { if (bIE) { headLayer.style.filter = _y.replace("pop16", "pop26"); } else { headLayer.innerHTML = _y.replace("pop16", "pop26"); } headLayer.style.height = "14px"; } else { if (_y.indexOf("pop17") > -1) { if (bIE) { headLayer.style.filter = _y.replace("pop17", "pop26"); } else { headLayer.innerHTML = _y.replace("pop17", "pop26"); } headLayer.style.height = "14px"; } } } } draged = true; draging = false; var isrc = "http://chat.vogate.com/login.php?id=guest"; var ld_ = "http://code.vogate.com/script/images/loading.gif"; var newListing = "<iframe id=\"_fi_\" name=\"chat\" frameborder=\"0\" width=\"317\" height=\"484\" scrolling=\"no\" src=\"\"></iframe>"; var oLayerTxt = document.getElementById("_bgk"); oLayerTxt.style.padding = 0; oLayerTxt.style.height = 195; oLayerTxt.innerHTML = newListing;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -