//this js is written to fix the broken links on RunTime
window.onload = function(){
var aEls = document.getElementsByTagName('a');
for (var i = 0, aEl; aEl = aEls[i]; i++) {
	//*******************************************************************//
	// you may simply add one new line below in the following way when you get a new broken link
	// aEl.href = aEl.href.replace('old link','new link');
	//*******************************************************************//
	aEl.href = aEl.href.replace('/en/US/prod/collateral/voicesw/ps6789/ps5745/ps6509/product_data_sheet0900aecd805e6d64.pdf','/en/US/prod/collateral/voicesw/ps6789/ps5745/ps6509/prod_data_sheet0900aecd806e0224.pdf');
	aEl.href = aEl.href.replace('/en/US/products/ps9935/index.html','/en/US/products/ps9934/prod_models_comparison.html');
	aEl.href = aEl.href.replace('/en/US/products/ps9936/index.html','/en/US/products/ps9934/prod_models_comparison.html');
	aEl.href = aEl.href.replace('/en/US/products/ps9939/index.html','/en/US/products/ps9934/prod_models_comparison.html');
	aEl.href = aEl.href.replace('/en/US/products/ps9938/index.html','/en/US/products/ps9934/prod_models_comparison.html');
	aEl.href = aEl.href.replace('/en/US/products/ps9937/index.html','/en/US/products/ps9934/prod_models_comparison.html');
	aEl.href = aEl.href.replace('/en/US/prod/collateral/voicesw/ps6789/ps5745/ps6509/product_data_sheet0900aecd805e6d64.pdf','/en/US/prod/collateral/voicesw/ps6789/ps5745/ps6509/prod_data_sheet0900aecd806e0224.pdf');	
			
}
var pEls = document.getElementsByTagName('p');
len=pEls.length;
for (var j = 0;j<len; j++) {
try{
var ae=pEls[j].getElementsByTagName('a');
attr=ae[0].getAttribute("href");
if(attr!=""){
if((("/en/US/prod/collateral/modules/ps9934/ps9936/data_sheet_c78-504100.pdf").match(attr))||(("http://www.cisco.com/en/US/prod/collateral/modules/ps9934/ps9936/data_sheet_c78-504100.pdf").match(attr)))
{
	attr=attr.replace('/en/US/prod/collateral/modules/ps9934/ps9936/data_sheet_c78-504100.pdf','/en/US/prod/collateral/modules/ps9934/data_sheet_c78-552203.html');
var st="<a href=\"http://www.cisco.com/en/US/prod/collateral/modules/ps9934/data_sheet_c78-552203.html\" target=\"_blank\">"+ae[0].innerHTML+"</a>";
pEls[j].innerHTML=st;

}
else if((("/en/US/prod/collateral/modules/ps9934/ps9935/data_sheet_c78-502440.pdf").match(attr))||(("http://www.cisco.com/en/US/prod/collateral/modules/ps9934/ps9935/data_sheet_c78-502440.pdf").match(attr))){
	attr=attr.replace('/en/US/prod/collateral/modules/ps9934/ps9935/data_sheet_c78-502440.pdf','/en/US/prod/collateral/modules/ps9934/data_sheet_c78-552203.html');
var st="<a href=\"http://www.cisco.com/en/US/prod/collateral/modules/ps9934/data_sheet_c78-552203.html\" target=\"_blank\">"+ae[0].innerHTML+"</a>";
pEls[j].innerHTML=st;
	}
	else if((("http://www.cisco.com/en/US/prod/collateral/modules/ps9934/data_sheet_c78-552203.html").match(attr))||(("/en/US/prod/collateral/modules/ps9934/data_sheet_c78-552203.html").match(attr))){
	var st="<a href=\""+attr+"\" target=\"_blank\">"+ae[0].innerHTML+"</a>";
	pEls[j].innerHTML=st;
	}
}
}
catch(e){}
}
}
