<!--
var IE = document.all?true:false

if (!IE) document.captureEvents(Event.MOUSEMOVE)

// Set-up to use getMouseXY function onMouseMove
document.onmousemove = getMouseXY;

// Temporary variables to hold mouse x-y pos.s
var tempX = 0
var tempY = 0

var livebox = 0



// Main function to retrieve mouse x-y pos.s

function getMouseXY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    tempX = event.clientX + document.body.scrollLeft
    tempY = event.clientY + document.body.scrollTop
  } else {  // grab the x-y pos.s if browser is NS
    tempX = e.pageX
    tempY = e.pageY
  }  
  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}  
  return true
}
function golargethumb(oog)
{
var leftpos = tempX + 10;
var toppos = tempY - 100;
var imageurl = 'http://www.reyus.com/designyourownwebsite/' + oog + '-demo.gif';

	if(oog == "")
	{
	livebox = 0;
	document.getElementById("demodiv").innerHTML = "";
	document.getElementById("demodiv").style.left = "-1000px";
	document.getElementById("demodiv").style.top = "-1000px";
	}
	else
	{
	if(livebox == 0)
	{
		if(leftpos > 500)
		{
		leftpos = leftpos - 500;
		}


	document.getElementById("demodiv").style.left = leftpos + "px";
	document.getElementById("demodiv").style.top = toppos + "px";
	document.getElementById("demodiv").innerHTML = "<img src='" + imageurl +  "' alt='' galleryimg='no' />";
	livebox = 1;
	}
	}
}
//-->



function golargeimage(oog,eeg,ig,imagealt)
{
var winpops=window.open("goimage.php?imagealt=" + imagealt + "&image=" + oog + "&width=" + eeg + "&height=" +ig,"","resizable=1,width=100,height=100")

return false;
}


function goimagelibrary()
{
var oog = "http://www.debating.org.uk/images.php";
var winpops=window.open(oog,"","resizable=1,,")
return false;
}


function goflash()
{
document.getElementById("flash").innerHTML = "<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' WIDTH=950 HEIGHT=365><PARAM NAME=movie VALUE='images/howitworks.swf'><PARAM NAME=quality VALUE=high><PARAM NAME=loop VALUE=false><PARAM NAME=bgcolor VALUE=#E8ECED><EMBED loop=false src='images/howitworks.swf' quality=high bgcolor=#E8ECED WIDTH=950 HEIGHT=365 TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></EMBED></OBJECT>";
}



function gopreload()
{
document.getElementById('preload').innerHTML = '<img src="http://www.reyus.com/designyourownwebsite/l1/l1c1i1.gif" /><img src="http://www.reyus.com/designyourownwebsite/l2/l2c1i1.gif" /><img src="http://www.reyus.com/designyourownwebsite/l3/l3c1i1.gif" /><img src="http://www.reyus.com/designyourownwebsite/l4/l4c1i1.gif" /><img src="http://www.reyus.com/designyourownwebsite/l5/l5c1i1.gif" /><img src="http://www.reyus.com/designyourownwebsite/l6/l6c1i1.gif" /><img src="http://www.reyus.com/designyourownwebsite/l7/l7c1i1.gif" /><img src="http://www.reyus.com/designyourownwebsite/l8/l8c1i1.gif" />';
}