﻿
// -------------------------------------------------------------------
document.writeln("<div id=\"WrapCyAll\"> <object classid = \"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"  codebase = \"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\"  name = \"header_ban\" width = \"905\" height = \"158\" align=\"top\" id = \"header_ban\">");
document.writeln("<param name = \"movie\" value = \"/flash/top.swf\" />");
document.writeln("<param name = \"quality\" value = \"high\" />");
document.writeln("<param name = \"wmode\" value = \"transparent\" />");
document.writeln("<param name = \"BGCOLOR\" value = \"#FFFFFF\" />");
document.writeln("<param name = \"menu\" value = \"false\" />");
document.writeln("<embed src = \"/flash/top.swf\" width = \"905\" height = \"158\" align=\"top\" quality = \"high\" pluginspage = \"http://www.macromedia.com/go/getflashplayer\" type = \"application/x-shockwave-flash\" wmode = \"transparent\" bgcolor = \"#FFFFFF\" name = \"header_ban\" menu = \"false\">");
document.writeln("</embed>");
document.writeln("</object></div>");
document.writeln("<div class=\"WrapCyNBAll\">");
document.writeln("<div class=\"WrapCyN\">");
document.writeln("	<div id=\"TopPAll\"><img src=\"/images/Day.jpg\" id=\"topImg\" width=\"866px\" height=\"119px\" alt=\"\" border=\"\"/></div>");
document.writeln("    <div class=\"TopA\"><img src=\"/images/TopA.gif\" alt=\"\" border=\"\"/></div>");
document.writeln("    <div id=\"TopBg\"></div>");
document.writeln("    <div class=\"TopA\"><img src=\"/images/TopB.gif\" alt=\"\" border=\"\"/></div>");
document.writeln("</div>");
// -------------------------------------------------------------------
var url = window.location.href.toLowerCase();
if(url.indexOf("/html/aboutus/")>0)//关于我们
{
    document.getElementById("topImg").setAttribute("src","/images/Day.jpg");
}
else if(url.indexOf("/html/contactus/")>0)//联系我们
{
    document.getElementById("topImg").setAttribute("src","/images/contact.jpg");
}
else if(url.indexOf("/html/contactus/")>0)//加盟链锁
{
    document.getElementById("topImg").setAttribute("src","/images/Join.jpg");
}
else if(url.indexOf("/html/guestBook/")>0)//留言簿
{
    document.getElementById("topImg").setAttribute("src","/images/guestbookB.jpg");
}
else if(url.indexOf("/html/news/")>0)//新闻中心
{
    document.getElementById("topImg").setAttribute("src","/images/news.jpg");
}
else if(url.indexOf("/html/products/class1/")>0)//舞蹈休闲
{
    document.getElementById("topImg").setAttribute("src","/images/Leisure.jpg");
}
else if(url.indexOf("/html/products/class2/")>0)//舞蹈练功
{
    document.getElementById("topImg").setAttribute("src","/images/Practise.jpg");
}
else if(url.indexOf("/html/products/class3/")>0)//国标系列
{
    document.getElementById("topImg").setAttribute("src","/images/Latin.jpg");
}
else if(url.indexOf("/html/products/class4/")>0)//舞台演出
{
    document.getElementById("topImg").setAttribute("src","/images/Stage.jpg");
}
else if(url.indexOf("/html/products/")>0)//产品展示
{
    document.getElementById("topImg").setAttribute("src","/images/Product.jpg");
}






