function showEmbeddedImage(imageFile)
{
	document.write('<EMBED src="' + imageFile + '" WIDTH="424" HEIGHT="109" loop="false" ALIGN="" quality=high wmode=transparent  TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
}

function showFlashObjectEmbed(movie, width, height, loop, quality, params)
{
	
	var s;

	s = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ';
	s += 'WIDTH="' + width + '" HEIGHT="' + height + '" >';
	s += '<PARAM NAME=movie VALUE="' + movie + '">';
	s += '<PARAM NAME=quality VALUE=' + quality + '>';
	s += '<param name="LOOP" value="' + loop + '">';
	if (params != null)
		for (i = 0; i < params.length; i++)
			s += '<PARAM NAME=' + params[i][0] + ' VALUE=' + params[i][1] + '>';
	s += '<EMBED src="' + movie + '" WIDTH="' + width + '" HEIGHT="' + height + '" loop="' + loop + '" ALIGN="" quality=' + quality + ' ';
	if (params != null)
		for (i = 0; i < params.length; i++)
			s += params[i][0] + '=' + params[i][1] + ' ';
	s += 'TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';
	document.write(s);
	
}

<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'img/banner1.swf'
theImages[1] = 'img/banner2.swf'
theImages[2] = 'img/banner1.swf'



// 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 sfaqImage(){
document.write('<EMBED src="'+theImages[whichImage]+'" WIDTH="424" HEIGHT="109" loop="false" ALIGN="" quality=high wmode=transparent  TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
}

//  End -->

function initSearchValue(){
 var inputNode = document.getElementsByName('SearchText');
 inputNode.value =' ';
  
}



