/* JScript source code */

var $jQ = jQuery.noConflict();

function LoadControls(){
	//document.getElementById('ARLogo').style.display = 'none';
	//document.getElementById('LoginControls').style.display = 'block';
	var options = {};
	$jQ('#ARLogo').hide('explode', options, 500, ShowControls());
	
}
function ButtonMovement(buttonid){
	var options = {};
	$jQ(buttonid).hide('explode', options, 500);
	$jQ(buttonid).show('scale', options, 200);
}

function ShowControls(){
	var options = {};
	$jQ('#LoginControls').show('drop')
}

//$jQ(document).ready(function() {
//    $jQ.preloadCssImages();
//}); 

$jQ(document).ready(function(){
	$jQ('h2 span').each(function(){
		var me = $jQ(this);
		me.html( me.text().replace(/(^\w+)/,'<span class="firstword">$1</span>') );
	});

});


//<![CDATA[
(function() {
	var links = document.getElementsByTagName('a');
	var query = '?';
	for(var i = 0; i < links.length; i++) {
	if(links[i].href.indexOf('#disqus_thread') >= 0) {
		query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
	}
	}
	document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/mcclainrev/get_num_replies.js' + query + '"></' + 'script>');
})();
//]]>

