//---------------------mouse-over (side links)--------------------------//


window.name='lno';
	function mOvr(src) {
		if (!src.contains(event.fromElement)) {
		src.style.cursor = 'hand';
		src.bgColor = '#4573CE';
		}
	}
	function mOut(src) {
		if (!src.contains(event.toElement)) {
		src.style.cursor = 'default';
		src.bgColor = '#204eaa';
		}
	}
	function mClk(src) {
		if(event.srcElement.tagName=='TD'){
		src.children.tags('A')[0].click();
		}
	}

//--------------pop-window sponsor description-----------------------//
                
        function popSpon(theURL)
         {
          if (theURL == "")
           {
           alert("Sorry, no link found.");
           }
     else{
          var ifwindowopen1 = open(theURL, "Information", "width=700,height=500,resizable=no,scrollbars,,top=50,left=100");
        ifwindowopen1.focus();
         }

}
//--------------pop-window for mail / email-----------------------//
  
        function popWindow(theURL)
         {               
          if (theURL == "")
           {
           alert("Sorry, no link found.");
           }
         else{ 
             var ifwindowopen2  = open(theURL, "Information","width=1000,height=650,resizable=no,scrollbars,,top=30,left=30");
         ifwindowopen2.focus();
         }
         }

//--------------pop-ondemand for mail / email-----------------------//
         
        function popOnDemand(theURL)
         {
          if (theURL == "")
           {
           alert("Sorry, no link found.");
           }
         else{
             var ifwindowopen3  = open(theURL, "Information","width=650,height=400,resizable=no,scrollbars,,top=30,left=30");
                 ifwindowopen3.focus();
 	}
         }

//---------------------------email-sender-----------------//


u = window.location;
m = "I thought this IMN conference might interest you...";
function mailThisUrl(){
window.location = "mailto:?subject="+m+"&body="+document.title+" "+u;
}

//----------- bookmark -------------------------------------//


function bookmark(title, url) {
  if (document.all) window.external.AddFavorite(url, title);
  else if (window.sidebar) window.sidebar.addPanel(title, url, "");
}



//--------------------------  validate field entry -----------------------//

function validate(field) {

var valid = "QWERTYUIOPASDFGHJKLZXCVBNMabcdefghijklmnopqrstuvwxyz0123456789"
var ok = "yes";
var temp;

for (var i=0; i<field.value.length; i++) 
    {
    temp = "" + field.value.substring(i, i+1);
    if (valid.indexOf(temp) == "-1") ok = "no";
    }
  	if (ok == "no") 
	{
  	alert("Sorry, invalid entry.  Only alpha characters and numbers are accepted.");
  	field.focus();
  	field.select();
	}

}
