Let's bring this tyrant to justice
10.05.11
Function getAdCookie(name) {
var regex = new RegExp(name + "=(.*?)(; |&|$)", "gi");
var value = regex.exec(document.cookie);
if (value && value.length == 3) {
value = value[1];
} else {
value = "";
}
return value;
}
function getFrameDocument(fr) {
var doc = fr.contentWindow || fr.contentDocument;
if (doc && doc.document) {
doc = doc.document;
}
return doc;
}
function closeDoc(doc) {
doc.close();
}
function isIE()
{
return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
}
function setHash (element, hash) {
if(element.hash) {
element.hash = element.hash + "," + hash;
} else {
element.hash = hash;
}
}
function renderIFAd(holderID, adID, srcUrl, width, height, hash) {
setHash(document.getElementById(holderID),
Source: Sydney Morning Herald