if (top.frames.length!=0) {
    if (window.location.href.replace)
        top.location.replace(self.location.href);
    else
        top.location.href=self.document.href;
}

function ConfirmChoice(url,msg) { 
	answer = confirm(msg)
	
	if (answer !=0) { 
		location = url 
	} 
}


function checkChange() {
	if(document.getElementById('ActionButtonChange')) {

	} else {
		document.form.submit()
	}
}

function movein(which,html){
	document.getElementById(which).innerHTML=html
}
	
function moveout(which,html){
	document.getElementById(which).innerHTML=html
}

function imgin(which,value){
	document.getElementById(which).src=value
}

function change_tab(o_link) {
  
  s_current_tab = document.getElementById('current_tab').innerHTML;
  
  document.getElementById('tab_' + s_current_tab).style.display = 'none';
  
  document.getElementById('tab_' + s_current_tab).className = 'tab';
  
  document.getElementById('link_' + s_current_tab).className = 'tab_link';

  s_tab = o_link.id
  
  s_tab = s_tab.substr(5,s_tab.length)
  
  document.getElementById('tab_' + s_tab).style.display = 'block';
  
  if (s_tab != 'flv') {
    
    document.getElementById('tab_' + s_tab).className = 'tab_padding';
    
  }
  
  document.getElementById('link_' + s_tab).className = 'selected_tab_link';
  
  document.getElementById('current_tab').innerHTML = s_tab
  
}

