function od_displayImage(strId, strPath, intWidth, intHeight, strClass, strAlt) {	
 if (pngAlpha) {
  document.write('<div style="height:'+intHeight+'px;width:'+intWidth+'px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+strPath+'.png\', sizingMethod=\'scale\')" id="'+strId+'" class="'+strClass+'"></div>');
	} else if (pngNormal) {
  document.write('<img src="'+strPath+'.png" width="'+intWidth+'" height="'+intHeight+'" name="'+strId+'" border="0" class="'+strClass+'" alt="'+strAlt+'" />');
	} else {
  document.write('<img src="'+strPath+'.gif" width="'+intWidth+'" height="'+intHeight+'" name="'+strId+'" border="0" class="'+strClass+'" alt="'+strAlt+'" />');
	}
}

function od_displayScroll(strId, strPath, intWidth, intHeight, strClass, strAlt) {	
 if (pngAlpha) {
  document.write('<div style="height:'+intHeight+'px;width:'+intWidth+'px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+strPath+'.png\', sizingMethod=\'scale\')" id="'+strId+'" class="'+strClass+'"></div>');
	} else if (pngNormal) {
  document.write('<div style="height:'+intHeight+'px;width:'+intWidth+'px;background: url(\''+strPath+'.png\')" id="'+strId+'" class="'+strClass+'"></div>');
	} else {
  document.write('<div style="height:'+intHeight+'px;width:'+intWidth+'px;background: url(\''+strPath+'.jpg\')" id="'+strId+'" class="'+strClass+'"></div>');
	}
}

function od_displayScrollBG(strId, strPath, intWidth, intHeight, strClass, strAlt) {	
 if (pngAlpha) {
  document.write('<div style="width: 250;height:'+intHeight+'px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+strPath+'.png\', sizingMethod=\'scale\')" id="'+strId+'" class="'+strClass+'">');
	} else if (pngNormal) {
  document.write('<div style="width: 250;height:'+intHeight+'px;background: url(\''+strPath+'.png\')" id="'+strId+'" class="'+strClass+'">');
	} else {
  document.write('<div style="width: 250;height:'+intHeight+'px;background: url(\''+strPath+'.jpg\')" id="'+strId+'" class="'+strClass+'">');
	}
}


