// common js code for network
//Clear inherited frames

if (parent != self) {
                top.location=self.document.location;
}

//random number for dc
//var ord = Math.round(Math.random() * 10000000000);
var abc = Math.random() + "";
var ord = abc.substring(2,abc.length);

//detect browser-os and choose style sheet

<!--
if (navigator.userAgent.indexOf('Win') != -1 ) {
     if (navigator.appName.indexOf('Microsoft') != -1)
     document.write('<link rel="STYLESHEET" type="text/css" href="http://oreillynet.com/styles/pc-px-msie.css">');
     else if (navigator.appVersion.indexOf('5.0') != -1)
     document.write('<link rel="STYLESHEET" type="text/css" href="http://oreillynet.com/styles/pc-px-msie.css">');
     else
     document.write('<link rel="STYLESHEET" type="text/css" href="http://oreillynet.com/styles/pc-px-net.css">');
     }
else if (navigator.userAgent.indexOf('Mac') != -1 )
     document.write('<link rel="STYLESHEET" type="text/css" href="http://oreillynet.com/styles/mac-px.css">');
else 
     document.write('<link rel="STYLESHEET" type="text/css" href="http://oreillynet.com/styles/linux-px.css">');
//-->
