// To add more image files, continue with the pattern below, adding to the array.

var theImages = new Array();
theImages[0] = '/businesses/ge_oilandgas/en/home/images/rotate_image/ge_banner_genetic_balance'
theImages[1] = '/businesses/ge_oilandgas/en/home/images/rotate_image/ge_hydril_deepdrill'
theImages[2] = '/businesses/ge_oilandgas/en/home/images/rotate_image/generic_efficiency'
theImages[3] = '/businesses/ge_oilandgas/en/home/images/rotate_image/generic_turbine_strength'


// do not edit anything below this line
var j = 0;
var p = theImages.length;
var preBuffer = new Array();
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));

function showImage(){
//document.write('<img src="'+theImages[whichImage]+'" width="731" height="246" alt="'+theAlt[whichImage]+'" usemap="'+theMap[whichImage]+'"/>');
/*document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="530" height="220">'+
  '<param name="movie" value="'+theImages[whichImage]+'">'+
  '<param name="quality" value="high">'+
  '<param name="menu" value="false">'+
  '<param name="allowScriptAccess" value="sameDomain" />'+
  '<param name="wmode" value="transparent"/>'+
  '<embed src="'+theImages[whichImage]+'" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="530" height="220" wmode="transparent" menu="false"></embed></object>');*/
if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '530',
			'height', '220',
			'src', theImages[whichImage],
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'transparent',
			'devicefont', 'false',
			'id', theImages[whichImage],
			'bgcolor', '#ffffff',
			'name', theImages[whichImage],
			'menu', 'false',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', theImages[whichImage],
			'salign', ''
			); //end AC code
	}

}
//  End -->
