 function imagepath(image, linkto, alt){		
 this.image = image;		
 this.linkto = linkto;		
 this.alt = alt;		
 this.showStatic = showStatic;	
 this.showSwf = showSwf;		
 this.show = show;		

function show(){			
 didShow = true;			

 if (this.image.match(/.*.swf/) && (navigator.appName != "Microsoft Internet Explorer" || (navigator.userAgent.indexOf("Opera")!=-1))){
  didShow = false;
  } 
 else if (this.image.match(/.*.swf/) && (navigator.appName == "Microsoft Internet Explorer" || (navigator.userAgent.indexOf("Opera")=-1))){
  this.showSwf();
  }
 else{this.showStatic();
 }
 return didShow;
 }


function showStatic(){
 document.write("<a href=\"" + this.linkto + "\"><img src=\"" + this.image + "\" width=\"329\" height=\"229\" border=\"0\" alt=\"" + this.alt +"\" align=\"absmiddle\"></a>");
 }


function showSwf(){
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="329" height="229">');
 document.write('<param name=movie value="'+this.image+'?hrefLoc='+this.linkto+'">');
 document.write('<param name=quality value=high>');
 document.write('<param name="wmode" value="transparent">');
 document.write('<param name="allowScriptAccess" value="sameDomain" />');
 document.write('<embed src="'+this.image+'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="329" height="229">');
 document.write('</embed>');
 document.write('</object>');
 }
}