
var path = self.location.href;

if (path.indexOf("file://") && !parent.frames.length)
{
	var file = path.slice(path.lastIndexOf("/") + 1);	
	var file1 = "http:" +  path.slice(path.indexOf("/") );
	document.close();

	with (document)
	{
		open();
		writeln('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
		writeln('<html><head><title>' + $$('html title').get('html') +'<'+'/title><'+'/head>');
		writeln('<frameset rows="*,20" framespacing="0" frameborder="no" border="0" >');
		writeln('<frame name="Main" src="'+ file +'?frameset">');
		writeln('<frame id="frameBottom" name="Bottom" scrolling="no" noresize="noresize" target="Main" src="tl_files/player/player.html">');			
		writeln('<'+'/frameset>');
		writeln('<noframes><body><p>Diese Seite verwendet Frames. Frames werden von Ihrem Browser aber nicht unterstützt.<'+'/p><'+'/body><'+'/noframes>');
		writeln('<'+'/html>');
		close();
	}
}
