function changeHeight(id){
var obj=document.all && document.all(id) || document.getElementById && document.getElementById(id);
	if(obj){
		clientSize=getWindowClientSize();
		obj.style.height=""+(parseInt($(window).width()*0.57))+"px";
	}
}

function getWindowClientSize(){
	var result={"width":0,"height":0};
	if(window.self&&self.innerWidth){
		result.width=self.innerWidth;
		result.height=self.innerHeight;
	}else if(document.documentElement && document.documentElement.clientHeight){
		result.width=document.documentElement.clientWidth;
		result.height=document.documentElement.clientHeight;
	}else{
		result.width=document.body.clientWidth;
		result.height=document.body.clientHeight;
	}
	return result;
}

function getFlashHeight(){
	if ( window.innerHeight ) {
                return window.innerHeight - 25;
        }
        else if ( document.documentElement && document.documentElement.clientHeight != 0 ) {
                return document.documentElement.clientHeight - 30;
        }
        else if ( document.body ) {
                return document.body.clientHeight - 30;
        }
        return 0;
}

function getScrollPosition() {
	if(window.scrollY) return window.scrollY; // Mozilla
  if(window.pageYOffset) return window.pageYOffset; // Opera, NN4
  if(document.documentElement && document.documentElement.scrollTop){ // 以下 IE
   return document.documentElement.scrollTop;
  }
  else if(document.body && document.body.scrollTop){
   return document.body.scrollTop;
  }
  return 0;
}



$('#news_ticker').html( "<a href=\"http://www.google.co.jp\">テスト</a>" );
