/*
var doctype_scan = document.body.parentNode.parentNode.firstChild.nodeValue.search(/doctype/i);
// Internet explorer fixed positioning may need strict headers
if ( doctype_scan != -1 ) {
document.body.parentNode.parentNode.firstChild.nodeValue = "doctype HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"";
}
*/
// Detect user agent
var user_agent = navigator.userAgent;
// MSIE 6 Rollover caching bug
if ( user_agent.search(/msie 6/i) != -1 && user_agent.search(/msie 7/i) == -1 ) {
try {
document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}
}
// Image preloads
Image1= new Image(325,90);
Image1.src = "http://rightsoup.com:80/misc/UFA/templates/Wait!/black/left.gif";
Image2= new Image(1,90);
Image2.src = "http://rightsoup.com:80/misc/UFA/templates/Wait!/black/bg.gif";
var script_path = 'http://rightsoup.com:80/misc/UFA/';
document.write("");
// Seperation may make it easier for MSIE 7 to recognize it has loaded document.getElementById('catfish') when it is called afterwards?
document.write("
");
// Seperation may make it easier for MSIE 7 to recognize it has loaded document.getElementById('catfish') when it is called afterwards?
document.write("
");
// DEBUGGING
//document.getElementById('MSIE_FAKE_ERROR_LINE_DETECT').style.display = 'inline';
//alert(document.compatMode.search(/BackCompat/i));
//alert('ArchiveTeam ArchiveBot/20150405.03 (wpull 1.2a1) and not Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36');
//document.write('');
load_image1();
function load_image1() {
Image1.onLoad = load_image2();
}
function load_image2() {
Image2.onLoad = load_iframe();
}
function load_iframe() {
document.getElementById('ad_iframe').onLoad = setTimeout("allow_ad()", 10000);
//setTimeout("allow_ad()", 10000);
//alert('mike testing - same-site');
}
function display_countdown(countdown) {
if ( countdown > 0 ) {
var countdown = countdown - 1;
document.getElementById('show_countdown').innerHTML = countdown;
setTimeout("display_countdown(document.getElementById('show_countdown').innerHTML)",1000);
}
}
function allow_ad() {
//document.getElementById('catfish').style.display = 'inline';
ufa_jquery(document.getElementById('catfish')).catfish({animation: 'slide',closeLink: '#catfish_close',height: 90});
setTimeout("ufa_jquery.closeCatfish('catfish');", 60000);setTimeout('display_countdown(60)',1000);
}
//alert('');