var rootdomain = "http://www.detasad.com.sa";
var Pfad = self.location.href;
if (Pfad.indexOf("file://") && !parent.frames.length) {
  var Datei = Pfad.slice(Pfad.lastIndexOf("/") + 1);
  document.close();
  with (document) {
    open();
    writeln('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">');
    writeln('<html><head><title>Detecon Al Saudia Co. Ltd. (DETASAD)&nbsp;- Telecommunications &amp;&nbsp;Information Technology<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link href="css/main.css" rel="stylesheet" media="screen"></head></title></head>');
    writeln('<frameset rows="105,*" frameborder="NO" border="0" framespacing="0">');
    writeln('<frame name="topFrame" scrolling="NO" noresize src="'+rootdomain+'/head.htm">');
    writeln('<frameset cols="154,*,55" frameborder="NO" border="0" framespacing="0">');
    writeln('<frame name="leftFrame" scrolling="NO" noresize src="http://'+rootdomain+'/left.htm">');
    writeln('<frameset rows="*,61" frameborder="NO" border="0" framespacing="0">');
    writeln('<frame name="mainFrame" src="'+rootdomain+'/main.htm">');   
		writeln('<frame name="botFrame" src="logos.htm" scrolling="NO" noresize>');
		writeln('</frameset>');
		writeln('<frame name="rightFrame" src="'+rootdomain+'/right.htm" scrolling="NO" noresize>');
		writeln('</frameset>');
		writeln('<noframes> ');
		writeln('<body bgcolor="#FFFFFF" text="#000000">');
		writeln('<p>We are sorry, this site requires your browser to support frames.<br />Please install a newer one.</p>');
    writeln('</body></noframes></html>');
    close();
  }
}
