/*
 * All the functions in this file have been moved to "utils.js"
 * DO NOT USE THIS FILE. DO NOT UNCOMMENT.
 * If any files reference this file, remove or comment out
 * the reference.
 *
 *
//a_box_auto2
jQuery(function($)
{
	if ($(".expander").get().length > 0)
	{
		$(".expander").hide();
		$(".expander").each(function(i) {
			var $trigger_text = "";
			var $toggle_text = "";
			
			$(this).find(".trigger").each(function(i) {
				$trigger_text = $(this).html();
				$(this).addClass("section1").html("<a href='javascript:void()'><div class='section2'><div class='section3'><div class='section4'>" + $trigger_text + "</div></div></div></a>")
			});
			$(this).find(".toggle_container").each(function(i) {
				$toggle_text = $(this).html();
				$(this).html("<div class='section5'><div class='section6'><div class='section7'><div class='section8'>" + $toggle_text + "</div></div></div></div>");
			});
			
			if ($(this).hasClass("faq"))
			{
				$(this).addClass("a_box_auto2");
			} else {
				$(this).addClass("expand_auto");
			}
		});
		$(".toggle_container").hide();
		$(".expander").show();
		$("div.trigger").toggle(function(){
			$(this).addClass("active"); 
			}, function () {
			$(this).removeClass("active");
		});
		
		$("div.trigger").click(function(){
			$(this).next(".toggle_container").slideToggle("fast,");
		});
	}

// ********** BOX TYPE 1 - WIDTH AND HEIGHT BOTH AUTO-SIZEABLE  ********** //
	if ($(".globe_box_auto").get().length > 0)
	{
		$(".globe_box_auto").hide();
		$(".globe_box_auto").each(function(i) {
			var $box_text = $(this).html();;
			
			$(this).html("<div class='section1'><div class='section2'><div class='section3'><div class='section4'>" + $box_text + 
			  "</div></div></div></div>");
		});
		
		$(".globe_box_auto").show();
	}

	
	if ($(".smallbox").get().length > 0)
	{
		$(".smallbox").hide();
		$(".smallbox").each(function(i) {
			var $box_text = $(this).html();;
			
			$(this).html("<div class='section1'><div class='section2'><div class='section3'><div class='section4'>" + $box_text + 
			  "</div></div></div></div>");
		});
		
		$(".smallbox").show();
	}

// **********  BOX TYPE 2 - FIXED WIDTH  ********** //

	if ($(".title_box_210").get().length > 0)
	{
		$(".title_box_210").hide();
		$(".title_box_210").each(function(i) {
			var $header_text = "";
			var $body_text = "";
			
			$(this).find("h3").each(function(i) {
				$header_text = $(this).html();
			});
			$(this).find("div").each(function(i) {
				$body_text = $(this).html();
			});
			
			$(this).html("<div class='section1'><h3>" + $header_text + "</h3></div><div class='section2'><div class='section2a'>" + $body_text + "</div><div class='section2b'></div></div>");
		});
		
		$(".title_box_210").show();
	}
});


jQuery(function($)
{
	

});
*/
