$(function(){	
	//news ticker
	$("div#tickerContainer").smoothDivScroll({ autoScroll: "always", autoScrollDirection: "endlessloopright", autoScrollStep: 1, autoScrollInterval: 35});
	$("div#tickerContainer").bind("mouseover", function() {
		$(this).smoothDivScroll("stopAutoScroll");
	}).bind("mouseout", function() {
		$(this).smoothDivScroll("startAutoScroll");
	});

	//set input values
	var userInput = "username";
	var passInput = "password";
	
	//add the values to the input fields
	$('#ppg_in_login').val(userInput);
	
	//Event listeners
	//ON BLUR
	$('#ppg_in_login').blur(function(){
		if($(this).val() == ""){$(this).val(userInput);}
	});
	
	//ON FOCUS
	$('#ppg_in_login').focus(function(){
		if($(this).val() == userInput){$(this).val('');}
	});

});
