mySettings={previewParserPath:"/index.php?module=Default&action=TextileWS&exitOnHtml=true",previewParserVar:"textile",previewTemplatePath:document.siteURL+"/allabout/edittextile.html",onShiftEnter:{keepDefault:false,replaceWith:"\n\n"},resizeHandle:true,markupSet:[{name:"Paragraph",className:"txt-p",key:"P",openWith:"p(!(([![Class]!]))!). "},{name:"Bold",className:"txt-bold",key:"B",closeWith:"*",openWith:"*"},{name:"Italic",className:"txt-italics",key:"I",closeWith:"_",openWith:"_"},{separator:"---------------"},{name:"Bulleted list",className:"txt-list-bul",openWith:"(!(* |!|*)!)"},{name:"Numeric list",className:"txt-list-num",openWith:"(!(# |!|#)!)"},{separator:"---------------"},{name:"Picture",className:"txt-pic",beforeInsert:function(){jQuery("body").append("<div id='cms-modal'><div class='image-list clearfix'></div></div>");var a=jQuery(window).scrollTop()+50;jQuery("#cms-modal").css({height:jQuery("body").height()});jQuery("#cms-modal .image-list").css("margin-top",a+"px");jQuery("#cms-image-list").clone().attr("id","cms-cloned-list").appendTo("#cms-modal .image-list");jQuery("#cms-cloned-list img").click(function(){var c=jQuery(this).attr("id");var b=jQuery(this).attr("alt");jQuery.markItUp({replaceWith:"[img:"+c+"{[![Size (small, medium, large):!:small]!]|[![Alignment (left, center, right):!:center]!]|[![Alt Text:!:"+b+"]!]}]"});jQuery("#cms-modal").remove()})}},{name:"Link",className:"txt-link",openWith:'"',closeWith:'([![Title]!])":[![Link:!:http://]!]',placeHolder:"Your text to link here..."},{separator:"---------------"},{name:"YouTube",className:"youtube-textile",replaceWith:"[[youtube:[![ Enter YouTube ID]!]]]"},{name:"Vimeo",className:"vimeo-textile",replaceWith:"[[vimeo:[![ Enter Vimeo ID]!]]]"},{name:"Twistage",className:"twistage-textile",replaceWith:"[[twistage:[![ Enter Twistage ID]!]]]"},{separator:"---------------"},{name:"Section [must_use_under_scores]",className:"section-textile",openWith:"<section:[![Section_Label]!]>",closeWith:"</section>"},{separator:"---------------"},{name:"Preview [Hold ALT to Close]",call:"preview",className:"preview"}]};cssSettings={resizeHandle:true,markupSet:[{name:"Insert Background Image URL",className:"txt-pic",replaceWith:function(){var a=jQuery("#cms-bg-img-cont img").attr("id");if(a!=""){return"[img:"+a+"]"}else{alert("Please upload a background image before attemping to insert one.")}}}]};