// JavaScript Document
// Begin the construct for the Images 
function Img(_txt,_url,_alt,_banner,_width,_height,_parm) { 

  if (_txt)    this.txt    = _txt; 
  if (_url)    this.url    = _url; 
  if (_alt)    this.alt    = _alt; 
  if (_banner) this.banner = _banner; 
  if (_width)  this.width  = _width; 
  if (_height) this.height = _height; 
  if (_parm)   this.parm   = _parm; 
} 

Img.prototype.TXT    = function() { return this.txt;    } 
Img.prototype.URL    = function() { return this.url;    } 
Img.prototype.ALT    = function() { return this.alt;    } 
Img.prototype.BANNER = function() { return this.banner; } 
Img.prototype.WIDTH  = function() { return this.width;  } 
Img.prototype.HEIGHT = function() { return this.height; } 
Img.prototype.PARM   = function() { return this.parm;   } 
// End the construct for the Images 

// Begin defining the Images. 
    var myImgs = new Array(); 
    myImgs[0] = new Img("", "", 
    //ALT TAG
	"emc", 
    //URL
	"images/blank_logo.gif", 
    //WIDTH
	"136", 
    //HEIGHT	
    "60", 
    //PARAMETER
	"emc"); 
    
	myImgs[1] = new Img("", "", 
    "Fujitsu Siemens Computer", 
    "images/fujitsu_siemens_logo.gif", 
    "136", 
    "60", 
    "fsc"); 
   
    myImgs[2] = new Img("", "", 
    "Dell", 
    "images/dell_logo.gif", 
    "136", 
    "60", 
    "dell"); 
	
	myImgs[3] = new Img("", "", 
    "Bull", 
    "images/bull_logo.gif", 
    "136", 
    "60", 
    "bull"); 
	
	myImgs[4] = new Img("", "", 
    "EMC Insignia", 
    "images/insignia_logo.gif", 
    "136", 
    "60", 
    "emcinsignia"); 
	
	myImgs[5] = new Img("", "", 
    "Intel", 
    "images/intel_logo.gif", 
    "136", 
    "60", 
    "intel"); 

	
//TO ADD MORE IMAGES, SIMPLY INCREMENT THE NUMBER IN THE ARRAY AND FILL IN THE RELATED INFORMATION. TO USE THE EXAMPLE BELOW, REMOVE THE COMMENT TAGS: /* */

/*  myImgs[3] = new Img("", "", 
    "ALT", 
    "URL", 
    "WIDTH", 
    "HEIGHT", 
    "PARAMETER"); 
*/

// Determine which Img To show 
var _whichImg = 0; 
var _l = document.location.toString(); 
var _lookfor="&partner"; 
var _i = _l.indexOf(_lookfor); 
if (_i != -1) { 
  var _y = _l.substr(_i+_lookfor.length+1,_l.length); 
  for (var _a=0; _a < myImgs.length; _a++) { 
    if (myImgs[_a].PARM() == _y) { 
  _whichImg = _a; 
} 
  } 
} 

// Build the string to output - and then output it. 
var _s  = ''; 
    _s += '<left>';  
    _s += '<a target="banner" '; 
    _s += 'class=orange '; 
    _s += 'target=\"_top\" '; 
    _s += 'target="banner">';  
    _s += '<img src=\"' + myImgs[_whichImg].BANNER() + '\" width='; 
    _s += myImgs[_whichImg].WIDTH() + ' height=' + myImgs[_whichImg].HEIGHT() + ' ';  
    _s += 'alt=\"' + myImgs[_whichImg].ALT() + '\" border=0><br></a>';  
    _s += '</left>'; 
document.write(_s);  
      