
/*
ONMOUSEOVER
-------------------------------------------------------------------------------------------------------------- */

document.getElementById('sn-linkedin-span').onmouseover = function() { 
	document.getElementById('sn-linkedin-span').style.backgroundImage = 'url(_assets/_img/sn-linkedin-1.gif)'; 
	//document.getElementById('sn-linkedin').style.cursor = 'pointer'; 
}
document.getElementById('sn-rss-span').onmouseover = function() { 
	document.getElementById('sn-rss-span').style.backgroundImage = 'url(_assets/_img/sn-rss-1.gif)';  
	//document.getElementById('snt').style.cursor = 'pointer';
}
document.getElementById('sn-twitter-span').onmouseover = function() { 
	document.getElementById('sn-twitter-span').style.backgroundImage = 'url(_assets/_img/sn-twitter-1.gif)';  
	//document.getElementById('snl').style.cursor = 'pointer';
}
document.getElementById('sn-youtube-span').onmouseover = function() { 
	document.getElementById('sn-youtube-span').style.backgroundImage = 'url(_assets/_img/sn-youtube-1.gif)';  
	//document.getElementById('snr').style.cursor = 'pointer';
}

/*
ONMOUSEOUT
-------------------------------------------------------------------------------------------------------------- */

document.getElementById('sn-linkedin-span').onmouseout = function() { 
	document.getElementById('sn-linkedin-span').style.backgroundImage = 'url(_assets/_img/sn-linkedin-0.gif)';  
	//document.getElementById('sny').style.cursor = 'default';
}
document.getElementById('sn-rss-span').onmouseout = function() { 
	document.getElementById('sn-rss-span').style.backgroundImage = 'url(_assets/_img/sn-rss-0.gif)';    
	//document.getElementById('snt').style.cursor = 'default';
}
document.getElementById('sn-twitter-span').onmouseout = function() { 
	document.getElementById('sn-twitter-span').style.backgroundImage = 'url(_assets/_img/sn-twitter-0.gif)';  
	//document.getElementById('snl').style.cursor = 'default';
}
document.getElementById('sn-youtube-span').onmouseout = function() { 
	document.getElementById('sn-youtube-span').style.backgroundImage = 'url(_assets/_img/sn-youtube-0.gif)';   
	//document.getElementById('snr').style.cursor = 'default';
}


/*
ONMOUSEUP
-------------------------------------------------------------------------------------------------------------- */

document.getElementById('sn-linkedin-span').onmouseup = function() { 
	setTimeout(function() {
		document.getElementById('sn-linkedin-span').style.backgroundImage = 'url(_assets/_img/sn-linkedin-0.gif)';  
		//document.getElementById('sn-linkedin').style.cursor = 'default';
	}, 1000);
}
document.getElementById('sn-rss-span').onmouseup = function() { 
	setTimeout(function() {
		document.getElementById('sn-rss-span').style.backgroundImage = 'url(_assets/_img/sn-rss-0.gif)';    
		//document.getElementById('sn-rss').style.cursor = 'default';
	}, 1000);
}
document.getElementById('sn-twitter-span').onmouseup = function() { 
	setTimeout(function() {
		document.getElementById('sn-twitter-span').style.backgroundImage = 'url(_assets/_img/sn-twitter-0.gif)';  
		//document.getElementById('sn-twitter').style.cursor = 'default';
	}, 1000);
}
document.getElementById('sn-youtube-span').onmouseup = function() { 
	setTimeout(function() {
		document.getElementById('sn-youtube-span').style.backgroundImage = 'url(_assets/_img/sn-youtube-0.gif)';   
		//document.getElementById('sn-youtube').style.cursor = 'default';
	}, 1000);
}

/*
ONMOUSECLICK
-------------------------------------------------------------------------------------------------------------- */

document.getElementById('sn-linkedin-span').onclick = function() { 
	document.location = 'http://www.youtube.com/user/betradmin';
}
document.getElementById('sn-rss-span').onclick = function() { 
	document.location = '/rss.xml';
}
document.getElementById('sn-twitter-span').onclick = function() { 
	document.location = 'http://www.linkedin.com/groups?gid=147556&trk=myg_ugrp_ovr';
}
document.getElementById('sn-youtube-span').onclick = function() { 
	// document.location = $('#snr a')[0].getAttribute('href');
	 document.location = 'rss.xml';
}

