/*
	$Header:   //nm-filestore/archives/CodeDB/archives/webroot/icnetwork/js/IC_displayMPUAd.js-arc   1.2   Sep 28 2005 15:12:28   AGeers  $

	Author: 	Andy Geers
	Date:		2005-09-23
	Name: 		IC_displayTopAds.js
	Description: Manipulating M2 ads layout (copied from M2_displayTopAds.js)

	$Log:   //nm-filestore/archives/CodeDB/archives/webroot/icnetwork/js/IC_displayMPUAd.js-arc  $
   Rev 1.2   Sep 28 2005 15:12:28   AGeersAllow code to run on Mac IE   Rev 1.0   Sep 26 2005 16:27:36   AGeersInitial revision.   
*/

/* Javascript for reg_std_head.cfm 
* (C) Copyright Trinity Mirror 2005
*/

// The above notice to be retained after compression

// This function moves the mpu ad
function displayMPUAd()
{
	//blank ads should include link to www.falkag.de - hence hide those	
	var mpuad = document.getElementById('mpuad');
	//only show ads that are really there - check that a non-empty ad has been inserted
	if (mpuad && (mpuad.innerHTML.length > MPUBlockLength) && mpuad.innerHTML.indexOf("empty.gif") == -1) mpuad.style.display = 'inline';
} 
