﻿

  var pausecontent=new Array();
  
  pausecontent[0]='<table  class=\"txt_12_18\" cellpadding=\"0\" width=\"100%\" border=\"0\"><tbody><tr align=\"left\" > <td width=\"31%\" align=\"left\" ><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=594\"><img border=0  src=\"http://photo.jnocnews.jp/upfile/news/2010417165924.JPG\" width=\"110\" height=\"83\" /></a></td><td width=\"69%\" valign=\"top\"><strong></a><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=594\">第14回国際IT人材就職 転職フェア</a><br /> </strong><a class="plist" href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=594\">2009年10月25日、「日本新華僑報」が主催する「第14回国際IT人材就職 転職フェア」は、東京都原宿にあるベルサール原宿イベントホールにて行なわれた。</a></td></tr> </tbody> </table>'; 

  pausecontent[1]='<table  class=\"txt_12_18\" cellpadding=\"0\" width=\"100%\" border=\"0\"><tbody><tr align=\"left\" > <td width=\"31%\" align=\"left\" ><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=572\"><img border=0  src=\"http://photo.jnocnews.jp/upfile/news/2009619104925.jpg\" width=\"110\" height=\"83\" /></a></td><td width=\"69%\" valign=\"top\"><strong></a><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=572\">第13回国際IT人材就職 転職フェア</a><br /> </strong><a class="plist" href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=572\">2009年5月24日、「日本新華僑報」が主催する「第13回国際IT人材就職 転職フェア」はベルサール飯田橋イベントホールにあるベルーサル原宿イベントホールにて盛大に行なわれた。</a></td></tr> </tbody> </table>'; 
  
  pausecontent[2]='<table  class=\"txt_12_18\" cellpadding=\"0\" width=\"100%\" border=\"0\"><tbody><tr align=\"left\" > <td width=\"31%\" align=\"left\" ><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=557\"><img border=0  src=\"http://photo.jnocnews.jp/upfile/news/2009218114054.jpg\" width=\"110\" height=\"83\" /></a></td><td width=\"69%\" valign=\"top\"><strong></a><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=557\">第12回国際IT人材就職 転職フェア</a><br /> </strong><a class="plist" href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=557\">2008年9月28日、「日本新華僑報」が主催する「第12回国際IT人材就職 転職フェア」は、東京都原宿にあるベルサール原宿イベントホールにて行なわれた。</a></td></tr> </tbody> </table>'; 

  pausecontent[3]='<table  class=\"txt_12_18\" cellpadding=\"0\" width=\"100%\" border=\"0\"><tbody><tr align=\"left\" > <td width=\"31%\" align=\"left\" ><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=497\"><img border=0  src=\"http://photo.jnocnews.jp/upfile/news/2008327153537.jpg\" width=\"110\" height=\"83\" /></a></td><td width=\"69%\" valign=\"top\"><strong></a><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=497\">第11回国際IT人材就職 転職フェア</a><br /> </strong><a class="plist" href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=497\">2008年3月16日、「日本新華僑報」が主催する「第11回国際IT人材就職 転職フェア」は東京都原宿にあるベルーサル原宿イベントホールにて盛大に行なわれた。</a></td></tr> </tbody> </table>'; 
  
  pausecontent[4]='<table  class=\"txt_12_18\" cellpadding=\"0\" width=\"100%\" border=\"0\"><tbody><tr align=\"left\" > <td width=\"31%\" align=\"left\" ><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=494\"> <img border=0 src=\"img/2007121412224.jpg\" width=\"110\" height=\"83\" /></a></td><td width=\"69%\" valign=\"top\"><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=494\"><strong>第10回東京国際ＩＴ業界就職・転職フェア<br /> </strong></a><a class="plist" href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=494\">「日本新華僑報」、「リス株式会社」が共催、2007年9月24日、『第10回 東京国際IT業界就職・転職フェア』が新宿NSビルイベントホールにて成功に開催された。</a></td></tr> </tbody> </table>'; 
  
  pausecontent[5]='<table  class=\"txt_12_18\" cellpadding=\"0\" width=\"100%\" border=\"0\"><tbody><tr align=\"left\" > <td width=\"31%\" align=\"left\" ><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=445\"> <img border=0 src=\"img/2007411161656.jpg\" width=\"110\" height=\"83\" /></a></td><td width=\"69%\" valign=\"top\"><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=445\"><strong>東京国際ＩＴ業界就職・転職フェア07春<br /> </strong></a><a class="plist" href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=445\">「日本新華僑報」、「リス株式会社」が共催、「東京国際IT業界就職・転職フェア2007春」が2007年3月25日に、新宿ＮＳビルイベントホールにて開催された。</a></td></tr> </tbody> </table>'; 
      
  pausecontent[6]='<table  class=\"txt_12_18\" cellpadding=\"0\" width=\"100%\" border=\"0\"><tbody><tr align=\"left\" > <td width=\"31%\" align=\"left\" ><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=395\"><img border=0  src=\"img/2007210111121.jpg\" width=\"110\" height=\"83\" /></a></td><td width=\"69%\" valign=\"top\"><strong><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=395\">東京国際ＩＴ業界就職・転職フェア2006</a><br /> </strong><a class="plist" href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=395\">“「日本新華僑報」、「リス株式会社」が共催、2006年11月26日、「東京国際IT業界就職・転職フェア2006」が新宿ＮＳビルイベントホールにて成功に開催された。</a></td></tr> </tbody> </table>'; 
      
  pausecontent[7]='<table  class=\"txt_12_18\" cellpadding=\"0\" width=\"100%\" border=\"0\"><tbody><tr align=\"left\" > <td width=\"31%\" align=\"left\" ><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=434\"><img border=0  src=\"img/2007314162735.jpg\" width=\"110\" height=\"83\" /></a></td><td width=\"69%\" valign=\"top\"><strong></a><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=434\">2006年秋国際ＩＴジョブフェアin Tokyo</a><br /> </strong><a class="plist" href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=434\">2006年9月3日、「日本新華僑報」と「プラン・ネット株式会社東京支社」が共催によって、「2006年秋国際ITジョブフェアin Tokyo」が日中友好会館にて開催された。</a></td></tr> </tbody> </table>'; 

  pausecontent[8]='<table  class=\"txt_12_18\" cellpadding=\"0\" width=\"100%\" border=\"0\"><tbody><tr align=\"left\" > <td width=\"31%\" align=\"left\" ><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=435\"><img border=0  src=\"img/200731416332.jpg\" width=\"110\" height=\"83\" /></a></td><td width=\"69%\" valign=\"top\"><strong></a><a href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=435\">2006年中国大連―東京ＩＴ人材募集大会</a><br /> </strong><a class="plist" href=\"http://it.jnocnews.jp/news/NewsCote.aspx?id=435\">2006年4月23日、東京渋谷にある新大宗ビル9階にて、「2006年中国大連―東京IT人材募集大会」が行われた。多くの中国人留学生及びIT技術者を集め。</a></td></tr> </tbody> </table>'; 

  
  var pausecontent2=new Array();
  
  
  pausecontent2[0]='東軟集団有限公司<br>IBM中国有限公司<br>ソニー(中国)有限公司大連分公司<br>Convergys(株)大連サービスセンター';
  
  pausecontent2[1]='シンフォニー株式会社<br>株式会社イーランド<br>中軟軟件有限公司<BR>北京新思軟件技術有限公司';


  
  
  function pausescroller(content, divId, divClass, delay)
  {    
   this.content=content; //message array content 
   this.tickerid=divId; //ID of ticker div to display information  
   this.delay=delay; //Delay between msg change, in miliseconds. 
   this.mouseoverBol=0 ;//Boolean to indicate whether mouse is currently over scroller (and pause it if it is)   
   this.hiddendivpointer=1; //index of message array for hidden div  
   document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style  ="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%;   visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>');
    var scrollerinstance=this;
	if (window.addEventListener)//run onload in DOM2 browsers     
	    window.addEventListener("load", function(){scrollerinstance.initialize()}, false) 
    else if (window.attachEvent) //run onload in IE5.5+      
	   window.attachEvent("onload", function(){scrollerinstance.initialize()})  
    else if (document.getElementById) 
	   	setTimeout(function(){scrollerinstance.initialize()}, 500);   
    } 
  
  pausescroller.prototype.initialize=function()
  { 
		this.tickerdiv=document.getElementById(this.tickerid); 
		this.visiblediv=document.getElementById(this.tickerid+"1");   
		this.hiddendiv=this.hiddendiv=document.getElementById(this.tickerid+"2") ;   
		this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv)) ;     
		this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"; 
		this.getinline(this.visiblediv, this.hiddendiv); 
		this.hiddendiv.style.visibility="visible";  
		var scrollerinstance=this ;  
		this.tickerdiv.onmouseover=function(){scrollerinstance.mouseoverBol=1}  ;  
		this.tickerdiv.onmouseout=function(){scrollerinstance.mouseoverBol=0} ;  
		setTimeout(function(){scrollerinstance.animateup()}, this.delay);
}
pausescroller.prototype.animateup=function()
{  
	var scrollerinstance=this;  
	if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5))
	{        
		this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px";        
		this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px";      
		setTimeout(function(){scrollerinstance.animateup()}, 50)  ;  
	}
	else
	{ 
		this.getinline(this.hiddendiv, this.visiblediv)  ; 
		this.swapdivs() ; 
		setTimeout(function(){scrollerinstance.setmessage()}, this.delay) ;   
	} 
}

pausescroller.prototype.swapdivs=function()
{ 
	var tempcontainer=this.visiblediv;  
	this.visiblediv=this.hiddendiv; 
	this.hiddendiv=tempcontainer;
}  

pausescroller.prototype.getinline=function(div1, div2)
{    
	div1.style.top=this.visibledivtop+"px"; 
	div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px";
} 

pausescroller.prototype.setmessage=function()
{  
	var scrollerinstance=this;
	if (this.mouseoverBol==1) 
		setTimeout(function(){scrollerinstance.setmessage()}, 100) ;
	else
	{  
		var i=this.hiddendivpointer ;
		var ceiling=this.content.length  ;
		this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1 ;
		this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]  ;
		this.animateup()   ;
	}
} 

pausescroller.getCSSpadding=function(tickerobj)
{ 
if (tickerobj.currentStyle) 
	return tickerobj.currentStyle["paddingTop"];
else if (window.getComputedStyle) 
	return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top");    
else  
	return 0;
} 
							   



function init()
{
    var pageIndex=document.getElementById("ctl00_pageIndex");
    var indexValue=pageIndex.value;
//    
//    if(pageIndex==null)
//    {
//        indexValue=="td1";
//    }
//    else
//    {
//        indexValue==pageIndex.value;

//    }
    
    //alert(indexValue);
    
    var tab=document.getElementById("color_tab");

    for(var i=0;i<tab.rows.length;i++)
    {
        if(tab.rows[i].cells[0].id==indexValue)
        {
            tab.rows[i].cells[0].bgColor="#E1EDF9";
        }
        else
        {
            tab.rows[i].cells[0].bgColor="#fffff";

        }

    }

// new Function("scroll(document.all['testDiv'], 325)");

	
}


function changeColor(obj)
{
//    var value=ParseInt(v);
//    if(value==1)
//    {
//        
//    }
//    else if(value==2)
//    {
//    
//    }
//    else if(value==3)
//    {
//        //window.frames["main_fr"].src
//    }

//var m="";

//for(var x in obj)
//{
//    m=m+"     "+x;
//}

//alert(m);
var s="";
var p=obj.parentNode.parentNode;
//alert(p.tagName);
//for(var x in p)
//{
//    s=s+"     "+x;
//}
//alert(s);
//p.className="css1";
//alert(p.id);

//obj.href="Default3.aspx";



if(p.id=="td1")
{
    obj.href="Default.aspx";
    //document.getElementById("pageIndex").value="td1";
}
else if(p.id=="td2")
{
    obj.href="page_01.aspx";  
    //document.getElementById("pageIndex").value="td2";

}
else if(p.id=="td3")
{
    obj.href="page_02.aspx";
}
else if(p.id=="td4")
{
    obj.href="page_03.aspx";
}
else if(p.id=="td5")
{
    obj.href="page_04.aspx";
}
else if(p.id=="td6")
{
    obj.href="page_05.aspx";
}
else if(p.id=="td7")
{
    obj.href="company.aspx";
}

    
    
}


