// JavaScript Document

function cText(obj){
if(obj.value==obj.defaultValue){
obj.value="";
obj.style.color="#000";
}
}

function sText(obj){
if(obj.value==""){
obj.value=obj.defaultValue;
obj.style.color="#999";
}
}

var defImg;
function ImgChange(target, img){
  if(document.getElementById){
    defImg = document.getElementById(target).getAttribute("src");
    document.getElementById(target).setAttribute("src", img);
  }
}
function ImgBack(target){
  if(document.getElementById){
    document.getElementById(target).setAttribute("src",defImg);
  }
}

$(document).ready( function(){
		$('#news_txt').innerfade({ animationtype: 'slide', speed: 750, timeout: 2000, type: 'random', containerheight: '1em' });
		$('#apeal').innerfade({ speed: 'slow', timeout: 4000, type: 'sequence', containerheight: '250px' });
		$('#showarea #result').innerfade({ speed: 'slow', timeout: 6000, type: 'sequence', containerheight: '330px' });
		$('#showarea #voice').innerfade({ speed: 'slow', timeout: 6000, type: 'sequence', containerheight: '330px' });
	} );
