function toggleDivFeatures(action){	if(action=='open'){		new Effect.BlindUp('divFeaturesPreview');		new Effect.BlindDown('divFeatures');	}else{		deleteFeatures();		new Effect.BlindUp('divFeatures');		new Effect.BlindDown('divFeaturesPreview');	}}function deleteFeatures() {	//alert("test");	var onSuccess = function(transport) {						var idString = transport.responseText;						idArray = idString.split(',');						//alert(idArray.length);						for(var i=0;i<idArray.length;i++) {							$('filter_features[' + idArray[i] + ']').checked = "";						}					}	new Ajax.Request( "http://web10.alex.cmshoster.info/tame/ajax.php", {							method: 'post',							postBody: '_cmd=deleteSessionFeatures',							onSuccess: onSuccess							}					);}function openBrWindow(theURL,winName,features) { //v2.0  window.open(theURL,winName,features);}
