window.addEvent('domready',function(){
	
	hContent = $('fmain').get('html');
	
	
	hContent = hContent.replace(/.pdf/g,'.pdf" class="pdflink');
	
	$('fmain').set('html',hContent);
	
	
	$$('.pdflink').each(function(plink){
		
		
		
		vTemp = plink.get('html');
		
		//plink.set('html','<img src="images/pdf_iconk.gif" border="0">&nbsp;&nbsp;'+vTemp);
		
		
		picHolder = new Element('img', {
			'src' : 'images/pdf_iconk.gif'
			,'styles':{
				'padding': '0 10px 0 0'
			}
		}).injectBefore(plink);
		
			
	});
	
	
	
	
});



function possubsub () {
  counter = 1;
  for (i = "a"; eval ("getObj(\'" + i + "b\')") != false; i = i += "a") {
    subsubpos = document.images["pos" + counter];
    if (ns) {
      subsubposy = subsubpos.y;
    } else {
      subsubposy = getTop(subsubpos);
    }
    
    xplus = -53;
    for (j = "b"; eval ("getObj(\'" + i + j + "\')") != false; j = j += "b") {
      eval ("getObj(\'" + i + j + "\')").left = 175;
      eval ("getObj(\'" + i + j + "\')").top = subsubposy + xplus;
      xplus = xplus + 23;
    }
    counter++;
  }
}

