﻿// Flash Slide Show
function flashShow(width,height,textheight) {
	this.imgUrl = [];
	this.imgText = [];
	this.imgLink = [];
	this.focus_width = width;
	this.focus_height = height;
	this.text_height = textheight;
	this.swf_height = this.focus_height + this.text_height;
}

flashShow.prototype.getPics = function() {
	return this.imgUrl.join("|");
}

flashShow.prototype.getTexts = function() {
	return this.imgText.join("|");
}

flashShow.prototype.getLinks = function() {
	return this.imgLink.join("|");
}

flashShow.prototype.display = function() {
	AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width',this.focus_width,'height',this.swf_height,'src','../Images/play','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmode','opaque','allowscriptaccess','sameDomain','bgcolor','#F0F0F0','menu','false','flashvars','pics='+this.getPics()+'&links='+this.getLinks()+'&texts='+this.getTexts()+'&borderwidth='+this.focus_width+'&borderheight='+this.swf_height+'&textheight='+this.text_height,'movie','../Images/play'); 
}

