

// The script below will parse though all of your attached CSS files and preload any images it finds referenced in them (allegedly).
// http://www.filamentgroup.com/lab/update_automatically_preload_images_from_css_with_jquery/
//$(document).ready(function(){
//  $.preloadCssImages();
//}); 

document.getElementById('sny').onmouseover = function() { 
	document.getElementById('sny').style.backgroundImage = 'url(_assets/_img/sn-logo-youtube-over.gif)'; 
	document.getElementById('sny').style.cursor = 'pointer'; 
}
document.getElementById('snt').onmouseover = function() { 
	document.getElementById('snt').style.backgroundImage = 'url(_assets/_img/sn-logo-twitter-over.gif)';  
	document.getElementById('snt').style.cursor = 'pointer';
}
document.getElementById('snl').onmouseover = function() { 
	document.getElementById('snl').style.backgroundImage = 'url(_assets/_img/sn-logo-linkedin-over.gif)';  
	document.getElementById('snl').style.cursor = 'pointer';
}
document.getElementById('snr').onmouseover = function() { 
	document.getElementById('snr').style.backgroundImage = 'url(_assets/_img/sn-logo-rss-over.gif)';  
	document.getElementById('snr').style.cursor = 'pointer';
}







document.getElementById('sny').onmouseout = function() { 
	document.getElementById('sny').style.backgroundImage = 'url(_assets/_img/sn-logo-youtube.gif)';  
	document.getElementById('sny').style.cursor = 'default';
}
document.getElementById('snt').onmouseout = function() { 
	document.getElementById('snt').style.backgroundImage = 'url(_assets/_img/sn-logo-twitter.gif)';    
	document.getElementById('snt').style.cursor = 'default';
}
document.getElementById('snl').onmouseout = function() { 
	document.getElementById('snl').style.backgroundImage = 'url(_assets/_img/sn-logo-linkedin.gif)';  
	document.getElementById('snl').style.cursor = 'default';
}
document.getElementById('snr').onmouseout = function() { 
	document.getElementById('snr').style.backgroundImage = 'url(_assets/_img/sn-logo-rss.gif)';   
	document.getElementById('snr').style.cursor = 'default';
}







document.getElementById('sny').onmouseup = function() { 
	setTimeout(function() {
		document.getElementById('sny').style.backgroundImage = 'url(_assets/_img/sn-logo-youtube.gif)';  
		document.getElementById('sny').style.cursor = 'default';
	}, 1000);
}
document.getElementById('snt').onmouseup = function() { 
	setTimeout(function() {
		document.getElementById('snt').style.backgroundImage = 'url(_assets/_img/sn-logo-twitter.gif)';    
		document.getElementById('snt').style.cursor = 'default';
	}, 1000);
}
document.getElementById('snl').onmouseup = function() { 
	setTimeout(function() {
		document.getElementById('snl').style.backgroundImage = 'url(_assets/_img/sn-logo-linkedin.gif)';  
		document.getElementById('snl').style.cursor = 'default';
	}, 1000);
}
document.getElementById('snr').onmouseup = function() { 
	setTimeout(function() {
		document.getElementById('snr').style.backgroundImage = 'url(_assets/_img/sn-logo-rss.gif)';   
		document.getElementById('snr').style.cursor = 'default';
	}, 1000);
}





document.getElementById('sny').onclick = function() { 
	document.location = 'http://www.youtube.com/user/betradmin';
}
document.getElementById('snt').onclick = function() { 
	document.location = 'http://twitter.com/TheBETR';
}
document.getElementById('snl').onclick = function() { 
	document.location = 'http://www.linkedin.com/groups?gid=147556&trk=myg_ugrp_ovr';
}
document.getElementById('snr').onclick = function() { 
	//alert($('#snr a[0]').attr("href"));
	// document.location = $('#snr a')[0].getAttribute('href');
	 document.location = 'rss.xml';
}

/*
var href = $("#myID").attr("href"):
$("#my_hidden_div").append( href ); 
*/

