
	function checkAmounts(form, eur, usd) {
		if ((form.elements[0].value > usd) || (form.elements[1].value > eur)) {
			alert("Not enough balance!");
			return false;
		}
		
		return true;
	}

	function showPayoutOptionFields(select, fields) {
		var field = null;
		var i;
		for (i in fields) {
			if (fields[i].id == select.value)
				field = fields[i];
		}

		div = window.document.getElementById("field_label_1");
		div.style.display = "none";
		if (field && field.field_label_1 != '') {
			div.style.display = "block";
			div.firstChild.innerHTML = field.field_label_1;
		}

		div = window.document.getElementById("field_label_2");
		div.style.display = "none";
		if (field && field.field_label_2 != '') {
			div.style.display = "block";
			div.firstChild.innerHTML = field.field_label_2;
		}
		
		return true;
	}
try{
$().ready(function(){

	

if($.browser.msie && $.browser.version=="6.0"){
		
		//DD_belatedPNG.fix('#left_shadow, #right_shadow, #bottom_shadow, #top_shadow, .bottom_left_shadow, .bottom_right_shadow, .top_left_shadow, .top_right_shadow, #middle_column, #main_container, #footer_top_shadow, #footer_bottom_shadow, #footer_left_shadow, #footer_right_shadow');
		
		$('#rateVideoButton span').hover(function() {
			$(this).addClass("hover");
			$(this).css('padding-bottom','1px');
		}, function() {
			$(this).removeClass("hover");
			$(this).css('padding-bottom','0px');
		});
		
		
	}
	
});
}catch(e){}