function highlight(image) {
   $(image).style.borderColor = '#FDFF4F';
}
function unhighlight(image) {
		//alert('test');
		new Effect.Morph(image, {
                 style: {
                      borderColor: '#FFFFFF'
                    }, 
                 duration: 0.5
  });
}


function getWidth()

{

        var x = 0;

        if (self.innerHeight)

        {

                x = self.innerWidth;

        }

        else if (document.documentElement && document.documentElement.clientHeight)

        {

                x = document.documentElement.clientWidth;

        }

        else if (document.body)

        {

                x = document.body.clientWidth;

        }

        return x;

}

function getScrollY() {
		var scrOfX = 0, scrOfY = 0;
		if( typeof( window.pageYOffset ) == 'number' ) {
			//Netscape compliant
			scrOfY = window.pageYOffset;
		} else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
			//DOM compliant
			scrOfY = document.body.scrollTop;
		} else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
			//IE6 standards compliant mode
			scrOfY = document.documentElement.scrollTop;
		}
		return scrOfY ;
	}
	


function getHeight()

{

        var y = 0;

        if (self.innerHeight)

        {

                y = self.innerHeight;

        }

        else if (document.documentElement && document.documentElement.clientHeight)

        {

                y = document.documentElement.clientHeight;

        }

        else if (document.body)

        {

                y = document.body.clientHeight;

        }

        return y;

}