


<!--
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
m_home_on = newImage("/images/m_home_on.gif");
m_messageboard_on = newImage("/images/m_messageboard_on.gif");
m_news_on = newImage("/images/m_news_on.gif");
m_clubnights_on = newImage("/images/m_clubnights_on.gif");
m_mailorder_on = newImage("/images/m_mailorder_on.gif");
m_downloads_on = newImage("/images/m_downloads_on.gif");
m_galleries_on = newImage("/images/m_galleries_on.gif");
preloadFlag = true;
}
}

function createwindow (strUrl, strName, intTool, intLoc, intDir, intStat, intMenu, intScroll, intRes, intWidth, intHeight) {
window.open(strUrl, strName,'toolbar='+intTool+',location='+intTool+',directories='+intLoc+',status='+intStat+',menubar='+intMenu+',scrollbars='+intScroll+',resizable='+intRes+',width='+intWidth+',height='+intHeight+'');
}

function insertspecial(tag) {
var space=" ";
var text=prompt("Type text you wish to enter:","");
if (text != null)
	{
	var text_to_insert = space+'['+tag+']'+text+'[/'+tag+']'+space;	
	insertAtCursor(document.form.message, text_to_insert);
	}
document.form.message.focus();
}

function insertAtCursor(myField, myValue) {
if (document.selection) {
myField.focus();
sel = document.selection.createRange();
sel.text = myValue;
}
else if (myField.selectionStart || myField.selectionStart == '0') {
var startPos = myField.selectionStart;
var endPos = myField.selectionEnd;
myField.value = myField.value.substring(0, startPos)
+ myValue
+ myField.value.substring(endPos, myField.value.length);
} else {
myField.value += myValue;
}
}

function openSmiley(smurl) {
w=window.open(smurl, "smileys", "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=300,height=300");
  if(!w.opener)
  {
  w.opener=self;
  }
}


// -->