function createUtilityLinks() {
if (!document.getElementsByTagName){ return; }
//Look only in the Portlet Grid for Links
var portletGrid = document.getElementById('PORTLETGRID');
var anchors = portletGrid.getElementsByTagName('a');
//alert(anchors.length)
// loop through all anchor tags
var intCount = anchors.length
var i=0
for (i=0;i<intCount;i++){
var anchor = anchors[i];
var link = String(anchor.getAttribute('href'));
var linkType = link.indexOf("?portlet")
var strLink = new String(anchor.getAttribute('href'));
if (linkType>-1 ){
strLink = strLink + "&style=utility"
anchor.parentNode.innerHTML = anchor.parentNode.innerHTML + " <a onClick=\" return popItUp('" + strLink + "','" + anchor.text +"');\" class='externalLink' title='Open this portlet in a floating window'> </a>"
i=i+1
}
}
}