drupal, ajax, and broken javascript countdowns
hi all,
i'm fairly new to many things, drupal, ajax and coding custom javascript. I'm currently working in a website for a radio station, i'm trying to code the site using drupal as a base, i have figured out most of the information that i need and work is well under way, but i've come to an issue that i havn't been able to figure out a fix for and felt its time to seek some assistance. I've searched through the forums and have not found much information for the issue i'm having.
Currently, the back-end stuff displays all the necessary information, however the countdown timer and refresh script is non-functional.
the refresh portion of the script (ajax) is in the main body of the node, where it pulls information from (nowplaying.php) to display in a div. the javascript timer in the nowplaying.php refuses to work, i've verified that all information is, however, correct, i cannot figure out why this is not working. Is javascript code just not allowed in an external file that's loaded into a div? is there a way around this?.
alternatively i had thought about creating a timer block that pulls the same db information (limited to the first entry in this case) and use that to refresh the div, however i believe i'd run into the same issues once the timer hits zero it would have to refresh not only the div, but also the timer block based on updated information from the database.
What I do not want, is a full-page refresh on this information, nor do I want a refresh that's hard-set on a time. the purpose of this refresh is to update the display with the new 'current' song, the recently played as well as upcoming tracks. we will be adding other features to the site that are not yet on display for implementation just yet, but these features require that a full-page refresh be avoided on the main page.
any help with this, or pointing me in the right direction on what to research would be appreciated. I will post the code if needed, but i'd prefer to not post any unnecessary information until the site is completed and released for general public use..

nobody has information on
nobody has information on how to make this work?
right now i'm using a variant of the 'jah' script that's floating around, i can get it to load a file into the specified div, but any javascript in that file is completely non-functional. I am still looking for information how to make it work as intended. This countdown (javascript) uses php to get information from my db to determine how long a song has left to play (secs remaining), this is then used to set the refresh timer for the div. but since i'm unable to get the countdown to work, the refresh doesn't work, and the loaded page stays static. I'd much prefer to use dynamically loaded content in the div using the information the php/javascript gets from the db, but all attempts i've made at doing so thus far have failed much in the same way as the method i'm trying now. I am trying to avoid doing a full-page refresh after each song, as well as trying to avoid using iframe tags due to how poor it looks.
please, help on this would save me many headaches and lack of sleep trying to figure out a workaround/fix. I dont *need* to use ajax for this, but as mentioned above, i need information loaded and refreshed at specific times as determined by information found in php variables (and/or) gathered from db.
Thanks in advance,
Oseriduun~