1var Mint = new Object(); 2Mint.save = function() 3{ 4 var now = new Date(); 5 var debug = false; // this is set by php 6 if (window.location.hash == '#Mint:Debug') { debug = true; }; 7 var path = 'https://www.collegegrant.net/mint/?record&key=3232687471444b55684135336d55614f526e36303139733731'; 8 path = path.replace(/^https?:/, window.location.protocol); 9 10 // Loop through the different plug-ins to assemble the query string 11 for (var developer in this) 12 { 13 for (var plugin in this[developer]) 14 { 15 if (this[developer][plugin] && this[developer][plugin].onsave) 16 { 17 path += this[developer][plugin].onsave(); 18 }; 19 }; 20 }; 21 // Slap the current time on there to prevent caching on subsequent page views in a few browsers 22 path += '&'+now.getTime(); 23 24 // Redirect to the debug page 25 if (debug) { window.open(path+'&debug&errors', 'MintLiveDebug'+now.getTime()); return; }; 26 27 var ie = /*@cc_on!@*/0; 28 if (!ie && document.getElementsByTagName && (document.createElementNS || document.createElement)) 29 { 30 var tag = (document.createElementNS) ? document.createElementNS('http://www.w3.org/1999/xhtml', 'script') : document.createElement('script'); 31 tag.type = 'text/javascript'; 32 tag.src = path + '&serve_js'; 33 document.getElementsByTagName('head')[0].appendChild(tag); 34 } 35 else if (document.write) 36 {
37 document.write('<' + 'script type="text/javascript" src="' + path + '&serve_js"><' + '/script>'); 38 }; 39}; 40if (!Mint.SI) { Mint.SI = new Object(); } 41Mint.SI.Referrer = 42{ 43 onsave : function() 44 { 45 var encoded = 0; 46 if (typeof Mint_SI_DocumentTitle == 'undefined') { Mint_SI_DocumentTitle = document.title; } 47 else { encoded = 1; }; 48 var referer = (window.decodeURI)?window.decodeURI(document.referrer):document.referrer; 49 var resource = (window.decodeURI)?window.decodeURI(document.URL):document.URL; 50 return '&referer=' + escape(referer) + '&resource=' + escape(resource) + '&resource_title=' + escape(Mint_SI_DocumentTitle) + '&resource_title_encoded=' + encoded; 51 } 52}; 53if (!Mint.SI) { 54 Mint.SI = new Object(); 55} 56Mint.SI.UserAgent007 = { 57 versionHigh: 16, 58 flashVersion: 0, 59 resolution: "0x0", 60 detectFlashVersion: function () { 61 var ua = navigator.userAgent.toLowerCase(); 62 if (navigator.plugins && navigator.plugins.length) { 63 var p = navigator.plugins["Shockwave Flash"]; 64 if (typeof p == "object") { 65 for (var i = this.versionHigh; i >= 3; i--) { 66 if (p.description && p.description.indexOf(" " + i + ".") != -1) { 67 this.flashVersion = i; 68 break; 69 } 70 } 71 } 72 } else if ( 73 ua.indexOf("msie") != -1 && 74 ua.indexOf("win") != -1 && 75 parseInt(navigator.appVersion) >= 4 && 76 ua.indexOf("16bit") == -1 77 ) { 78 var vb = 79 "<scr" + 80 'ipt language="VBScript"> \nOn Error Resume Next \nDim obFlash \nFor i = ' + 81 this.versionHigh + 82 ' To 3 Step -1 \n Set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash." & i) \n If IsObject(obFlash) Then \n Mint.SI.UserAgent007.flashVersion = i \n Exit For \n End If \nNext \n<' + 83 "/scr" + 84 "ipt> \n"; 85 document.write(vb); 86 } else if (ua.indexOf("webtv/2.5") != -1) this.flashVersion = 3; 87 else if (ua.indexOf("webtv") != -1) this.flashVersion = 2; 88 return this.flashVersion; 89 }, 90 onsave: function () { 91 if (this.flashVersion == this.versionHigh) { 92 this.flashVersion = 0; 93 } 94 this.resolution = screen.width + "x" + screen.height; 95 return ( 96 "&resolution=" + this.resolution + "&flash_version=" + this.flashVersion 97 ); 98 }, 99}; 100Mint.SI.UserAgent007.detectFlashVersion(); 101function Mint_SI_addEvent(obj, type, fn) { 102 if (obj.addEventListener) { 103 obj.addEventListener(type, fn, false); 104 } else if (obj.attachEvent) { 105 obj["e" + type + fn] = fn; 106 obj[type + fn] = function () { 107 obj["e" + type + fn](window.event); 108 }; 109 obj.attachEvent("on" + type, obj[type + fn]); 110 } 111} 112function Mint_SI_IO() { 113 if (document.getElementsByTagName) { 114 var links = document.getElementsByTagName("a"); 115 for (var i = 0; i < links.length; i++) { 116 var link = links[i]; 117 if ( 118 link.href && 119 !Mint_SI_IO_isLocal(link.href) && 120 link.href.indexOf("javascript:") == -1 121 ) { 122 Mint_SI_addEvent(links[i], "mousedown", Mint_SI_IO_save); 123 } 124 } 125 } 126} 127function Mint_SI_IO_isLocal(url) { 128 return /^([^:]+):\/\/([a-z0-9]+[\._-])*(collegegrant\.net)/i.test( 129 url, 130 ); 131} 132function Mint_SI_IO_save() { 133 var now = new Date(); 134 var then = now.getTime() + 300; 135 var path = 136 "https://www.collegegrant.net/mint/pepper/shauninman/outbound/click.php?" + 137 now.getTime(); 138 path = path.replace(/^https?:/, window.location.protocol); 139 140 var encoded = 0; 141 if (typeof Mint_SI_DocumentTitle == "undefined") { 142 Mint_SI_DocumentTitle = document.title; 143 } else { 144 encoded = 1; 145 } 146 var to = window.decodeURI ? window.decodeURI(this.href) : this.href; 147 var from = window.decodeURI ? window.decodeURI(document.URL) : document.URL; 148 var to_title = this.title && this.title != "" ? this.title : this.innerHTML; 149 150 path += 151 "&to=" + 152 escape(to) + 153 "&to_title=" + 154 escape(to_title) + 155 "&from=" + 156 escape(from) + 157 "&from_title=" + 158 escape(Mint_SI_DocumentTitle) + 159 "&from_title_encoded=" + 160 encoded; 161 var img = new Image(); 162 img.src = path; 163 164 while (now.getTime() < then) { 165 now = new Date(); 166 } 167} 168Mint_SI_addEvent(window, "load", Mint_SI_IO); 169if (!Mint.SI) { Mint.SI = new Object(); } 170Mint.SI.RealEstate = 171{ 172 onsave : function() 173 { 174 var width = -1; 175 var height = -1; 176
177 if (typeof window.innerWidth != "undefined") 178 { 179 width = window.innerWidth; 180 height = window.innerHeight; 181 } 182 else if (document.documentElement && typeof document.documentElement.offsetWidth != "undefined" && document.documentElement.offsetWidth != 0) 183 { 184 width = document.documentElement.offsetWidth; 185 height = document.documentElement.offsetHeight; 186 } 187 else if (document.body && typeof document.body.offsetWidth != "undefined") 188 { 189 width = d.body.offsetWidth; 190 height = d.body.offsetHeight; 191 }; 192 193 return '&window_width=' + width + '&window_height=' + height; 194 } 195};Mint.save();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.