document.write(""); //var table = document.getElementsByTagName("table"); var frag = document.createDocumentFragment(); var modReg = /(Moderators?:) (.+?)<\/i>/i; //var host = 'http://www.profitbysearch.com/'; //var img = table[0].rows[1].getElementsByTagName('img'); var IE = /*@cc_on!@*/false; var GLOBAL = { $: function(id){ return document.getElementById(id); }, pre: function(){ this.$('preload').style.display = ''; }, init: function(){ var c = document.cookie, b = c.match('ssd_bar=0')? ['hide', '0' ]:['show', '171']; this.$('ssd_quick').style.display = c.match('ssd_quick=1')? 'none' : ''; this.$('ssd_pmbar').style.display = c.match('ssd_pmbar=1')? 'none' : ''; this.$('preload').style.width = c.match('ssd_pre=1')? '1000' : '100%'; this.$('ssd_css').innerHTML += 'body *{font-size:'+ (c.match('ssd_font=11')? '11' : '10') +'!important;}'; this.$('ssd_bar').className = b[0]; document.body.style.cssText = 'padding-bottom:'+ b[1]; this.bar_cute(); }, create: function(obj, atr){ var new_item = document.createElement(obj); if(atr){ for(var a in atr){ (a == 'append')? new_item.appendChild(atr[a]) : new_item[a] = atr[a]; } } return new_item; }, hover: function(id){ img[0].parentNode.parentNode.innerHTML += ''; for(var i = 0; i < img.length; i ++){ if(img[i].src.match(/.gif/)){ var pre_load = new Image(); pre_load.src = img[i].src.replace(".gif", "_hover.gif"); img[i].onmouseover = function(){ this.src = this.src.replace(".gif", "_hover.gif"); } img[i].onmouseout = function(){ this.src = this.src.replace("_hover.gif", ".gif"); } } } this.pm(); this.init(); }, resize: function(typ){ var re = (typ == 'fix')? 1 : 0; document.cookie = 'ssd_pre=' + re + ';expires=' +(new Date()).toGMTString().replace(/\d{4}/,'2050'); GLOBAL.$('preload').style.width = (re == 1)? '1000' : '100%'; }, font: function(size){ var sz = (size== '11')? 11 : 10; document.cookie = 'ssd_font=' + sz + ';expires=' +(new Date()).toGMTString().replace(/\d{4}/,'2050'); GLOBAL.$('ssd_css').innerHTML += 'body *{font-size:'+ sz +'!important;}'; }, show_tab: function(){ var cookie = document.cookie.split(';'), temp = ''; for(var c = 0; c < cookie.length; c ++){ if(cookie[c].match(/ssd_cat_(.+?)=1/i)){ temp += '
'; } } this.$("ssd_tabs").innerHTML = (temp != '')? temp : '
'; }, bar: function(){ var b = this.$('ssd_bar').className == 'show'? ['hide1', '0' ] : ['show', '171']; GLOBAL.quick(); this.$("ssd_bar").className = b[0]; this.bar_cute(); document.body.style.cssText = 'padding-bottom:'+ b[1]; document.cookie = 'ssd_bar=' + (this.$('ssd_bar').className == 'show'? '171' : '0') + ';expires=' +(new Date()).toGMTString().replace(/\d{4}/,'2050'); }, bar_cute: function(){ var bar = this.$('ssd_bar'); if(bar.className == 'hide'){ bar.onmouseover = function(){ if(bar.className == 'hide'){ this.className = 'hide1' }} bar.onmouseout = function(){ if(bar.className == 'hide1'){ this.className = 'hide' }} } }, quick: function(){ this.$('ssd_quick').style.display = this.$('ssd_quick').style.display == 'none'? '' : 'none'; this.cookie('ssd_quick'); }, pm: function(s){ if(!s && pb_username != "Guest"){ var pm = document.getElementsByTagName("td")[2].innerHTML.match(/([\d,]+) messages?<\/a>, (\d+) /i); if(pm[2] > 0){ this.$('ssd_pmqik').innerHTML = pm[2]; this.$('ssd_pmico').src = this.$('ssd_pmico').src.replace('nopms','newpm'); } this.$('ssd_pmbar').innerHTML = "New: " + pm[2] + " | Total: " + pm[1] +"
Inbox | New PM"; } else if(!s && pb_username == "Guest"){ this.$('ssd_pmbar').innerHTML = 'Login or Register'; } else if(s){ this.$('ssd_pmbar').style.display = this.$('ssd_pmbar').style.display == 'none'? '' : 'none'; this.cookie('ssd_pmbar'); } this.$("ssd_time").innerHTML = '
'+document.getElementsByTagName("font")[2].innerHTML.split(',')[(pb_username == 'Guest')? 2:5].toUpperCase()+'
'; }, cookie: function(id){ document.cookie = id + '=' + (this.$(id).style.display == ''? '0' : '1') + ';expires=' +(new Date()).toGMTString().replace(/\d{4}/,'2050'); }, show_hide: function(id){ this.$(id).style.display = (this.$(id).style.display == 'none')? '' : 'none'; this.cookie(id); location.href = '#'+ id; this.show_tab(); } }; document.write ("
"); document.write ("
"); document.write("
"); document.write (""); document.write (" Resize Bar"); document.write (" Go To Top"); document.write (" Go To Home"); document.write (" Quick Links
"); document.write ("
"); document.write ("
Check out our 2009 Christmas & New Year offers
"); document.write ("
"); document.write ("
");