
function open_win(win)
{
window.open(win,"_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=yes, copyhistory=yes, width=400, height=400")
}

//Change style in mouse over
function mouseIn(ele){ 
 chgStyle(ele,'#000000','#3399ff') 
}
//change style on mouse out
function mouseOut(ele){
 chgStyle(ele,'#ffffff','#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)}
		 }
		}
