sexta-feira, 9 de setembro de 2011

/* ==========cssreset========== */
html { overflow:-moz-scrollbars-vertical;}
body { font:normal 12px/20px "宋体"; color:#0c260d;  }
*{ padding:0; margin:0; font-style: normal; list-style: none; }
a { text-decoration:none; font-style: normal; color: #0C260D; }
a:hover{ color:#707070; text-decoration:underline; }
a img {border:none;}
.box { width:972px; overflow:hidden; clear:both; margin:0 auto; }
/* ==========cssreset========== */
body {background: #e6f2f9 url(http://n.7k7kimg.cn/uploads/ddt/20110420/bg_3.jpg) no-repeat center top;}
#banner { height:306px;}
.ui-slide{ position:relative; width:525px; height:220px; }
.ui-slide-screen{ position:absolute; width:492px; height:184px; z-index:1;}
.ui-slide-screen a { height:auto; position:absolute; bottom:0; left:0; display:none; z-index:1; text-align:center;}
.ui-slide-screen a.selected{z-index:10;}
.ui-slide-ctrl{ bottom:0px; right:20px;height:60px;margin:auto;position:absolute;text-align:center;width:150px;z-index:9999;}
.ui-slide-ctrl a { width:22px; height:22px; color:#FFF; text-decoration:none; font: bold 14px/22px "Lucida Console", Monaco, monospace; background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/link.png) no-repeat left top; display: inline-block; margin-right: 5px; }
.ui-slide-screen a img { height:184px; width:492px; }
.ui-slide-ctrl a:hover{ text-decoration:none; background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/hover.png) no-repeat left top; color: #000; }
.ui-slide-ctrl .ui-slide-alt{ color:#a77901;}
.ui-slide-alt {  background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/hover.png) no-repeat left top; }
.ui-slide .prev , .ui-slide .next { display:none; }
.n_more{ width:60px; padding-left:15px!important;*padding-left:25px;padding-top:8px; float:right}
#ltBox { width: 231px; float: left; height: 100%; padding-left:5px }
#XLogin { height: 204px; padding-top: 20px; padding-left: 10px; }
#coin {height:450px; margin:0; padding:0}
#mingren {background:url(http://n.7k7kimg.cn/uploads/ddt/20110130/meirenbg.gif) no-repeat ; height:246px; padding-top:70px; padding-left:20px;}
.paihang{width:80px; text-align:center; padding-left:5px; margin-left:5px; margin-bottom:5px; display:inline}
#mytable {width:185px; height:200px; border:1px #999 solid; padding:0; margin:0}
#tr { border-bottom:1px #CCC solid; text-align:center;}
#ntd { width:80px; height:15px; text-align:center; padding:0; margin:0;overflow: hidden;display: block;}
#server { background: url(http://n.7k7kimg.cn/uploads/ddt/20110130/server.gif) no-repeat left top; height: 100px; padding-right: 25px; padding-left: 25px; padding-top: 58px; }
#rtBox { width: 720px; float: right; height: 100%; overflow: hidden; }
#slide { height: 181px; width: 492px; padding: 25px 10px 10px 16px; float: left; overflow: hidden; }
#qLink { float: right; height: 180px; width: 176px; padding:45px 0 0 26px; overflow: hidden; }
#qLink ul li { height: 50px; width: 165px; margin-bottom: 4px; }
#news { background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/news.jpg) no-repeat right top; height: 238px; width: 378px; float: left; margin-top:12px; padding:5px; overflow: hidden; }
#news h3 , #info h3 , #know h3 { height: 40px; line-height: 40px; position: relative; margin-bottom: 10px; }
#news h3 span {float:right;}
#info h3 span { position: absolute; top: 10px; right: 10px; }
#info h3 span , #know h3 span {
position: absolute;
top: 15px;
right: 20px;
height: 14px;
}
#news ul li { line-height: 25px; overflow: hidden; height: 25px; position: relative; border-bottom: 1px dashed #CCC; }
#tx{display: block;width: 75px;height: 31px;padding-left: 15px;padding-top: 5px;}
#news ul li span { position: absolute; top: 0px; right: 0px; }
#news ul li a { width: 267px;height: 25px;overflow: hidden;display: block;}
#intro { background: url(http://n.7k7kimg.cn/uploads/ddt/20110130/intro.gif) no-repeat left top; height: 208px; width: 300px; float: right; overflow: hidden; padding-bottom: 40px; padding-left: 15px; padding-right: 15px; color: #FFF; }
#item { clear: both; background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/item.jpg) no-repeat 2px top; width:702px; height: 197px; overflow: hidden; padding: 9px; }
#itemTitle { overflow:hidden; height: 31px; margin-bottom: 10px; padding-left: 180px; padding-top: 9px; }
.tab li { height: 31px !important;*height:33px; width: 63px; background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/t2.jpg) no-repeat left bottom; float: left; line-height: 31px!important; *line-height: 33px;text-align: center; font-size: 12px; font-weight: bold; margin-right: 5px;padding-top: 3px !important;*padding-top: 4px;}
.sub { clear: both; }


.sub ul li a { height: 80px; width: 110px; display: block; overflow: hidden; float: left; margin-right:10px!important; *margin-right:8px;}
.sub div { clear: both; }
#gallery h5 { font-size:12px; }
#galleryInner , #galleryInner1 { height: 150px; overflow: hidden; }
#gallery ul li a img, #gallery1 ul li a img { background-color:#FFF; height: 100px; width: 100px; border:1px #CCC solid}
#galleryImages ul li , #galleryImages1 ul li { display: inline; height: 160px; float: left; text-align: center; width:110px; margin-left:10px; }
#galleryImages ul li a, #galleryImages1 ul li a {height: 160px; text-align: center; width:160px!important;*width:102px;}
#gallery , #gallery1 { position: relative; padding-right: 30px; padding-left: 30px; overflow:hidden; width:638px; }
#galleryInner , #galleryInner1 { position: relative;}
#galleryImages , #galleryImages1 {position: absolute; top: 0px; left: 0px; width: 2000px;}
.prevA , .prev1  { background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/pre.jpg) no-repeat left top; display: block; height: 31px; width: 18px; position: absolute; top: 40px; left: 10px; cursor:pointer }
.nextA , .next1 { background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/next.jpg) no-repeat left top; display: block; height: 31px; width: 18px; overflow: hidden; position: absolute; top: 40px; right: 10px; cursor:pointer }
#itemTitle .current01 { background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/t1.jpg) no-repeat left bottom; line-height: 24px!inportant; *line-height: 26px;color: #000; font-size: 14px; *margin-bottom: 15px;}
#info { background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/info.jpg) no-repeat 2px top; height: 217px; width: 386px; float: left; }
#info ul li , #know ul li { line-height: 25px; margin-right: 20px; margin-left: 20px; border-bottom: 1px dashed #CCC; overflow: hidden; position: relative; }
#info ul li span , #know ul li span { position: absolute; top: 0px; right: 10px; }
#info ul li a{width: 267px;height: 25px;overflow: hidden;display: block;}
#know { background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/liansai.jpg) no-repeat -1px top; height: 217px; width: 333px; float: left; overflow: hidden; }
#ad { border:0; padding-left:2px}
#gamer { clear: both; background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/gallery.jpg) no-repeat 2px top; width:718px; height: 171px; }
#gamerTitle { position: relative; height: 28px; margin-bottom: 10px; padding-left: 30px; padding-top: 10px; }
#gamerTitle ul li { background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/t4.jpg) no-repeat left top; height: 31px; width: 113px; display: block; float: left; margin-right: 5px; font-size: 14px; line-height: 31px; font-weight: bold; text-align: center; }
#gamerTitle ul li img { vertical-align: middle; }
.sub01 { height: 100px; padding-left: 35px; }
.sub01 div dl { float: left; height: 100px; width: 120px; margin-right: 12px; text-align: center; }
.sub01 dt { height: 80px; width: 120px; border: 1px solid #CCC; overflow: hidden; }

#gamerTitle .current02 { background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/t3.jpg) no-repeat left top; }
.text { width: 120px; padding-top: 2px; height: 14px; }



.loginInfo p { margin-bottom: 1px; }
.loginInfo p label { width: 50px; display: inline-block; }
.newReg { margin-right: 25px; text-align: center; }
#title { background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/tt.gif) no-repeat left top; height: 40px; padding-right: 40px; padding-top: 46px; line-height: 40px; text-align: right; color: #FFF; }
#title a { color: #FFF; }
#content { padding: 20px; background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/c.gif) repeat-y -2px top; min-height:890px; height: auto !important; height: 890px; line-height: 30px; font-size: 14px; }
#bottom { background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/b.gif) no-repeat -2px top; height: 10px; overflow: hidden; }
#footer {background: #e6f2f9 url(http://n.7k7kimg.cn/uploads/ddt/20110420/footer_3.jpg) no-repeat center top;  height: 136px; padding-top:60px; line-height: 30px; color: #333; text-align:center; }
#footer a { color:#666; }
#content h3 { line-height: 36px; background: url(http://youxi.baidu.com/r/wanba/ddt/sources/t5.gif) no-repeat center top; text-align: center; margin-bottom: 40px; font-size: 16px; }
#content ul li { border-bottom: 1px dashed #CCC; line-height: 30px; height: 30px; overflow: hidden; position: relative; }
#content ul li a { font-size: 12px; }
#content ul li a span { position: absolute; top: 0px; right: 10px; }
/*login_later*/
.ddt_login{background:url("http://n.7k7kimg.cn/uploads/ddt/20100831/lglt_bg.jpg") no-repeat scroll 10px 0 transparent;padding: 10px;padding: 19px;width: 190px;height: 189px;margin-left: 5px;}
.dt_li{height: 25px;border-bottom: 1px dotted #707070;width: 183px;}
.dt_st{height: 34px;text-align: center;line-height: 34px;border-bottom: 1px dotted #707070;width:183px;}

.right2{ width:230px; height:167px; background:url(http://n.7k7kimg.cn/uploads/ddt/20100831/loginbg.jpg) no-repeat 10px 0; padding-top:10px!important; *padding-top:3px;padding-left:5px; float:left}


.right23 li { width:200px; display:block; margin-top:10px;}
li.zhushi { display:inline; margin-left:60px; margin-top:5px;font-size:12px; color:#F60; font-weight:normal}
#menu0 { padding-left:10px}
#menu0 li{float:left; cursor:pointer; z-index:5; background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/nosel.jpg) no-repeat 0px 2px; width:85px; height:19px; padding:8px 0 0 15px; font-weight:bold}
#menu0 li:hover {float:left; cursor:pointer; background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/select.jpg) no-repeat; width:87px; height:19px; }
#menu0 .hover{background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/select.jpg) no-repeat}
.input{width:110px; height:20px;}
.submit {background: url(http://n.7k7kimg.cn/uploads/ddt/20100831/button.jpg) no-repeat 20px 5px; border:none; width:146px; height:45px; font-size:14px; font-weight:bold; color:#333; padding:0px 0 0 60px}
.disnone{display:none}
.disblock{display:block}
.disblock li , .disnone li{ padding-left:15px}

// SpryTabbedPanels.js - version 0.6 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2006. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//   * Redistributions of source code must retain the above copyright notice,
//     this list of conditions and the following disclaimer.
//   * Redistributions in binary form must reproduce the above copyright notice,
//     this list of conditions and the following disclaimer in the documentation
//     and/or other materials provided with the distribution.
//   * Neither the name of Adobe Systems Incorporated nor the names of its
//     contributors may be used to endorse or promote products derived from this
//     software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.

var Spry;
if (!Spry) Spry = {};
if (!Spry.Widget) Spry.Widget = {};

Spry.Widget.TabbedPanels = function(element, opts)
{
this.element = this.getElement(element);
this.defaultTab = 0; // Show the first panel by default.
this.tabSelectedClass = "TabbedPanelsTabSelected";
this.tabHoverClass = "TabbedPanelsTabHover";
this.tabFocusedClass = "TabbedPanelsTabFocused";
this.panelVisibleClass = "TabbedPanelsContentVisible";
this.focusElement = null;
this.hasFocus = false;
this.currentTabIndex = 0;
this.enableKeyboardNavigation = true;
this.nextPanelKeyCode = Spry.Widget.TabbedPanels.KEY_RIGHT;
this.previousPanelKeyCode = Spry.Widget.TabbedPanels.KEY_LEFT;

Spry.Widget.TabbedPanels.setOptions(this, opts);

// If the defaultTab is expressed as a number/index, convert
// it to an element.

if (typeof (this.defaultTab) == "number")
{
if (this.defaultTab < 0)
this.defaultTab = 0;
else
{
var count = this.getTabbedPanelCount();
if (this.defaultTab >= count)
this.defaultTab = (count > 1) ? (count - 1) : 0;
}

this.defaultTab = this.getTabs()[this.defaultTab];
}

// The defaultTab property is supposed to be the tab element for the tab content
// to show by default. The caller is allowed to pass in the element itself or the
// element's id, so we need to convert the current value to an element if necessary.

if (this.defaultTab)
this.defaultTab = this.getElement(this.defaultTab);

this.attachBehaviors();
};

Spry.Widget.TabbedPanels.prototype.getElement = function(ele)
{
if (ele && typeof ele == "string")
return document.getElementById(ele);
return ele;
};

Spry.Widget.TabbedPanels.prototype.getElementChildren = function(element)
{
var children = [];
var child = element.firstChild;
while (child)
{
if (child.nodeType == 1 /* Node.ELEMENT_NODE */)
children.push(child);
child = child.nextSibling;
}
return children;
};

Spry.Widget.TabbedPanels.prototype.addClassName = function(ele, className)
{
if (!ele || !className || (ele.className && ele.className.search(new RegExp("\\b" + className + "\\b")) != -1))
return;
ele.className += (ele.className ? " " : "") + className;
};

Spry.Widget.TabbedPanels.prototype.removeClassName = function(ele, className)
{
if (!ele || !className || (ele.className && ele.className.search(new RegExp("\\b" + className + "\\b")) == -1))
return;
ele.className = ele.className.replace(new RegExp("\\s*\\b" + className + "\\b", "g"), "");
};

Spry.Widget.TabbedPanels.setOptions = function(obj, optionsObj, ignoreUndefinedProps)
{
if (!optionsObj)
return;
for (var optionName in optionsObj)
{
if (ignoreUndefinedProps && optionsObj[optionName] == undefined)
continue;
obj[optionName] = optionsObj[optionName];
}
};

Spry.Widget.TabbedPanels.prototype.getTabGroup = function()
{
if (this.element)
{
var children = this.getElementChildren(this.element);
if (children.length)
return children[0];
}
return null;
};

Spry.Widget.TabbedPanels.prototype.getTabs = function()
{
var tabs = [];
var tg = this.getTabGroup();
if (tg)
tabs = this.getElementChildren(tg);
return tabs;
};

Spry.Widget.TabbedPanels.prototype.getContentPanelGroup = function()
{
if (this.element)
{
var children = this.getElementChildren(this.element);
if (children.length > 1)
return children[1];
}
return null;
};

Spry.Widget.TabbedPanels.prototype.getContentPanels = function()
{
var panels = [];
var pg = this.getContentPanelGroup();
if (pg)
panels = this.getElementChildren(pg);
return panels;
};

Spry.Widget.TabbedPanels.prototype.getIndex = function(ele, arr)
{
ele = this.getElement(ele);
if (ele && arr && arr.length)
{
for (var i = 0; i < arr.length; i++)
{
if (ele == arr[i])
return i;
}
}
return -1;
};

Spry.Widget.TabbedPanels.prototype.getTabIndex = function(ele)
{
var i = this.getIndex(ele, this.getTabs());
if (i < 0)
i = this.getIndex(ele, this.getContentPanels());
return i;
};

Spry.Widget.TabbedPanels.prototype.getCurrentTabIndex = function()
{
return this.currentTabIndex;
};

Spry.Widget.TabbedPanels.prototype.getTabbedPanelCount = function(ele)
{
return Math.min(this.getTabs().length, this.getContentPanels().length);
};

Spry.Widget.TabbedPanels.addEventListener = function(element, eventType, handler, capture)
{
try
{
if (element.addEventListener)
element.addEventListener(eventType, handler, capture);
else if (element.attachEvent)
element.attachEvent("on" + eventType, handler);
}
catch (e) {}
};

Spry.Widget.TabbedPanels.prototype.cancelEvent = function(e)
{
if (e.preventDefault) e.preventDefault();
else e.returnValue = false;
if (e.stopPropagation) e.stopPropagation();
else e.cancelBubble = true;

return false;
};

Spry.Widget.TabbedPanels.prototype.onTabClick = function(e, tab)
{
this.showPanel(tab);
return this.cancelEvent(e);
};

Spry.Widget.TabbedPanels.prototype.onTabMouseOver = function(e, tab)
{
this.addClassName(tab, this.tabHoverClass);
return false;
};

Spry.Widget.TabbedPanels.prototype.onTabMouseOut = function(e, tab)
{
this.removeClassName(tab, this.tabHoverClass);
return false;
};

Spry.Widget.TabbedPanels.prototype.onTabFocus = function(e, tab)
{
this.hasFocus = true;
this.addClassName(tab, this.tabFocusedClass);
return false;
};

Spry.Widget.TabbedPanels.prototype.onTabBlur = function(e, tab)
{
this.hasFocus = false;
this.removeClassName(tab, this.tabFocusedClass);
return false;
};

Spry.Widget.TabbedPanels.KEY_UP = 38;
Spry.Widget.TabbedPanels.KEY_DOWN = 40;
Spry.Widget.TabbedPanels.KEY_LEFT = 37;
Spry.Widget.TabbedPanels.KEY_RIGHT = 39;



Spry.Widget.TabbedPanels.prototype.onTabKeyDown = function(e, tab)
{
var key = e.keyCode;
if (!this.hasFocus || (key != this.previousPanelKeyCode && key != this.nextPanelKeyCode))
return true;

var tabs = this.getTabs();
for (var i =0; i < tabs.length; i++)
if (tabs[i] == tab)
{
var el = false;
if (key == this.previousPanelKeyCode && i > 0)
el = tabs[i-1];
else if (key == this.nextPanelKeyCode && i < tabs.length-1)
el = tabs[i+1];

if (el)
{
this.showPanel(el);
el.focus();
break;
}
}

return this.cancelEvent(e);
};

Spry.Widget.TabbedPanels.prototype.preorderTraversal = function(root, func)
{
var stopTraversal = false;
if (root)
{
stopTraversal = func(root);
if (root.hasChildNodes())
{
var child = root.firstChild;
while (!stopTraversal && child)
{
stopTraversal = this.preorderTraversal(child, func);
try { child = child.nextSibling; } catch (e) { child = null; }
}
}
}
return stopTraversal;
};

Spry.Widget.TabbedPanels.prototype.addPanelEventListeners = function(tab, panel)
{
var self = this;
Spry.Widget.TabbedPanels.addEventListener(tab, "click", function(e) { return self.onTabClick(e, tab); }, false);
Spry.Widget.TabbedPanels.addEventListener(tab, "mouseover", function(e) { return self.onTabMouseOver(e, tab); }, false);
Spry.Widget.TabbedPanels.addEventListener(tab, "mouseout", function(e) { return self.onTabMouseOut(e, tab); }, false);

if (this.enableKeyboardNavigation)
{
// XXX: IE doesn't allow the setting of tabindex dynamically. This means we can't
// rely on adding the tabindex attribute if it is missing to enable keyboard navigation
// by default.

// Find the first element within the tab container that has a tabindex or the first
// anchor tag.

var tabIndexEle = null;
var tabAnchorEle = null;

this.preorderTraversal(tab, function(node) {
if (node.nodeType == 1 /* NODE.ELEMENT_NODE */)
{
var tabIndexAttr = tab.attributes.getNamedItem("tabindex");
if (tabIndexAttr)
{
tabIndexEle = node;
return true;
}
if (!tabAnchorEle && node.nodeName.toLowerCase() == "a")
tabAnchorEle = node;
}
return false;
});

if (tabIndexEle)
this.focusElement = tabIndexEle;
else if (tabAnchorEle)
this.focusElement = tabAnchorEle;

if (this.focusElement)
{
Spry.Widget.TabbedPanels.addEventListener(this.focusElement, "focus", function(e) { return self.onTabFocus(e, tab); }, false);
Spry.Widget.TabbedPanels.addEventListener(this.focusElement, "blur", function(e) { return self.onTabBlur(e, tab); }, false);
Spry.Widget.TabbedPanels.addEventListener(this.focusElement, "keydown", function(e) { return self.onTabKeyDown(e, tab); }, false);
}
}
};

Spry.Widget.TabbedPanels.prototype.showPanel = function(elementOrIndex)
{
var tpIndex = -1;

if (typeof elementOrIndex == "number")
tpIndex = elementOrIndex;
else // Must be the element for the tab or content panel.
tpIndex = this.getTabIndex(elementOrIndex);

if (!tpIndex < 0 || tpIndex >= this.getTabbedPanelCount())
return;

var tabs = this.getTabs();
var panels = this.getContentPanels();

var numTabbedPanels = Math.max(tabs.length, panels.length);

for (var i = 0; i < numTabbedPanels; i++)
{
if (i != tpIndex)
{
if (tabs[i])
this.removeClassName(tabs[i], this.tabSelectedClass);
if (panels[i])
{
this.removeClassName(panels[i], this.panelVisibleClass);
panels[i].style.display = "none";
}
}
}

this.addClassName(tabs[tpIndex], this.tabSelectedClass);
this.addClassName(panels[tpIndex], this.panelVisibleClass);
panels[tpIndex].style.display = "block";

this.currentTabIndex = tpIndex;
};

Spry.Widget.TabbedPanels.prototype.attachBehaviors = function(element)
{
var tabs = this.getTabs();
var panels = this.getContentPanels();
var panelCount = this.getTabbedPanelCount();

for (var i = 0; i < panelCount; i++)
this.addPanelEventListeners(tabs[i], panels[i]);

this.showPanel(this.defaultTab);
};