//Change style in mouse over
function mouseIn(ele){ 
 chgStyle(ele,'#000066','#F0F8FF') 
}
//change style on mouse out
function mouseOut(ele){
 chgStyle(ele,'#000066','#FFEBCD')
}
//Change the text colour and background colour of an element - note that the style 
//properties are javascript- not CSS
		function chgStyle(element,col,bgcol){  		 
		 if(document.getElementById){
		 try{ 	     
		  document.getElementById(element).style.color = col;
			document.getElementById(element).style.backgroundColor = bgcol
			}
			catch(e){alert("error is : " +e)}
		 }
		}

	
		
//create a new window for the large image 
		function newWindow(img) {		
		newWindow = null		 
		newWindow = window.open("", "newWin", "width=550,height=600,scrollbars = yes")
		newWindow.document.write("<BODY ONBLUR='window.close();'>")
		newWindow.document.write("<img src = " + img + "><br><\/br><A HREF ='javascript:self.close()'><h2>close<\/h2><\/a>")
    newWindow.document.close()
		history.go(0) // Refresh the page		
    }		
		
		
		
/*
 function URLLink(element){
 		if(document.getElementById){
		 try{ 
		  document.getElementById(element).href="construction.html"
		 }
		 catch(e){alert("error is : " +e)}
		}
 }	
*/
