//<![CDATA[



//  ... JavaScript code goes here ...

if(document.images)

{

  

	var portfolio_up = new Image( 92, 16 );

	portfolio_up.src = "images/portfoliobtn2_up.png";

	

	var news_up = new Image( 57, 16 );

	news_up.src = "images/newsbtn_up.png";

	

	var cv_up = new Image( 31, 16 );

	cv_up.src = "images/cvbtn_up.png";

	

	var links_up = new Image( 49, 16 );

	links_up.src = "images/linksbtn_up.png";



	var contact_up = new Image( 92, 16 );

	contact_up.src = "images/contactbtn2_up.png";

	

	var portfolio_over = new Image( 92, 16 );

	portfolio_over.src = "images/portfoliobtn2_over.png";

	

	var news_over = new Image( 57, 16 );

	news_over.src = "images/newsbtn_over.png";

	

	var cv_over = new Image( 31, 16 );

	cv_over.src = "images/cvbtn_over.png";

	

	var links_over = new Image( 49, 16 );

	links_over.src = "images/linksbtn_over.png";

	

	var contact_over = new Image( 92, 16 );

	contact_over.src = "images/contactbtn2_over.png";



window.onload = function(){

   

	   document.images['portfolio'].onmouseover = function(){ over( 'portfolio' ); };

	   document.images['news'].onmouseover = function(){ over( 'news' ); };

	   document.images['cv'].onmouseover = function(){ over( 'cv' ); };

	   document.images['links'].onmouseover = function(){ over( 'links' ); }

	   document.images['contact'].onmouseover = function(){ over( 'contact' ); }

	   document.images['portfolio'].onmouseout = function(){ up( 'portfolio' ); };

	   document.images['news'].onmouseout = function(){ up( 'news' ); };

	   document.images['cv'].onmouseout = function(){ up( 'cv' ); };

	   document.images['links'].onmouseout = function(){ up( 'links' ); };

	   document.images['contact'].onmouseout = function(){ up( 'contact' ); };

	   }

	   }

function over( target )

{

	if( document.images )

{

	document.images[target].src = eval( target + "_over.src" );



}

}

function up( target )

{

	if( document.images )

{

	document.images[target].src = eval( target + "_up.src" );



}

}


