/* Disable deprecated HTML <font> tag */
font {
	font-family: inherit !important;
	font-size: inherit !important;
	color: inherit !important;
}

/* Change cursor for links that open in new window */
:link[target="_blank"], :visited[target="_blank"], :link[target="_new"],   :visited[target="_new"] {
	cursor:  n-resize !important;
} 


/* Stop those damn <marquee> tags! */
marquee {
	-moz-binding: none !important;
	display: block;
	height: auto !important;
}

/* Block typical ads by size */
[width="0"][height="0"],
[width="1"][height="1"],
iframe[width="88"][height="31"],   a img[width="88"][height="31"],
iframe[width="120"][height="60"],  a img[width="120"][height="60"],
iframe[width="120"][height="90"],  a img[width="120"][height="90"],
iframe[width="120"][height="240"], a img[width="120"][height="240"],
iframe[width="120"][height="600"], a img[width="120"][height="600"],
iframe[width="125"][height="125"], a img[width="125"][height="125"],
iframe[width="125"][height="600"], a img[width="125"][height="600"],
iframe[width="150"][height="600"], a img[width="150"][height="600"],
iframe[width="160"][height="600"], a img[width="160"][height="600"],
iframe[width="180"][height="150"], a img[width="180"][height="150"],
iframe[width="234"][height="60"],  a img[width="234"][height="60"],
iframe[width="240"][height="400"], a img[width="240"][height="400"],
iframe[width="250"][height="250"], a img[width="250"][height="250"],
iframe[width="300"][height="250"], a img[width="300"][height="250"],
iframe[width="300"][height="600"], a img[width="300"][height="600"],
iframe[width="335"][height="25"],  a img[width="335"][height="25"],
iframe[width="335"][height="50"],  a img[width="335"][height="50"],
iframe[width="336"][height="280"], a img[width="336"][height="280"],
iframe[width="392"][height="72"],  a img[width="392"][height="72"],
iframe[width="450"][height="25"],  a img[width="450"][height="25"],
iframe[width="450"][height="31"],  a img[width="450"][height="31"],
iframe[width="450"][height="50"],  a img[width="450"][height="50"],
iframe[width="460"][height="55"],  a img[width="460"][height="55"],
iframe[width="468"][height="60"],  a img[width="468"][height="60"],
iframe[width="470"][height="62"],  a img[width="470"][height="62"],
iframe[width="505"][height="55"],  a img[width="505"][height="55"],
iframe[width="728"][height="90"],  a img[width="728"][height="90"],
iframe[width="730"][height="92"],  a img[width="730"][height="92"],
iframe[width="760"][height="31"],  a img[width="760"][height="31"] {
        display: none !important;
}

/* Block typical Flash/Shockwave ads by size */
embed[type="application/x-shockwave-flash"][width="88"][height="31"],
embed[type="application/x-shockwave-flash"][width="120"][height="60"],
embed[type="application/x-shockwave-flash"][width="120"][height="90"],
embed[type="application/x-shockwave-flash"][width="120"][height="240"],
embed[type="application/x-shockwave-flash"][width="120"][height="600"],
embed[type="application/x-shockwave-flash"][width="125"][height="125"],
embed[type="application/x-shockwave-flash"][width="125"][height="600"],
embed[type="application/x-shockwave-flash"][width="150"][height="600"],
embed[type="application/x-shockwave-flash"][width="160"][height="600"],
embed[type="application/x-shockwave-flash"][width="180"][height="150"],
embed[type="application/x-shockwave-flash"][width="234"][height="60"],
embed[type="application/x-shockwave-flash"][width="240"][height="400"],
embed[type="application/x-shockwave-flash"][width="250"][height="250"],
embed[type="application/x-shockwave-flash"][width="300"][height="250"],
embed[type="application/x-shockwave-flash"][width="300"][height="600"],
embed[type="application/x-shockwave-flash"][width="335"][height="25"],
embed[type="application/x-shockwave-flash"][width="335"][height="50"],
embed[type="application/x-shockwave-flash"][width="336"][height="280"],
embed[type="application/x-shockwave-flash"][width="392"][height="72"],
embed[type="application/x-shockwave-flash"][width="450"][height="25"],
embed[type="application/x-shockwave-flash"][width="450"][height="31"],
embed[type="application/x-shockwave-flash"][width="450"][height="50"],
embed[type="application/x-shockwave-flash"][width="460"][height="55"],
embed[type="application/x-shockwave-flash"][width="468"][height="60"],
embed[type="application/x-shockwave-flash"][width="470"][height="62"],
embed[type="application/x-shockwave-flash"][width="505"][height="55"],
embed[type="application/x-shockwave-flash"][width="728"][height="90"],
embed[type="application/x-shockwave-flash"][width="730"][height="92"],
embed[type="application/x-shockwave-flash"][width="760"][height="31"] {
        display: none !important;
}

/* Block typical ads by path and filename */
*[src*="/ad-"],   *[href*="/ad-"] img,
*[src*="/ad."],   *[href*="/ad."] img,
*[src*="/ad/"],   *[href*="/ad/"] img,
*[src*="/ad_"],   *[href*="/ad_"] img,
*[src*="_ad_"],   *[href*="_ad_"] img,
*[src*="adfarm"], *[href*="adfarm"] img,
*[src*="/ads"],   *[href*="/ads"] img,
*[src*=".ads"],   *[href*=".ads"] img,
*[src*="ads."],   *[href*="ads."] img,
*[src*="adserv"], *[href*="adserv"] img,
*[src*="/adv"],   *[href*="/adv"] img,
*[src*="advert"], *[href*="advert"] img,
*[src*="/adx"],   *[href*="/adx"] img,
*[src*="banner"], *[href*="banner"] img,
*[src*="/click"], *[href*="/click"] img,
*[src*="?click"], *[href*="?click"] img,
*[src*="=click"], *[href*="=click"] img,
*[src*="click_"], *[href*="click_"] img,
*[src*="click."], *[href*="click."] img,
*[src*="?affid="],
*[src*="?affiliate="],
*[src*="?ref="],
*[src*="cash.cgi?"],
*[src*="count.cgi?"],
*[src*="refer.cgi?"],
*[src*="tracker.cgi?"],
*[src*="track.cfm?"] {
        display: none !important;
}

/* Block domain-specific ads */
[src*="rd.yahoo.com"],
[src*="atdmt.com"],
[src*="atwola.com"],
[src*="casalemedia.com"],
[src*="doubleclick"],
[src*="fastclick"],
[src*="hitbox"],
[src*="linkexchange"],
[src*="medioplex"],
[src*="overture.com"],
[src*="topsite"],
[src*="tribalfusion"],
[src*="valueclick"] {
        display: none !important;
}

/* Make nearly invisible code that may be an ad */
*[href*="rd.yahoo.com"] *[src*="yimg.com"],
[src*="akamai"] {
	opacity: 0.1 !important;
}
*[href*="rd.yahoo.com"] *[src*="yimg.com"]:hover,
[src*="akamai"]:hover {
	opacity: 1.0 !important;
}

