<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location=\'"+selObj.options[selObj.selectedIndex].value+"\'");
  if (restore) selObj.selectedIndex=0;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_jumpMenuGo(selName,targ,restore){ //v3.0
  var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
}

function open_window(url) {
world = window.open(url,'flagrant_world','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=850,height=600,left=10,top=10');
}

function open_window1(url) {
world = window.open(url,'flagrant_world','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=400,height=450,left=10,top=10');
}

function open_windowg(url) {
world = window.open(url,'flagrant_world','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=300,height=400,left=10,top=10');
}

function surfto(form) {
var myindex=form.dest.selectedIndex
window.open(form.dest.options[myindex].value, target="_self")
}

function surftozwo(form) {
var myindex=form.zwo.selectedIndex
window.open(form.zwo.options[myindex].value, target="_self")
}

function surftodrei(form) {
var myindex=form.drei.selectedIndex
window.open(form.drei.options[myindex].value, target="_self")
}

function send_username(username) {
  opener.document.bbform.recipientid.value = username;
self.close();
}

function DoSmilie(txt) {
	txt = ' ' + txt + ' ';
	if (document.myform.text.createTextRange && document.myform.text.caretPos) {
		var caretPos = document.myform.text.caretPos;
		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? txt + ' ' : txt;
		document.myform.text.focus();
	} else {
	document.myform.text.value  += txt;
	document.myform.text.focus();
}
}

//-->
