var AdBrite_IAB_Zone_Title_Color_Default = '0000FF'; var AdBrite_IAB_Zone_Text_Color_Default = '000000'; var AdBrite_IAB_Zone_Background_Color_Default = 'FFFFFF'; var AdBrite_IAB_Zone_Border_Color_Default = 'FFFFFF'; var AdBrite_IAB_Zone_Title_Color_Processed, AdBrite_IAB_Zone_Text_Color_Processed, AdBrite_IAB_Zone_Background_Color_Processed, AdBrite_IAB_Zone_Border_Color_Processed, AdBrite_Title_Color, AdBrite_Text_Color, AdBrite_Background_Color, AdBrite_Border_Color; function AdBrite_IAB_Zone_Test_Color(color) { if (typeof(color) != 'string') return false; if (!color.match(/[0-9A-Fa-f]{6}/)) return false; return color; } try { AdBrite_IAB_Zone_Title_Color_Processed = AdBrite_Title_Color; if (AdBrite_IAB_Zone_Title_Color_Processed == '') { AdBrite_IAB_Zone_Title_Color_Processed = AdBrite_IAB_Zone_Title_Color_Default; } } catch (ex) { AdBrite_IAB_Zone_Title_Color_Processed = AdBrite_IAB_Zone_Title_Color_Default; } try { AdBrite_IAB_Zone_Text_Color_Processed = AdBrite_Text_Color; if (AdBrite_IAB_Zone_Text_Color_Processed == '') { AdBrite_IAB_Zone_Text_Color_Processed = AdBrite_IAB_Zone_Text_Color_Default; } } catch (ex) { AdBrite_IAB_Zone_Text_Color_Processed = AdBrite_IAB_Zone_Text_Color_Default; } try { AdBrite_IAB_Zone_Background_Color_Processed = AdBrite_Background_Color; if (AdBrite_IAB_Zone_Background_Color_Processed == '') { AdBrite_IAB_Zone_Background_Color_Processed = AdBrite_IAB_Zone_Background_Color_Default; } } catch (ex) { AdBrite_IAB_Zone_Background_Color_Processed = AdBrite_IAB_Zone_Background_Color_Default; } try { AdBrite_IAB_Zone_Border_Color_Processed = AdBrite_Border_Color; if (AdBrite_IAB_Zone_Border_Color_Processed == '') { AdBrite_IAB_Zone_Border_Color_Processed = AdBrite_IAB_Zone_Border_Color_Default; } } catch (ex) { AdBrite_IAB_Zone_Border_Color_Processed = AdBrite_IAB_Zone_Border_Color_Default; }AdBrite_Title_Color = ''; AdBrite_Text_Color = ''; AdBrite_Background_Color = ''; AdBrite_Border_Color = ''; try { AdBrite_Referrer = encodeURIComponent(top.location.href); } catch (ex) { AdBrite_Referrer = encodeURIComponent(document.referrer); } // for safari if ( AdBrite_Referrer == 'undefined' ) { AdBrite_Referrer = encodeURIComponent(document.referrer); } if ( !AdBrite_Referrer ) AdBrite_Referrer = encodeURIComponent(document.referrer); var AdBrite_IAB_Iframe_URL = 'http://ads.adbrite.com/adserver/display_iab_ads.php?sid=175305' + '&title_color=' + AdBrite_IAB_Zone_Title_Color_Processed + '&text_color=' + AdBrite_IAB_Zone_Text_Color_Processed + '&background_color=' + AdBrite_IAB_Zone_Background_Color_Processed + '&border_color=' + AdBrite_IAB_Zone_Border_Color_Processed + '&newwin='+ '&zs='+ '&width=160' + '&height=600' + '&url=' + AdBrite_Referrer; document.write('');