var AdBrite_Title_Color_Default = '000000';
var AdBrite_Text_Color_Default = '000000';
var AdBrite_Background_Color_Default = 'd6bdbd';
var AdBrite_Border_Color_Default = 'B3B3B3';
var AdBrite_URL_Color_Default = '';
var AdBrite_Title_Color,AdBrite_Text_Color,AdBrite_Background_Color,AdBrite_Border_Color,AdBrite_URL_Color;
AdBrite_Title_Color = AdBrite_IAB_Zone_Test_Color(AdBrite_Title_Color);
AdBrite_Text_Color = AdBrite_IAB_Zone_Test_Color(AdBrite_Text_Color);
AdBrite_Background_Color = AdBrite_IAB_Zone_Test_Color(AdBrite_Background_Color);
AdBrite_Border_Color = AdBrite_IAB_Zone_Test_Color(AdBrite_Border_Color);
AdBrite_URL_Color = AdBrite_IAB_Zone_Test_Color(AdBrite_URL_Color);
var AdBrite_Title_Color_Processed = (AdBrite_Title_Color) ? AdBrite_Title_Color : AdBrite_Title_Color_Default;
var AdBrite_Text_Color_Processed = (AdBrite_Text_Color) ? AdBrite_Text_Color : AdBrite_Text_Color_Default;
var AdBrite_Background_Color_Processed = (AdBrite_Background_Color) ? AdBrite_Background_Color : AdBrite_Background_Color_Default;
var AdBrite_Border_Color_Processed = (AdBrite_Border_Color) ? AdBrite_Border_Color : AdBrite_Border_Color_Default;
var AdBrite_URL_Color_Processed = (AdBrite_URL_Color) ? AdBrite_URL_Color : AdBrite_URL_Color_Default;
function AdBrite_IAB_Zone_Test_Color(color) {
if (typeof(color) != 'string') return false;
if (!color.match(/^[0-9A-Fa-f]{6}$/) && !color.match(/^[0-9A-Fa-f]{3}$/)) return false;
return color;
}
AdBrite_Title_Color = '';
AdBrite_Text_Color = '';
AdBrite_Background_Color = '';
AdBrite_Border_Color = '';
AdBrite_URL_Color = '';

try {
AdBrite_Referrer = encodeURIComponent(top.location.href);
} catch (ex) {
AdBrite_Referrer = encodeURIComponent(document.referrer);
}
if ( AdBrite_Referrer == 'undefined' ) {
AdBrite_Referrer = encodeURIComponent(document.referrer);
}
if ( !AdBrite_Referrer ) AdBrite_Referrer = encodeURIComponent(document.referrer);
var AdBrite_IAB_Iframe_URL = 'http://ads.svx.adbrite.com/adserver/display_iab_ads?sid=437528' +
'&title_color=' + AdBrite_Title_Color_Processed +
'&text_color=' + AdBrite_Text_Color_Processed +
'&background_color=' + AdBrite_Background_Color_Processed +
'&border_color=' + AdBrite_Border_Color_Processed +
'&url_color=' + AdBrite_URL_Color_Processed +
'&newwin=0'+
'&zs=3330305f323530'+
'&width=300'+
'&height=250'+
'&xb=13309064&xbg=12502481&xfb=0&xv=1689471&xat=0&xbt=CpmBidImpl&xc=31&xe=302e3139&xcc=02c8ca7c3af5f3fc8994deb65f76b7e5&xdv=false' +
'&url=' +  AdBrite_Referrer;

document.write('<iframe scrolling="no" frameborder="0" width="300" height="250" src=' + AdBrite_IAB_Iframe_URL + '></iframe>');img1 = new Image(); img1.src = document.location.protocol + '//ads.svx.adbrite.com/adserver/statsimg.php?sid=437528&nocache=5505&navname=' + escape(navigator.appName) + '&navver=' + escape(navigator.appVersion) + '&protocol=' + escape(self.location.protocol) + '&ref=' + escape(document.referrer) + '&host=' + self.location.host + '&loc=' + escape(self.location);