function checkSponsoredLinks (iframeWindow) {
	try {
		var iframeCount = iframeWindow.document.getElementsByTagName('iframe').length;
		if (iframeWindow.document) {
			var iframeElement = document.getElementById(iframeWindow.name);
			if (iframeCount == 0) {
				iframeElement.style.height = '0px';
				iframeElement.style.visibility='hidden';
			}
		} else if (document.all) {
			var iframeElement = document.all[iframeWindow.name];
			if (iframeCount == 0) {
				iframeElement.style.height = '0px';
				iframeElement.style.visibility='hidden';
			} 
		}
	 } catch(e){} // ignore security error
}
