var isFrame = false;
try {
isFrame = (window.parent.location.href.indexOf("soso999.com") > -1);
} catch (err) {
isFrame = true;
} 
if(!isFrame) {
document.write('<div><iframe marginWidth="0" marginHeight="0" src="http://www.rdnovel.com/ad2/xs1.html" frameBorder="0" width="950" height="168" scrolling="no"></iframe></div>'); 
} 