	
function launchPortal() {
	winOptions = "width=680, height=500, scrollbars=1, resizable=1, status=0, toolbar=0, menubar=0, location=0";
	window.open("http://portal.knowledgebase.net/?cid=11047&amp;c=12004&amp;cpc=TKvN0Y442nJq41250385h0TtoO3RuDHqcReVI", "CP11047", winOptions);
	return false;
}

function openInNewWindow() { 
var width = screen.width-20;
var height = screen.height-200;
var settings = 'width=' + width + ',';
settings += 'height=' + height + ',';
settings += 'resizable=1';
var newWindow = window.open(this.getAttribute('href'), '_cpmkb', settings); 
newWindow.focus(); 
return false; 
} 


function getNewWindowLinks() { 
// Check that the browser is DOM compliant 
if (document.getElementById && document.createElement && document.appendChild) { 
// Change this to the text you want to use to alert the user that a new window will be opened 
var strNewWindowAlert = ""; 
// Find all links 
var objWarningText; 
var strWarningText; 
var link; 
var links = document.getElementsByTagName('a'); 
for (var i = 0; i < links.length; i++) { 
link = links[i]; 
// Find all links with a class name of "non-html" 
if (/\bnon\-html\b/.exec(link.className)) { 
// Create an em element containing the new window warning text and insert it after the link text 
objWarningText = document.createElement("em"); 
strWarningText = document.createTextNode(strNewWindowAlert); 
objWarningText.appendChild(strWarningText); 
link.appendChild(objWarningText); 
link.onclick = openInNewWindow; 
} 
} 
objWarningText = null; 
} 
} 
addEvent(window, 'load', getNewWindowLinks);

