var wpcr_old_btn_val='Click here to hide form';var wpcr_req=[];function wpcr_strpos(haystack,needle,offset){var i=(haystack+'').indexOf(needle,(offset||0));return i===-1?false:i;}
function wpcr_ucfirst(str){var firstLetter=str.slice(0,1);return firstLetter.toUpperCase()+str.substring(1);}
function wpcr_del_cookie(name){document.cookie=name+'=; expires=Thu, 01-Jan-70 00:00:01 GMT;';}
function wpcr_jump_to(){jQuery(document).ready(function(){window.location.hash="wpcr_respond_1";});}
function valwpcrform_2(newid,oldid,err){var myval='';for(var i in wpcr_req){var col=wpcr_req[i];if(newid===col&&jQuery("#"+oldid).val()===""){var nice_name=jQuery('label[for="'+oldid+'"]').html();nice_name=nice_name.replace(":","");nice_name=nice_name.replace("*","");nice_name=jQuery.trim(nice_name);err.push("You must include your "+nice_name+".");}}
if(newid==='femail'&&jQuery("#"+oldid).val()!==""){myval=jQuery("#"+oldid).val();if(/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test(myval)==false){err.push("The email address provided is not valid.");}}
if(newid==='fwebsite'&&jQuery("#"+oldid).val()!==""){myval=jQuery("#"+oldid).val();if(/^\S+:\/\/\S+\.\S+.+$/.test(myval)==false){err.push("The website provided is not valid. Be sure to include http://");}}
if(newid==="ftext"&&jQuery("#"+oldid).val().length<30){err.push("You must include a review. Please make reviews at least a couple of sentences.");}
if(newid==="fconfirm2"&&jQuery("#fconfirm2").is(":checked")===false){err.push("You must confirm that you are human.");}
if(newid==="fconfirm1"&&jQuery("#fconfirm1").is(":checked")){err.push("You must confirm that you are human. Code 2.");}
if(newid==="fconfirm3"&&jQuery("#fconfirm3").is(":checked")){err.push("You must confirm that you are human. Code 3.");}
return err;}
function valwpcrform(){var frating=parseInt(jQuery("#frating").val(),10);if(!frating){frating=0;}
var err=[];jQuery("#wpcr_commentform").find('input, textarea').each(function(){var oldid=jQuery(this).attr('name');var newid=oldid;var pos=wpcr_strpos(oldid,'-',0)+1;if(pos>1){newid=oldid.substring(pos);}else{newid=oldid;}
err=valwpcrform_2(newid,oldid,err);});if(frating<1||frating>5){err.push("Please select a star rating from 1 to 5.");}
if(err.length){var err2=err.join("\n");alert(err2);jQuery("#wpcr_table_2").find("input:text:visible:first").focus();return false;}
var f=jQuery("#wpcr_commentform");var newact=document.location.pathname+document.location.search;f.attr("action",newact).removeAttr("onsubmit");return true;}
function wpcr_set_hover(){jQuery("#wpcr_commentform .wpcr_rating").unbind("click",wpcr_set_hover);wpcr_onhover();}
function wpcr_onhover(){jQuery("#wpcr_commentform .wpcr_rating").unbind("click",wpcr_set_hover);jQuery("#wpcr_commentform .base").hide();jQuery("#wpcr_commentform .status").show();}
function wpcr_showform(){jQuery("#wpcr_respond_2").slideToggle();if(wpcr_old_btn_val=='Click here to hide form'){wpcr_old_btn_val=jQuery("#wpcr_button_1").html();jQuery("#wpcr_button_1").html('Click here to hide form');}else{jQuery("#wpcr_button_1").html(wpcr_old_btn_val);wpcr_old_btn_val='Click here to hide form';}
jQuery("#wpcr_table_2").find("input:text:visible:first").focus();}
function wpcr_init(){jQuery("#wpcr_button_1").click(wpcr_showform);jQuery("#wpcr_commentform").submit(valwpcrform);jQuery("#wpcr_commentform .wpcr_rating a").click(function(e){e.preventDefault();e.stopPropagation();var wpcr_rating=jQuery(this).html();var new_w=20*wpcr_rating+"%";jQuery("#frating").val(wpcr_rating);jQuery("#wpcr_commentform .base").show();jQuery("#wpcr_commentform .average").css("width",new_w);jQuery("#wpcr_commentform .status").hide();jQuery("#wpcr_commentform .wpcr_rating").unbind("mouseover",wpcr_onhover);jQuery("#wpcr_commentform .wpcr_rating").bind("click",wpcr_set_hover);});jQuery("#wpcr_commentform .wpcr_rating").bind("mouseover",wpcr_onhover);}
jQuery(document).ready(wpcr_init);
;(function(){var a=a||{};a.a=a.a||{};a.a.d="d.shareaholic.com";a.a.e="/dough";a.a.g="1.0";a.a.f=top.location.protocol+"//"+a.a.d+a.a.e+"/"+a.a.g+"/";a.a.c="oven/";a.a.i="c_id";a.a.h="00000000-0000-0000-0000-000000000000";a.a.b="shr_oven";a.a.l=function(){a.a.m()&&document.getElementById(a.a.b)==void 0&&a.a.k()};a.a.n=function(){a.a.j(function(){a.a.l()})};a.a.j=function(a){var b=window.onload;window.onload=typeof window.onload!="function"?a:function(){b&&b();a()}};a.a.k=function(){var d=document.createElement("iframe");d.setAttribute("id",a.a.b);var b=a.a.f+a.a.c;b+=encodeURI("?referrer="+top.document.referrer);d.setAttribute("src",b);d.style.display="none";document.body.appendChild(d)};a.a.o=function(a){for(var b=document.cookie.split(";"),e=0;e<b.length;e++){for(var c=b[e];c.charAt(0)==" ";)c=c.substring(1,c.length);if(c.indexOf(a+"=")==0)return c.substring((a+"=").length,c.length)}return null};a.a.m=function(){return a.a.o(a.a.i)!=a.a.h};a.a.n()})();
;(function($){$.fn.toggleFade=function(settings){if(settings==undefined){settings={speedIn:'slow'};}settings=jQuery.extend({speedIn:"normal",speedOut:settings.speedIn},settings);return this.each(function(){var isHidden=jQuery(this).is(":hidden");jQuery(this)[isHidden?"fadeIn":"fadeOut"](isHidden?settings.speedIn:settings.speedOut);});};})(jQuery);(function($){$.fn.toggleSlide=function(settings){if(settings==undefined){settings={speedIn:'slow'};}settings=jQuery.extend({speedIn:"normal",speedOut:settings.speedIn},settings);return this.each(function(){var isHidden=jQuery(this).is(":hidden");jQuery(this)[isHidden?"slideDown":"slideUp"](isHidden?settings.speedIn:settings.speedOut);});};})(jQuery);jQuery(document).ready(function($){$('div.faq-title a').click(function(){$(this).parent().next("div").toggleFade()
return false;});});
