/**
 * (C) Copyright by Midland Turbo 2011
 * @author Bradley Weston <bradwestonwigston@gmail.com>
 * @author Nathan Highton <nathan.highton@gmail.com>
 */

function formHandlerFaq(fID){
	$("#faq_content").slideUp("fast");
	$.post("/ajax.php?action=faultfinding", {id:fID}, function (data){$("#faq_content").html(data);$("#faq_content").slideDown("slow");});
}
function formHandlerHelp(fID){
	$("#faq_content").slideUp("fast");
	$.post("/ajax.php?action=faq", {id:fID}, function (data){$("#faq_content").html(data);$("#faq_content").slideDown("slow");});
}


$(document).ready(function (){
	$('#fviewer').simplyScroll({
		autoMode: 'loop',
		speed : 2
	});
	$('#slider').nivoSlider();
	$('.special_offers_container').hide();
	nextIsShow = true;
	$('.special_offers_rollover').click(function (){
		if(nextIsShow){
			$('.special_offers_container').animate({width : 'show'});
			nextIsShow = false;
		}else{
			$('.special_offers_container').animate({width : 'hide'});
			nextIsShow = true;
		}
	});
	Cufon.replace('.content_title_text, .content_title_text_small, .sidebar_title');
	$('.jquerybtn').button();
});


