var $$=jQuery;

var div1 = document.getElementById("ibm-content-main")
var div1Paras = div1.getElementsByTagName("div");
var num = div1Paras.length;

for (n=0;n<num;n++) {
	if(div1Paras[n].className=="ibm-rule"){
		div1Paras[n].style.display = 'none'; 
	}
}



trovadiv=document.getElementById('gcl1a')

diva = trovadiv.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;

//diva.className="";

//diva.id="ibm-content-main";

bodycolumn1='<div class="ibm-column ibm-first"><div class="ibm-container" id="telecomunication"><h2 class="ibm-second">Telecommunications</h2><div class="ibm-container-body"><img src="/easyaccess/cpe/image0/140620.gif" alt="IBM for Telecommunication"/><p class="ibm-list-next">IBM pu&ograve; aiutare la tua azienda in termini di vantaggio competitivo.</p><ul class="ibm-link-list"><li><a href="/easyaccess/communications/gclcontent/!!/gcl_xmlid=72000/" class="ibm-forward-link">Scopri come</a></li></ul></div></div></div>';

bodycolumn2='<div class="ibm-column ibm-second"><div class="ibm-container" id="energyutil"><h2 class="ibm-second">Energy & Utilities</h2><div class="ibm-container-body"><img src="/easyaccess/cpe/image0/140618.gif" alt="IBM for Energy & Utilities"/><p class="ibm-list-next">IBM pu&ograve; aiutare la tua azienda in termini di vantaggio competitivo.</p><ul class="ibm-link-list"><li><a href="/easyaccess/communications/gclcontent/!!/gcl_xmlid=72015/" class="ibm-forward-link">Scopri come</a></li></ul></div></div></div>';


diva.innerHTML=bodycolumn1+bodycolumn2;



var beccadiv=document.getElementById('sm4');
var divbeccato=beccadiv.parentNode.parentNode;
divbeccato.style.display = 'none';

addthis_pub             = 'dinoravasi'; 
addthis_logo            = 'http://www.ibm.com/i/v16/t/ibm-logo-small.gif';
addthis_logo_background = '000000';
addthis_logo_color      = 'ffffff';
addthis_brand           = 'IBM per il Communication Sector';


document.write('</div></div><div id="boxsm4" class="ibm-container"><h2>Focus sul Software</h2><div class="ibm-container-body"><img src="/easyaccess/cpe/image0/173887.gif" alt="Focus sul Software"/><p>Gestione e integrazione dei dati, distribuiti e in tempo reale.</p><div class="ibm-rule"><hr /></div><p class="ibm-ind-link"><a class="ibm-forward-link" href="/easyaccess/communications/contenttemplate/!!/xmlid=170252" >Maggiori Informazioni</a>');

$$("#CPE-CESL-Portlet").hide();

$$("div[name^=CPE-CESL-Portlet]").hide();

//style.display = 'none'; 

$$('#CPE-Logo-portlet').after('<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, \'\', \'[URL]\', \'[TITLE]\')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://www-306.ibm.com/software/info/web20/images/share.gif" width="170" height="16" border="0" alt="Bookmark" /></a><br>');

$$("#herocommunication").after("<a href='http://www.ibm.com/innovation/it/smarterplanet/collaboration.html' target='_new'><img src='/easyaccess/cpe/image0/187758.jpg' alt='Collaborazione senza confini' border='0' height='160' width='530' /></a>")


//$$("#herocommunication").after("<div id='flashcontent'><img src='http://www.ibm.com/images/icp/F390733I12211S01/cio_study_930x300.jpg' width='530' alt='CIO Study 2009' /></div>")

//var so = new SWFObject("/easyaccess/cpe/image0/183962.swf", "mymovie", "530", "160", "8", "#ffffff");
//so.addParam("wmode", "opaque");
//so.write("flashcontent");


var divhero = document.getElementById('herocommunication');
divhero.style.display = 'none';

beccadivmm=document.getElementById('linksm4');
divbeccatomm=beccadivmm.parentNode;
divbeccatomm.style.display = 'none';

function get_firstchild(n)
{
x=n.firstChild;
while (x.nodeType!=1)
  {
  x=x.nextSibling;
  }
return x;
}



trovadiv=document.getElementsByTagName('div');

lun=trovadiv.length;
trovatoID=0
trovatoIDGCL=0

for(i=0; i < lun; i++){
  if(trovadiv.item(i).getAttribute("id") == "CPE-XSL-Renderer-Portlet"){
      trovadiv.item(i).style.display = 'none';
  }

}



trovadiv=document.getElementById('indlinkiol')

diva = trovadiv.parentNode.parentNode.parentNode.parentNode;

testohtml = diva.innerHTML;

//window.alert(testohtml)

//IE = <DIV class=ibm-container-body>

//MOZILLA = <div class="ibm-container-body">

diva.className="ibm-container";

var check = testohtml.search("<ul") 
var check1 = testohtml.search("<UL") 
if (check != -1) { 
   testohtml2 = testohtml.replace('<div class="ibm-container-body">',''); 
   testohtml1 = testohtml2.replace('<ul','<div class="ibm-container-body"><ul'); 

} else {
	if (check1 != -1) { 
	   testohtml2 = testohtml.replace('<DIV class=ibm-container-body>',''); 
	   testohtml1 = testohtml2.replace('<UL','<div class="ibm-container-body"><UL'); 
	}
} 

// window.alert(testohtml1)

diva.innerHTML = testohtml1;

