function is_msie() {
return (navigator.appName == "Microsoft Internet Explorer");}
function Framing(){ 
if (this.document == top.document || 
top.location.host != this.location.host) {
var pathprefix = location.protocol + '//' 
+ location.host
+ location.pathname.substring(0, 
location.pathname.lastIndexOf('/')+1);
var doctitle = document.title;
document.clear();
document.open("text/html");
document.writeln('<html>\n<head><title>' +doctitle+ 
'</title></head>');
document.writeln('<frameset cols="100%" ROWS="*,25" framespacing="0" border="0" frameborder="0" noresize>'+
'<frame src="'+top.location.href+'" name=d-show scrolling="auto" noresize  mirginwidth="0" mirginheight="0" frameborder="0" framespacing="0">'+
'<frame src="buttons.php" name=d-buttons mirginwidth="0" mirginheight="0" frameborder="0" framespacing="0" scrolling="no" noresize>'+
'</frameset></html>');
document.close();
return true;
} 
return false;
}
function msieFraming() {
if (is_msie()) {
if (Framing()) {
window.setTimeout('top.frames["d-show"].location.href = '+
'"'+top.location.href+'";',10);
}}}
function netscFraming() {
if (!is_msie()) Framing();
}
msieFraming();


