// Title: Skype Killer Code
// Author: Oliver Green - http://www.codeblog.co.uk - green2go@gmail.com
// Licesnse: Freely distributable, you MUST maintain this credits & usage line at all times please. :)
// Description: Removes the Skype toolbar inline links within IE. (Only tested in IE8 with 4.2.0.4997 of the Skype add-on loaded)
// Usage: Call the function killSkype() on document load.

var ksEles;
var ksRuns = 0;

function killSkype() {
ksEles = document.body.getElementsByTagName("*");
var ksFound = false;
for(i=0;i<ksEles.length;i++){
if(ksEles[i].className=="skype_pnh_container"){
ksEles[i].innerHTML = "";
setTimeout("killSkype()",10);
ksFound = true;
break;
}	
}
if(ksRuns < 200 && ksFound == false){ setTimeout("killSkype()",10); ksRuns++; } 
}


