/*
Conservation javascript 1
© Andy Hibbert 2008 - http://www.BlueSky-Studios.co.uk
*/


function newWindow1(url, width, height) {
    nameW='feature'
 if (navigator.appVersion.indexOf('4') != -1) {
 xTop = screen.width/6 - (width/2);
 yTop = screen.height/6 - (height/2);
 window.open(url, nameW, 'height='+height+',width='+width+',scrollbars=1,resizable=1,menubar=0,toolbar=1,status=0,location=0,directories=0,left=' + xTop + ',top=' + yTop + '');
 } else {
 window.open(url, nameW, 'height='+height+',width='+width+',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=150,top=200');
 }
}

function newWindow2(url, width, height) {
    nameW='feature'
 if (navigator.appVersion.indexOf('4') != -1) {
 xTop = screen.width/6 - (width/2);
 yTop = screen.height/6 - (height/2);
 window.open(url, nameW, 'height='+height+',width='+width+',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=' + xTop + ',top=' + yTop + '');
 } else {
 window.open(url, nameW, 'height='+height+',width='+width+',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=150,top=200');
 }
}

function closeThis()
	{
self.close()
	}

function jump() {
if (top.frames.length!=0)
top.location=self.document.location;
}

function daydate()
	{
	var day=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
	var mon=['January','February','March','April','May','June','July','August','September','October','November','December'];
	var d = new Date();
	
document.write(day[d.getDay()]+', '+mon[d.getMonth()]+' '+d.getDate()+' '+d.getFullYear());
	}

function initArray()
	{  
      this.length = initArray.arguments.length
      for (var i = 0; i < this.length; i++)
      this[i+1] = initArray.arguments[i]
	}
   var DOWArray = new initArray("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
   var MOYArray = new initArray("January","February","March","April","May","June","July","August","September","October","November","December");
   var LastModDate = new Date(document.lastModified);

function writeDate()
	{
   document.write("<font size='-2'; color='navy'>Page last modified ");
   document.write(DOWArray[(LastModDate.getDay()+1)], ", ");
   document.write(MOYArray[(LastModDate.getMonth()+1)], " ");
var lastmodifiedy = LastModDate.getYear();
if (lastmodifiedy < 1000) lastmodifiedy+=1900;
   document.write(LastModDate.getDate(), ", ",(lastmodifiedy));
   document.write(".</font>");
	}
