RIP page Advertising Code and introduction

Source: Internet
Author: User
Advertising

<!--RIP page start-->
<script>
<!--
SetTimeout ("Bigwingecko_dofscommand ()", 0);
var initbigwinsrc = "image/photo350";//RIP page start advertising path, for the form of just;
var initbigwinwidth = "250";
var initbigwinheight = "251";
var initlittlewinsrc = "image/photo350";//RIP page start advertising path, for the form of just;
var initlittlewinwidth = "80";
var initlittlewinheight = "80";
var initusecookiehours = 24;

Do not provide full support for the old version of Netscape4.0.
var navname = (document.all)? "IE": "Gecko";
var isfirsttime = true;
var rightsuspent = (screen.width>800)? 1004:770;

function Writeobj (name,initbigwinsrc,initbigwinwidth,initbigwinheight) {
var bigwinhtml = "";
if (Navname = = "IE") {
Bigwinhtml= "<div id=\\" "+ Name +" div\\ "style=\\" Left: "+ (Rightsuspent-parseint (initbigwinwidth)) +" PX; Position:absolute; ";
if (typeof (initscrollis) = = "undefined") {
bigwinhtml + = "top:0px;";
}
else if ((typeof (Initscrollis) = = "Boolean" &&initscrollis = = False) | | (Initscrollis = = "false") {
bigwinhtml + = "top:0px;";
}
else{
bigwinhtml + = "top:expression (document.body.scrolltop+this.style.pixelheight);";
}
if (Name = = "Littlewin") bigwinhtml + = ";d isplay:none;z-index:100;";
else bigwinhtml = "; z-index:120;";
bigwinhtml + = "\" > ";
bigwinhtml + = "<object classid=\\" clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\\ "";
bigwinhtml = "codebase=\\" http://download.macromedia.com/pub/shockwave/cabs/flashlash.cab#version=6,0,0,0\\ "";
bigwinhtml + = "width=\\" "+ initbigwinwidth +" \ "height=\\" "+ initbigwinheight +" \ "id=\\" "+ Name + navname +" \ "A Lign=\\ "\" > ";
bigwinhtml + = "<param name=movie value=\\" "+ initbigwinsrc +" \ "> <param name=quality value=high>";
bigwinhtml + = "<param name=wmode value=transparent>";
bigwinhtml = "</OBJECT>";
bigwinhtml = "</Div>";
}
else if (Navname = = "Gecko") {
Bigwinhtml= "<div id=\\" "+ Name +" div\\ "style=\\" Left: "+ (Rightsuspent-parseint (initbigwinwidth)) +" PX; Position:absolute; top:100px ";
if (Name = = "Littlewin") bigwinhtml + = ";d isplay:none;z-index:100;";
else bigwinhtml = "; z-index:120;";
bigwinhtml + = "\" > ";
bigwinhtml + = "<embed src=\\" "+ initbigwinsrc +" \ "Quality=high bgcolor= #FFFFFF width=\\" "+ initbigwinwidth +" \ " Height=\\ "+ initbigwinheight +" \ "name=\\" "+ name + navname +" \ "align=\\" \ "";
bigwinhtml + = "id=\\" "+ Name + navname +" \ "type=\\" application/x-shockwave-flash\\ "loop=\\" false\\ "pluginspage=\\" H Ttp://www.macromedia.com/go/getflashplayer\\ ">";
bigwinhtml = "</EMBED>";
bigwinhtml = "</Div>";
}
document.write (bigwinhtml);
}

function _checkcookie (E) {
var now = new Date ();
var s = String (Now.getyear ()) +string (Now.getmonth () +1) +string (Now.getdate ());
if (_getfullscreencookie (E) ==s) {
return true;
}
else {
Now.settime (Now.gettime () + (parseint (typeof (initusecookiehours) = = "undefined"? 24:parseint (initusecookiehours)) * 60*60*1000));
_setfullscreencookie (E,s,now);
return false;
}
}

function _getfullscreencookie (name) {
var args = name + "=";
var alength = args.length;
var clength = documents.cookie.length;
var i = 0;
while (I < clength) {
var j = i + alength;
if (Documents.cookie.substring (i, j) = = args)
Return _getfullscreencookieval (j);
i = Documents.cookie.indexOf ("", I) + 1;
if (i = = 0) break;
}
return null;
}

function _getfullscreencookieval (offset) {
var endstr = documents.cookie.indexOf (";", offset);
if (endstr = = 1)
Endstr = Documents.cookie.length;
Return unescape (documents.cookie.substring (offset, endstr));
}

Function _setfullscreencookie (name, value) {
  var argv = _setfullscreencookie.arguments;
  var argc = _setfullscreencookie.arguments.length;
  var expires = (argc > 2)? argv[2]: null;
  var Path = (argc > 3)? argv[3]: null;
  var domain = (argc > 4)? argv[4]: null;
  var secure = (argc > 5)? argv[5]: false;
  documents.cookie = name + "=" + Escape (value) +
   ((expires = null)? "" : ("; Expires= "+ expires.togmtstring ()) +
   ((path = null)? "" : ("; Path= "+ path") +
   (domain = null)? "" : ("; domain= "+ domain") +
   ((secure = = True)? "; Secure ":" ");
}

function Bigwingecko_dofscommand (Command,args) {
var bigwinobj = document.getElementById ("Bigwindiv");
var littlewinobj = document.getElementById ("Littlewindiv");
BigWinOBJ.style.visibility = "hidden";
if (isfirsttime) {
LittleWinOBJ.style.display = "block";
Isfirsttime = false;
Return
}
LittleWinOBJ.style.visibility = "visible";
}

function Littlewingecko_dofscommand (Command,args) {
var bigwinobj = document.getElementById ("Bigwindiv");
var littlewinobj = document.getElementById ("Littlewindiv");
var playwinobj = document.getElementById ("Bigwin" +navname);
LittleWinOBJ.style.visibility = "hidden";
BigWinOBJ.style.visibility = "visible";
Playwinobj.play ();
}

if (Navname = = "IE") {
document.write ("<SCR" + "IPT language=\\" javascript\\ "for=\\" bigwinie\\ "event=\\" Fscommand (Command,args) \ " >\\n ");
document.write ("Bigwingecko_dofscommand (Command,args); \\n");
document.write ("</SCR" + "ipt>");
document.write ("<SCR" + "IPT language=\\" javascript\\ "for=\\" littlewinie\\ "event=\\" Fscommand (Command,args) \ " >\\n ");
document.write ("Littlewingecko_dofscommand (Command,args); \\n");
document.write ("</SCR" + "ipt>");
}

if (initbigwinsrc&&initbigwinwidth&&initbigwinheight&&initlittlewinsrc&& Initlittlewinwidth&&initlittlewinheight) {
Writeobj ("Bigwin", initbigwinsrc,initbigwinwidth,initbigwinheight);
Writeobj ("Littlewin", initlittlewinsrc,initlittlewinwidth,initlittlewinheight);
if (_checkcookie ("Turnbook")) {
Bigwingecko_dofscommand ("Turnbook", "big");
}
}

Littlewingecko_dofscommand ("Fscommand", "www");

SetTimeout ("Bigwingecko_dofscommand ()", 30000);

-->
</script>
<!--torn page end-->



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.