var rrr=window.location.search.substring(1);
if (rrr.indexOf ("&")=='-1') {
	if (rrr.indexOf ("=")=='-1') {
		res=rrr;
	} else {
		res='';
	}
} else {
	re = /^.+&([^&]+)$/gi;
	res=rrr.replace(re, "$1");
	if (res.indexOf ("=")!='-1') {
		res='';
	}
}
if (res) { 
window.showModalDialog ('/templ/mess.php', null, 'dialogWidth:380px;dialogHeight:200px;status:no;help:no;minimize:no;maximize:no;');
}
