<!--

<!-- Starts: Generic PopUp Window Function, eplt, 20001210 -->
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
<!-- Ends: Generic PopUp Window Function, eplt, 20001210 -->

<!-- onMouseOver in LH column -->
browserName=navigator.appName; 
browserVer=parseInt(navigator.appVersion);

if ((browserName=="Netscape" && browserVer >= 3) || (browserName=="Microsoft Internet Explorer" && browserVer >= 4))
 version="able";
else version="unable";

if (version=="able")
{
// Active images

icon1on = new Image(76,31);
icon1on.src = "pics/icon1on.gif";
icon2on = new Image(75,31);
icon2on.src = "pics/icon2on.gif";
}

function goAudio(url){
window.open(url,'send','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=415,height=380,framemargin=0');
}

function imgOn(name) {
  if (document.images)
    document[name].src = eval(name + "on.src");
}

function imgOff(name) {
  if (document.images)
    document[name].src = "pics/" + name + "off.gif";
}


// end hide -->
<!-- Open new window: Send to a friend -->
function goFriend(url) {
  window.open(url,'goFriend','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=330,height=385,framemargin=0,top=140,left=160');
}

<!-- Drop Down list box with automatic re-direction -->
function SelectIt() {
  if (document.Channels.Select.options[document.Channels.Select.selectedIndex].value != "none"){ 
    location = document.Channels.Select.options[document.Channels.Select.selectedIndex].value}
}

<!-- Send to a Friend Pop-up Window -->
function goWindow(url){
window.open(url,'send','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=380,framemargin=0');
}

var banners = 2;

function GoRotatebanner() {
   if (banners==1) window.location.href="http://www.eyeforchem.com/events/2001/asia/index.shtml";
   if (banners==2) window.location.href="http://www.eyeforchem.com/events/2001/asia/index.shtml";
         }

var speaks = 1;
		 
function GoSpeakbanner() {
   if (speaks==1) window.location.href="http://www.eyeforchem.com/events.shtml";
   if (speaks==2) window.location.href="http://www.eyeforchem.com/events.shtml";
   if (speaks==3) window.location.href="http://www.eyeforchem.com/events.shtml";
   		 }
		  
function rotate() {
	}
   
   
   function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function goWindow3(url){
  window.open(url,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=500,framemargin=0,top=350,left=300');
  //eventpopup.creator = self;
}

function goWindow2(url){
  var eventpopup = window.open(url,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=250,height=250,framemargin=0,top=350,left=300');

}

//Nichestream LTD. September 2000
function latestnews_onsubmit() 
{
	//Check we have input text.
	if((latestnews.email.value=="enter email")||(latestnews.email.value==""))
	{
		alert("Please enter an email address");
		return false
	}	
	else
	{	//Check for @ in email.
		var AtFound = false;
		var i=0;
		var String = ""
		String+= latestnews.email.value
		
		while(i<latestnews.email.size)
		{
			var char = String.charAt(i)
			if(char=='@')
				AtFound = true
								
			i++
		}
		if(AtFound==false)
		{
			alert("Please enter a valid email address")
			return false
		}
	}
	alert("Thank you for you interest, you will receive an email shortly")
	//return true
}

<!-- Starts: Rotating Ad Banners, eplt, 20010718 -->

var sidebuttonscount = 1;

function rotatertopbanners() {

   sidebuttonscount++;
   if (sidebuttonscount > 3) sidebuttonscount = 1;
   document.sidebutton.src = "http://www.eyeforchem.com/shared/events/2001/usa/images/efcus01button0" + sidebuttonscount + ".gif";

   window.setTimeout('rotatertopbanners();',15000);
}
<!-- Ends: Rotating Ad Banners, eplt, 20010718 -->

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
  

//-->

