/*
----------- FundSys.net(TM) Copyright SySys(R) Corp 2002 ------------
====================================================================
  Created By: BH
  Last Edited By: BH
  Inception Date: 1/1/2002
  Last Edited Date: 1/1/2002
  Description:  None
  File Dependencies: None
===================================================================''*/

/*'''---------------------------------
'' setImageSize(name,width,height)
--------------------------------------
   Created By: SySys:cg
   Compatibility: IE6
   Description: Sets the hieght and width proporties of the passed image name
   Parameters
     name: name of the image to set
     width: integer value to set the width proporty
     height: integer value to set the height proporty
----------------------------------'''*/  
function setImageSize(name,width,height){
  eval('document.' + name + '.width = ' + width + ';');
  eval('document.' + name + '.height = ' + height + ';');
}


/*'''---------------------------------
'' setImageSource(name,path)
--------------------------------------
   Created By: SySys:cg
   Compatibility: IE6
   Description: Sets the Source proporty of the passed image name
   Parameters
     name: name of the image to set
     path: Full path to the new image source file
----------------------------------'''*/  
function setImageSource(name,path){
	var image = getElementObject(name);
	image.src = path;
  //eval('document.' + name + '.src = \'' + path + '\'');
}//end setImageSource


/*'''---------------------------------
'' setImageAlt(name,text)
--------------------------------------
   Created By: SySys:cg
   Compatibility: IE6
   Description: Sets the Alt Text proporty of the passed image name
   Parameters
     name: name of the image to set
     text: String value to set as the ALT text
----------------------------------'''*/ 
function setImageAlt(name,text){
  eval('document.' + name + '.alt = \'' + text + '\'');
}//end setImageAlt

