$(document).ready(function() {
   //ajaxTime.php is called every second to get time from server
   var refreshId = setInterval(function()
   {
      $('#timedate').load('../ajaxTime.php?randval='+ Math.random());
   }, 1000);
   
    //$(document).pngFix();   
    $("a[rel^='prettyPhoto']").prettyPhoto({theme:'dark_rounded'});   
    
    $('ul.sf-menu').superfish(); 
   
});

function gotoLink(myform) {
    location = document.getElementById(myform).options[document.getElementById(myform).selectedIndex].value;
}
