/* jqyery startup per ID or Class section */

// <![CDATA[
$(document).ready(function(){
$('#accordion').accordion({ autoHeight: false });
$('#slideshow').slideshow({playframe:false}).playSlide();
// smooth scroller
$("a.scroller").smoothScroll({
//afterScroll: function() {location.hash = this.hash;}
});

show_clock('gr');

});

function initPicker(){
$('#initPickerImgPublished').datePicker({startDate:'01-02-2006'})
.bind('click',
function()
{$(this).dpDisplay(); this.blur(); return false;}
);
$('#initPickerImgPublished').bind('dateSelected',
function(e, selectedDate)
{document.forms[0].published.value=selectedDate.asString(); document.forms[0].published.focus();});

/*$('#initPickerImgEnd').datePicker({startDate:'01-02-2010'})
.bind('click',
function()
{$(this).dpDisplay(); this.blur(); return false;}
);
$('#initPickerImgEnd').bind('dateSelected',
function(e, selectedDate)
{document.forms[1].date_end.value=selectedDate.asString(); document.forms[1].date_end.focus();});*/
}

//]]>

