"<?php 
echo $background;
?>
>')
	write('<?php 
getmessages(1);
?>
');
}
}
<?php 
if (!isset($pincorrect) && $update > 0) {
    ?>
		with(window.parent.frames['left_mid'].document){
		write('<?php 
    @getmessages($update);
    ?>
');
	}

	if(typeof(scrollBy) != "undefined"){
		window.parent.frames['left_mid'].window.scrollBy(0, 65000);
	}else{
		window.parent.frames['left_mid'].window.scroll(0, 65000);
	}


	window.parent.frames['left_top'].document.showon.users.value='<?php 
    echo $ONLINE['USERS'] + $ONLINE['ADMIN'];
    ?>
';
						write('<!doctype html public "-//w3c//dtd html 4.0 transitional//en">')
						write('<html>')
						write('<head>')
						write('<title>X7 Chat</title>')
						write('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">')
						write('<meta name="Author" content="The X7 Group">')
						write('<meta http-equiv="content-language" content="en">')
						write('<META NAME="copyright" content="2003 By The X7 Group">')
						write('<META NAME="rating" content="general">')
						write('</head>')
						write('<body bgcolor="<?php 
                    echo $CS['WIN_BG_2'];
                    ?>
">')
						write('<?php 
                    getmessages(1);
                    ?>
');
					}
					}
					with(window.parent.frames['left_mid'].document){
						write("<?php 
                    echo $submsg;
                    ?>
");
					}
					if(typeof(scrollBy) != "undefined"){
						window.parent.frames['left_mid'].window.scrollBy(0, 65000);
					}else{
						window.parent.frames['left_mid'].window.scroll(0, 65000);
					}