/* 

	Welcome to Arkansas Democrat-Gazette, Advertising v1.0
	Site Design/Development: Lance Corder
	
	==================================================================
	
	888                              888                  
	888                              888                  
	888                              888                  
	888  .d8888b .d88b.  888d888 .d88888  .d88b.  888d888 
	888 d88P"   d88""88b 888P"  d88" 888 d8P  Y8b 888P"   
	888 888     888  888 888    888  888 88888888 888     
	888 Y88b.   Y88..88P 888    Y88b 888 Y8b.     888     
	888  "Y8888P "Y88P"  888     "Y88888  "Y8888  888   
	
	Lance Corder/Designer & Developer: lcorder@arkansasonline.com
	
	==================================================================
	
	Scriptaculous Custom Functions
	
	==================================================================
*/

Effect.adgAdv_Slide = function(element) {
  element = $(element);
  new Effect.toggle(element,'slide', { duration: 0.4 });
}
Effect.adgAdv_SlideHide = function(element) {
  element = $(element);
  if(Element.visible(element)) { hides++; new Effect.toggle(element,'slide', { duration: 0.4 }); }
}

/*
Event.observe(window,'load',init,false);
function init() {
  Sortable.create('listContainer',{tag:'div',onUpdate:updateList});
}
function updateList(container) {
  var url = 'ajax.php';
  var params = Sortable.serialize(container.id);
  var ajax = new Ajax.Request(url,{
    method: 'post',
    parameters: params,
    onLoading: function(){$('workingMsg').show()},
    onLoaded: function(){$('workingMsg').hide()}
  });
}
function handleResponse(req) {
  // this function will fire after the ajax request is complete...but we have nothing to do here
}
*/