// Daughter Window

function openWin(url,winName,features) {
	window.open(url,winName,features);
};

// Simple News Ticker - DamonB - 3/6/09
// Give your list or the surrounding div an id of "newsticker"
// Call function with delay (in seconds) - newsticker(5);


function newsticker(delay){
	function cycle() {
   				$("#newsticker li:nth-child("+i+")").hide();
				i++;
       				 if (i > total) {
         				 i = 1;
        			}
        		$("#newsticker li:nth-child("+i+")").fadeIn("`");

			};
var total = $("#newsticker li").size();
var time  =  delay * 1000;
var i = 1;
$("#newsticker li").hide();
$("#newsticker li:first-child").show(); 
setInterval(cycle, time); 
};	
