function generateFlashObject(site, area){
	if (site == "esecurity"){ //eliving - casero-hosted
		//document.write('<img src="https://secure.eircom.net/Images/DigitalMediaSuite/headers/page_header_800.gif" alt="Always on for Storage" />');
		var flashDivId = "mainImageHeader";  //MUST be the same as this DIV id

		var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
		if (hasReqestedVersion){  // Check to see if the version meets the requirements for playback
			AC_FL_RunContent(
				"src", "https://secure.eircom.net/Images/esecurity/headers/header.swf",  //*REPLACEME* the location of the SWF, can be relative or a complete URL
				"height", "114",  //*REPLACEME* set the DIV height to the same as this, unless you want to add text, in which case make it larger
				"width", "562",  //*REPLACEME* set the DIV width to the same as this, unless you want to add text, in which case make it larger
				"id", flashDivId,  //name of the SWF, MUST be the same as this DIV id, unless  flashDivId  is defined above
				"name", flashDivId,  //same as id
				"FlashVars", ""  //optional flash parameters
			);
		} else {  // flash is too old or we can't detect the plugin
			//*NOTE: single-quotes MUST be escaped by using \'
			var alternateContent = ''
			+ '<img src="https://secure.eircom.net/Images/esecurity/headers/header.gif" alt="Always on for Security" />'; 			//*REPLACEME*
			document.getElementById(flashDivId).innerHTML = alternateContent;  // insert non-flash content
		}
	} else if (site == "caserowl"){ //eliving - casero-hosted
		//document.write('<img src="https://secure.eircom.net/Images/DigitalMediaSuite/headers/page_header_800.gif" alt="Always on for Storage" />');
		var flashDivId = "mainImageHeader";  //MUST be the same as this DIV id

		var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
		if (hasReqestedVersion){  // Check to see if the version meets the requirements for playback
			AC_FL_RunContent(
				"src", "https://secure.eircom.net/Images/eliving/headers/header-vault.swf",  //*REPLACEME* the location of the SWF, can be relative or a complete URL
				"height", "114",  //*REPLACEME* set the DIV height to the same as this, unless you want to add text, in which case make it larger
				"width", "562",  //*REPLACEME* set the DIV width to the same as this, unless you want to add text, in which case make it larger
				"id", flashDivId,  //name of the SWF, MUST be the same as this DIV id, unless  flashDivId  is defined above
				"name", flashDivId,  //same as id
				"FlashVars", ""  //optional flash parameters
			);
		} else {  // flash is too old or we can't detect the plugin
			//*NOTE: single-quotes MUST be escaped by using \'
			var alternateContent = ''
			+ '<img src="https://secure.eircom.net/Images/eliving/headers/header-vault.gif" alt="Always on for Storage" />'; 			//*REPLACEME*
			document.getElementById(flashDivId).innerHTML = alternateContent;  // insert non-flash content
		}
	} else if (site == "casero"){
//eliving - eircom net-hosted
		//document.write('<img src="https://secure.eircom.net/Images/DigitalMediaSuite/headers/page_header.gif" alt="Always on for Storage" />');
		var flashDivId = "mainImageHeader";  //MUST be the same as this DIV id

		var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
		if (hasReqestedVersion){  // Check to see if the version meets the requirements for playback
			AC_FL_RunContent(
				"src", "https://secure.eircom.net/Images/eliving/headers/header-reg.swf",  //*REPLACEME* the location of the SWF, can be relative or a complete URL
				"height", "114",  //*REPLACEME* set the DIV height to the same as this, unless you want to add text, in which case make it larger
				"width", "562",  //*REPLACEME* set the DIV width to the same as this, unless you want to add text, in which case make it larger
				"id", flashDivId,  //name of the SWF, MUST be the same as this DIV id, unless  flashDivId  is defined above
				"name", flashDivId,  //same as id
				"FlashVars", ""  //optional flash parameters
			);
		} else {  // flash is too old or we can't detect the plugin
			//*NOTE: single-quotes MUST be escaped by using \'
			var alternateContent = ''
			+ '<img src="https://secure.eircom.net/Images/eliving/headers/header-reg.gif" alt="Always on for Storage" />';
			//*REPLACEME*
			document.getElementById(flashDivId).innerHTML = alternateContent;  // insert non-flash content
		}
	} else { //setanta - eircom net&setanta-hosted
		document.write('<img src="http://home.eircom.net/Images/Setanta/always_on_hdr.gif" alt="Always on for Sports" />');
	}
}