Last active
July 30, 2016 20:44
-
-
Save hungvietdo/8e954738a7c44c6e7b70c6e5c209f608 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<!-- ip-172-30-2-252 --- Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 --><div class="toprealmedia"> | |
<div id="oas_Bottom1" class="realmediacontainer"> | |
</div> | |
</div> | |
<div id="oas_Top" class="center listingAdThin clear"> | |
</div> | |
<div class="footer_buffer"></div><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | |
<script src="http://m.commercialtrucktrader.com/javascript/all.js" type="text/javascript"></script> | |
<script type="text/javascript" language="JavaScript"> | |
<!-- | |
var oas_tag = {}; | |
oas_tag.url = 'oascentral.dominionenterprises.com'; | |
oas_tag.sizes = function() { | |
oas_tag.definePos('Bottom1', [300,53]); | |
oas_tag.definePos('Top', [300,180]); | |
} | |
oas_tag.allowSizeOverride = true; | |
oas_tag.implMode = {"Top":"div"}; | |
oas_tag.site_page = 'm.commercialtrucktrader.com/search-results.php'; | |
//oas_tag.query = '&_OAS_GEO_OVERRIDE_=US:46601'; | |
//oas_tag.query = '&ZIP=46601&_OAS_GEO_OVERRIDE_=US:46601'; | |
if (typeof(TOL) != "undefined") { | |
alert('vao'); | |
//TOL.cookie.set("toluserzip", '11111', 1); | |
oas_tag.query = TOL.cookie.get("aamde") + "&o=" + TOL.cookie.get("aam_did") + '&' + oas_tag.query; | |
} | |
function tagHolder(theString) | |
{ | |
this.value = theString; | |
} | |
tagHolder.prototype.toString = function() | |
{ | |
return this.value | |
} | |
//We use the queryHolder object so that we can pass the query by reference and update it later if needed. | |
var oasQuery = new tagHolder(oas_tag.query); | |
oas_tag.query = oasQuery; | |
var oasSitePage = new tagHolder(oas_tag.site_page); | |
oas_tag.site_page = oasSitePage; | |
oas_tag.version = '1'; | |
{ | |
var realMediaInitialized = false; | |
function initRealMedia(){ | |
if(!realMediaInitialized) { | |
(function() { | |
var oas = document.createElement('script'), | |
node = document.getElementsByTagName('script')[0]; | |
oas.type = 'text/javascript'; | |
oas.async = true; | |
oas.src = '//' + oas_tag.url + '/om/' + oas_tag.version + '.js'; | |
node.parentNode.insertBefore(oas, node); | |
})(); | |
realMediaInitialized = true; | |
} | |
} | |
} | |
initRealMedia();//--> | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment