
function LmOver(elem, bfilename)
{elem.background = "images/"+bfilename;
elem.children.tags('A')[0].style.color = "#39597D";}

function LmOut(elem, bfilename)
{elem.background = "images/"+bfilename;
elem.children.tags('A')[0].style.color = "#FFFFFF";}

function LmDown(elem, bfilename)
{elem.background = "images/"+bfilename;
elem.children.tags('A')[0].style.color = "#39537D";}

function LmUp(path)
{location.href = path;}

cellswitch = new Image();
cellswitch.src = "images/navcell-off.gif"




// No Right-Click

if (window.Event) // Only Netscape will have the CAPITAL E.
  document.captureEvents(Event.MOUSEUP); // catch the mouse up event

function nocontextmenu()  // this function only applies to IE4, ignored otherwise.
{
	event.cancelBubble = true
	event.returnValue = false;

	return false;
}

function norightclick(e)	// This function is used by all others
{
	if (window.Event)	// again, IE or NAV?
	{
		if (e.which == 2 || e.which == 3)
			return false;
	}
	else
		if (event.button == 2 || event.button == 3)
		{
			event.cancelBubble = true
			event.returnValue = false;
			return false;
		}
	
}

document.oncontextmenu = nocontextmenu;		// for IE5+
document.onmousedown = norightclick;		// for all others





// Tell A Friend Form Submit

function TFSubmit() {
tfform.submit()
}

// Start RegWiz

function StartRegWiz(pr) {
document.location.href="/jasmin/"+pr+".htm#Register"
}

// RegWiz Form Key Press

function rfmsekeypress() {
what = window.event.srcElement;
if (what.innerText == "Let us know what do you think about the software!") {
what.innerText = "";
window.event.cancelBubble = true}
}

// Check RegWiz Form

function rfcheck() {
var makeal = false
var text = "Your submission cannot be sent due to the following errors:\n\n";
if (rf.eml.value == "") { text += "•  No e-mail is given\n"; makeal = true }
if (rf.nme.value == "") {text += "•  No name is given\n"; makeal = true }
if (rf.mse.innerText == "Let us know what do you think about the software!" || rf.mse.innerText == "") {text += "•  No comments are given\n"; makeal = true }
if (makeal == true) {alert(text + "\nPlease make required corrections and resubmit this form.")} else {rf.submit()}
}

