
function mouseOver_homepage(){    
	//document.getElementById('i_homepage').src="../images/homepage_mouseover.png";
	
}

function mouseOut_homepage(){    
	//document.getElementById('i_homepage').src="../images/Homepage.png";
}

//about图片上鼠标获取焦点时图片变为about_mouseover.png--%>

function mouseOver_about(){    
	
	document.getElementById('i_about').src =" images/about_mouseover.png";	
}
//about图片上鼠标失去焦点时图片变为About.pngg--%>
function mouseOut_about()
{
	document.getElementById('i_about').src =" images/About.png";	
}
//submouseOut_about和上面的一样，但不能删除，删除后会出问题．
function submouseOut_about()
{
	document.getElementById('i_about').src =" images/About.png";	
}
//services图片上鼠标获取焦点时图片变为mouse.png--%>
function mouseOver_services()
{
	document.getElementById('i_services').src =" images/services_mouseover.png";
	//document.getElementById('i_about').src =" images/About2.png";
}
//services图片上鼠标失去焦点时图片变为mouse.png--%>
function mouseOut_services()
{
	document.getElementById('i_services').src =" images/Services.png";
	//document.getElementById('i_about').src =" images/About.png";
}
function submouseOut_services()
{
	document.getElementById('i_services').src =" images/Services.png";
}
//products图片上鼠标获取焦点时图片变为products_mouseover.png--%>
function mouseOver_products()
{
	document.getElementById('i_products').src =" images/products_mouseover.png";
	//document.getElementById('i_services').src =" images/Services2.png";	
}
//products图片上鼠标失去焦点时图片变为products.png--%>
function mouseOut_products()
{
	document.getElementById('i_products').src =" images/Products.png";
	//document.getElementById('i_services').src =" images/Services.png";
}

function submouseOut_products()
{
	document.getElementById('i_products').src =" images/Products.png";
	//document.getElementById('i_services').src =" images/Services.png";
}
//Partner图片上鼠标获取焦点时图片变为Partner_mouseover.png--%>
function mouseOver_partners()
{
	document.getElementById('i_partners').src =" images/partners_mouseover.png";	
	//document.getElementById('i_products').src =" images/Products2.png";
}
//Partner图片上鼠标失去焦点时图片变为Partner.png--%>
function mouseOut_partners()
{
	document.getElementById('i_partners').src =" images/Partners.png";
	//document.getElementById('i_products').src =" images/Products.png";	
}
function submouseOut_partners()
{
	document.getElementById('i_partners').src =" images/Partners.png";
	//document.getElementById('i_products').src =" images/Products.png";	
}
//support&download图片上鼠标获取焦点时图片变为support-&-download_mouseover.png--%>
function mouseOver_supdown()
{
	document.getElementById('i_sup&down').src =" images/support-&-download_mouseover.png";
	//document.getElementById('i_partners').src =" images/Partners2.png";
}
//support&download图片上鼠标获取焦点时图片变为sup&down.png--%>
function mouseOut_supdown()
{
	document.getElementById('i_sup&down').src =" images/Support-&-download.png";
	//document.getElementById('i_partners').src =" images/Partners.png";
}

function submouseOut_supdown()
{
	document.getElementById('i_sup&down').src =" images/Support-&-download.png";
	//document.getElementById('i_partners').src =" images/Partners.png";
}


//中间菜单的products图片上鼠标获取焦点时图片变为Tab_products_b.png--%>
function mouseOver_p()
{
	document.getElementById('p_1').src ="images/Tab_products1.png"
	document.getElementById('s_1').src ="images/Tab_services1.png"
	document.getElementById('f_1').src ="images/Tab_featured-story1.png"	
	document.getElementById('i_frame').src ="products.jsp"
}
//中间菜单的products图片上鼠标失去焦点时图片变为Tab_products_a.png--%>
function mouseOut_p()
{
	document.getElementById('p_1').src ="images/Tab_products1.png"
	document.getElementById('s_1').src ="images/Tab_services1.png"
	document.getElementById('f_1').src ="images/Tab_featured-story1.png"
}
//中间菜单的service图片上鼠标获取焦点时图片变为Tab_service_b.png--%>
function mouseOver_s()
{
	document.getElementById('p_1').src ="images/Tab_products2.png"
	document.getElementById('s_1').src ="images/Tab_services2.png"
	document.getElementById('f_1').src ="images/Tab_featured-story2.png"	
	document.getElementById('i_frame').src ="services.jsp"		
}
//中间菜单的services图片上鼠标失去焦点时图片变为Tab_services_a.png--%>
function mouseOut_s()
{
	document.getElementById('p_1').src ="images/Tab_products2.png"
	document.getElementById('s_1').src ="images/Tab_services2.png"
	document.getElementById('f_1').src ="images/Tab_featured-story2.png"
}
//中间菜单的Featured-story图片上鼠标获取焦点时图片变为Tab_Featured-story_b.png--%>
function mouseOver_f()
{		
		document.getElementById('p_1').src ="images/Tab_products3.png"
	document.getElementById('s_1').src ="images/Tab_services3.png"
	document.getElementById('f_1').src ="images/Tab_featured-story3.png"		
	document.getElementById('i_frame').src ="featuredstory.jsp"	
}
//中间菜单的Featured-story图片上鼠标失去焦点时图片变为Tab_featured_story_a.png--%>
function mouseOut_f()
{
	document.getElementById('p_1').src ="images/Tab_products3.png"
	document.getElementById('s_1').src ="images/Tab_services3.png"
	document.getElementById('f_1').src ="images/Tab_featured-story3.png"
}
 var i=0; 
function _Init(){
	//document.getElementById('i_homepage').src="images/Homepage_Click.png";
	document.getElementById('i_homepage').src="images/homepage_click.gif";
	var news=document.getElementById('textareanews').value;	
	var   strArray=new   Array();   
    strArray=news.split("<br/>");     	
	shownews.innerHTML=strArray[i];
	i++;
	if(i==strArray.length-1){
		i=0;
	}
	//alert(strArray.length);
	setTimeout("_Init()",3000);
}
