$(document).ready(function(){
    $('#up_arrow').click(function(e){
        e.preventDefault();
        $('#text').scrollTo('-=200px', 800);
    });
    $('#down_arrow').click(function(e){
        e.preventDefault();
        $('#text').scrollTo('+=200px', 800);
    });
});

var instance = "player-container";

/* var flashvars = {	id : instance,
					stream: "http://www.ustream.tv/flash/live/1/114136", 
					file: ""}; */
var flashvars = {};
flashvars.stream = "rtmp://live.radiolynx.whispercast.ro:1935/whispercast";
flashvars.file = "radiolynx/switches/435";

var params = {	wmode : "opaque",
				allowFullScreen : 'true', allowNetworking : 'all', allowScriptAccess : 'always',
				bgcolor : "#000000"
			};
var attributes = { id : instance, name : instance };

// SWFObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/
swfobject.embedSWF ("swf/FinlandiaPlayer.swf?" + Math.random()*1, instance,
					620, 353,
					"9", "expressInstall.swf",
					flashvars, params, attributes
				);

function clearDefault(el) {
  if (el.defaultValue==el.value) el.value = ""
}
