/*
Pixel Images javaScript "a"
© Andy Hibbert 2006 - http://www.BlueSky-Studios.co.uk
*/

function jump()
	{
if (top.frames.length!=0)
top.location=self.document.location;
	}

function imgSwap(imgName, fileName)
	{
imgName.src=fileName;
	}	

function changeImage (inImageName, inImageSrcURL)

	{
	if (document.images)

		{
	document.images [inImageName].src = inImageSrcURL;
		}

	}

function newWindow(url, width, height)
	{
    nameW='feature'
 if (navigator.appVersion.indexOf('4') != -1)
		{
 xTop = screen.width/3 - (width/2);
 yTop = screen.height/3 - (height);
 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=1,status=0,location=0,directories=0,left=150,top=200');
 	}
}

function newWindowlog(url, width, height) {
    nameW='feature'
 if (navigator.appVersion.indexOf('4') != -1) {
 xTop = screen.width/2 - (width/2);
 yTop = screen.height/2 - (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 daydate()
	{
	var day=['Sunday','Monday','Tuesday','Wednesday','Thurday','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());

	}

