
<!--  Start of the script for the vertical menu bar -->
<!--
/*
Cool Table Menu
By Clarence Eldefors (http://www.freebox.com/cereweb) with modifications from javascriptkit.com
Visit http://javascriptkit.com for this and over 400+ other scripts
*/



function movein(which,html){
which.style.background='coral'
if (document.getElementById)
document.getElementById("boxdescription").innerHTML=html
else
boxdescription.innerHTML=html
}

function movein2(which,html){
which.style.background='#811901'
if (document.getElementById)
document.getElementById("boxdescription").innerHTML=html
else
boxdescription.innerHTML=html
}

function movein3(which,html){
if (document.getElementById)
document.getElementById("address_box").innerHTML=html
else
Address_box.innerHTML=html
}

function moveout(which){
which.style.background='#c9c9c9'
if (document.getElementById)
document.getElementById("boxdescription").innerHTML='<font color="#ffffff">Sundance. DSP and FPGA Solutions for the Digital age.  Click a link to find out more.</font>'
else
boxdescription.innerHTML='<font color="#ffffff">Sundance. DSP and FPGA Solutions for the Digital age.  Click a link to find out more.</font>'
}

function moveout2(which){
which.style.background='transparent'
if (document.getElementById)
document.getElementById("boxdescription").innerHTML='<font color="#ffffff">Sundance. DSP and FPGA Solutions for the Digital age.  Click a link to find out more.</font>'
else
boxdescription.innerHTML='<font color="#ffffff">Sundance. DSP and FPGA Solutions for the Digital age.  Click a link to find out more.</font>'
}

function moveout3(which){
if (document.getElementById)
document.getElementById("address_box").innerHTML='&nbsp;'
else
Address_box.innerHTML='&nbsp;'
}

//-->

<!--  End of the script for the vertical menu bar -->




<!--  Start of the script for the Horizontal menu bar -->
// form_prompt.js
// 
// prompt for a form textbox by putting a description in there initially, but
// remove this as soon as the user focusses it for typing genuine content
// 
// by Smylers


function SetPromptText(ID, Text)
// sets the element with the specified ID to have the specified prompt text;
// better than simply hardcoding the prompt text with a value="" attribute on
// that element, so that the text only appears in JavaScript-enabled browsers
// (where it magically disappears) and doesn't get in the way of those without
// JavaScript
{
  var Textbox = document.getElementById(ID);

  // Only set the prompt text if the box is currently empty; reloading the page
  // or moving back to it may mean there's already content in there, in which
  // case it should be left alone:
  if (Textbox.value == '')
    Textbox.value = Text;

  // If it currently contains a value that isn't the default text then just
  // leave it alone:
  else if (Textbox.value != Text)
    return;

  // Either the default text has just been set, or the page has been reloaded
  // with the default text in it carried over from last time.  In either case
  // set up an event handler that will clear the text as soon as the box is
  // focussed:
  Textbox.onfocus = function() { ClearPromptText(Textbox) };
}

function ClearPromptText(Textbox)
// clears the text from the specified textbox -- assumed to have been invoked
// from its onfocus event handler -- and disables the event handler so that
// this doesn't get invoked again and clear any text the user types
{
  Textbox.value = '';
  Textbox.onfocus = null;
}




<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin -->
function checkNotBlank(myForm) {
if (myForm.STRFilter.value == "Search our products"){
alert("Please enter something to search for.")
return (false)
}

return (true)
}
<!-- End -->


<!-- top menu for the new site. -->
// Copyright 2006-2007 javascript-array.com

var timeout	= 500;
var closetimer	= 0;
var ddmenuitem	= 0;

// open hidden layer
function mopen(id)
{	
	// cancel close timer
	mcancelclosetime();

	// close old layer
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';

	// get new layer and show it
	ddmenuitem = document.getElementById(id);
	ddmenuitem.style.visibility = 'visible';

}
// close showed layer
function mclose()
{
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}

// go close timer
function mclosetime()
{
	closetimer = window.setTimeout(mclose, timeout);
}

// cancel close timer
function mcancelclosetime()
{
	if(closetimer)
	{
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}

// close layer when click-out
document.onclick = mclose; 

function SMT700popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=150');");
}