//Change style in mouse over
function mouseIn(ele){ 
 chgStyle(ele,'#669999','#3399ff') 
}
//change style on mouse out
function mouseOut(ele){
 chgStyle(ele,'#333333','#000099')
 
}
//Change style in mouse over
function mouseInSub(ele){ 
 chgStyle(ele,'#ffffff','#6E70DD') 
}
//change style on mouse out
function mouseOutSub(ele){
 chgStyle(ele,'#000000','#AAAAD4')
}


//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;
			//document.getElementById(element).style.borderBottomColor = bgcol;
			
			
			
			}
			catch(e){alert("error is : " +e)}
		 }
		}
function open_win(win)
{
window.open(win,"_blank","width=800,height=600,toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=yes, copyhistory=yes")
}

 function newWindow(mp3) {		
		newWindow = null		 
		newWindow = window.open(mp3, "newWin", "width=800,height=600,scrollbars = yes")
		newWindow.document.close()
		history.go(0) // Refresh the page		
    }