Commits

Anonymous committed 3388a8d

AJS-203: removing invalid trunk directory

  • Participants
  • Parent commits 6d52864
  • Branches aui-2.0.x

Comments (0)

Files changed (85)

trunk/.gitignore

-/target/*

trunk/LICENSE-jquery.txt

-Copyright (c) 2009 John Resig, http://jquery.com/
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

trunk/README.txt

-AUI Readme:
-
-Samples:
-Each component should have a basic sample available in the samples folder.
-
-Tests:
-Run the tests with the following maven command (This requires Firefox 2 to be installed under the specified location):
-
-   mvn integration-test -Dselenium.browser="*firefox /Applications/Firefox2.app/Contents/MacOS/firefox-bin"
-
-
-To debug, use the run profile and navigate to the following page to use Firebug's debug mode:
-
-   mvn -Prun -Dselenium.browser="*firefox /Applications/Firefox2.app/Contents/MacOS/firefox-bin"
-   http://localhost:9999/ajs/test.html
-

trunk/pom.xml

-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <artifactId>atlassian-closedsource-pom</artifactId>
-        <groupId>com.atlassian.pom</groupId>
-        <version>14</version>
-    </parent>
-
-    <groupId>com.atlassian.aui</groupId>
-    <artifactId>auiplugin</artifactId>
-    <packaging>jar</packaging>
-    <version>2.0</version>
-
-    <name>Atlassian UI Plugin</name>
-    <description>An Atlassian plugin that contains the core javascript files used in Atlassian products.</description>
-    <url>https://studio.atlassian.com/svn/AJS/trunk</url>
-
-    <scm>
-        <connection>scm:svn:https://studio.atlassian.com/svn/AJS/tags/auiplugin-2.0</connection>
-        <developerConnection>scm:svn:https://studio.atlassian.com/svn/AJS/tags/auiplugin-2.0</developerConnection>
-        <url>https://studio.atlassian.com/source/browse/AJS/tags/auiplugin-2.0</url>
-    </scm>
-
-    <issueManagement>
-        <system>Jira</system>
-        <url>https://studio.atlassian.com/browse/AJS</url>
-    </issueManagement>
-
-    <dependencies>
-        <dependency>
-            <groupId>com.atlassian.selenium</groupId>
-            <artifactId>atlassian-selenium</artifactId>
-            <version>1.2</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <resources>
-            <!-- This filtering strategy is intentionally weird to trick the IDEA plugin into including the directory in the classpath -->
-            <resource>
-                <directory>src/main/resources</directory>
-                <excludes>
-                    <exclude>atlassian-plugin.xml</exclude>
-                </excludes>
-            </resource>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-                <includes>
-                    <include>atlassian-plugin.xml</include>
-                    <include>js/atlassian.js</include>
-                </includes>
-            </resource>
-        </resources>
-        <plugins>
-	    <plugin>
-		<artifactId>maven-release-plugin</artifactId>
-		<version>2.0-beta-9</version>
-		<configuration>
-		   <remoteTagging>true</remoteTagging>
-		</configuration>
-	    </plugin>
-	    
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>copy-src-into-webapp</id>
-                        <phase>process-test-resources</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <copy todir="${project.build.directory}/test-classes/webapp">
-                                    <fileset dir="${project.build.directory}/classes" />
-                                </copy>
-                            </tasks>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>selenium-maven-plugin</artifactId>
-                <version>1.0-beta-3</version>
-                <executions>
-                    <execution>
-                        <id>start-xvfb-instance</id>
-                        <phase>pre-integration-test</phase>
-                        <goals>
-                            <goal>xvfb</goal>
-                        </goals>
-                        <configuration>
-                            <skip>${selenium.xvfb.skip}</skip>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>start-selenium-server</id>
-                        <phase>pre-integration-test</phase>
-                        <goals>
-                            <goal>start-server</goal>
-                        </goals>
-                        <configuration>
-                            <background>true</background>
-                            <port>${selenium.server.port}</port>
-                            <firefoxProfileTemplate>${selenium.firefox.profile}</firefoxProfileTemplate>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>stop-selenium-server</id>
-                        <phase>post-integration-test</phase>
-                        <goals>
-                            <goal>stop-server</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.mortbay.jetty</groupId>
-                <artifactId>maven-jetty-plugin</artifactId>
-                <version>6.1.14</version>
-                <configuration>
-                    <contextPath>${context.path}</contextPath>
-                    <scanIntervalSeconds>${scan.interval.seconds}</scanIntervalSeconds>
-                    <webApp>${project.build.directory}/test-classes/webapp</webApp>
-                    <systemProperties>
-                        <systemProperty>
-                            <name>jetty.port</name>
-                            <value>${jetty.port}</value>
-                        </systemProperty>
-                    </systemProperties>
-                    <stopPort>9998</stopPort>
-                    <stopKey>ajsjettytests</stopKey>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>start-jetty</id>
-                        <phase>pre-integration-test</phase>
-                        <goals>
-                            <goal>run-exploded</goal>
-                        </goals>
-                        <configuration>
-                            <scanIntervalSeconds>0</scanIntervalSeconds>
-                            <daemon>true</daemon>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>stop-jetty</id>
-                        <phase>post-integration-test</phase>
-                        <goals>
-                            <goal>stop</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                    <systemProperties>
-                        <property>
-                            <name>baseurl</name>
-                            <value>http://localhost:${jetty.port}/${context.path}</value>
-                        </property>
-                        <property>
-                            <name>selenium.location</name>
-                            <value>${selenium.server.location}</value>
-                        </property>
-                        <property>
-                            <name>selenium.port</name>
-                            <value>${selenium.server.port}</value>
-                        </property>
-                        <property>
-                            <name>selenium.browser</name>
-                            <value>${selenium.browser}</value>
-                        </property>
-                    </systemProperties>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>run-selenium-tests</id>
-                        <phase>integration-test</phase>
-                        <goals>
-                            <goal>test</goal>
-                        </goals>
-                        <configuration>
-                            <skip>false</skip>
-                            <includes>
-                                <include>com/atlassian/**/*Test.java</include>
-                                <!-- todo why does /javascript not work????? -->
-                            </includes>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-		 	<!--START - Support Maven CL plugin for rapid development-->
-			<plugin>
-                <groupId>org.twdata.maven</groupId>
-                <artifactId>maven-cli-plugin</artifactId>
-                <configuration>
-                    <commands>
-                        <pi>clean resources compile jar com.atlassian.maven.plugins:atlassian-pdk:install</pi>
-                        <pu>com.atlassian.maven.plugins:atlassian-pdk:uninstall</pu>
-                    </commands>
-                </configuration>
-            </plugin>
-		    <!--END - Support Maven CL plugin for rapid development-->
-        </plugins>
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>com.atlassian.maven.plugins</groupId>
-                    <artifactId>atlassian-pdk</artifactId>
-                    <version>2.1.7</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-    </build>
-
-    <properties>
-        <jetty.port>9999</jetty.port>
-        <context.path>ajs</context.path>
-        <scan.interval.seconds>10</scan.interval.seconds>
-        <selenium.xvfb.skip>true</selenium.xvfb.skip>
-        <selenium.browser>*firefox</selenium.browser>
-        <selenium.firefox.profile />
-        <selenium.server.port>4444</selenium.server.port>
-        <selenium.server.location>localhost</selenium.server.location>
-        <atlassian.plugin.key>com.atlassian.auiplugin</atlassian.plugin.key>
-        <jdkLevel>1.5</jdkLevel>
-    </properties>
-
-    <profiles>
-        <profile>
-            <id>run</id>
-            <build>
-                <defaultGoal>org.mortbay.jetty:maven-jetty-plugin:6.1.12.rc5:run-exploded</defaultGoal>
-                <plugins>
-                    <plugin>
-                        <groupId>org.mortbay.jetty</groupId>
-                        <artifactId>maven-jetty-plugin</artifactId>
-                        <version>6.1.12.rc5</version>
-                        <goals>
-                            <goal>run-exploded</goal>
-                        </goals>
-                        <configuration>
-                            <contextPath>${context.path}</contextPath>
-                            <scanIntervalSeconds>${scan.interval.seconds}</scanIntervalSeconds>
-                            <webApp>${project.build.directory}/test-classes/webapp</webApp>
-                            <systemProperties>
-                                <systemProperty>
-                                    <name>jetty.port</name>
-                                    <value>${jetty.port}</value>
-                                </systemProperty>
-                            </systemProperties>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>bamboo-firefox</id>
-            <properties>
-                <selenium.browser>*firefox /import/tools/firefox/2.0/firefox-bin</selenium.browser>
-                <selenium.xvfb.skip>false</selenium.xvfb.skip>
-            </properties>
-        </profile>
-        <profile>
-            <id>vmwarevista-ie7</id>
-            <properties>
-                <selenium.browser>*iexplore</selenium.browser>
-                <selenium.xvfb.skip>true</selenium.xvfb.skip>
-            </properties>
-        </profile>
-    </profiles>
-    
-</project>

trunk/src/main/resources/atlassian-plugin.xml

-<atlassian-plugin name='${project.name}' key='${atlassian.plugin.key}' pluginsVersion="2">
-    <plugin-info>
-        <description>${project.description}</description>
-        <vendor name="${project.organization.name}" url="${project.organization.url}"/>
-        <version>${project.version}</version>
-    </plugin-info>
-
-    <resource name="css/" type="download" location="css/" />
-    <resource name="images/" type="download" location="css/images/" />
-    <resource name="js/" type="download" location="js/" />
-
-    <web-resource key="ajs" name="Atlassian Javascript">
-        <resource type="download" name="basic.css" location="css/basic.css"/>
-        <resource type="download" name="firebug.css" location="css/firebug.css"/>
-        <resource type="download" name="dialog.css" location="css/dialog.css"/>
-        <resource type="download" name="dropdown.css" location="css/dropdown.css"/>
-        <resource type="download" name="forms.css" location="css/forms.css"/>
-        <resource type="download" name="icons.css" location="css/icons.css"/>
-        <resource type="download" name="inline-dialog.css" location="css/inline-dialog.css"/>
-
-        <resource type="download" name="dialog-ie.css" location="css/ie/dialog-ie.css">
-            <param name="ieonly" value="true"/>
-        </resource>
-        <resource type="download" name="dropdown-ie.css" location="css/ie/dropdown-ie.css">
-            <param name="ieonly" value="true"/>
-        </resource>
-        <resource type="download" name="forms-ie.css" location="css/ie/forms-ie.css">
-            <param name="ieonly" value="true"/>
-        </resource>
-        <resource type="download" name="inline-dialog-ie.css" location="css/ie/inline-dialog-ie.css">
-            <param name="ieonly" value="true"/>
-        </resource>
-        
-        <resource type="download" name="raphael.js" location="js/external/raphael/raphael-1.2.1.min.js"/>
-        <resource type="download" name="jquery.js" location="js/external/jquery/jquery-1.3.2.min.js"/>
-        <resource type="download" name="js/external/jquery/jquery.ui-1.7.2.min.js" location="js/external/jquery/jquery-ui-1.7.2.min.js"/>
-        <resource type="download" name="js/external/jquery/jquery-ui-1.7-bug-fixes.js" location="js/external/jquery/jquery-ui-1.7-bug-fixes.js"/>
-        <resource type="download" name="jquery.aop.js" location="js/external/jquery/plugins/jquery.aop.js"/>
-        <resource type="download" name="jquery.form.js" location="js/external/jquery/plugins/jquery.form.js"/>
-        
-        <resource type="download" name="atlassian.js" location="js/atlassian/atlassian.js"/>
-        <resource type="download" name="cookie.js" location="js/atlassian/cookie.js"/>
-        <resource type="download" name="dialog.js" location="js/atlassian/dialog.js"/>
-        <resource type="download" name="dropdown.js" location="js/atlassian/dropdown.js"/>
-        <resource type="download" name="inline-dialog.js" location="js/atlassian/inline-dialog.js"/>
-        <resource type="download" name="firebug.js" location="js/atlassian/firebug.js"/>
-        
-        <resource type="download" name="jquery.autocomplete.js" location="js/atlassian/jquery.autocomplete.js"/>
-        <resource type="download" name="jquery.progressbar.js" location="js/atlassian/jquery.progressbar.js"/>
-        <resource type="download" name="jquery.selection.js" location="js/atlassian/jquery.selection.js"/>        
-        <resource type="download" name="jquery.throbber.js" location="js/atlassian/jquery.throbber.js"/>
-    </web-resource>
-    
-    <web-resource name="jQuery Compatibility" key="jquery-compatibility">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-        <resource type="download" name="js/jquery/jquery-compatibility.js" location="js/external/jquery/jquery-compatibility.js"/>
-    </web-resource>
-    
-    <!-- Every part of jQuery UI JS that we don't offer by default -->
-    <web-resource name="jQuery UI Other" key="jquery-ui-other">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-        <resource type="download" name="js/jquery/jquery.ui-1.7.2-other.min.js" location="js/external/jquery/jquery-ui-1.7.2-other.min.js"/>
-    </web-resource>
-
-
-
-
-<!-- Most individual resource keys were made obsolete in AUI 2.0. To provide backwards compatibility, they've been redirected below to call the whole library -->
-    <web-resource key="jquery-all" name="All JQuery">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-    </web-resource>
-    
-    <web-resource key="jquery" name="JQuery" i18n-name-key-name-key="web.resources.plugin.jquery.name">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-    </web-resource>
-    
-    <web-resource name="jQuery UI" key="jquery-ui">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-    </web-resource>
-
-    <web-resource key="jquery-aop" name="jQuery AOP" i18n-name-key="web.resources.plugin.jquery.aop.name">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-    </web-resource>
-    
-    <web-resource key="jquery-autocomplete" name="jQuery Autocomplete" i18n-name-key="web.resources.plugin.jquery.autocomplete.name">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-    </web-resource>
-    
-    <web-resource key="jquery-form" name="jQuery Form" i18n-name-key="web.resources.plugin.jquery.form.name">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-    </web-resource>
-    
-    <web-resource key="jquery-progressbar" name="jQuery Progress Bar Plugin" i18n-name-key="web.resources.plugin.jquery.progressbar.name">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-    </web-resource>
-
-    <web-resource key="jquery-selection" name="jQuery Text Selection" i18n-name-key="web.resources.plugin.jquery.selection.name">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-    </web-resource>
-    
-    <web-resource key="jquery-throbber" name="jQuery Throbber" i18n-name-key="web.resources.plugin.jquery.throbber.name">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-    </web-resource>
-    
-    <web-resource key="aui-css" name="Atlassian UI CSS">
-        <dependency>com.atlassian.auiplugin:ajs</dependency>
-    </web-resource>
-<!-- end AUI 2.0 backwards-compat redirects -->
-
-</atlassian-plugin>

trunk/src/main/resources/css/basic.css

-.clear {
-    clear: both;
-}
-.hidden {
-    display: none;
-}

trunk/src/main/resources/css/dialog.css

-.blanket {
-    background: #000;
-    height: 100%;
-    left: 0;
-    opacity: 0.5;
-    position: fixed;
-    top: 0;
-    width: 100%;
-    z-index: 2500;
-}
-.shadow,
-.popup {
-    left: 50%;
-    position: fixed;
-    top: 50%;
-}
-.popup {
-    z-index: 3000;
-}
-.shadow {
-    z-index: 2999;
-}
-.shadow * {
-    position: absolute;
-}
-.shadow .tl {
-    background: url(images/shadow/lt.png);
-    height: 17px;
-    left: 0;
-    top: 0;
-    width: 16px;
-}
-.shadow .tr {
-    background: url(images/shadow/rt.png);
-    height: 17px;
-    right: 0;
-    top: 0;
-    width: 16px;
-}
-.shadow .br {
-    background: url(images/shadow/rb.png);
-    bottom: 0;
-    height: 29px;
-    right: 0;
-    width: 29px;
-}
-.shadow .bl {
-    background: url(images/shadow/lb.png);
-    bottom: 0;
-    height: 29px;
-    left: 0;
-    width: 29px;
-}
-.shadow .b {
-    background: url(images/shadow/b.png);
-    bottom: 0;
-    height: 29px;
-    left: 29px;
-    width: 29px;
-}
-.shadow .l {
-    background: url(images/shadow/l.png);
-    left: 0;
-    top: 17px;
-    width: 16px;
-}
-.shadow .r {
-    background: url(images/shadow/r.png);
-    right: 0;
-    top: 17px;
-    width: 16px;
-}
-.dialog {
-    border: 1px solid #666;
-    font-size: 1.2em;
-    overflow: hidden;
-}
-.dialog h2 {
-    background: #f0f0f0;
-    color: #666;
-    font-size: 1.1em;
-    height: 43px;
-    line-height: 43px;
-    margin: 0;
-    overflow: hidden;
-    padding: 0 1em;
-    position: relative;
-}
-.dialog .page-menu {
-    background: #fff;
-    border-right: 1px solid #f0f0f0;
-    float: left;
-    height: 100%;
-    list-style: none;
-    margin: 0 1.17em 0 0;
-    padding: .75em 0 0 0;
-    width: 25%;
-}
-.dialog .page-menu li {
-    margin: 0;
-    padding: 0;
-}
-.dialog .page-menu li.selected {
-    background: #69c;
-    color: #fff;
-}
-.dialog .page-menu li.selected button {
-    color: #fff;
-    font-weight: 800;
-}
-.dialog .page-menu li button {
-    background: none;
-    border: none;
-    color: #666;
-    font-family: "segoe ui", helvetica, arial, sans-serif;
-    font-size: .8em;
-    padding: .4em 1.2em;
-    text-align: left;
-    width: 100%;
-}
-.dialog .panel-body {
-    overflow: auto;
-    padding: 10px;
-}
-.dialog .page-body {
-}
-.dialog .page-body p {
-    margin: 0;
-}
-.dialog .button-panel {
-    background: #fff;
-    border-top: 1px solid #f0f0f0;
-    bottom: 0;
-    clear: both;
-    height: 23px;
-    left: 0;
-    overflow: hidden;
-    padding: 10px 0 10px 0;
-    position: absolute;
-    text-align: right;
-    width: 100%;
-}
-.dialog .button-panel button {
-    font-size: 0.75em;
-    margin-right: 1.65em;
-    margin-top: 2px;
-}
-.dialog .button-panel button.left {
-    float: left;
-    margin: 0 0 0 0.5em;
-}

trunk/src/main/resources/css/dropdown.css

-/* Styles for AJS.dropDown */
-.aui-dd-parent {
-    position: relative;
-}
-.aui-dd-parent span a.aui-dd-trigger {
-    position: absolute;
-    right: 5px;
-    top: 8px;
-}
-.aui-dd-parent span a.aui-dd-trigger,
-.aui-dd-parent a.aui-dd-trigger {
-    background: transparent url(images/icons/aui-icon-tools.gif) no-repeat -13px 0;
-    border: none;
-    color: #000;
-    display: block;
-    height: 13px;
-    padding: 0;
-    text-indent: -9999px;
-    width: 13px;
-}
-.aui-dd-parent a.aui-dd-trigger:link,
-.aui-dd-parent a.aui-dd-trigger:visited {}
-.aui-dd-parent a.aui-dd-trigger.active,
-.aui-dd-parent a.aui-dd-trigger:hover,
-.aui-dd-parent a.aui-dd-trigger:active,
-.aui-dd-parent a.aui-dd-trigger:focus {
-    background: transparent url(images/icons/aui-icon-tools.gif) no-repeat -26px 0;
-    border: none;
-    color: #000;
-}
-.aui-dd-parent .aui-dropdown,
-.aui-dropdown {
-    background: #fff;
-    border: 1px solid #6A8EB3;
-    color: #000;
-    padding: 4px 0 4px 0;
-    position: absolute;
-    right: 0;
-    z-index: 2003;
-    margin-top: -1px;
-}
-.aui-dd-parent .aui-dropdown li,
-.aui-dropdown li  {
-    background: #fff;
-    color: #000;
-    display: block;
-    float: none;
-    margin: 0;
-    position: static;
-}
-.aui-dd-parent .aui-dropdown a,
-.aui-dropdown a {
-    background: #fff;
-    color: #036;
-    display: block;
-    float: none;
-    height: auto;
-    position: static;
-    text-indent: 0;
-    white-space: nowrap;
-    width: auto;
-}
-.aui-dd-parent .aui-dropdown a:link,
-.aui-dd-parent .aui-dropdown a:visited,
-.aui-dropdown a:link,
-.aui-dropdown a:visited {
-    background: #fff;
-    color: #036;
-    padding: 0.3em 0.5em;
-}
-.aui-dd-parent .aui-dropdown a:hover,
-.aui-dd-parent .aui-dropdown a:active,
-.aui-dd-parent .aui-dropdown a:focus,
-.aui-dropdown a:hover,
-.aui-dropdown a:active,
-.aui-dropdown a:focus  {
-    background: #f2f2f2;
-    color: #036;
-    padding: 0.3em 0.5em;
-}
-
-div.shim {
-    position: absolute;
-}
-
-/* shadow */
-.aui-shadow {
-    display: none;
-    margin-top: -1px;
-    position: absolute;
-    z-index: 2001;
-}
-.aui-shadow * {
-    position: absolute;
-}
-.aui-shadow .tl {
-    background: url(images/shadow-dropdown/lt.png);
-    height: 8px;
-    left: 0;
-    top: 0;
-    width: 8px;
-}
-.aui-shadow .tr {
-    background: url(images/shadow-dropdown/rt.png);
-    height: 8px;
-    right: 0;
-    top: 0;
-    width: 8px;
-}
-.aui-shadow .br {
-    background: url(images/shadow-dropdown/rb.png);
-    bottom: 0;
-    height: 14px;
-    right: 0;
-    width: 14px;
-}
-.aui-shadow .bl {
-    background: url(images/shadow-dropdown/lb.png);
-    bottom: 0;
-    height: 14px;
-    left: 0;
-    width: 14px;
-}
-.aui-shadow .b {
-    background: url(images/shadow-dropdown/b.png);
-    bottom: 0;
-    height: 14px;
-    left: 14px;
-    width: 14px;
-}
-.aui-shadow .l {
-    background: url(images/shadow-dropdown/l.png);
-    left: 0;
-    top: 8px;
-    width: 8px;
-}
-.aui-shadow .r {
-    background: url(images/shadow-dropdown/r.png);
-    right: 0;
-    top: 8px;
-    width: 8px;
-}

trunk/src/main/resources/css/firebug.css

-#firebug-warning {
-    background: #ffd;
-    border: 1px solid #f7df92;
-    color: #333;
-    margin: 0 0 0.2em 0;
-    text-align: center;
-}
-
-#firebug-warning p {
-    margin: 0 1em;
-    padding: 0.3em;
-}
-
-#firebug-warning a.close {
-    background: url(images/icons/aui-icon-close.png) no-repeat 0 0;
-    cursor: pointer;
-    display: block;
-    float: right;
-    height: 16px;
-    line-height: 12px;
-    margin: -1.5em 0.4em 0 0;
-    text-indent: -9999px;
-    width: 16px;
-}
-

trunk/src/main/resources/css/forms.css

-/* CSS Document for form styling - REQUIRES class of 'aui' to form */
-form.aui,form.aui p,form.aui div,form.aui h1,form.aui h2,form.aui h3,form.aui h4,form.aui h5,form.aui h6,
-form.aui img,form.aui ul,form.aui ol,form.aui li,form.aui dl,form.aui dt,form.aui dd,form.aui pre,
-form.aui fieldset,form.aui textarea,form.aui input,form.aui select,form.aui button,form.aui optgroup,form.aui option {
-    margin: 0;
-    padding: 0;
-}
-form.aui {
-    color: #333;
-    font-family: arial,tahoma,verdana,sans-serif;
-    font-size: 13px;
-    line-height: 1.4;
-    position: relative;
-}
-form.aui textarea,form.aui select,form.aui optgroup,form.aui option,form.aui input.text {
-    color: #000;
-    font-family: arial,tahoma,verdana,sans-serif;
-    font-size: 13px;
-}
-form.aui pre {
-    background-color: #f8f8f8;
-    border: 1px solid #ddd;
-    font-family: monospace;
-    font-size: 13px;
-    overflow-x: auto;
-    overflow-y: visible;
-    padding: 15px;
-}
-form.aui img,form.aui a img,form.aui fieldset {
-    border: none;
-}
-form.aui span {
-    display: block;
-}
-form.aui span.inline-text {
-    display: inline;
-    margin-right: .25em;
-}
-form.aui p {
-    margin-bottom: 5px;
-}
-form.aui p span {
-    display: inline;
-}
-form.aui fieldset {
-    border: 0;
-    display: block;
-    margin-bottom: 5px;
-    padding-bottom: 5px;
-    position: relative;
-}
-form.aui input[type='password'] {
-    -webkit-appearance: caps-lock-indicator;
-}
-form.aui input,
-form.aui select {
-    margin-right: 5px;
-    padding: 2px;
-}
-form.aui select {
-    padding: 1px;
-}
-form.aui option {
-    padding: 0 1em
-}
-form.aui textarea {
-    overflow: auto;
-    padding: 1px 2px;
-}
-form.aui input.button,
-form.aui button {
-    line-height: 1.2;
-    margin-right: 5px;
-    padding: 0 0.5em;
-}
-@media screen and (-webkit-min-device-pixel-ratio:0) {
-    /* Safari 3.0 and Chrome hacks here */
-    form.aui button {
-        padding: 0.1em 0.5em 0.5em;
-    }
-
-}
-form.aui .hidden {
-    display: none;
-}
-form.aui .error {
-    color: #c00;
-    font-weight: bold;
-}
-form.aui .description {
-    font-size: 11px;
-}
-form.aui .field-value {
-    color: #000;
-    font-weight: bold;
-    line-height: 1;
-    padding-top: 4px;
-}
-
-/* headings */
-form.aui h2 {
-    border-bottom: 1px solid #ddd;
-    clear: both;
-    color: #222;
-    font-size: 16px;
-    margin: 10px 0;
-}
-form.aui h3 {
-    clear: both;
-    color: #222;
-    font-size: 14px;
-    margin: 5px 0;
-}
-
-/* legend,labels left hand width related items */
-form.aui legend {
-    display: none;
-}
-form.aui legend span {
-    color: #333;
-    left: 0;
-    line-height: 1;
-    position: absolute;
-    top: 3px;
-    white-space: normal;
-    width: 130px;
-    text-align: right;
-}
-form.aui div {
-    clear: both;
-    display: block;
-    margin-bottom: 5px;
-    min-height: 1.6em;
-    padding: 0 0 5px 140px;
-}
-form.aui div div {
-    padding-left: 0;
-}
-form.aui div label {
-    float: left;
-    display: block;
-    left: -140px;
-    line-height: 1;
-    margin-right: -130px;
-    padding-top: 4px;
-    position: relative;
-    width: 130px;
-    text-align: right;
-}
-/* could use with text-align:right above (not in ie6) form.aui label .label:after {
-    content: ":"
-}
-*/
-form.aui div.matrix {
-    padding-top: 0;
-    width: 600px;
-}
-form.aui div.matrix div {
-    clear: none;
-    float: left;
-    width: 250px;
-}
-
-/* input default and fixed widths */
-form.aui .text,
-form.aui .textarea,
-form.aui .select {
-    width: 250px;
-}
-form.aui .short-field {
-    width: 75px;
-}
-form.aui .medium-field {
-    width: 165px;
-}
-form.aui .long-field {
-    width: 500px;
-}
-/* select */
-form.aui .multi-select {
-    min-width: 250px;
-}
-form.aui .multi-select optgroup {
-    background-color: #f8f8f8;
-    color: #999;
-    font-style: normal;
-    font-weight: normal;
-}
-form.aui .multi-select optgroup option {
-    background-color: #fff;
-    color: #000;
-}
-/* date selects */
-form.aui .date-select legend {
-    display: block;
-}
-form.aui .date-select label {
-    display: none;
-}
-/* submit div - outside the fieldsets */
-form.aui .submit {
-    border-top: 1px solid #ddd;
-}
-form.aui .submit input {
-    margin: 10px 10px 0 0;
-}
-/* radios and checkboxes */
-form.aui .radios div {
-    padding-top: 0;
-    padding-bottom: 0;
-}
-form.aui .radio input,
-form.aui .checkbox input {
-    border: none;
-    float: left;
-    margin-top: 2px;
-    width: 15px;
-}
-form.aui .checkbox input {
-    margin-top: 1px;
-}
-/* groups */
-form.aui .group {
-    position: relative;
-}
-form.aui .group .field-value {
-    float: left;
-    margin-right: .25em;
-    min-width: 2.5em;
-    padding-top: 0;
-    line-height: inherit;
-}
-form.aui .group .field-value.checked {
-    color: #693;
-}
-form.aui .group legend {
-    display: block;
-}
-form.aui .group label,
-form.aui .radio label,
-form.aui .checkbox label {
-    float: none;
-    display: inline;
-    left: 0;
-    margin: 0;
-    width: auto;
-}
-form.aui .radio .error,
-form.aui .checkbox .error {
-    margin-left: 19px;
-}
-form.aui .radio .description,
-form.aui .checkbox .description {
-    clear: both;
-    margin-left: 19px;
-}
-
-
-/* long labels - add long-label class to form "aui long-label" */
-form.aui.long-label legend span {
-    width: 240px;
-}
-form.aui.long-label div {
-    padding-left: 250px;
-}
-form.aui.long-label div label {
-    left: -250px;
-    margin-right: -240px;
-    width: 240px;
-}
-form.aui.long-label .group label,
-form.aui.long-label .radio label,
-form.aui.long-label .checkbox label {
-    left: 0;
-    margin: 0;
-    width: auto;
-}
-form.aui.long-label .group label {
-    left: 0;
-    margin: 0;
-}
-/* //long labels */
-
-/* labels on top - add top-label class to form "aui top-label" */
-form.aui.top-label fieldset {
-    margin-bottom: 0;
-}
-form.aui.top-label div {
-    padding-left: 0;
-}
-form.aui.top-label div label {
-    float: none;
-    left: 0;
-    margin: 0 0 2px 0;
-    width: auto;
-    text-align: left;
-}
-form.aui.top-label .group {
-    padding-top: .5em;
-}
-/* date selects and checkbox / radio groups */
-form.aui.top-label .group legend span,
-form.aui.top-label .date-select legend span {
-    display: block;
-    position: relative;
-    top: 0;
-    text-align: left;
-    width: auto;
-}
-form.aui.top-label .date-select label {
-    display: none;
-}
-/* //labels on top */
-
-/* inline for small single line forms - add inline class to fieldset */
-form.aui .inline {
-    padding-bottom: 0;
-}
-form.aui .inline label {
-    font-weight: bold;
-}
-form.aui .inline .form-icon {
-    margin-right: 3px;
-}
-/* //inline */
-
-
-
-/* form icons - add form-icon class together with the icon class "form-icon icon-help" */
-form.aui .form-icon {
-    background: transparent url(images/icons/aui-icon-forms.gif) no-repeat 0 0;
-    display: inline-block;
-    height: 16px;
-    vertical-align: top;
-    width: 16px;
-    overflow: hidden;
-}
-form.aui .form-icon span {
-    text-indent: 25px;/* this effectively hides the content of the span */
-}
-form.aui .form-icon img {
-    height: 16px;
-    width: 16px;
-}
-/* position icon sprite */
-form.aui .icon-date {
-    background-position: 0 -20px;
-}
-form.aui .icon-range {
-    background-position: 0 -40px;
-}
-form.aui .icon-help {
-    background-position: 0 -60px;
-}
-form.aui .icon-required {
-    background-position: 0 -80px;
-    width: 8px;
-    height: 13px
-}
-form.aui .icon-users {
-    background-position: 0 -100px;
-}
-/* FFX2 hack for icons - requirement to support FFX 2? */
-form.aui .form-icon, 
-x:-moz-any-link {
-    display: inline;
-    padding: 1px 8px;
-}
-form.aui .form-icon span, 
-x:-moz-any-link {
-    display: none;
-}
-form.aui .icon-required, 
-x:-moz-any-link {
-    padding: 0 4px;
-}

trunk/src/main/resources/css/icons.css

-/**
-* Basic icon styles. Allows you to easily render sprite icons.
-*
-* .aui-icon must be present on all iconified elements
-* All iconified elements must include class names prefixed with 'i-'
-* Icons assume light backgrounds. Icon classnames for dark backgrounds must be suffixed with '-d'
-* For elements whose background changes in app, we advise maintaining light/dark state in the app.
-*
-*/
-
-.aui-icon {
-    background: transparent url(images/icons/aui-icon-tools.gif) no-repeat 0 0;
-    border: none;
-    display: block;
-    height: 13px;
-    padding: 0;
-    text-indent: -9999px;
-    width: 13px;
-}
-
-.i-move {
-    background-position: 0 0;
-    cursor: move;
-}
-
-.i-maximize {
-    background-position: -52px 0;
-}
-
-.i-minimize {
-    background-position: -39px 0;
-}
-.i-minimize-d {
-    background-position: -39px -13px;
-}
-

trunk/src/main/resources/css/ie/dialog-ie.css

-/** * The structure of this file pre-supposes two conditions: * -
-That the file is served via a conditional comment of [if IE] * - That
-de-bugging starts with IE8 and moves down through IE7 to IE6 **/
-
-/** * Fixes for IE8, IE7 and IE6 * - each property should be written
-without CSS hacks * eg: 
-.dashboard {
-    margin: 0 0 2px 1px;
-}
-* **/
-.blanket {
-    filter: alpha(opacity = 50);
-    position: fixed;
-}
-.blanket-shim {
-    filter: alpha(opacity = 0);
-    left: 0;
-    position: absolute;
-    top: 0;
-    width: 100%;
-    z-index: 2499;
-}
-.shadow,
-.popup {
-    position: absolute;
-    top: 0;
-}
-
-
-/** * Fixes for IE7 and IE6 * - each property *must* be prefixed with
-an asterisk (*) * eg: 
-.dashboard {
-    *margin: 0 0 4px 2px;
-}
-* **/ 
-body {
-    *overflow: hidden;
-}
-.blanket {
-    *height: 100px; 
-    *position: absolute;
-}
-.dialog {
-    *position: absolute;
-}
-.dialog .button-panel {
-    *bottom: auto;
-    *top: 92%; 
-    *z-index: 3001;
-}
-
-/** * Fixes for IE6 only * - each property *must* be prefixed with an
-underscore (_) * eg: 
-.dashboard {
-    _margin: 0 0 0 1px;
-    _padding: 0 0
-    -3px 0;
-}
-* **/
-.shadow {display:none!important;}

trunk/src/main/resources/css/ie/dropdown-ie.css

-/**
-* The structure of this file pre-supposes two conditions:
-* - That the file is served via a conditional comment of [if IE]
-* - That de-bugging starts with IE8 and moves down through IE7 to IE6
-**/
-
-/**
-* Fixes for IE8, IE7 and IE6
-* - each property should be written without CSS hacks
-* eg: 
-.dashboard {
-    margin: 0 0 2px 1px;
-}
-*
-**/
-
-/* dropdown-shim */
-.dropdown-shim {
-    border: none;
-    display: none;
-    margin-top: -1px;
-    position: absolute;
-    z-index: 2000;
-}
-
-/**
-* Fixes for IE7 and IE6
-* - each property *must* be prefixed with an asterisk (*)
-* eg: 
-.dashboard {
-    *margin: 0 0 4px 2px;
-}
-*
-**/
-
-
-/**
-* Fixes for IE6 only
-* - each property *must* be prefixed with an underscore (_)
-* eg: 
-.dashboard {
-    _margin: 0 0 0 1px;
-    _padding: 0 0 -3px 0;
-}
-*
-**/
-/* IE6 spits out screwy heights on the LIs without the zoom for hasLayout - which then blows out the width unless constrained on the parent - and then the hover effects look lame. This remedies all that - somewhat */
-.aui-dd-parent .aui-dropdown {
-    _width: 1%;
-}
-.aui-dd-parent .aui-dropdown li a {
-    _zoom: 1;
-}
-.aui-dd-parent .aui-dropdown li a:hover,
-.aui-dd-parent .aui-dropdown li a:active,
-.aui-dd-parent .aui-dropdown li a focus {
-    _background: #fff;
-    _text-decoration: none;
-}
-
-/* IE6 can't handle the shadow mojo */
-.aui-shadow {
-    _display: none !important;
-}

trunk/src/main/resources/css/ie/forms-ie.css

-/**
-* The structure of this file pre-supposes two conditions:
-* - That the file is served via a conditional comment of [if IE]
-* - That de-bugging starts with IE8 and moves down through IE7 to IE6
-**/
-
-
-/**
-* Fixes for IE8, IE7 and IE6
-* - each property should be written without CSS hacks
-* eg: 
-.dashboard {
-    margin: 0 0 2px 1px;
-}
-*
-**/
-
-
-/**
-* Fixes for IE7 and IE6
-* - each property *must* be prefixed with an asterisk (*)
-* eg: 
-.dashboard {
-    *margin: 0 0 4px 2px;
-}
-*
-**/
-form.aui span.inline-text {
-    *position: relative; 
-    *top: -4px
-}
-form.aui .radio input,
-form.aui .checkbox input {
-    *margin-top: -2px
-}
-form.aui .radio .description,
-form.aui .checkbox .description {
-    *clear: both;
-}
-form.aui.top-label .group legend span,
-form.aui.top-label .date-select legend span {
-    *left: -9px; 
-    *top: -3px;
-}
-form.aui .group .field-value {
-    *padding-top: 3px; 
-    *line-height: 1;
-}
-
-/**
-* Fixes for IE6 only
-* - each property *must* be prefixed with an underscore (_)
-* eg: 
-.dashboard {
-    _margin: 0 0 0 1px;
-    _padding: 0 0 -3px 0;
-}
-*
-**/
-form.aui div {
-    _height: 1.6em;
-}
-form.aui .group .field-value {
-    _width: 2em;
-}
-form.aui .group label,
-form.aui .radio label,
-form.aui .checkbox label {
-    _margin-top: 1px;
-    _position: static;
-}
-form.aui .radio .error,
-form.aui .checkbox .error {
-    _margin-left: 20px;
-}
-form.aui .radio .description,
-form.aui .checkbox .description {
-    _margin-left: 24px;
-}
-form.aui pre {
-    _width: 95%;
-}
-

trunk/src/main/resources/css/ie/inline-dialog-ie.css

-/**
-* The structure of this file pre-supposes two conditions:
-* - That the file is served via a conditional comment of [if IE]
-* - That de-bugging starts with IE8 and moves down through IE7 to IE6
-**/
-
-
-/**
-* Fixes for IE8, IE7 and IE6
-* - each property should be written without CSS hacks
-* eg: 
-.dashboard {
-    margin: 0 0 2px 1px;
-}
-*
-**/
-
-/* inline-dialog-shim */
-#inline-dialog-shim {
-    border: none;
-    display: block;
-    height: 0;
-    left: 0;
-    position: absolute;
-    top: 0;
-    width: 0;
-    z-index: -2;
-}
-
-
-/**
-* Fixes for IE7 and IE6
-* - each property *must* be prefixed with an asterisk (*)
-* eg: 
-.dashboard {
-    *margin: 0 0 4px 2px;
-}
-*
-**/
-
-
-/**
-* Fixes for IE6 only
-* - each property *must* be prefixed with an underscore (_)
-* eg: 
-.dashboard {
-    _margin: 0 0 0 1px;
-    _padding: 0 0 -3px 0;
-}
-*
-**/
-#inline-dialog-shadow {display:none!important;}

trunk/src/main/resources/css/images/arrow.png

Removed
Old image

trunk/src/main/resources/css/images/fav_off_16.png

Removed
Old image

trunk/src/main/resources/css/images/fav_on_16.png

Removed
Old image

trunk/src/main/resources/css/images/forms/icons_form.gif

Removed
Old image

trunk/src/main/resources/css/images/icons/aui-icon-close.png

Removed
Old image

trunk/src/main/resources/css/images/icons/aui-icon-forms.gif

Removed
Old image

trunk/src/main/resources/css/images/icons/aui-icon-tools.gif

Removed
Old image

trunk/src/main/resources/css/images/shadow-dropdown/b.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-dropdown/l.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-dropdown/lb.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-dropdown/loading.gif

Removed
Old image

trunk/src/main/resources/css/images/shadow-dropdown/lt.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-dropdown/r.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-dropdown/rb.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-dropdown/rt.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-light/b.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-light/l.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-light/lb.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-light/lt.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-light/r.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-light/rb.png

Removed
Old image

trunk/src/main/resources/css/images/shadow-light/rt.png

Removed
Old image

trunk/src/main/resources/css/images/shadow/b.png

Removed
Old image

trunk/src/main/resources/css/images/shadow/l.png

Removed
Old image

trunk/src/main/resources/css/images/shadow/lb.png

Removed
Old image

trunk/src/main/resources/css/images/shadow/lt.png

Removed
Old image

trunk/src/main/resources/css/images/shadow/r.png

Removed
Old image

trunk/src/main/resources/css/images/shadow/rb.png

Removed
Old image

trunk/src/main/resources/css/images/shadow/rt.png

Removed
Old image

trunk/src/main/resources/css/images/wait.gif

Removed
Old image

trunk/src/main/resources/css/inline-dialog.css

-.aui-inline-dialog {
-    font-size: 13px;
-    display: none;
-    position: absolute;
-    z-index: 100;
-}
-.aui-inline-dialog .contents {
-    background: white;
-    border: 1px solid #bbb;
-    border-radius: 3px;
-    -moz-border-radius: 3px;
-    -webkit-border-radius: 3px;
-    overflow: hidden;
-    width: 300px;
-}
-.aui-inline-dialog .contents form.aui {
-    margin-bottom: 0;
-}
-.aui-inline-dialog .contents .submit {
-    margin: 0;
-    padding: 0;
-    text-align: right;
-}
-.aui-inline-dialog .arrow {
-    background: transparent url(images/arrow.png) no-repeat 0 0;
-    height: 16px;
-    position: absolute;
-    top: -7px; /* matches #inline-dialog-shim */
-    width: 16px;
-}
-
-#inline-dialog-shadow {
-    height: 0;
-    left: -16px;
-    position: absolute;
-    top: 0;
-    width: 0;
-    z-index: -1;
-}
-#inline-dialog-shadow * {
-    position: absolute;
-}
-#inline-dialog-shadow .tl {
-    background: url(images/shadow/lt.png);
-    height: 17px;
-    left: 0;
-    top: 0;
-    width: 16px;
-}
-#inline-dialog-shadow .tr {
-    background: url(images/shadow/rt.png);
-    height: 17px;
-    right: 0;
-    top: 0;
-    width: 16px;
-}
-#inline-dialog-shadow .br {
-    background: url(images/shadow/rb.png);
-    bottom: 0;
-    height: 29px;
-    right: 0;
-    width: 29px;
-}
-#inline-dialog-shadow .bl {
-    background: url(images/shadow/lb.png);
-    bottom: 0;
-    height: 29px;
-    left: 0;
-    width: 29px;
-}
-#inline-dialog-shadow .b {
-    background: url(images/shadow/b.png);
-    bottom: 0;
-    height: 29px;
-    left: 29px;
-    width: 29px;
-}
-#inline-dialog-shadow .l {
-    background: url(images/shadow/l.png);
-    left: 0;
-    top: 17px;
-    width: 16px;
-}
-#inline-dialog-shadow .r {
-    background: url(images/shadow/r.png);
-    right: 0;
-    top: 17px;
-    width: 16px;
-}
-
-#inline-dialog-shim {
-    display: none;
-}

trunk/src/main/resources/js/atlassian/atlassian.js

-if (typeof jQuery != "undefined") {
-
-    var AJS = (function () {
-        var bindings = {click: {}},
-            initFunctions = [],
-            included = [],
-            isInitialised = false;
-
-        var res = {
-            /**
-             * Version number to allow for rough backwards compatibility via conditionals
-             * NOTE: Don't change. Generated by the Maven at build.
-             */
-            version: "${project.version}",
-
-            params: {},
-            /**
-            * Returns an HTMLElement reference.
-            * @method $
-            * @param {String | HTMLElement |Array} el Accepts a string to use as an ID for getting a DOM reference, an actual DOM reference, or an Array of IDs and/or HTMLElements.
-            * @return {HTMLElement | Array} A DOM reference to an HTML element or an array of HTMLElements.
-            */
-            $: jQuery,
-
-            log: function(obj) {
-                if (typeof console != "undefined" && console.log)
-                    console.log(obj);
-            },
-            
-            /**
-             * Prevent further handling of an event. Returns false, which you should use as the return value of your event handler:
-             *     return AJS.stopEvent(e);
-             * @param e jQuery event
-             */
-            stopEvent: function(e) {
-                e.stopPropagation();
-                return false; // required for JWebUnit pop-up links to work properly
-            },
-            include: function (url) {
-                if (!this.contains(included, url)) {
-                    included.push(url);
-                    var s = document.createElement("script");
-                    s.src = url;
-                    this.$("body").append(s);
-                }
-            },
-            /**
-            * Shortcut function to toggle class name of an element.
-            * @method toggleClassName
-            * @param {String | HTMLElement} element The HTMLElement or an ID to toggle class name on.
-            * @param {String} className The class name to remove or add.
-            */
-            toggleClassName: function (element, className) {
-                if (!(element = this.$(element))) {
-                    return;
-                }
-                element.toggleClass(className);
-            },
-            /**
-             * Shortcut function adds or removes "hidden" classname to an element based on a passed boolean.
-             * @method setVisible
-             * @param {String | HTMLElement} element The HTMLElement or an ID to show or hide.
-             * @param {boolean} show true to show, false to hide
-             */
-            setVisible: function (element, show) {
-                if (!(element = this.$(element))) {
-                    return;
-                }
-                var $ = this.$; // aliased for use inside function below
-                $(element).each(function () {
-                    var isHidden = $(this).hasClass("hidden");
-                    if (isHidden && show) {
-                        $(this).removeClass("hidden");
-                    }
-                    else if (!isHidden && !show) {
-                        $(this).addClass("hidden");
-                    }
-                });
-            },
-            /**
-             * Shortcut function adds or removes "current" classname to an element based on a passed boolean.
-             * @param {String | HTMLElement} element The HTMLElement or an ID to show or hide.
-             * @param {boolean} show true to add "current" class, false to remove
-             */
-            setCurrent: function (element, current) {
-                if (!(element = this.$(element))) {
-                    return;
-                }
-                if (current)
-                    element.addClass("current");
-                else
-                    element.removeClass("current");
-            },
-            /**
-             * Shortcut function to see if passed element is currently visible on screen.
-             * @method isVisible
-             * @param {String | HTMLElement} element The HTMLElement or an jQuery selector to check.
-             */
-            isVisible: function (element) {
-                return !this.$(element).hasClass("hidden");
-            },
-            
-            /**
-            * Find parameters in the DOM and store them in the ajs.params object.
-            */
-            populateParameters: function() {
-                var ajs = this;
-                this.$(".parameters input").each(function () {
-                    var value = this.value,
-                        id = this.title || this.id;
-                    if (ajs.$(this).hasClass("list")) {
-                        if (ajs.params[id]) {
-                            ajs.params[id].push(value);
-                        } else {
-                            ajs.params[id] = [value];
-                        }
-                    } else {
-                        ajs.params[id] = (value.match(/^(tru|fals)e$/i) ? value.toLowerCase() == "true" : value);
-                    }
-                });
-            },
-            
-            /**
-            * Runs functions from list (@see toInit) and attach binded funtions (@see bind)
-            * @method init
-            */
-            init: function () {
-                AJS.populateParameters();
-                isInitialised = true;
-                AJS.initFunctions = initFunctions;
-                for (var i = 0, ii = initFunctions.length; i < ii; i++) {
-                    if (typeof initFunctions[i] == "function") {
-                        initFunctions[i](AJS.$);
-                    }
-                }
-            },
-            /**
-            * Adds functions to the list of methods to be run on initialisation. Wraps
-            * error handling around the provided function so its failure won't prevent
-            * other init functions running.
-            * @method toInit
-            * @param {Function} func Function to be call on initialisation.
-            * @return AJS object.
-            */
-            toInit: function (func) {
-                var ajs = this;
-                this.$(function () {
-                    try {
-                        func.apply(this, arguments);
-                    } catch(ex) {
-                        ajs.log("Failed to run init function: " + ex);
-                    }
-                });
-                return this;
-            },
-
-            /**
-            * DEPRECATED instead use AJS.$(element).bind();
-            * Binds given function to some object or set of objects as event handlers by class name or id.
-            * @method bind
-            * @param {String} reference Element or name of the element class. Put "#" in the beginning od the string to use it as id.
-            * @param {String} handlerName (optional) Name of the event i.e. "click", "mouseover", etc.
-            * @param {Function} func Function to be attached.
-            * @return AJS object.
-            */
-            bind: function () {},
-
-            /**
-            * Finds the index of an element in the array.
-            * @method indexOf
-            * @param item Array element which will be searched.
-            * @param fromIndex (optional) the index from which the item will be searched. Negative values will search from the
-            * end of the array.
-            * @return a zero based index of the element.
-            */
-            indexOf: function (array, item, fromIndex) {
-                var length = array.length;
-                if (fromIndex == null) {
-                  fromIndex = 0;
-                } else {
-                    if (fromIndex < 0) {
-                      fromIndex = Math.max(0, length + fromIndex);
-                    }
-                }
-                for (var i = fromIndex; i < length; i++) {
-                  if (array[i] === item) return i;
-                }
-                return -1;
-            },
-            /**
-            * Looks for an element inside the array.
-            * @method contains
-            * @param item Array element which will be searched.
-            * @return {Boolean} Is element in array.
-            */
-            contains: function (array, item) {
-                return this.indexOf(array, item) > -1;
-            },
-            /**
-            * Replaces tokens in a string with arguments, similar to Java's MessageFormat.
-            * Tokens are in the form {0}, {1}, {2}, etc.
-            * @method format
-            * @param message the message to replace tokens in
-            * @param arg (optional) replacement value for token {0}, with subsequent arguments being {1}, etc.
-            * @return {String} the message with the tokens replaced
-            * @usage AJS.format("This is a {0} test", "simple");
-            */
-            format: function (message) {
-				var escapeMode, args = arguments;				
-				for (var i=0; i < message.length; i++) {
-					if (message.charAt(i) === "'" && message.charAt(i+1) === "'") {
-						message = message.substring(0, i) + message.substring(i+1, message.length);
-					} else if (message.charAt(i) === "'" && escapeMode) {
-						escapeMode = false;
-					} else if (message.charAt(i) === "'") {
-						escapeMode = true;
-					} else if (message.charAt(i) === "{" && !escapeMode) {
-						message = message.substring(0,i) + message.substring(i, message.length).replace(/\{(\d+)\}/, function (match, argIndex) {
-							var replacement = args[parseInt(argIndex) + 1]  || match;
-							i = i + replacement.length-1;
-							return replacement;
-						});
-					}
-				}
-                return message;
-            },
-            /**
-            * Includes firebug lite for debugging in IE. Especially in IE.
-            * @method firebug
-            * @usage Type in addressbar "javascript:alert(AJS.firebug());"
-            */
-            firebug: function () {
-                var script = this.$(document.createElement("script"));
-                script.attr("src", "http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js");
-                this.$("head").append(script);
-                (function () {
-                    if (window.firebug) {