Cufon.replace('.jroxContentColumn h1, .jroxContentColumn h2, .jroxContentTitle h2, .jroxLogo, .jroxSiteTagLine, .publish_month', { fontFamily: 'N.O.- 1981' });
$(document).ready(function(){ 
        $("ul.sf-menu").superfish(); 
		
		var profiles =
		{
			windowCenter:
			{
				height:400,
				width:400,
				center:1,
				scrollbars:1
			}
		};
	
		$(".popupwindow").popupwindow(profiles);
    
		fadeoutdiv('#successMessage');
	}); 

function ShowText(id) {
	$("#jroxViewText-"+id+"").toggle(400);
}

function fadeoutdiv(div) {
	setTimeout(function(){ $(div).fadeOut('slow'); }, 2000);
};

function showResponse() {
	 $.scrollTo( '0px', 0 );
}


 $(document).ready(function(){
        $(".tweet").tweet({
            username: "jrox_com",
            join_text: "auto",
            avatar_size: 0,
            count: 3,
            auto_join_text_default: "",
            auto_join_text_ed: "",
            auto_join_text_ing: "",
            auto_join_text_reply: "",
            auto_join_text_url: "",
            loading_text: "loading tweets..."
        });

});

$(document).ready(function(){
$(".jroxGo img").fadeTo("fast", 0); // This sets the opacity of the thumbs to fade down to 60% when the page loads

$(".jroxGo img").hover(function(){
$(this).fadeTo(300, 1.0); // This should set the opacity to 100% on hover
},function(){
$(this).fadeTo(200, 0); // This should set the opacity back to 60% on mouseout
});
});

 
 
function checkContent(text) {
	if (this.value == ''){this.value = text; }
}

function removeContent() {
	if (this.value == text) {this.value = ''; }
}
