/*
$Revision: #9 $
*/

var message="All information, content, images, slogans, text and source code are owned by InvitationBox.com and protected by US & International copyright & trademark laws.   Any unauthorized use is strictly prohibited and will be prosecuted to the fullest extent of the law.";

function clickIE4(){
	if (event.button==2){
		alert(message);
		return false;
	}
}

function clickNS4(e){
	if (document.layers||document.getElementById&&!document.all){
		if (e.which==2||e.which==3){
			alert(message);
			return false;
		}
	}
}

	if (document.layers){
		document.captureEvents(Event.MOUSEDOWN);
		document.onmousedown=clickNS4;
	}
	else if (document.all&&!document.getElementById){
		document.onmousedown=clickIE4;
	}

document.oncontextmenu=new Function("alert(message);return false");



var divMenu = new FSMenu('divMenu', false, 'visibility', 'visible', 'hidden');
divMenu.showDelay = 250;
divMenu.switchDelay = 250;
divMenu.hideDelay = 300;
divMenu.cssLitClass = 'highlighted';
divMenu.showOnClick = 1;
//FSMenu.prototype.onshow = function(mN) { with (this)
//{
// var m = menus[mN];
// if (!isIE || !window.createPopup) return;
 // Create a new transparent IFRAME if needed, and insert under the menu.
// if (!m.ifr)
// {
//  m.ifr = document.createElement('iframe');
//  m.ifr.src = 'about:blank';
//  with (m.ifr.style)
//  {
//   position = 'absolute';
//   border = 'none';
//   filter = 'progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';
//  }
//  m.lyr.ref.parentNode.insertBefore(m.ifr, m.lyr.ref);
// }
 // Position and show it on each call.
// with (m.ifr.style)
// {
//  left = m.lyr.ref.offsetLeft + 'px';
//  top = m.lyr.ref.offsetTop + 'px';
//  width = m.lyr.ref.offsetWidth + 'px';
//  height = m.lyr.ref.offsetHeight + 'px';
//  visibility = 'visible';
// }
//}};
