var ImageFolder = "https://developer.bmc.com/logos/advertisements/"; //Folder name containing the images
// Ads located in  C:\Tomcat 6.0\webapps\logos\advertisements
var ImageFileNames = new Array(
//	'TAP_BannerAd_RightStar.png',			//Oct
//	'NTI_Logo_BMC_CommunitiesBanner.png',	//Oct
//	'AppDynamics_BMC_200x133.jpg',		//Dec
//	'ClearCost_Banner_Ad.gif',							//Nov-Dec
//	'iTRACS_BMC_Banner_ad.png',							//Nov
//	'SMI_Banner.png',							//Nov
//	'Courion_Ad_200X133.gif',						//Nov-Dec
//	'NTRglobal-200x133.gif',				//Oct-Dec
//	'yurbi_banner.png',						//Oct-Dec
	'3380_BMC_TAP_WebBanner.png',
	'EDU_SERVICES_AD_v3.png',
//	'STI_bmcdn_banner_jan10.png',			//Oct-Dec
	'communities_iphone_banner2.jpg'); //List of images to use'AlarmPointBanner.PNG','bomgar.jpg',,'GDCM_Banner.png'
var ImageURLs = new Array(
//	'http://developer.bmc.com/redirect/rightstar',
//	'http://developer.bmc.com/redirect/netboss',
//	'http://developer.bmc.com/redirect/appdynamics',
//	'http://developer.bmc.com/redirect/clearcost',
//	'http://developer.bmc.com/redirect/itracs',
//	'http://developer.bmc.com/redirect/smi',
//	'http://developer.bmc.com/redirect/courion',
//	'http://developer.bmc.com/redirect/ntr',
//	'http://developer.bmc.com/redirect/yurbi',
	'https://communities.bmc.com/communities/community/tap/showcase',
	'http://developer.bmc.com/redirect/education',
//	'http://developer.bmc.com/redirect/seamless',
	'http://communities.bmc.com/communities/groups/bmc-today');  //,'/redirect/alarmpoint','/redirect/bomgar','/redirect/gdcm'
var ImageMouseOverTxt = new Array(
//	'Learn more about RightStar',
//	'Learn more about NetBoss',
//	'Learn more about AppDynamics',
//	'Learn more about ClearCost',
//	'Learn more about iTRACS',
//	'Learn more about SMI Technologies',
//	'Learn more about Courion',
//	'Learn more about NTRglobal',
//	'Learn more about Yurbi',
	'Come see the new TAP Solution Showcase',
	'Learn more about BMC Educational Services',
//	'Learn more about Seamless',
	'Access BMC Today on your iPhone');  //,'Learn more about AlarmPoint','Learn more about Bomgar','Learn more about GDCM'
var DisplayInterval = 20; //Number of seconds to wait before the next image is displayed
//Name of the frame to open the hyperlink into.
//It is also possible to use JavaScript's default frame locations, i.e.
// _blank, _self, _top and _parent. _blank opens in a new window!
var TargetFrame = "_blank";
//Internal variables (do not change these unless you know what you are doing)
var Popup = null;
var IsValidBrowser = false;
var BannerAdCode = 0;
var NumberOfImages = ImageFileNames.length;
var BannerAdImages = new Array(NumberOfImages);
var CloneImageURLs = new Array(NumberOfImages);
var FramesObject = null;
if (TargetFrame != '') {
    FramesObject = eval('parent.' + TargetFrame);
}
// removed .onload attachment, becuase it interferred with SBS 4.5 correct/helpful buttons.
//window.onload=onLoads;

if (window.addEventListener) // W3C standard
{
  window.addEventListener('load', onLoads, false); // NB **not** 'onload'
} 
else if (window.attachEvent) // Microsoft
{
  window.attachEvent('onload', onLoads);
}


