function pauseplayer(){
	document.getElementById('radioPlayer').controls.Stop();
	document.getElementById('radio_pause').src = "images/popup_live2_11.gif";
	document.getElementById('radio_play').src = "images/popup_live_10.gif";
}

function starplayer(){
	document.getElementById('radioPlayer').controls.play()
	document.getElementById('radio_pause').src = "images/popup_live_11.gif";
	document.getElementById('radio_play').src = "images/popup_live2_10.gif";

}

function incsound(){
	document.getElementById('radioPlayer').Settings.volume = document.getElementById('radioPlayer').Settings.volume + 10;
	changeimg(document.getElementById('radioPlayer').Settings.volume);
}

function decsound(){
	document.getElementById('radioPlayer').Settings.volume = document.getElementById('radioPlayer').Settings.volume - 10;
	changeimg(document.getElementById('radioPlayer').Settings.volume);
}
function setsound(vsound){
	document.all.mediaPlayer.Settings.volume = vsound;
	changeimg(vsound);
}
function changeimg( vsound ){
	var i=100;
	var loop = 1;
	for (i=20;i <= 100; i=i+10){
		if( i <= vsound){
			eval("document.sound_" + i ).src = "images/volume_live_0"+loop+".gif";//"images/volume-up_" + i + ".png";
		}else{
			eval("document.sound_" + i ).src = "images/volume_live2_0"+loop+".gif";//"images/volume-down_" + i + ".png";
		}
		loop++;
	}
}

function js_show_event(v_date){
	//alert();
	js_calendar_date_length = document.getElementById('calendar_date_length').value;
	if(js_calendar_date_length > 0){
		for(i=0;i<js_calendar_date_length;i++){
			var table_date = document.getElementById('calendar_date_'+i).value;
			document.getElementById('table_'+table_date).style.display = 'none'
		}
		document.getElementById('table_'+v_date).style.display = ''
	}
}

function js_news_tab(obj,img_swp,obj_oth,img_swp_oth,div_on,div_off){
	obj.src = img_swp;
	obj_oth.src = img_swp_oth;
	document.getElementById(div_on).style.display = '';
	document.getElementById(div_off).style.display = 'none';
}

//$().ajaxStop($.unblockUI);
function searchFilter(page,actionUrl,actionDiv) {
	url2 = url_site+actionUrl;
//	block();
	$.ajax({
			type: "POST",
			url: url2,
			data: "page_no="+page,
			success: function(msg){
				//alert(actionDiv);
				//alert(msg);
				$('#'+actionDiv).html(msg);
				//$("#table_property_list").colorize();
				//$('#h'+actionDiv).click();
			}
	});
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


