User:ShadowTheNightWing/global.js

/* ===================    CSS IMPORTS ===================   These imports must be above everything else in order to work =================== */ /* Background Images */ @media only screen and (min-width: 750px) { /* Larger Screens */ .ChatWindow { /* screen resolution: 1920px 1080px */ background-image: url(http://vignette3.wikia.nocookie.net/wingsoffirefanon/images/3/3b/Shadow-chatbackground.png); background-size: cover;} }

@media only screen and (max-width: 750px) { /* Smaller Screens */ .ChatWindow { /* phone resolution: 750px 1334px*/ background-image: url(http://vignette2.wikia.nocookie.net/wingsoffirefanon/images/b/b5/Shadow-chatbackground-cropped.png); background-size: cover;} }

/* Text Colors */ /* text color */ color: #181c2e;}
 * 1) ChatHeader .private, #pings, #Write textarea, .ChatWindow #WikiaPage {

/* link color */ color: #5a84c7;}
 * 1) ChatHeader .wordmark, #UserStatsMenu .label, .ChatWindow a {

.Chat .inline-alert, .Chat .me-message, .Chat .time, .ChatWindow .away { /* accent text color */ color: #3d5376;}

.Chat .ping { /* ping color */ color: #bf2121;}

/* Border Color */ border-color: #181c2e;}
 * 1) ChatHeader, #ChatHeader .User, #pings, #Rail .private, #Rail .splotch, #UserStatsMenu, #UserStatsMenu img, #UserStatsMenu .separator, #Write img, #Write .message, .Chat, .Chat .avatar, .ChatWindow #WikiaPage, .ChatWindow .User img, .ChatWindow .wikia-button {

/* Background Colors */ .ChatWindow { /* background color */ background-color: #00b6ff;}

/* foreground color */ background: rgba(205,217,222,0.5);}
 * 1) ChatHeader, .ChatWindow #WikiaPage {

/* accent foreground color - green */ background: rgba(155,213,188,0.75);}
 * 1) Rail .selected, #UserStatsMenu .info, #Write .message, .Chat .you {

/* accent foreground color - tan */ background: #dec7c7;}
 * 1) Rail .private, #Rail .splotch, #UserStatsMenu, #pings {

/* hover color */ background: #e0d6ef;}
 * 1) Rail .User:hover, #UserStatsMenu .actions li:hover {

/* Other Properties */ /* center-aligns text */ text-align: center;}
 * 1) Rail .private {

/* removed box-shadow */ box-shadow: none;}
 * 1) Rail .selected {

/* square edges */ border-radius: 0;}
 * 1) ChatHeader, .ChatWindow .wikia-button, .ChatWindow #WikiaPage {

/* notification counter color */ color: initial;}
 * 1) Rail .splotch {

/* narrower userstatsmenu border */ border-width: 2px;} @import url("/load.php?debug=false&&allinone=0&lang=en&mode=articles&articles=MediaWiki:Common.css|MediaWiki:WikiaNav.css|MediaWiki:Mainpage.css|MediaWiki:WallForum.css|MediaWiki:WikiaButtons.css|MediaWiki:Namespace.css|MediaWiki:Transmat.css|MediaWiki:UPM.css|MediaWiki:VisEd.css&only=styles");
 * 1) UserStatsMenu {

@import "http://fonts.googleapis.com/css?family=Anton|Vollkorn|Lato|Quicksand|Josefin+Sans|Oswald|Raleway:100,200,400,700,800,900|Droid+Serif|Droid+Sans|Merriweather:400,400italic,700,700italic,900,300,300italic|Gentium+Basic|Roboto+Slab:400,100,300,700&subset=latin,latin-ext";

/* Background Pattern Deactivated because I like Tundra's pic, but working perfectly.*/

/* body { background: linear-gradient(135deg, rgba(0, 0, 0, 0.25) 68px, #0F0 69px, rgba(0, 0, 0, 0.12) 69px) -50px 0, linear-gradient(135deg, rgba(0, 0, 0, 0.25) 68px, #0F0 69px, rgba(0, 0, 0, 0.5) 69px), linear-gradient(45deg, rgba(0, 0, 0, 0.25) 68px, #0F0 69px, rgba(0, 0, 0, 0.5) 69px) -50px 0, linear-gradient(45deg, rgba(0, 0, 0, 0.25) 68px, #0F0 69px, rgba(0, 0, 0, 0.6) 69px), #4DA828 !important; background-size: 99px 99px !important; }

/* Logo Only good for wordmarks */ .WikiHeader .wordmark > a { color: #26592C; text-shadow: 1px 1px 5px; }

/* "MAGICAL CSS" (TRANSLUCENT EFFECTS, CAN BE USED TO SPRUCE UP PRACTICALLY ANY WIKI) */ /* RIBBON */ .WikiHeader .navbackground { border: 1px solid #000; border: 1px solid rgba(122, 122, 122, 0.43); box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3); } .WikiHeader > nav .marked { box-shadow:inset 0 -15px 30px rgba(0,0,0,0.3); } /* SEARCH BAR/BUTTON */ .WikiaSearch input[type="text"] { border-radius: 1pc; padding: 3px 0 3px 6px; box-shadow:inset 0 5px 10px rgba(0, 0, 0, 0.3); } .WikiaSearch .wikia-button { border: 1px solid #000; border: 1px solid rgba(122, 122, 122, 0.43); box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3); } /* USER TAGS AND PROFILE SHADOW */ .UserProfileMasthead .masthead-info hgroup { box-shadow:inset 0 -15px 30px rgba(0,0,0,0.3); } .UserProfileMasthead .masthead-info .tag { background: #807B47; border-radius: 10px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.56), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3); } /* MAGICAL CSS END */

body{ cursor: url('http://images.wikia.com/wingsoffirefanon/images/0/01/%28mudwing%29.png'), auto; }

a:link{ cursor: url('http://images.wikia.com/wingsoffirefanon/images/c/c0/%28rainwing%29.gif'), pointer; }

-webkit-border-radius:10px; -moz-border-radius:10px; -ms-border-radius:10px; -o-border-radius:10px; border-radius:10px; margin-top: 10px; border: 2px solid #255701; padding: 10px; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; }
 * 1) WallNotifications .subnav.show {

background-image: linear-gradient(to bottom, #79A15A, #2D6107); border-radius: 5px 0 0 5px; width:100%; }
 * 1) WallNotifications .subnav .notifications-wiki-header {

/* ===================    WIKIA NOTIFICATIONS ===================   Notifications are alerts that pop up when you get new messages or when community-corner is changed, or when Wikia sends a global message to all users. */ .WikiaNotifications, right:185px; } .WikiaNotifications li { display:block; } .WikiaNotifications li div { background: #2C5701; background: -moz-linear-gradient(top, #2C5701 0%, #2C5701 35%, #7DAC4F 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2C5701), color-stop(35%,#2C5701), color-stop(100%,#7DAC4F)); background: -webkit-linear-gradient(top, #2C5701 0%,#2C5701 35%,#7DAC4F 100%); background: -o-linear-gradient(top, #2C5701 0%,#2C5701 35%,#7DAC4F 100%); background: -ms-linear-gradient(top, #2C5701 0%,#2C5701 35%,#7DAC4F 100%); background: linear-gradient(top, #2C5701 0%,#2C5701 35%,#7DAC4F 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2C5701', endColorstr='#47DAC4F',GradientType=0 ); overflow: visible; padding: 10px; position: relative; font-family:'Gill Sans', Verdana, sans-serif; text-transform:uppercase; letter-spacing:1.5px; border:2px #fff solid; line-height:110%; max-width:300px; min-width:300px; -moz-border-radius:50%/10%; -webkit-border-radius:50%/10%; -ms-border-radius:50%/10%; -o-border-radius:50%/10%; border-radius:50%/10%; -moz-box-shadow:0 0 20px #2C5701; -o-box-shadow:0 0 20px #2C5701; -ms-box-shadow:0 0 20px #2C5701; -webkit-box-shadow:0 0 20px #2C5701; box-shadow:0 0 20px #2C5701; } .WikiaNotifications li div a { color: #EAFFD4; text-decoration:none; letter-spacing:0; text-transform:none; font-style:italic; font-weight:bold; width:auto; line-height:110%; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; display:inline-block; } .WikiaNotifications li div a:hover { color:#EAFFD4; background:none; } .WikiaNotifications li div a:link.external { color: #EAFFD4; } .WikiaNotification li div p { color:#fff } .WikiaNotifications li div a, .WikiaNotifications li div a:link { color:#EAFFD4; font-weight:bold; text-transform:none; letter-spacing:none; } .WikiaNotifications li div p { color:#fff } .WikiaBadgeNotification { color:white; text-transform:none; letter-spacing:0 } .WikiaBadgeNotification p { letter-spacing:1px; font-size:110% }  .WikiaBadgeNotification p big { text-transform:uppercase; } /* Not quite sure which of these is right, but it doesn't seem to be the WBN.n-d a, a:hover. Can't really test this too much cause I need the notification to appear to verify changes. This does at least change the color of the text, though. */ .WikiaNotifications .WikiaBadgeNotification .notification-details, .WikiaBadgeNotification .notification-details, .WikiaBadgeNotification .nofication-details:hover, .WikiaBadgeNotification .notification-details a, .WikiaBadgeNotification .notification-details a:hover { color:gold; }
 * 1) WikiaNotifications {

/* ================    GLOBAL AND ACCOUNT NAVIGATION ================   'Global' is links to other wikia wikis; 'Account' is log in/out and user account nav ================   This is the very top strip on every page, from the wikia logo to "log in/out" ================ */

.AccountNavigation a:hover, .GlobalNavigation a:hover { background:none }

/* ++++++++++++++++    Makes a user's name to be white in the header ++++++++++++++++ */

.AccountNavigation > li > a { color:white; }

.GlobalNavigation > li > a { font-size:11px; }

/* ++++++++++++++++    Broader coding for the account/global navigation ++++++++++++++++ */

.GlobalNavigation li, .AccountNavigation li { font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; text-transform:uppercase; letter-spacing:1.5px; color:#2C5701 }

.GlobalNavigation li:hover, .AccountNavigation li:hover { background:none; font-weight:normal; }

.AccountNavigation .subnav { text-transform:lowercase; font-style:italic; background-color:#E7F4D2; -moz-border-radius:10px; -webkit-border-radius:10px; -o-border-radius:10px; -ms-border-radius:10px; border-radius:10px; border:1px solid #2C5701; -moz-box-shadow:0 0 40px #2C5701; -webkit-box-shadow:0 0 40px #2C5701; -o-box-shadow:0 0 40px #2C5701; -ms-box-shadow:0 0 40px #2C5701; box-shadow:0 0 40px #2C5701; color:#2C5701; font-family: Adelle, 'Cambria', 'Book Antiqua','Calisto MT','Lucida Bright',Georgia,'DejaVu Serif',serif; padding:3px; font-weight:bold; letter-spacing:0; margin-top:10px; } .GlobalNavigation .subnav { text-transform:uppercase; font-size:80%; background-color:#E7F4D2; -moz-border-radius:10px; -webkit-border-radius:10px; -ms-border-radius:10px; -o-border-radius:10px; border-radius:10px; border:1px solid #2C5701; -moz-box-shadow:0 0 40px #2C5701; -webkit-box-shadow:0 0 40px #2C5701; -ms-box-shadow:0 0 40px #2C5701; -o-box-shadow:0 0 40px #2C5701; box-shadow:0 0 40px #2C5701; color:#2C5701; font-family: Adelle, 'Cambria', 'Book Antiqua','Calisto MT','Lucida Bright',Georgia,'DejaVu Serif',serif; padding:3px; font-weight:bold; line-height:1.2; letter-spacing:0; margin-top:10px; }

/* This actually controls the text of the un-hovered lists */

.GlobalNavigation .subnav li > a { letter-spacing:0; text-transform:lowercase; color:#2C5701; font-weight:bold; font-style:italic; font-family: Adelle, 'Cambria', 'Book Antiqua','Calisto MT','Lucida Bright',Georgia,'DejaVu Serif',serif; }

.AccountNavigation .subnav li > a { text-transform:lowercase; color:#2C5701; font-weight:bold; font-style:italic; font-family: Adelle, 'Cambria', 'Book Antiqua','Calisto MT','Lucida Bright',Georgia,'DejaVu Serif',serif; }

.GlobalNavigation .subnav li li a:hover { font-weight:bold; text-transform:lowercase; font-style:italic; border:none; background:none repeat scroll 0 0 #DFE6D9; font-family: Adelle, 'Cambria', 'Book Antiqua','Calisto MT','Lucida Bright',Georgia,'DejaVu Serif',serif; }

.AccountNavigation .subnav a:hover { font-weight:bold; border:none; background:none repeat scroll 0 0 #DFE6D9; font-family: Adelle, 'Cambria', 'Book Antiqua','Calisto MT','Lucida Bright',Georgia,'DejaVu Serif',serif; text-transform:lowercase; font-style:italic; }

/* ================    FOOTER ================ */

/* This footer is the one at bottom of articles */ .WikiaArticleFooter { padding:0; }

/* Footer in general */ /* This controls the whole horizontal strip that's found on the bottom of most pages. At a minimum, it includes the MyTools and Configuration sub menus, but many users will also have shortcuts to their favorite tools, like History and File Upload, in this area. */

.WikiaBarWrapper .toolbar, .WikiaFooter .toolbar { font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; text-transform:uppercase; letter-spacing:1.5px; z-index:1 }

.WikiaBarWrapper .toolbar a:hover, .WikiaFooter .toolbar a:hover { font-weight:normal; background:none repeat scroll 0 0 transparent; border:none; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; text-transform:uppercase; letter-spacing:1.5px; }

/* ==============    MYTOOLS MENU ==============

Those elements not specified in the .WikiaFooter .tools-menu range are inherited from .Wikifooter .toolbar range. Thus the font for the MyTools menu is currently specified above. It wouldn't have to be; if one wanted to make the font in MyTools menu different from that of the rest of the (horizontal) footer tools menu, one would merely define it in the group below. */

.WikiaBarWrapper .tools-menu, .WikiaFooter .tools-menu { background-color:#E7F4D2; -moz-border-radius:10px; -webkit-border-radius:10px; -ms-border-radius:10px; -o-border-radius:10px; border-radius:10px; border:1px solid #2C5701; -moz-box-shadow:0 0 40px #2C5701; -webkit-box-shadow:0 0 40px #2C5701; -ms-box-shadow:0 0 40px #2C5701; -o-box-shadow:0 0 40px #2C5701; box-shadow:0 0 40px #2C5701; color:#2C5701; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; text-transform:uppercase; padding:3px; letter-spacing:1.5px; }

.WikiaBarWrapper .tools-menu a,                                               .WikiaFooter .tools-menu a { color: #2C5701; font-weight:normal; }

.WikiaBarWrapper .tools-menu a:hover, .WikiaFooter .tools-menu a:hover { background-color:#D8DFE5 ; font-weight:normal }

/* ===============    MYTOOLS CONFIGURATION ===============   That is, the thing that pops up     when you hit "configuration" on the footer tool bar. */

.MyToolsConfiguration .options-list, .MyToolsConfiguration .search-box { background-color: #E7F4D2; color:#2C5701; }

.MyToolsConfiguration li:hover, .MytoolsConfiguration li .selected { font-weight:bold; background-color:#D8DFE5; color:#2C5701; }

.MyToolsConfiguration .popular-tools-group { background-image:none; color:#2C5701; background-color:#E7F4D2; }

.MyToolsConfiguration .popular-tools-group .selected { background-image:none; background-color: #D8DFE5; color:#2C5701; font-weight:normal; }

/* This is the headline for all things in a modal wrapper — mainly the Customize and picture boxes. Another way of defining the headlines of the modal wrappers, is to be specific, as in   .MyToolsConfiguration h1 */

.modalWrapper > h1 { font-style:normal; font-size: 20px; line-height: 110%; text-align:left; margin-bottom:10px; padding-bottom:10px; margin-left:15px; font-family:Monaco,"Andale Mono","Lucida Sans Typewriter", "Lucida Console", "Nimbus Mono L", "Courier New", monospace; /*font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif;*/ text-transform:none; font-weight:normal; letter-spacing:0; }

/* The "modal wrapper" is the whole of the customization "box" */

.modalWrapper { /*background:transparent url(http://images.wikia.com/tardistest/images/6/6e/75opacitygrey.png); */ background:transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAALHRFWHRDcmVhdGlvbiBUaW1lAFRodSAyMSBNYXIgMjAxMyAwMzozNzoxOCAtMDYwMDD7FegAAAAHdElNRQfdAxUIJgiBBSKCAAAACXBIWXMAAAsSAAALEgHS3X78AAAABGdBTUEAALGPC/xhBQAAAAtJREFUeNpj+H8GAALNAcxdVRF3AAAAAElFTkSuQmCC'); -moz-border-radius:10px; -webkit-border-radius:10px; -ms-border-radius:10px; -o-border-radius:10px; border-radius:10px; border:1px solid #2C5701; -moz-box-shadow:0 0 40px #2C5701; -webkit-box-shadow:0 0 40px #2C5701; -ms-box-shadow:0 0 40px #2C5701; -o-box-shadow:0 0 40px #2C5701; box-shadow:0 0 40px #2C5701; color:#2C5701; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; text-transform:none; font-size:11pt; padding:3px; font-weight:normal; } /* This is the bulk of the area INSIDE the configuration box, including everything but a small border, and the words "customize toolbox"

This is currently turned off, but I leave it behind just in case it   might prove useful in future

.MyToolsConfiguration form { }



.MyToolsConfiguration ul { border:1px solid #AAA; }

/* The following two lines referencing input was an attempt to change the input box in the configuration box. It doesn't appear to have worked, but it's not that crucial that I get it working. I'm leaving this as unsolved as of 13 Mar 11. */

.MyToolsConfiguration input[type="text"] { background-color: #E7F4D2; color:#2C5701; }

.MyToolsConfiguration input.placeholder[type="text"] { color:#2C5701; font-family: Adelle, 'Cambria', 'Book Antiqua','Calisto MT','Lucida Bright',Georgia,'DejaVu Serif',serif; }

/* The following creates a dropdown when text is entered in the search area. Matches other similar dropdowns on the wiki. */

.MyToolsConfiguration .autocomplete { background-color:#E7F4D2; -moz-border-radius:10px; -ms-border-radius:10px; -o-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; border:1px solid #2C5701; -moz-box-shadow:0 0 40px #2C5701; -webkit-box-shadow:0 0 40px #2C5701; -ms-box-shadow:0 0 40px #2C5701; -o-box-shadow:0 0 40px #2C5701; box-shadow:0 0 40px #2C5701; color:#2C5701; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; text-transform:uppercase; font-size:11pt; padding:3px; font-weight:bold; }

.MyToolsConfiguration .autocomplete .selected { background:none repeat scroll 0 0 #D8DFE5 ; color:#2C5701; font-weight:bold; }

.MyToolsConfiguration li:hover { background:none repeat scroll 0 0 #D8DFE5 ; color:#2C5701; font-weight:bold; }

/* Changing where the "edit section" button goes and what it looks like */

.editsection a { text-transform:lowercase; letter-spacing:1px; font-family: Adelle, 'Cambria', 'Book Antiqua','Calisto MT','Lucida Bright',Georgia,'DejaVu Serif',serif; /*font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; */ font-size:70%; font-style:italic; font-weight:bold; color:#2B381E; text-align: left; margin-left:-10px; }

/* ++++++++++++++++++    TALLY STYLING IN    THE RAIL ++++++++++++++++++   This styles the actual number in number of pages on wiki +++++++++++++++++++ */

.LatestPhotosModule .tally em, .WikiaPagesOnWikiModule .tally em { text-transform:uppercase; letter-spacing:0; font-weight:normal; line-height:1; font-family: 'Futura', 'Gill Sans', 'Helvetica Neue', 'Trebuchet MS', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; color: #2C5701; }

a.tag { color: inherit; } .tag.usergroup-sysop { color: white !important; border-radius: 2pc !important; background: linear-gradient(45deg, #CADB6D, #CAA726, #6C5A04) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3) !important; text-shadow: 1px 1px 1px #666 !important; }

.tag.usergroup-bureaucrat { color: white !important; border-radius: 2pc !important; background: linear-gradient(45deg, #6EB4DC, #264FCA, #0B046B) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3) !important; text-shadow: 1px 1px 1px #666 !important; }

.tag.usergroup-rollback { color: white !important; border-radius: 2pc !important; background: linear-gradient(45deg, #72DC6E, #26CA44, #046B23) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3) !important; text-shadow: 1px 1px 1px #666 !important; }

.tag.usergroup-founder { color: white !important; border-radius: 2pc !important; background: linear-gradient(45deg, #D76EDC, #C226CA, #66046C) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3) !important; text-shadow: 1px 1px 1px #666 !important; }

.tag.usergroup-autoconfirmed { color: white !important; border-radius: 2pc !important; background: linear-gradient(45deg, #DC6E6E, #CA2626, #6B0404) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3) !important; text-shadow: 1px 1px 1px #666 !important; }

.tag.usergroup-inactive { color: white !important; border-radius: 2pc !important; background: linear-gradient(45deg, #DCA56E, #CA7826, #6C3804) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3) !important; text-shadow: 1px 1px 1px #666 !important; }

.tag.usergroup-newuser { color: white !important; border-radius: 2pc !important; background: linear-gradient(45deg, #6C0048, #CA2694, #6C0449) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3) !important; text-shadow: 1px 1px 1px #666 !important; } .tag.usergroup-chatmoderator { color: white !important; border-radius: 2pc !important; background: linear-gradient(45deg, #006C52, #26CAA4, #046C53) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3) !important; text-shadow: 1px 1px 1px #666 !important; } /* * ChatHacks.js, by Monchoman45. * Version 7.0 * * Features: *  Ability to clear your chat window *  A host of slash commands *  Ability to create multi user private chats *  Inline alerts every time your away status changes *  Icons next to messages by staff and chat mods in the room *  Pings when someone mentions your name or any other specified phrases */ if(wgCanonicalSpecialPageName == 'Chat') { window.hasFocus = true; window.dinged = false; window.ding = 0; window.titleorig = document.title; function Unding { //for fixing the title after you've been dinged document.getElementsByTagName('title')[0].innerHTML = window.titleorig; clearInterval(window.ding); window.dinged = false; }	$(window).bind('focus', Unding); $(window).bind('focus', function {window.hasFocus = true;}); $(window).bind('blur', function {window.hasFocus = false;}); //Function for adding messages to the window NodeChatDiscussion.prototype.iconPing = function (chat) { var icon = ''; for(var i in this.model.users.models) { if(this.model.users.models[i].attributes.name == chat.attributes.name) { if(this.model.users.models[i].attributes.isStaff) { icon = ' '; }				else if(this.model.users.models[i].attributes.isModerator) { icon = ' '; }				break; }		}		if(icon) {this.chatUL.children.last.children('.username').html(this.chatUL.children.last.children('.username').html + icon);} if(mainRoom.isInitialized && chat.attributes.name != wgUserName && !chat.attributes.isInlineAlert) { window.dinged = true; //resolve HTML var text = chat.attributes.text; var pings = document.getElementById('pings').value.removeTrailing('\n').split('\n'); for(var i = 0; i < pings.length; i++) { if(text.toLowerCase.indexOf(pings[i].toLowerCase) != -1 || this != mainRoom.viewDiscussion) { if(!window.hasFocus) { //Only annoy people if the window isn't focused document.getElementById('sound').innerHTML = ' '; if(!window.dinged) {window.ding = setInterval('FlashTitle', 500);} }					this.scrollToBottom; if(this == mainRoom.viewDiscussion) { var ref = text.toLowerCase.indexOf(pings[i].toLowerCase); var phrase = text.slice(ref, ref + pings[i].length); this.chatUL.children.last.children('.message').addClass('ping'); }					break; }			}		}		//Kill emoticons this.chatUL.children.last.children('.message img').each(function {this.outerHTML = '' + this.title + ' ';}); }	mainRoom.model.chats.bind('afteradd', $.proxy(mainRoom.viewDiscussion.iconPing, mainRoom.viewDiscussion)); //Away status functions NodeChatController.prototype.setAway = function (msg){ if(!msg) {var msg = '';} $.log("Attempting to go away with message: " + msg); var setStatusCommand = new models.SetStatusCommand({			statusState: STATUS_STATE_AWAY,			statusMessage: msg		}); this.inlineAlert(i18n['away']); this.socket.send(setStatusCommand.xport); }	NodeChatController.prototype.setBack = function { if( !this.comingBackFromAway ) { // if we have sent this command (but just haven't finished coming back yet), don't keep spamming the server w/this command $.log("Telling the server that I'm back."); this.comingBackFromAway = true; var setStatusCommand = new models.SetStatusCommand({				statusState: STATUS_STATE_PRESENT,				statusMessage: ''			}); this.inlineAlert(i18n['back']); this.socket.send(setStatusCommand.xport); }	}	//Send message function NodeChatController.prototype.sendMessage = function (event) { if(!this.active) { return true; }		if (event.which == 13 && !event.shiftKey) { event.preventDefault; mainRoom.resetActivityTimer; var inputField = this.viewDiscussion.getTextInput; var send = Preparse.call(this, inputField.val); if (inputField.val && send) { var chatEntry = new models.ChatEntry({roomId: this.roomId, name: wgUserName, text: inputField.val}); if( this.isPrivate == true ) { //is prive if( this.afterInitQueue.length < 1 || this.model.users.length < 2 ){ this.mainController.socket.send( this.model.privateRoom.xport ); }					if( !this.isInitialized ) { this.afterInitQueue.push(chatEntry.xport); //temp chat entry in case of slow connection time chatEntry.set({temp : true, avatarSrc: wgAvatarUrl }); this.model.chats.add(chatEntry); } else { this.socket.send(chatEntry.xport); }				} else { this.socket.send(chatEntry.xport); }				event.preventDefault; }			inputField.val(''); $.log('submitting form'); inputField.focus; }	}	mainRoom.viewDiscussion.unbind('sendMessage'); mainRoom.viewDiscussion.bind('sendMessage', $.proxy(mainRoom.sendMessage, mainRoom)); //Functions that have to be changed for interwiki chat NodeChatController.prototype.openPrivateRoom = function(users) { users.push( wgUserName ); $.ajax({			type: 'POST',			url: wgScript + '?action=ajax&rs=ChatAjax&method=getPrivateRoomID',			data: {				users : users.join(',')			},			success: $.proxy(function(data) { $.log("Attempting create private room with users " + users.join(',')); var data = new models.OpenPrivateRoom({roomId: data.id, users: users}); this.baseOpenPrivateRoom(data, true); this.showRoom(data.get('roomId') ); this.chats.privates[ data.get('roomId') ].isPrivate = true; this.chats.privates[ data.get('roomId') ].init; //this.socket.send(data.xport); }, this)		}); this.viewUsers.hideMenu; }	NodeRoomController.prototype.onJoin = function(message) { var joinedUser = new models.User; joinedUser.mport(message.joinData); var connectedUser = this.model.users.findByName(joinedUser.get('name')); if(typeof connectedUser == "undefined"){ this.model.users.add(joinedUser); this.fire('afterJoin', joinedUser); //TODO: move it to other class if( !this.isPrivate ) { // Create the inline-alert (on client side so that we only display it if the user actually IS new to the room and not just disconnecting/reconnecting). var newChatEntry = new models.InlineAlert({text: $.msg('chat-user-joined', [joinedUser.get('name')] ) }); this.model.chats.add(newChatEntry); }			this.disableRoom(joinedUser, false); } else { // The user is already in the room... just update them (in case they have changed). this.model.users.remove(connectedUser); this.model.users.add(joinedUser); }			}	NodeRoomController.prototype.onPart = function(message) { var partedUser = new models.User; partedUser.mport(message.data); var connectedUser = this.model.users.findByName(partedUser.get('name')); if(typeof connectedUser != "undefined"){ //TODO: move it to other class if( !this.isPrivate ) { var newChatEntry = new models.InlineAlert({text: $.msg('chat-user-parted', [connectedUser.get('name')] ) }); this.model.chats.add(newChatEntry); }			this.model.users.remove(connectedUser); this.disableRoom(connectedUser, true); }			}	NodeRoomController.prototype.disableRoom = function(user, flag) { if( this.isPrivate == false ) { //TODO: fix it for multiuser priv chat var privateUser = this.model.privateUsers.findByName(user.get('name')); if(typeof privateUser != "undefined"){ var roomId = privateUser.get('roomId'); if( typeof( this.chats.privates[roomId] ) != "undefined" ){ this.chats.privates[roomId].model.room.set({ 						'blockedMessageInput': flag					}); }				//try to reconnect if(flag === false && this.chats.privates[roomId].model.chats.length > 0) { this.socket.send( this.chats.privates[roomId].model.privateRoom.xport ); }			}		}	}	NodeChatController.prototype.showRoom = function(roomId) { $.log(roomId); if( this.activeRoom == roomId ) { return false; }		this.activeRoom = roomId; if(roomId == 'main') { this.chats.main.setActive(true); } else { this.chats.main.setActive(false); }		for(var i in this.chats.privates) { if(i == roomId) { this.chats.privates[i].setActive(true); } else { this.chats.privates[i].setActive(false); }		}		for(var i in this.chats.opens) { if(i == roomId) { this.chats.opens[i].setActive(true); } else { this.chats.opens[i].setActive(false); }		}		return true; }	NodeChatController.prototype.openPublicRoom = function(roomId) { this.chats.opens[roomId] = new NodeRoomController(roomId); this.chats.opens[roomId].mainController = this; //set main controller for this chat room this.showRoom(roomId); this.chats.opens[roomId].init; }	/*//For interwiki chatting, a merger of NodeRoomController's private management functions, and NodeChatController's public management functions. NodeInterwikiController = $.createClass(NodeRoomController, {		constructor: function (roomId) {			NodeInterwikiController.superclass.constructor.apply(this,arguments);			this.socket.bind('updateUser', $.proxy(this.onUpdateUser, this)); //Check			this.bind('afterJoin', $.proxy(this.afterJoin, this));			this.viewUsers = new NodeChatUsers({model: this.model, el: $('body')});			this.viewUsers.bind('showPrivateMessage', $.proxy(this.privateMessage, this) );			this.viewUsers.bind('kickBan', $.proxy(this.kickBan, this) );			this.viewUsers.bind('giveChatMod', $.proxy(this.giveChatMod, this) );			this.viewUsers.bind('blockPrivateMessage', $.proxy(this.blockPrivate, this) ); //Check			this.viewUsers.bind('allowPrivateMessage', $.proxy(this.allowPrivate, this) ); //Check			this.viewUsers.bind('mainListClick', $.proxy(this.mainListClick, this) ); //Check			this.viewUsers.bind('privateListClick', $.proxy(this.privateListClick, this) ); //Check this.viewUsers.bind('clickAnchor', $.proxy(this.clickAnchor, this) ); //Check this.viewUsers.render; this.viewDiscussion.show; return this; }	});*/	NodeChatController.prototype.inlineAlert = function(text) {		for(var i in text.split('\n')) {			this.viewDiscussion.chatUL.append('' + text.split('\n')[i] + '');		}		this.viewDiscussion.scrollToBottom;	}	function FlashTitle {		if(document.getElementsByTagName('title')[0].innerHTML == window.titleorig) {			document.getElementsByTagName('title')[0].innerHTML = i18n['activity'].replace(/\$1/g, wgSiteName);		}		else {			document.getElementsByTagName('title')[0].innerHTML = window.titleorig;		}	}	function Preparse(input) { //Parse slash commands.		if(input.charAt(0) == '/') {			var com = input.split(' ');			com[0] = com[0].substring(1, com[0].length);			var ref = '.' + com[0].toLowerCase;			if(window.commands[com[0].toLowerCase] == undefined) {return true;}			while(typeof eval('window.commands' + ref) != 'function') {				if(typeof eval('window.commands' + ref) == 'string') { ref = ref.substring(0, ref.lastIndexOf('.')) + '.' + eval('window.commands' + ref).toLowerCase; continue; }				if(typeof eval('window.commands' + ref) == 'object') { if(!com[1]) { if(typeof eval('window.commands' + ref).default == 'function') {eval('window.commands' + ref).default.call(this, '', chat);} return true; }					if(eval('window.commands' + ref)[com[1].toLowerCase]) {ref += '.' + com[1].toLowerCase;} else if(eval('window.commands' + ref).default) { ref += '.default'; if(typeof eval('window.commands' + ref) == 'function') {break;} }					else {return true;} com = com.slice(1, com.length); continue; }				if(typeof eval('window.commands' + ref) == 'undefined') {return true;} }			com = com.slice(1, com.length); return eval('window.commands' + ref).call(this, com.join(' '), input); }		else {return true;} }	window.commands = { 'away': 'afk', 'afk': function(com, text) { if($('#ChatHeader .User').hasClass('away') == false) {toggleAway;} //if you're away, hitting enter has already sent you back },		'clear': function(com, text) { //Clear the active chat window this.clearWindow; },		'nc': function(com, text) { //Nobody cares $('#Write [name="message"]').val( + (com ? com : i18n['nobodycares']) + ); return true; },		'devoice': function(com, text) { //IRCpwnt $('#Write [name="message"]').val('* ChanServ set channel mode -v ' + (com ? com : wgUserName)); return true; },		'coppa': function(com, text) { //Too young if(com) {$('#Write [name="message"]').val('http://coppa.org ' + com);} else {$('#Write [name="message"]').val('http://coppa.org ' + i18n['coppa']);} return true; },		'silence': function(com, text) { //Idle $('#Write [name="message"]').val('People idle, enjoy the silence. http://www.youtube.com/watch?v=diT3FvDHMyo'); return true; },		'kick': 'kickban', 'ban': 'kickban', 'kb': 'kickban', 'kickban': function(com, text) { //Kickban a user if(com) { var mod = new models.KickBanCommand({userToBan: com}); this.socket.send(mod.xport); }			else {this.inlineAlert(i18n['erruser'].replace(/\$1/g, text.split(' ')[0]));} },		'unban': function(com, text) { //Unban a user if(com) { api.newQuery(POST, 'action=userrights&user=' + com + '&remove=bannedfromchat', function(result) {					if(result.userrights.removed[0] == 'bannedfromchat') {						this.inlineAlert(i18n['unbanned'].replace(/\$1/g, com));					}					else {						this.inlineAlert(i18n['notbanned'].replace(/\$1/g, com));					}				}); api.send(0, true); }			else {this.inlineAlert(i18n['erruser'].replace(/\$1/g, text.split(' ')[0]));} },		'mod': function(com, text) { //Make a user a mod if(com) { var giveChatModCommand = new models.GiveChatModCommand({userToPromote: com}); this.socket.send(giveChatModCommand.xport); }			else {this.inlineAlert(i18n['erruser'].replace(/\$1/g, text.split(' ')[0]));} },		'demod': function(com, text) { //Remove a user's mod right if(com) { api.newQuery(POST, 'action=userrights&user=' + com + '&remove=chatmoderator', function(result) {					if(result.userrights.removed[0] == 'chatmoderator') {						this.inlineAlert(i18n['demodded'].replace(/\$1/g, com));					}					else {						this.inlineAlert(i18n['notmod'].replace(/\$1/g, com));					}				}); api.send(0, true); }			else {this.inlineAlert(i18n['erruser'].replace(/\$1/g, text.split(' ')[0]));} },		'block': function(com, text) { //Block a user from private chatting you if(com) {this.blockPrivate({name: com});} else {this.inlineAlert(i18n['erruser'].replace(/\$1/g, text.split(' ')[0]));} },		'unblock': function(com, text) { //Unblock a user from private chatting you - should merge this into a toggle if(com) {this.allowPrivate({name: com});} else {this.inlineAlert(i18n['erruser'].replace(/\$1/g, text.split(' ')[0]));} },		'chat': 'private', 'room': 'private', 'private': function(com, text) { //Invoke a private room if(com) { var arr = com.split('#'); for(var i in arr) {array[i] = arr[i].removeTrailing(' ');} mainRoom.openPrivateChat(arr); }			else {this.inlineAlert(i18n['erruser'].replace(/\$1/g, text.split(' ')[0]));} },		/*'enter': 'join', 'join': function(com, text) { //Now for a command with chutzpah - join any chat on Wikia //Need to fix this so that joined rooms can be selected if(com) { var data = new models.OpenPrivateRoom({roomId: com}); mainRoom.baseOpenPrivateRoom(data, true); $('.private').before(' ' + com + ' 0 '); mainRoom.showRoom(com); mainRoom.chats.privates[com].init; }			else {this.inlineAlert(i18n['errroom'].replace(/\$1/g, text.split(' ')[0]));} },		'leave': 'part', 'part': function(com, text) { //Leave the room you're looking at, or the room you specify if(!com) {var id = this.roomId; var chat = this;} else {var id = com; var chat = mainRoom.chats.privates[com];} $('#Room_' + id).remove; chat.socket.autoReconnect = false; chat.socket.socket.disconnect; if(!com) {mainRoom.show('main');} },*/		'roomid': 'id', 'id': function(com, text) { this.inlineAlert(i18n['id'] + ': ' + this.roomId); },		'self': function(com, text) { //Send a message to yourself if(com) { newstr = ''; for(var i = 0; i < com.length; i++) { switch(com.charAt(i)) { case '[': if(com.charAt(i + 1) == '[') { var k = com.indexOf(']', i); if(com.charAt(k + 1) == ']') { var substr = com.substring(i + 2, k); if(substr.indexOf('|') != -1) { var link = substr.substring(0, substr.indexOf('|')); var linktext = substr.substring(substr.indexOf('|') + 1, substr.length); }									else { var link = substr; var linktext = link; }									var linkspl = link.split(' '); link = ''; for(var j in linkspl) {link += linkspl[j] + '_';} link = link.substring(0, link.length - 1); newstr += '' + linktext + ''; i = k + 1; }							}							else if(com.substring(i + 1, i + 8) == 'http://') { var k = com.indexOf(']', i); var splstr = com.substring(i + 1, k).split(' '); if(splstr == com.substring(i + 1, k)) { var linktext = '[1]'; }								else { var linktext = build(splstr, 1); }								newstr += '' + linktext + ''; i = k;							} break; default: newstr += com.charAt(i); break; }				}				this.viewDiscussion.chatUL.append(' ' + wgUserName + ' (' + i18n['self'] + ') ' + newstr + ' '); }			else { this.viewDiscussion.chatUL.append('<img class="avatar" src="' + $('#ChatHeader .User img').attr('src') + '"> ' + wgUserName + ' (' + i18n['self'] + ') </li>'); }			this.viewDiscussion.scrollToBottom; },		'help': function(com, text) { if(com) { var ref = com.replace(/ /g, '.'); var str = ''; var subcoms = []; var subdirs = []; while(typeof eval('window.commands.' + ref) == 'string') {ref.substring(0, ref.lastIndexOf('.')) + '.' + eval('window.commands' + ref).toLowerCase;} var command = eval('window.commands.' + ref); if(i18n['help-' + ref]) {str += i18n['help'].replace(/\$1/g, ref.replace(/\./g, ' ')).replace(/\$2/g, i18n['help-' + ref].replace(/\$1/g, i18n['example']).replace(/\$1/g, i18n['exampleuser']));} if(typeof command == 'object') { for(var i in command) { if(typeof command[i] == 'function') {subcoms.push(i);} if(typeof command[i] == 'object') {subdirs.push(i);} }				}				if(subcoms.length > 0) {str += '\n' + i18n['subcoms'] + ': ' + subcoms.join(', ');} if(subdirs.length > 0) {str += '\n' + i18n['subdirs'] + ': ' + subdirs.join(', ');} str = str.removeTrailing('\n'); if(str != '') {this.inlineAlert(str);} else {this.inlineAlert(i18n['nohelp'].replace(/\$1/g, command));} }			else { var str = []; for(var i in window.commands) { if(typeof window.commands[i] == 'function' || typeof window.commands[i] == 'object') {str.push(i);} }				this.inlineAlert(i18n['commands'].replace(/\$1/g, str.join(', '))); }		}	};	//Parser helping function - takes an array of text created with .split(' '), //and an index number for where to start, then rebuilds the string. //Can also accept an index value for where to stop. function build(text, index, stop) { var newtext = ''; if(stop == undefined || stop == 0) {stop = text.length} else if(stop < 0) {stop += text.length} if(index == stop || index == text.length - 1) {return text[index];} for(var i = index; i < stop; i++) { newtext += text[i] + ' '; }		return newtext; }	function toggleAway(msg) { if(!msg) {var msg = '';} if($('#ChatHeader .User').hasClass('away') == true) { mainRoom.setBack; }		else { mainRoom.setAway(msg); }	}	toggleAway.back = function { //Force back status if($('#ChatHeader .User').hasClass('away') == true) {mainRoom.setBack;} }	toggleAway.away = function(msg) { //Force away status if(!msg) {var msg = '';} if($('#ChatHeader .User').hasClass('away') == false) {mainRoom.setAway(msg);} }	NodeChatController.prototype.clearWindow = function { this.viewDiscussion.chatUL.html(''); this.inlineAlert(i18n['cleared']); }	function active { //Returns the NodeChatController for the active window if(mainRoom.activeRoom && mainRoom.activeRoom != 'main') {return mainRoom.chats.privates[mainRoom.activeRoom];} else {return mainRoom;} }	String.prototype.removeTrailing = function(char) { //Remove extraneous characters var str = this; while(str.charAt(0) == char) {str = str.substring(1, str.length);} while(str.charAt(str.length - 1) == char) {str = str.substring(0, str.length - 1);} return str; }	function createCookie(name,value,days) { if (days) { var date = new Date; date.setTime(date.getTime+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString; }		else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; }	function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); }		return null; }	$(function {		if(!importScriptURI) {function importScriptURI(a){var b=document.createElement("script");b.setAttribute("src",a);b.setAttribute("type","text/javascript");document.getElementsByTagName("head")[0].appendChild(b);return b}}		importScriptURI('http://c.wikia.com/index.php?title=User:Monchoman45/ChatHacks.js/i18n.js&action=raw&ctype=text/javascript');		importScriptURI('http://monchbox.wikia.com/index.php?title=MediaWiki:APIQuery.js&action=raw&ctype=text/javascript'); //APIQuery for /unban		$('head').append('<style type="text/css">\n.stafficon {\n\tmargin-bottom:-4px;\n\twidth:14px;\n\theight:14px;\n}\n.modicon {\n\tmargin-bottom:-3px;\n\twidth:14px;\n\theight:14px;\n}\n.UserStatsMenu {\n\tcolor:#000;\n}\n.Write [name="message"] {\n\twidth:93%;\n}\n.inline-alert span {\n\tcolor:#006CB0;\n\tcursor:pointer;\n}\n.inline-alert span:hover {\n\ttext-decoration:underline;\n}\n#pingspan {\n\tposition:absolute;\n\tz-index:5;\n\ttop:23px;\n\tmargin-left:15px;\n\tfont-size:15px;\n\tfont-weight:normal;\n\tline-height:15px;\n}\n#pings {\n\tresize:none;\n\tmargin-left:0;\n\tfont-size:12px;\n\theight:100px;\n\tdisplay:block;\n}\n#pingspan div span {\n\tfont-size:55%;\n}\n#ChatHeader {\n\tz-index:9999;\n}\n#ChatHeader {\n\tz-index:9999;\n}\n.message.ping {\n\tcolor:red;\n}\n '); //Unbind all of the window listeners that set your status to back $(window).unbind('mousemove').unbind('focus').unbind('keypress'); //Add the sound space $('body').append(' '); }); } else {	$(function { var a = document.getElementsByTagName('a'); for(var i = 0; i < a.length; i++) { if(a[i].href && a[i].href.indexOf('/wiki/Special:Chat') != -1) { a[i].addEventListener('click', function(event) {event.preventDefault; OpenChatWindow;}); a[i].removeAttribute('data-canonical'); }		}		if(document.body.className.indexOf('skin-oasis') != -1) {window.chatcheck = setInterval('ChatCheck', 200);} });	function ChatCheck {		if($('.chat-join button').length != 0) {			$('.chat-join button').replaceWith('' + $('.chat-join button').html + '</a>');			clearInterval(window.chatcheck);		}	}	function OpenChatWindow {		window.chatwindow = window.open('/wiki/Special:Chat?useskin=wikia', 'chat');		window.chatwindow.onload = function {			window.chatwindow.importScriptPage('User:' + wgUserName + '/global.js', 'c');			window.chatwindow.importScript('User:' + wgUserName + '/wikia.js');		}	} }