function LmOver(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = "#FFFFFF";
elem.style.cursor = 'hand'}

function LmOut(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = "#99CCFF";}

function LmDown(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = "#006699";}

function LmUp(path)
{location.href = path;}





function openWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}


// ----------------------------------------------------- open a centered popup window  
var win= null;
function NewWindow(mypage,myname,w,h,scroll){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
var settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars='+scroll+',';
settings +='resizable=yes';
settings +='menu=yes';
settings +='toolbar=yes';
settings +='status=yes';
settings +='location=yes';
win=window.open(mypage,myname,settings);
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
// sample link: <a href="http://www.domain.com/" onclick="NewWindow(this.href,'name','800','600','yes');return false" class="Coplink">


/*   -----------------------------------------------------    jump menu dropdown
  Set the target window or frame       
  _top opens in the same window --  _blank opens in a new window  --  use the frame name to open to a frameset target
 
 <form name="theForm">
<select name="theMenu" size=1 onChange="goThere()">
  <option selected value="">Your Title
  <option value="http://www.the_site.com/page1.html">Item One
  <option value="http://www.the_site.com/page2.html">Item Two
  <option value="http://www.the_site.com/page3.html">Item Three
  <option value="http://www.the_site.com/page4.html">Item Four
  <option value="http://www.the_site.com/page5.html">Item Five
</select>
</form> */

var theTarget = "_blank";

function goThere(){
if(!document.theForm.theMenu.selectedIndex==""){
window.open(document.theForm.theMenu.options[document.theForm.theMenu.selectedIndex].value,theTarget,"");}}