function move(id,move){
	//document.write(id);
	var margin=document.getElementById(id).style.marginLeft;
	margin=margin.substring(0,margin.length-2);
	if(margin==""){margin=0;}
	//if (margin==""){margin=0;}
	var width=document.getElementById(id).style.width;
	width=width.substring(0,width.length-2);
	var next=0;
	if(margin<width*-1+move){next=margin-move;}
	//document.write(margin);
	var t= opacity(id,margin, next, 1000, 'marginLeft');
}


    		function opacity(id, opacStart, opacEnd, speed,type) {

exampleFx = new Fx.Tween(id, {property: type,duration: speed, transition: Fx.Transitions.Quart.easeInOut});
/*	now we have an fx object, let's play with it:	*/
//if(id=="poze"){document.write(opacStart+" "+opacEnd);}
exampleFx.start(opacStart,opacEnd); /*fade it out*/

		}
		
		function flat(vid){
			//document.write('adasd');
			document.getElementById('param').value="http://www.youtube.com/v/"+vid+"&hl=en&fs=1&";
			document.getElementById('embed').value="http://www.youtube.com/v/"+vid+"&hl=en&fs=1&";
		}
		


function radio_off(){
	this.style.backgroundPosition='top';
}

function radio_over(){
	this.style.backgroundPosition='center';
}

function radio_on(){
	this.style.backgroundPosition='bottom';
}

function change(){
var s=document.getElementById("news").value;
if (s!="Enter Email Address Here" && !s){document.getElementById("news").value="";}
}

function change2(){
var s=document.getElementById("news").value;
if (!s){document.getElementById("news").value="Enter Email Address Here";}
}