<!--

/*
var tickercontents=new Array()

tickercontents[0]='<b>News: </b> <a href="http://www.saveourearth.co.uk/soe_enews.php?number=1151" class="scroller">Stronger Hurricances becoming more numerous...more</a> '
tickercontents[1]='<b>News: </b> <a href="http://www.saveourearth.co.uk/soe_enews.php?number=1148" class="scroller">\'Warming link\' to big hurricanes...more</a> '
tickercontents[2]='<b>News: </b> <a href="http://www.saveourearth.co.uk/soe_enews.php?number=1139" class="scroller">Katrina Fuels Global Warming Storm...more</a> '
tickercontents[3]='<b>News: </b> <a href="http://www.saveourearth.co.uk/soe_enews.php?number=1134" class="scroller">Global Warming Causes Soil To Release Carbon, Study Says...more</a> '
tickercontents[4]='<b>News: </b> <a href="http://www.saveourearth.co.uk/soe_enews.php?number=1133" class="scroller">Spain Enjoys -- and Suffers -- First Significant Rainfall of the Year...more</a> '
tickercontents[5]='<b>News: </b> <a href="http://www.saveourearth.co.uk/soe_enews.php?number=1128" class="scroller">Climate Change Raises Risk of Hunger, Scientists Say...more</a> '
*/

var tickdelay=3000 //delay btw messages

var currentmessage=0

function changescrollcontent() {
   crosstick.style.clip="rect(0px 0px auto 0px)"
   crosstick.innerHTML=tickercontents[currentmessage]
   if (currentmessage==tickercontents.length-1) 
       currentmessage=0
   else
       currentmessage++
   setTimeout("pause()",tickdelay)
}

function pause () {
   crosstick.innerHTML="&nbsp;"
   setTimeout("changescrollcontent()",150)
}


function start_scroll() {
   crosstick=document.getElementById? document.getElementById("highlighter") : document.all.highlighter
   crosstick.innerHTML = "&nbsp;"  
   changescrollcontent()
}


/**************************************************************************************/
/* Routines to prevent copyright theft */
/**************************************************************************************/
function disableSelection(target){
  if (typeof target.onselectstart!="undefined") //IE route
      target.onselectstart=function(){return false}
  else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
  	   target.style.MozUserSelect="none"
       else //All other route (ie: Opera)
	   target.onmousedown=function(){return false}
  target.style.cursor = "default"
}

function clickIE4(){
  if (event.button==2)
      return false;
}

function clickNS4(e){
  if (document.layers||document.getElementById&&!document.all) {
      if (e.which==2||e.which==3)
          return false;
  }
}


function NoRightClick() {
  if (document.layers){
      document.captureEvents(Event.MOUSEDOWN);
      document.onmousedown=clickNS4;
  } else if (document.all&&!document.getElementById){
             document.onmousedown=clickIE4;
  }
  document.oncontextmenu=new Function("return false");
}

window.status = "Done";
window.onerror= new Function("return true");


/**************************************************************************************/
/* Routines to to handle forms */
/**************************************************************************************/
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_validateForm() { //v3.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (val!=''+num) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}

function doClear(theText) {
if (theText.value == theText.defaultValue) {
theText.value = ""
}
}


-->
