]> source.dussan.org Git - nextcloud-server.git/commitdiff
delete old plugin stuff
authorRobin Appelman <icewind1991@gmail.com>
Thu, 2 Jun 2011 18:21:31 +0000 (20:21 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Thu, 2 Jun 2011 18:21:31 +0000 (20:21 +0200)
112 files changed:
lib/plugin.php [deleted file]
plugins/audioplayer/README [deleted file]
plugins/audioplayer/audioplayer.js [deleted file]
plugins/audioplayer/lib_audioplayer.php [deleted file]
plugins/audioplayer/plugin.xml [deleted file]
plugins/audioplayer/style.css [deleted file]
plugins/blacklist.txt [deleted file]
plugins/ldap/lib_ldap.php [deleted file]
plugins/ldap/plugin.xml [deleted file]
plugins/test/index.php [deleted file]
plugins/test/lib_test.php [deleted file]
plugins/test/plugin.xml [deleted file]
plugins/textviewer/lib_textviewer.php [deleted file]
plugins/textviewer/plugin.xml [deleted file]
plugins/textviewer/style.css [deleted file]
plugins/textviewer/syntaxhighlighter/LGPL-LICENSE [deleted file]
plugins/textviewer/syntaxhighlighter/MIT-LICENSE [deleted file]
plugins/textviewer/syntaxhighlighter/compass/_theme_template.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/config.rb [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shCore.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shCoreDefault.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shCoreDjango.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shCoreEclipse.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shCoreEmacs.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shCoreFadeToGrey.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shCoreMDUltra.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shCoreMidnight.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shCoreRDark.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shThemeDefault.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shThemeDjango.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shThemeEclipse.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shThemeEmacs.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shThemeFadeToGrey.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shThemeMDUltra.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shThemeMidnight.scss [deleted file]
plugins/textviewer/syntaxhighlighter/compass/shThemeRDark.scss [deleted file]
plugins/textviewer/syntaxhighlighter/index.html [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shAutoloader.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushAS3.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushAppleScript.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushBash.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushCSharp.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushColdFusion.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushCpp.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushCss.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushDelphi.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushDiff.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushErlang.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushGroovy.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushJScript.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushJava.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushJavaFX.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushPerl.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushPhp.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushPlain.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushPowerShell.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushPython.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushRuby.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushSass.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushScala.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushSql.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushVb.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shBrushXml.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shCore.js [deleted file]
plugins/textviewer/syntaxhighlighter/scripts/shLegacy.js [deleted file]
plugins/textviewer/syntaxhighlighter/src/shAutoloader.js [deleted file]
plugins/textviewer/syntaxhighlighter/src/shCore.js [deleted file]
plugins/textviewer/syntaxhighlighter/src/shLegacy.js [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shCore.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shCoreDefault.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shCoreDjango.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shCoreEclipse.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shCoreEmacs.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shCoreFadeToGrey.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shCoreMDUltra.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shCoreMidnight.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shCoreRDark.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shThemeDefault.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shThemeDjango.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shThemeEclipse.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shThemeEmacs.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shThemeFadeToGrey.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shThemeMDUltra.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shThemeMidnight.css [deleted file]
plugins/textviewer/syntaxhighlighter/styles/shThemeRDark.css [deleted file]
plugins/textviewer/syntaxhighlighter/tests/.rvmrc [deleted file]
plugins/textviewer/syntaxhighlighter/tests/brushes/sass.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/brushes_tests.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/001_basic.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/002_brushes.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/003_script_tag.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/004_url_parsing.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/005_no_gutter.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/006_pad_line_numbers.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/007_collapse.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/007_collapse_interaction.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/008_first_line.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/009_class_name.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/010_highlight.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/011_smart_tabs.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/012_server_side.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/013_html_script.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/cases/014_legacy.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/commonjs_tests.js [deleted file]
plugins/textviewer/syntaxhighlighter/tests/js/jquery-1.4.2.js [deleted file]
plugins/textviewer/syntaxhighlighter/tests/js/qunit.css [deleted file]
plugins/textviewer/syntaxhighlighter/tests/js/qunit.js [deleted file]
plugins/textviewer/syntaxhighlighter/tests/syntaxhighlighter_tests.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/theme_tests.html [deleted file]
plugins/textviewer/syntaxhighlighter/tests/webrick.rb [deleted file]
plugins/textviewer/syntaxhighlighter/tests/webrick.sh [deleted file]
plugins/textviewer/textviewer.js [deleted file]

diff --git a/lib/plugin.php b/lib/plugin.php
deleted file mode 100644 (file)
index d8291a8..0000000
+++ /dev/null
@@ -1,381 +0,0 @@
-<?php
-
-/**
-* ownCloud
-*
-* @author Frank Karlitschek
-* @copyright 2010 Frank Karlitschek karlitschek@kde.org
-*
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
-* License as published by the Free Software Foundation; either
-* version 3 of the License, or any later version.
-*
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
-*
-* You should have received a copy of the GNU Affero General Public
-* License along with this library.  If not, see <http://www.gnu.org/licenses/>.
-*
-*/
-
-class OC_PLUGIN{
-       static private $blacklist=array();
-
-       /**
-       * load the plugin with the given id
-       * @param string id
-       * @return bool
-       */
-       static public function load($id){
-               global $SERVERROOT;
-               $data=self::getPluginData($id);
-               if($data){
-                       if(isset($data['info']['require'])){
-                               $minVersion=explode('.',$data['info']['require']);
-                               $version=OC_UTIL::getVersion();
-                               $roundTo=count($minVersion);
-                               while(count($version)>$roundTo){
-                                       if($version[count($version)-1]>=50){
-                                               $version[count($version)-2]++;
-                                       }
-                                       unset($version[count($version)-1]);
-                               }
-                               for($i=0;$i<count($minVersion);$i++){
-                                       if($version[$i]<$minVersion[$i]){
-                                               return false;
-                                       }
-                               }
-                       }
-                       //check for uninstalled db's
-                       if(isset($data['install']) and isset($data['install']['database'])){
-                               foreach($data['install']['database'] as $db){
-                                       $installed=OC_APPCONFIG::getValue('plugin_installer','database_installed_'.$id.'_'.$db,'false');
-                                       if($installed!='true'){
-                                               self::installDB($id);
-                                               break;
-                                       }
-                               }
-                       }
-
-                       if(isset($data['runtime'])){
-                               foreach($data['runtime'] as $include){
-                                       include($SERVERROOT.'/plugins/'.$id.'/'.$include);
-                               }
-                       }
-               }
-               return false;
-       }
-
-       /**
-        * Get a list of all installed plugins
-        */
-       public static function listPlugins() {
-               global $SERVERROOT;
-               $plugins = array();
-               $fd = opendir($SERVERROOT . '/plugins');
-               while ( false !== ($filename = readdir($fd)) ) {
-                       if ( $filename<>'.' AND $filename<>'..' AND ('.' != substr($filename, 0, 1))) {
-                               if(file_exists($SERVERROOT . '/plugins/'.$filename.'/plugin.xml')){
-                                       $plugins[]=$filename;
-                               }
-                       }
-               }
-               closedir($fd);
-               return $plugins;
-       }
-
-       /**
-        * Load all plugins that aren't blacklisted
-        */
-       public static function loadPlugins() {
-               $CONFIG_INSTALLED = OC_CONFIG::getValue( "installed", false );
-               if($CONFIG_INSTALLED){
-                       global $SERVERROOT;
-                       $plugins = self::listPlugins();
-                       $blacklist=self::loadBlacklist();
-                       foreach($plugins as $plugin){
-                               if (array_search($plugin,$blacklist)===false) {
-                                       self::load($plugin);
-                               }
-                       }
-               }
-       }
-
-       /**
-       * load the blacklist from blacklist.txt
-       * @return array
-       */
-       public static function loadBlacklist(){
-               global $SERVERROOT;
-               if(count(self::$blacklist)>0){
-                       return self::$blacklist;
-               }
-               $blacklist=array();
-               if(is_file($SERVERROOT.'/plugins/blacklist.txt')){
-                       $file=file_get_contents($SERVERROOT.'/plugins/blacklist.txt');
-                       $lines=explode("\n",$file);
-                       foreach($lines as $line){
-                               $id=trim($line);
-                               if($id!='' and is_dir($SERVERROOT.'/plugins/'.$id)){
-                                       $blacklist[]=$id;
-                               }
-                       }
-               }
-               self::$blacklist=$blacklist;
-               return $blacklist;
-       }
-
-       /**
-       * save a blacklist to blacklist.txt
-       * @param array blacklist
-       */
-       private static function saveBlacklist($blacklist){
-               global $SERVERROOT;
-               $file='';
-               foreach($blacklist as $item){
-                       $file.="$item\n";
-               }
-               self::$blacklist=$blacklist;
-               file_put_contents($SERVERROOT.'/plugins/blacklist.txt',$file);
-       }
-
-       /**
-       * add a plugin to the blacklist
-       * @param string id
-       */
-       public static function addToBlacklist($id){
-               $blacklist=self::loadBlacklist();
-               if(array_search($id,$blacklist)===false){
-                       $blacklist[]=$id;
-                       self::$blacklist=$blacklist;
-                       self::saveBlacklist($blacklist);
-               }
-       }
-
-       /**
-       * remove a plugin to the blacklist
-       * @param string id
-       */
-       public static function removeFromBlacklist($id){
-               $blacklist=self::loadBlacklist();
-               $index=array_search($id,$blacklist);
-               if($index!==false){
-                       unset($blacklist[$index]);
-                       self::$blacklist=$blacklist;
-                       self::saveBlacklist($blacklist);
-               }
-       }
-
-       /**
-       * Load data from the plugin.xml of a plugin, either identified by the plugin or the path of the plugin.xml file
-       * @param string id
-       * @return array
-       */
-       public static function getPluginData($id){
-               global $SERVERROOT;
-               if(is_file($id)){
-                       $file=$id;
-               }else{
-                       if(!is_dir($SERVERROOT.'/plugins/'.$id) or !is_file($SERVERROOT.'/plugins/'.$id.'/plugin.xml')){
-                               return false;
-                       }else{
-                               $file=$SERVERROOT.'/plugins/'.$id.'/plugin.xml';
-                       }
-               }
-               $data=array();
-               $plugin=new DOMDocument();
-               $plugin->load($file);
-               $data['version']=$plugin->documentElement->getAttribute('version');
-               $info=$plugin->getElementsByTagName('info');
-               if($info->length>0){
-                       $info=$info->item(0);
-                       $data['info']=array();
-                       foreach($info->childNodes as $child){
-                               if($child->nodeType==XML_ELEMENT_NODE){
-                                       $data['info'][$child->tagName]=$child->textContent;
-                               }
-                       }
-               }
-               $runtime=$plugin->getElementsByTagName('runtime');
-               if($runtime->length>0){
-                       $runtime=$runtime->item(0);
-                       $data['runtime']=array();
-                       foreach($runtime->childNodes as $child){
-                               if($child->nodeType==XML_ELEMENT_NODE and $child->tagName=='include'){
-                                       $data['runtime'][]=$child->textContent;
-                               }
-                       }
-               }
-               $install=$plugin->getElementsByTagName('install');
-               if($install->length>0){
-                       $install=$install->item(0);
-                       $data['install']=array();
-                       foreach($install->childNodes as $child){
-                               if($child->nodeType==XML_ELEMENT_NODE){
-                                       $data['install']['include']=array();
-                                       $data['install']['dialog']=array();
-                                       $data['install']['database']=array();
-                                       switch($child->tagName){
-                                               case 'include':
-                                                       $data['install']['include'][]=$child->textContent;
-                                                       break;
-                                               case 'dialog':
-                                                       $data['install']['dialog'][]=$child->textContent;
-                                                       break;
-                                               case 'database':
-                                                       $data['install']['database'][]=$child->textContent;
-                                                       $data['install']['database_installed'][$child->textContent]=($child->hasAttribute('installed') and $child->getAttribute('installed')=='true')?true:false;
-                                                       break;
-                                       }
-                               }
-                       }
-               }
-               $uninstall=$plugin->getElementsByTagName('uninstall');
-               if($uninstall->length>0){
-                       $uninstall=$uninstall->item(0);
-                       $data['uninstall']=array();
-                       foreach($uninstall->childNodes as $child){
-                               if($child->nodeType==XML_ELEMENT_NODE){
-                                       $data['uninstall']['include']=array();
-                                       $data['uninstall']['dialog']=array();
-                                       switch($child->tagName){
-                                               case 'include':
-                                                       $data['uninstall']['include'][]=$child->textContent;
-                                                       break;
-                                               case 'dialog':
-                                                       $data['uninstall']['dialog'][]=$child->textContent;
-                                                       break;
-                                       }
-                               }
-                       }
-               }
-               return $data;
-       }
-
-
-       /**
-       * Save data to the plugin.xml of a plugin, either identified by the plugin or the path of the plugin.xml file
-       * @param string id
-       * @param array data the plugin data in the same structure as returned by getPluginData
-       * @return bool
-       */
-       public static function savePluginData($id,$data){
-               global $SERVERROOT;
-               if(is_file($id)){
-                       $file=$id;
-               }
-               if(!is_dir($SERVERROOT.'/plugins/'.$id) or !is_file($SERVERROOT.'/plugins/'.$id.'/plugin.xml')){
-                       return false;
-               }else{
-                       $file=$SERVERROOT.'/plugins/'.$id.'/plugin.xml';
-               }
-               $plugin=new DOMDocument();
-               $pluginNode=$plugin->createElement('plugin');
-               $pluginNode->setAttribute('version',$data['version']);
-               $plugin->appendChild($pluginNode);
-               $info=$plugin->createElement('info');
-               foreach($data['info'] as $name=>$value){
-                       $node=$plugin->createElement($name);
-                       $node->appendChild($plugin->createTextNode($value));
-                       $info->appendChild($node);
-               }
-               $pluginNode->appendChild($info);
-               if(isset($data['runtime'])){
-                       $runtime=$plugin->createElement('runtime');
-                       foreach($data['runtime'] as $include){
-                               $node=$plugin->createElement('include');
-                               $node->appendChild($plugin->createTextNode($include));
-                               $runtime->appendChild($node);
-                       }
-                       $pluginNode->appendChild($runtime);
-               }
-               if(isset($data['install'])){
-                       $install=$plugin->createElement('install');
-                       foreach($data['install']['include'] as $include){
-                               $node=$plugin->createElement('include');
-                               $node->appendChild($plugin->createTextNode($include));
-                               $install->appendChild($node);
-                       }
-                       foreach($data['install']['dialog'] as $dialog){
-                               $node=$plugin->createElement('dialog');
-                               $node->appendChild($plugin->createTextNode($dialog));
-                               $install->appendChild($node);
-                       }
-                       foreach($data['install']['database'] as $database){
-                               $node=$plugin->createElement('database');
-                               $node->appendChild($plugin->createTextNode($database));
-                               if($data['install']['database_installed'][$database]){
-                                       $node->setAttribute('installed','true');
-                               }
-                               $install->appendChild($node);
-                       }
-                       $pluginNode->appendChild($install);
-               }
-               if(isset($data['uninstall'])){
-                       $uninstall=$plugin->createElement('uninstall');
-                       foreach($data['uninstall']['include'] as $include){
-                               $node=$plugin->createElement('include');
-                               $node->appendChild($plugin->createTextNode($include));
-                               $uninstall->appendChild($node);
-                       }
-                       foreach($data['uninstall']['dialog'] as $dialog){
-                               $node=$plugin->createElement('dialog');
-                               $node->appendChild($plugin->createTextNode($dialog));
-                               $uninstall->appendChild($node);
-                       }
-                       $pluginNode->appendChild($uninstall);
-               }
-               $plugin->save($file);
-       }
-
-       /**
-       * install the databases of a plugin
-       * @param string id
-       * @return bool
-       */
-       public static function installDB($id){
-               global $SERVERROOT;
-               $data=OC_PLUGIN::getPluginData($id);
-               foreach($data['install']['database'] as $db){
-                       $installed=OC_APPCONFIG::getValue('plugin_installer','database_installed_'.$id.'_'.$db,'false');
-                       if ($installed!='true'){
-                               $file=$SERVERROOT.'/plugins/'.$id.'/'.$db;
-                               OC_DB::createDbFromStructure($file);
-                               OC_APPCONFIG::setValue('plugin_installer','database_installed_'.$id.'_'.$db,'true');
-                       }
-               }
-               return true;
-       }
-
-       public static function installPlugin($path){
-               global $SERVERROOT;
-               if(is_file($path)){
-                       $zip = new ZipArchive;
-                       if($zip->open($path)===TRUE){
-                               $folder=sys_get_temp_dir().'/OC_PLUGIN_INSTALL/';
-                               mkdir($folder);
-                               $zip->extractTo($folder);
-                               if(is_file($folder.'/plugin.xml')){
-                                       $pluginData=self::getPluginData($folder.'/plugin.xml');
-                                       if(array_search($pluginData['info']['id'],self::listPlugins())===false){
-                                               if(isset($pluginData['install'])){
-                                                       foreach($pluginData['install']['database'] as $db){
-                                                               OC_DB::createDbFromStructure($folder.'/'.$db);
-                                                               OC_APPCONFIG::setValue('plugin_installer','database_installed_'.$id.'_'.$db,'true');
-                                                       }
-                                                       foreach($pluginData['install']['include'] as $include){
-                                                               include($folder.'/'.$include);
-                                                       }
-                                               }
-                                               recursive_copy($folder,$SERVERROOT.'/plugins/'.$pluginData['info']['id']);
-                                       }
-                               }
-                               delTree($folder);
-                       }
-               }
-       }
-}
-?>
diff --git a/plugins/audioplayer/README b/plugins/audioplayer/README
deleted file mode 100644 (file)
index 5de1324..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-This plugin implements a very basic HTML5 audio preview for ownCloud.
-
-Only formats supported by the browser can be played.
-Sadly, those are very limited and not coherent among browsers, see http://html5doctor.com/native-audio-in-the-browser/ for more info.
-
-Ideas to change that (TODO):
-- Flashplayer fallback
-and/or
-- on-the-fly transcoding
diff --git a/plugins/audioplayer/audioplayer.js b/plugins/audioplayer/audioplayer.js
deleted file mode 100644 (file)
index 07e9f5e..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-OC_AudioPlayer = new Object();
-
-OC_AudioPlayer.playAudio = function(dir, file, type) {
-       var path = WEBROOT + '/files/api?action=get&dir='+encodeURIComponent(dir)+'&file='+encodeURIComponent(file);
-       
-       OC_AudioPlayer.audioFrame = document.createElement('div');
-       OC_AudioPlayer.audioFrame.setAttribute('id', 'audioframe');
-       OC_AudioPlayer.audioFrame.setAttribute('class', 'center');
-       var div = document.createElement('div');
-       var inner = document.createElement('div');
-       var audio = document.createElement('audio');
-       var source = document.createElement('source');
-       
-//     if (!(!!(audio.canPlayType) && (audio.canPlayType(type) != "no") && (audio.canPlayType(type) != ""))) {
-//             // use a flash player fallback
-//             // or implement some nice on-the-fly recoding here
-//             alert("Native playing of '"+type+"' format is not supported by your browser.");
-//             return;
-//     }
-       audio.setAttribute('controls', 'controls');
-       audio.setAttribute('preload', 'auto');
-       audio.setAttribute('autoplay', 'autoplay');
-       audio.setAttribute('autobuffer', 'autobuffer');
-       source.setAttribute('src', path);
-       source.setAttribute('type', type);
-       
-       audio.appendChild(source);
-       inner.appendChild(audio);
-       div.appendChild(inner);
-       OC_AudioPlayer.audioFrame.appendChild(div);
-       
-       OC_AudioPlayer.audioFrame.addEvent('onclick', OC_AudioPlayer.hidePlayer);
-       inner.addEvent('onclick', function(e){e.stopPropagation();}); // don't close if clicked on player
-       
-       body = document.getElementsByTagName('body').item(0);
-       body.appendChild(OC_AudioPlayer.audioFrame);
-}
-
-OC_AudioPlayer.hidePlayer = function(){
-       var div = document.getElementById('audioframe');
-       div.parentNode.removeChild(div);
-} 
-
-// only register "play" option for file formats the browser claims to support
-OC_AudioPlayer.formats = {
-       'audio/mpeg':"mp3",
-       'audio/ogg':"ogg",
-       'application/ogg':"ogg",
-       'audio/wav':"wav",
-       'audio/wave':"wav",
-       'audio/x-wav':"wav",
-       'audio/basic':"au",
-       'audio/x-aiff':"aif"
-};
-var audio = document.createElement('audio');
-for(format in OC_AudioPlayer.formats) {
-       if (!!(audio.canPlayType) && (audio.canPlayType(format) != "no") && (audio.canPlayType(format) != "")) {
-               if(!OC_FILES.fileActions[format]) {
-                       OC_FILES.fileActions[format] = new Object();
-               }
-               OC_FILES.fileActions[format].play = function() {
-                       OC_AudioPlayer.playAudio(this.dir, this.file, this.mime);
-               }
-               OC_FILES.fileActions[format]['default'] = OC_FILES.fileActions[format].play;
-       }
-}
diff --git a/plugins/audioplayer/lib_audioplayer.php b/plugins/audioplayer/lib_audioplayer.php
deleted file mode 100644 (file)
index 206f76b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-//load the required js and css files
-OC_UTIL::addScript('plugins/audioplayer/audioplayer.js');
-OC_UTIL::addStyle('plugins/audioplayer/style.css');
-?>
diff --git a/plugins/audioplayer/plugin.xml b/plugins/audioplayer/plugin.xml
deleted file mode 100644 (file)
index ea58af2..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0"?> 
-<plugin version='1.0'>
-       <info>
-               <id>audioplayer</id>
-               <name>A simple HTML5 based audio player for ownCloud</name>
-               <version>0.1</version>
-               <licence>AGPL</licence>
-               <author>ente</author>
-               <require>1.1</require>
-       </info>
-       <runtime>
-               <include>lib_audioplayer.php</include>
-       </runtime>
-</plugin> 
-
diff --git a/plugins/audioplayer/style.css b/plugins/audioplayer/style.css
deleted file mode 100644 (file)
index 689a049..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#audioframe{
-       position:absolute;
-       top:0px;
-       left:0px;
-       height:100%;
-       width:100%;
-       background:rgb(20,20,20);
-       background:rgba(20,20,20,0.9);
-       text-align:center;
-       display:table;
-}
-
-#audioframe>div{
-       display:table-cell;
-       vertical-align:middle;
-}
-
-#audioframe>div>div{
-       display:inline-block;
-}
-
diff --git a/plugins/blacklist.txt b/plugins/blacklist.txt
deleted file mode 100644 (file)
index e113a39..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-audioplayer
-ldap
-test
-textviewer
-publiclink
diff --git a/plugins/ldap/lib_ldap.php b/plugins/ldap/lib_ldap.php
deleted file mode 100644 (file)
index d2095a0..0000000
+++ /dev/null
@@ -1,230 +0,0 @@
-<?php
-
-/**
-* ownCloud
-*
-* @author Frank Karlitschek 
-* @copyright 2010 Frank Karlitschek karlitschek@kde.org 
-* 
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
-* License as published by the Free Software Foundation; either 
-* version 3 of the License, or any later version.
-* 
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
-*  
-* You should have received a copy of the GNU Affero General Public 
-* License along with this library.  If not, see <http://www.gnu.org/licenses/>.
-* 
-*/
-
-require_once('inc/User/backend.php');
-
-
-
-/**
- * Class for user management
- *
- */
-class OC_USER_LDAP extends OC_USER_BACKEND {
-
-       /**
-        * Check if the login button is pressed and log the user in
-        *
-        */
-       public static function loginListener() {
-               return('');
-       }
-
-       /**
-        * Try to create a new user
-        *
-        * @param  string  $username  The username of the user to create
-        * @param  string  $password  The password of the new user
-        */
-       public static function createUser($username, $password) {
-               return false;
-       }
-
-       /**
-        * Try to login a user
-        *
-        * @param  string  $username  The username of the user to log in
-        * @param  string  $password  The password of the user
-        */
-       public static function login($username, $password) {
-               if ( isset($_SERVER['PHP_AUTH_USER']) AND ('' != $_SERVER['PHP_AUTH_USER']) ) {
-                       $_SESSION['user_id'] = $_SERVER['PHP_AUTH_USER'];
-                       $_SESSION['username'] = $_SERVER['PHP_AUTH_USER'];
-                       $_SESSION['username_clean'] = $_SERVER['PHP_AUTH_USER'];
-                       return true;
-               }
-               return false;
-       }
-
-       /**
-        * Check if the logout button is pressed and logout the user
-        *
-        */
-       public static function logoutListener() {
-               if ( isset($_GET['logoutbutton']) AND isset($_SESSION['username']) ) {
-                       header('WWW-Authenticate: Basic realm="ownCloud"');
-                       header('HTTP/1.0 401 Unauthorized');
-                       die('401 Unauthorized');
-               }
-       }
-
-       /**
-        * Check if the user is logged in
-        *
-        */
-       public static function isLoggedIn(){
-               if ( isset($_SESSION['user_id']) AND $_SESSION['user_id'] ) {
-                       return true;
-               } else {
-                       if ( isset($_SERVER['PHP_AUTH_USER']) AND ('' != $_SERVER["PHP_AUTH_USER"]) ) {
-                               $_SESSION['user_id'] = $_SERVER['PHP_AUTH_USER'];
-                               $_SESSION['username'] = $_SERVER['PHP_AUTH_USER'];
-                               $_SESSION['username_clean'] = $_SERVER['PHP_AUTH_USER'];
-                               return true;
-                       }
-               }
-               return false;
-       }
-
-       /**
-        * Try to create a new group
-        *
-        * @param  string  $groupName  The name of the group to create
-        */
-       public static function createGroup($groupName) {
-               // does not work with MOD_AUTH (only or some modules)
-               return false;
-       }
-
-       /**
-        * Get the ID of a user
-        *
-        * @param  string   $username  Name of the user to find the ID
-        * @param  boolean  $noCache   If false the cache is used to find the ID
-        */
-       public static function getUserId($username, $noCache=false) {
-               // does not work with MOD_AUTH (only or some modules)
-               return 0;
-       }
-
-       /**
-        * Get the ID of a group
-        *
-        * @param  string   $groupName  Name of the group to find the ID
-        * @param  boolean  $noCache    If false the cache is used to find the ID
-        */
-       public static function getGroupId($groupName, $noCache=false) {
-               // does not work with MOD_AUTH (only or some modules)
-               return 0;
-       }
-
-       /**
-        * Get the name of a group
-        *
-        * @param  string  $groupId  ID of the group
-        * @param  boolean $noCache  If false the cache is used to find the name of the group
-        */
-       public static function getGroupName($groupId, $noCache=false) {
-               // does not work with MOD_AUTH (only or some modules)
-               return 0;
-       }
-
-       /**
-        * Check if a user belongs to a group
-        *
-        * @param  string  $username   Name of the user to check
-        * @param  string  $groupName  Name of the group
-        */
-       public static function inGroup($username, $groupName) {
-               // does not work with MOD_AUTH (only or some modules)
-               return false;
-       }
-
-       /**
-        * Add a user to a group
-        *
-        * @param  string  $username   Name of the user to add to group
-        * @param  string  $groupName  Name of the group in which add the user
-        */
-       public static function addToGroup($username, $groupName) {
-               // does not work with MOD_AUTH (only or some modules)
-               return false;
-       }
-
-       /**
-        * Remove a user from a group
-        *
-        * @param  string  $username   Name of the user to remove from group
-        * @param  string  $groupName  Name of the group from which remove the user
-        */
-       public static function removeFromGroup($username,$groupName){
-               // does not work with MOD_AUTH (only or some modules)
-               return false;
-       }
-
-       /**
-        * Generate a random password
-        */     
-       public static function generatePassword() {
-               return uniqId();
-       }
-
-       /**
-        * Get all groups the user belongs to
-        *
-        * @param  string  $username  Name of the user
-        */
-       public static function getUserGroups($username) {
-               // does not work with MOD_AUTH (only or some modules)
-               $groups=array();
-               return $groups;
-       }
-
-       /**
-        * Set the password of a user
-        *
-        * @param  string  $username  User who password will be changed
-        * @param  string  $password  The new password for the user
-        */
-       public static function setPassword($username, $password) {
-               return false;
-       }
-
-       /**
-        * Check if the password of the user is correct
-        *
-        * @param  string  $username  Name of the user
-        * @param  string  $password  Password of the user
-        */
-       public static function checkPassword($username, $password) {
-               // does not work with MOD_AUTH (only or some modules)
-               return false;
-       }
-
-       /**
-        * get a list of all users
-        *
-        */
-       public static function getUsers(){
-               // does not work with MOD_AUTH (only or some modules)
-               return false;
-       }
-       
-       /**
-        * get a list of all groups
-        *
-        */
-       public static function getGroups(){
-               // does not work with MOD_AUTH (only or some modules)
-               return false;
-       }
-}
diff --git a/plugins/ldap/plugin.xml b/plugins/ldap/plugin.xml
deleted file mode 100644 (file)
index 2127d13..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0"?> 
-<plugin version='1.0'>
-       <info>
-               <id>ldap</id>
-               <name>LDAP support for ownCloud</name>
-               <version>0.1</version>
-               <licence>AGPL</licence>
-               <author>fabian</author>
-               <require>1.1</require>
-       </info>
-       <runtime>
-               <include>lib_ldap.php</include>
-       </runtime>
-</plugin>
\ No newline at end of file
diff --git a/plugins/test/index.php b/plugins/test/index.php
deleted file mode 100644 (file)
index c277d9b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-/**
-* ownCloud
-*
-* @author Frank Karlitschek 
-* @copyright 2010 Frank Karlitschek karlitschek@kde.org 
-* 
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
-* License as published by the Free Software Foundation; either 
-* version 3 of the License, or any later version.
-* 
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
-*  
-* You should have received a copy of the GNU Affero General Public 
-* License along with this library.  If not, see <http://www.gnu.org/licenses/>.
-* 
-*/
-
-
-require_once('../../inc/lib_base.php');
-
-
-OC_UTIL::showheader();
-
-echo('<div class="center">');
-echo('nothing here yet :-)');
-echo('</div>');
-
-
-OC_UTIL::showfooter();
-
-?>
diff --git a/plugins/test/lib_test.php b/plugins/test/lib_test.php
deleted file mode 100644 (file)
index f28fd0d..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
-/**
-* ownCloud
-*
-* @author Frank Karlitschek 
-* @copyright 2010 Frank Karlitschek karlitschek@kde.org 
-* 
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
-* License as published by the Free Software Foundation; either 
-* version 3 of the License, or any later version.
-* 
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
-*  
-* You should have received a copy of the GNU Affero General Public 
-* License along with this library.  If not, see <http://www.gnu.org/licenses/>.
-* 
-*/
-
-
-// register navigation entry
-OC_UTIL::addnavigationentry('Test','/plugins/test');
-
-// nothing here yet
-
-
-?>
diff --git a/plugins/test/plugin.xml b/plugins/test/plugin.xml
deleted file mode 100644 (file)
index b9207c2..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0"?> 
-<plugin version='1.0'>
-       <info>
-               <id>test</id>
-               <name>Test plugin</name>
-               <version>0.1</version>
-               <licence>AGPL</licence>
-               <author>2010 Frank Karlitschek karlitschek@kde.org</author>
-               <require>1.1</require>
-       </info>
-       <runtime>
-               <include>lib_test.php</include>
-       </runtime>
-</plugin> 
-
diff --git a/plugins/textviewer/lib_textviewer.php b/plugins/textviewer/lib_textviewer.php
deleted file mode 100644 (file)
index 2853ee2..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-//load the required js and css files 
-OC_UTIL::addScript('plugins/textviewer/textviewer.js');
-OC_UTIL::addStyle('plugins/textviewer/style.css');
-
-//load SyntaxHighligher
-OC_UTIL::addScript('plugins/textviewer/syntaxhighlighter/scripts/shCore.js');
-OC_UTIL::addStyle('plugins/textviewer/syntaxhighlighter/styles/shCoreDefault.css');
-OC_UTIL::addStyle('plugins/textviewer/syntaxhighlighter/styles/shCore.css');
-OC_UTIL::addStyle('plugins/textviewer/syntaxhighlighter/styles/shThemeDefault.css');
-?>
diff --git a/plugins/textviewer/plugin.xml b/plugins/textviewer/plugin.xml
deleted file mode 100644 (file)
index fe2cd63..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0"?> 
-<plugin version='1.0'>
-       <info>
-               <id>textviewer</id>
-               <name>A simple text viewer for ownCloud</name>
-               <version>0.2</version>
-               <licence>AGPL</licence>
-               <author>Icewind</author>
-               <require>1.1</require>
-       </info>
-       <runtime>
-               <include>lib_textviewer.php</include>
-       </runtime>
-</plugin> 
diff --git a/plugins/textviewer/style.css b/plugins/textviewer/style.css
deleted file mode 100644 (file)
index d127104..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#textframe{
-       position:absolute;
-       top:0px;
-       left:0px;
-       height:100%;
-       width:100%;
-       background:rgb(20,20,20);
-       background:rgba(20,20,20,0.9);
-       text-align:center;
-}
-
-#textframe>div{
-       vertical-align:middle;
-       text-align:left;
-       height:auto;
-       max-height:90%;
-       max-width:90%;
-       margin:20px;
-       margin-left:auto;
-       margin-right:auto;
-       margin-bottom:10px;
-       padding:0px;
-       border: black solid 3px;
-       background:black;
-       color:white;
-       overflow:auto;
-}
-
-#textframe>div>div>div{
-       margin:0px !important;
-       top:0px !important;
-       height:100% !important;
-}
-
-#textframe>div div,#textframe>div td{
-       overflow:hidden !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/LGPL-LICENSE b/plugins/textviewer/syntaxhighlighter/LGPL-LICENSE
deleted file mode 100644 (file)
index 3f9959f..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-                  GNU LESSER GENERAL PUBLIC LICENSE
-                       Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-
-  This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
-
-  0. Additional Definitions. 
-
-  As used herein, "this License" refers to version 3 of the GNU Lesser
-General Public License, and the "GNU GPL" refers to version 3 of the GNU
-General Public License.
-
-  "The Library" refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
-  An "Application" is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
-  A "Combined Work" is a work produced by combining or linking an
-Application with the Library.  The particular version of the Library
-with which the Combined Work was made is also called the "Linked
-Version".
-
-  The "Minimal Corresponding Source" for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
-  The "Corresponding Application Code" for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
-  1. Exception to Section 3 of the GNU GPL.
-
-  You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
-  2. Conveying Modified Versions.
-
-  If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
-   a) under this License, provided that you make a good faith effort to
-   ensure that, in the event an Application does not supply the
-   function or data, the facility still operates, and performs
-   whatever part of its purpose remains meaningful, or
-
-   b) under the GNU GPL, with none of the additional permissions of
-   this License applicable to that copy.
-
-  3. Object Code Incorporating Material from Library Header Files.
-
-  The object code form of an Application may incorporate material from
-a header file that is part of the Library.  You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
-   a) Give prominent notice with each copy of the object code that the
-   Library is used in it and that the Library and its use are
-   covered by this License.
-
-   b) Accompany the object code with a copy of the GNU GPL and this license
-   document.
-
-  4. Combined Works.
-
-  You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
-   a) Give prominent notice with each copy of the Combined Work that
-   the Library is used in it and that the Library and its use are
-   covered by this License.
-
-   b) Accompany the Combined Work with a copy of the GNU GPL and this license
-   document.
-
-   c) For a Combined Work that displays copyright notices during
-   execution, include the copyright notice for the Library among
-   these notices, as well as a reference directing the user to the
-   copies of the GNU GPL and this license document.
-
-   d) Do one of the following:
-
-       0) Convey the Minimal Corresponding Source under the terms of this
-       License, and the Corresponding Application Code in a form
-       suitable for, and under terms that permit, the user to
-       recombine or relink the Application with a modified version of
-       the Linked Version to produce a modified Combined Work, in the
-       manner specified by section 6 of the GNU GPL for conveying
-       Corresponding Source.
-
-       1) Use a suitable shared library mechanism for linking with the
-       Library.  A suitable mechanism is one that (a) uses at run time
-       a copy of the Library already present on the user's computer
-       system, and (b) will operate properly with a modified version
-       of the Library that is interface-compatible with the Linked
-       Version. 
-
-   e) Provide Installation Information, but only if you would otherwise
-   be required to provide such information under section 6 of the
-   GNU GPL, and only to the extent that such information is
-   necessary to install and execute a modified version of the
-   Combined Work produced by recombining or relinking the
-   Application with a modified version of the Linked Version. (If
-   you use option 4d0, the Installation Information must accompany
-   the Minimal Corresponding Source and Corresponding Application
-   Code. If you use option 4d1, you must provide the Installation
-   Information in the manner specified by section 6 of the GNU GPL
-   for conveying Corresponding Source.)
-
-  5. Combined Libraries.
-
-  You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
-   a) Accompany the combined library with a copy of the same work based
-   on the Library, uncombined with any other library facilities,
-   conveyed under the terms of this License.
-
-   b) Give prominent notice with the combined library that part of it
-   is a work based on the Library, and explaining where to find the
-   accompanying uncombined form of the same work.
-
-  6. Revised Versions of the GNU Lesser General Public License.
-
-  The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
-  Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License "or any later version"
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
-  If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
\ No newline at end of file
diff --git a/plugins/textviewer/syntaxhighlighter/MIT-LICENSE b/plugins/textviewer/syntaxhighlighter/MIT-LICENSE
deleted file mode 100644 (file)
index e7c70ba..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright (c) 2003, 2004 Jim Weirich
-
-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.
diff --git a/plugins/textviewer/syntaxhighlighter/compass/_theme_template.scss b/plugins/textviewer/syntaxhighlighter/compass/_theme_template.scss
deleted file mode 100644 (file)
index 53f4df5..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-$background:                                   white !default;
-
-$line_alt1_background:                 $background !default;
-$line_alt2_background:                 $background !default;
-
-$line_highlighted_background:  #e0e0e0 !default;
-$line_highlighted_number:              black !default;
-
-$gutter_text:                                  #afafaf !default;
-$gutter_border_color:                  #6ce26c !default;
-$gutter_border:                                        3px solid $gutter_border_color !default;
-
-$toolbar_collapsed_a:                  #00f !default;
-$toolbar_collapsed_a_hover:            #f00 !default;
-$toolbar_collapsed_background: #fff !default;
-$toolbar_collapsed_border:             1px solid $gutter_border_color !default;
-
-$toolbar_a:                                            #fff !default;
-$toolbar_a_hover:                              #000 !default;
-$toolbar_background:                   $gutter_border_color !default;
-$toolbar_border:                               none !default;
-
-$code_plain:                                   black !default;
-$code_comments:                                        #008200 !default;
-$code_string:                                  blue !default;
-$code_keyword:                                 #006699 !default;
-$code_preprocessor:                            gray !default;
-$code_variable:                                        #aa7700 !default;
-$code_value:                                   #009900 !default;
-$code_functions:                               #ff1493 !default;
-$code_constants:                               #0066cc !default;
-$code_script:                                  $code_keyword !default;
-$code_script_background:               none !default;
-$code_color1:                                  gray !default;
-$code_color2:                                  #ff1493 !default;
-$code_color3:                                  red !default;
-
-$caption_color:                                        $code_plain !default;
-
-// Interface elements.
-.syntaxhighlighter {
-       background-color: $background !important;
-
-       // Highlighed line number
-       .line {
-               &.alt1 { background-color: $line_alt1_background !important; }
-               &.alt2 { background-color: $line_alt2_background !important; }
-               
-               // Highlighed line
-               &.highlighted {
-                       &.alt1, &.alt2 { background-color: $line_highlighted_background !important; }
-                       &.number { color: $line_highlighted_number !important; }
-               }
-       }
-       
-       table {
-               caption {
-                       color: $caption_color !important;
-               }
-       }
-       
-       // Add border to the lines
-       .gutter {
-               color: $gutter_text !important;
-               .line {
-                       border-right: $gutter_border !important;
-                       
-                       &.highlighted {
-                               background-color: $gutter_border_color !important;
-                               color: $background !important;
-                       } 
-               } 
-       }
-       
-       &.printing .line .content { border: none !important; }
-       
-       &.collapsed {
-               overflow: visible !important;
-               
-               .toolbar {
-                       color: $toolbar_collapsed_a !important;
-                       background: $toolbar_collapsed_background !important;
-                       border: $toolbar_collapsed_border !important;
-                       
-                       a {
-                               color: $toolbar_collapsed_a !important;
-                               &:hover { color: $toolbar_collapsed_a_hover !important; } 
-                       } 
-               }
-       }
-       
-       .toolbar {
-               color: $toolbar_a !important;
-               background: $toolbar_background !important;
-               border: $toolbar_border !important;
-               a {
-                       color: $toolbar_a !important;
-                       &:hover { color: $toolbar_a_hover !important; } 
-               } 
-       }
-       
-       // Actual syntax highlighter colors.
-       .plain, .plain a { color: $code_plain !important; }
-       .comments, .comments a { color: $code_comments !important; }
-       .string, .string a { color: $code_string !important; }
-       .keyword { color: $code_keyword !important; }
-       .preprocessor { color: $code_preprocessor !important; }
-       .variable { color: $code_variable !important; }
-       .value { color: $code_value !important; }
-       .functions { color: $code_functions !important; }
-       .constants { color: $code_constants !important; }
-       .script {
-               font-weight: bold !important;
-               color: $code_script !important;
-               background-color: $code_script_background !important;
-       }
-       .color1, .color1 a { color: $code_color1 !important; }
-       .color2, .color2 a { color: $code_color2 !important; }
-       .color3, .color3 a { color: $code_color3 !important; } 
-}
diff --git a/plugins/textviewer/syntaxhighlighter/compass/config.rb b/plugins/textviewer/syntaxhighlighter/compass/config.rb
deleted file mode 100644 (file)
index 6f82de1..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-environment   = :production
-project_type  = :stand_alone
-http_path     = "/"
-css_dir       = "../styles"
-sass_dir      = "."
-images_dir    = "images"
-sass_options  = {
-  :line_numbers => false,
-  :debug_info   => false
-}
-
-# output_style = :compressed
-# output_style = :compact
-output_style = :expanded
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shCore.scss b/plugins/textviewer/syntaxhighlighter/compass/shCore.scss
deleted file mode 100644 (file)
index a67e4f9..0000000
+++ /dev/null
@@ -1,216 +0,0 @@
-@mixin round_corners_custom($top, $right, $bottom, $left) {
-       -moz-border-radius: $top $right $bottom $left !important;
-       -webkit-border-radius: $top $right $bottom $left !important;
-}
-
-@mixin round_corners($radius) {
-       @include round_corners_custom($radius, $radius, $radius, $radius);
-}
-
-.syntaxhighlighter {
-       a,
-       div,
-       code,
-       table,
-       table td,
-       table tr,
-       table tbody,
-       table thead,
-       table caption,
-       textarea {
-               @include round_corners(0);
-               
-               background: none !important;
-               border: 0 !important;
-               bottom: auto !important;
-               float: none !important;
-               height: auto !important;
-               left: auto !important;
-               line-height: 1.1em !important;
-               margin: 0 !important;
-               outline: 0 !important;
-               overflow: visible !important;
-               padding: 0 !important;
-               position: static !important;
-               right: auto !important;
-               text-align: left !important;
-               top: auto !important;
-               vertical-align: baseline !important;
-               width: auto !important;
-               box-sizing: content-box !important;
-               font: {
-                       family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-                       weight: normal !important;
-                       style: normal !important;
-                       size: 1em !important;
-               }
-               min: {
-                       // For IE8, FF & WebKit
-                       height: inherit !important;
-                       // For IE7
-                       height: auto !important;
-               }
-       }
-}
-
-.syntaxhighlighter {
-       width: 100% !important;
-       margin: 1em 0 1em 0 !important;
-       
-       position: relative !important;
-       overflow: auto !important;
-       font-size: 1em !important;
-       
-       &.source { overflow: hidden !important; }
-       
-       // set up bold and italic
-       .bold { font-weight: bold !important; }
-       .italic { font-style: italic !important; }
-       
-       .line { white-space: pre !important; }
-       
-       // main table and columns
-       table {
-               width: 100% !important;
-               caption {
-                       text-align: left !important;
-                       padding: .5em 0 0.5em 1em !important;
-               }
-               
-               td.code {
-                       width: 100% !important;
-                       
-                       .container {
-                               position: relative !important;
-                               
-                               textarea {
-                                       box-sizing: border-box !important;
-                                       position: absolute !important;
-                                       left: 0 !important;
-                                       top: 0 !important;
-                                       width: 100% !important;
-                                       height: 100% !important;
-                                       border: none !important;
-                                       background: white !important;
-                                       padding-left: 1em !important;
-                                       overflow: hidden !important;
-                                       white-space: pre !important;
-                               } 
-                       } 
-               }
-               
-               // middle spacing between line numbers and lines
-               td.gutter .line {
-                       text-align: right !important;
-                       padding: 0 0.5em 0 1em !important; 
-               }
-               
-               td.code .line {
-                       padding: 0 1em !important;
-               }
-       }
-       
-       &.nogutter {
-               td.code {
-                       .container textarea, .line { padding-left: 0em !important; }
-               }
-       }
-       
-       &.show { display: block !important; }
-       
-       // Adjust some properties when collapsed
-       &.collapsed {
-               table { display: none !important; }
-               
-               .toolbar {
-                       padding: 0.1em 0.8em 0em 0.8em !important;
-                       font-size: 1em !important;
-                       position: static !important;
-                       width: auto !important;
-                       height: auto !important;
-                       
-                       span {
-                               display: inline !important;
-                               margin-right: 1em !important;
-                               
-                               a {
-                                       padding: 0 !important;
-                                       display: none !important;
-                                       &.expandSource { display: inline !important; } 
-                               }
-                       }
-               }
-       }
-       
-       // Styles for the toolbar
-       .toolbar {
-               position: absolute !important;
-               right: 1px !important;
-               top: 1px !important;
-               width: 11px !important;
-               height: 11px !important;
-               font-size: 10px !important;
-               z-index: 10 !important;
-               
-               span.title { display: inline !important; }
-               
-               a {
-                       display: block !important;
-                       text-align: center !important;
-                       text-decoration: none !important;
-                       padding-top: 1px !important;
-                       
-                       &.expandSource { display: none !important; }
-               }
-       }
-       
-       &.ie {
-               font-size: .9em !important;
-               padding: 1px 0 1px 0 !important;
-               
-               .toolbar {
-                       line-height: 8px !important;
-                       a {
-                               padding-top: 0px !important;
-                       }
-               }
-       }
-       
-       // Print view.
-       // Colors are based on the default theme without background.
-       &.printing {
-               .line.alt1 .content,
-               .line.alt2 .content,
-               .line.highlighted .number,
-               .line.highlighted.alt1 .content,
-               .line.highlighted.alt2 .content { background: none !important; }
-               
-               // Gutter line numbers
-               .line {
-                       .number { color: #bbbbbb !important; }
-                       // Add border to the lines
-                       .content { color: black !important; }
-               }
-               
-               // Toolbar when visible
-               .toolbar { display: none !important; }
-               a { text-decoration: none !important; }
-               .plain, .plain a { color: black !important; }
-               .comments, .comments a { color: #008200 !important; }
-               .string, .string a { color: blue !important; }
-               .keyword {
-                       color: #006699 !important;
-                       font-weight: bold !important; 
-               }
-               .preprocessor { color: gray !important; }
-               .variable { color: #aa7700 !important; }
-               .value { color: #009900 !important; }
-               .functions { color: #ff1493 !important; }
-               .constants { color: #0066cc !important; }
-               .script { font-weight: bold !important; }
-               .color1, .color1 a { color: gray !important; }
-               .color2, .color2 a { color: #ff1493 !important; }
-               .color3, .color3 a { color: red !important; }
-               .break, .break a { color: black !important; }
-       }
-}
\ No newline at end of file
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shCoreDefault.scss b/plugins/textviewer/syntaxhighlighter/compass/shCoreDefault.scss
deleted file mode 100644 (file)
index ff80c7f..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "shCore.scss";
-@import "shThemeDefault.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shCoreDjango.scss b/plugins/textviewer/syntaxhighlighter/compass/shCoreDjango.scss
deleted file mode 100644 (file)
index ef572e9..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "shCore.scss";
-@import "shThemeDjango.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shCoreEclipse.scss b/plugins/textviewer/syntaxhighlighter/compass/shCoreEclipse.scss
deleted file mode 100644 (file)
index 9767f53..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "shCore.scss";
-@import "shThemeEclipse.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shCoreEmacs.scss b/plugins/textviewer/syntaxhighlighter/compass/shCoreEmacs.scss
deleted file mode 100644 (file)
index 5e466f3..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "shCore.scss";
-@import "shThemeEmacs.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shCoreFadeToGrey.scss b/plugins/textviewer/syntaxhighlighter/compass/shCoreFadeToGrey.scss
deleted file mode 100644 (file)
index 4628595..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "shCore.scss";
-@import "shThemeFadeToGrey.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shCoreMDUltra.scss b/plugins/textviewer/syntaxhighlighter/compass/shCoreMDUltra.scss
deleted file mode 100644 (file)
index 10ad4c5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "shCore.scss";
-@import "shThemeMDUltra.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shCoreMidnight.scss b/plugins/textviewer/syntaxhighlighter/compass/shCoreMidnight.scss
deleted file mode 100644 (file)
index e357eb2..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "shCore.scss";
-@import "shThemeMidnight.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shCoreRDark.scss b/plugins/textviewer/syntaxhighlighter/compass/shCoreRDark.scss
deleted file mode 100644 (file)
index 5c26da3..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "shCore.scss";
-@import "shThemeRDark.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shThemeDefault.scss b/plugins/textviewer/syntaxhighlighter/compass/shThemeDefault.scss
deleted file mode 100644 (file)
index 6ff829e..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// Default Syntax Highlighter theme.
-
-@import "_theme_template.scss";
-
-.syntaxhighlighter {
-.keyword { font-weight:
-        bold !important;
-    }
-}
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shThemeDjango.scss b/plugins/textviewer/syntaxhighlighter/compass/shThemeDjango.scss
deleted file mode 100644 (file)
index 45e3f09..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// Django SyntaxHighlighter theme
-
-$background:                                   #0a2b1d !default;
-
-$line_highlighted_background:  #233729 !default;
-$line_highlighted_number:
-white !default;
-
-$gutter_text:                                  #497958 !default;
-$gutter_border_color:                  #41a83e !default;
-
-$toolbar_collapsed_a:                  #96dd3b !default;
-$toolbar_collapsed_a_hover:            #fff !default;
-$toolbar_collapsed_background: #000 !default;
-
-$toolbar_a:                                            #fff !default;
-$toolbar_a_hover:                              #ffe862 !default;
-
-$code_plain:                                   #f8f8f8 !default;
-$code_comments:                                        #336442 !default;
-$code_string:                                  #9df39f !default;
-$code_keyword:                                 #96dd3b !default;
-$code_preprocessor:                            #91bb9e !default;
-$code_variable:                                        #ffaa3e !default;
-$code_value:                                   #f7e741 !default;
-$code_functions:                               #ffaa3e !default;
-$code_constants:                               #e0e8ff !default;
-$code_color1:                                  #eb939a !default;
-$code_color2:                                  #91bb9e !default;
-$code_color3:                                  #edef7d !default;
-
-@import "_theme_template.scss";
-
-.syntaxhighlighter {
-.comments { font-style:
-        italic !important;
-    }
-.keyword { font-weight:
-               bold !important;
-             }
-}
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shThemeEclipse.scss b/plugins/textviewer/syntaxhighlighter/compass/shThemeEclipse.scss
deleted file mode 100644 (file)
index 33cf5a3..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// Eclipse IDE SyntaxHighlighter color theme
-// (C) Code-House
-// :http//blog.code-house.org/2009/10/xml-i-adnotacje-kod-ogolnego-przeznaczenia-i-jpa/
-
-$background:                                   #fff !default;
-
-$line_highlighted_background:  #c3defe !default;
-$line_highlighted_number:              #fff !default;
-
-$gutter_text:                                  #787878 !default;
-$gutter_border_color:                  #d4d0c8 !default;
-
-$toolbar_collapsed_a:                  #3f5fbf !default;
-$toolbar_collapsed_a_hover:            #aa7700 !default;
-$toolbar_collapsed_background: #fff !default;
-
-$toolbar_a:                                            #a0a0a0 !default;
-$toolbar_a_hover:
-red !default;
-
-$code_plain:
-black !default;
-$code_comments:                                        #3f5fbf !default;
-$code_string:                                  #2a00ff !default;
-$code_keyword:                                 #7f0055 !default;
-$code_preprocessor:                            #646464 !default;
-$code_variable:                                        #aa7700 !default;
-$code_value:                                   #009900 !default;
-$code_functions:                               #ff1493 !default;
-$code_constants:                               #0066cc !default;
-$code_color1:
-gray !default;
-$code_color2:                                  #ff1493 !default;
-$code_color3:
-red !default;
-
-@import "_theme_template.scss";
-
-.syntaxhighlighter {
-.keyword { font-weight:
-        bold !important;
-    }
-
-    .xml {
-        .keyword {
-color: #3f7f7f !important;
-font-weight:
-            normal !important;
-        }
-.color1, .color1 a { color: #7f007f !important; }
-        .string {
-font-style:
-            italic !important;
-color: #2a00ff !important;
-        }
-    }
-}
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shThemeEmacs.scss b/plugins/textviewer/syntaxhighlighter/compass/shThemeEmacs.scss
deleted file mode 100644 (file)
index 2589374..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Emacs SyntaxHighlighter theme based on theme by Joshua Emmons
-// http://www.skia.net/
-
-$background:
-black !default;
-
-$line_highlighted_background:  #2A3133 !default;
-$line_highlighted_number:
-white !default;
-
-$gutter_text:                                  #d3d3d3 !default;
-$gutter_border_color:                  #990000 !default;
-
-$toolbar_collapsed_a:                  #ebdb8d !default;
-$toolbar_collapsed_a_hover:            #ff7d27 !default;
-$toolbar_collapsed_background:
-black !default;
-
-$toolbar_a:                                            #fff !default;
-$toolbar_a_hover:                              #9ccff4 !default;
-
-$code_plain:                                   #d3d3d3 !default;
-$code_comments:                                        #ff7d27 !default;
-$code_string:                                  #ff9e7b !default;
-$code_keyword:
-aqua !default;
-$code_preprocessor:                            #aec4de !default;
-$code_variable:                                        #ffaa3e !default;
-$code_value:                                   #009900 !default;
-$code_functions:                               #81cef9 !default;
-$code_constants:                               #ff9e7b !default;
-$code_color1:                                  #ebdb8d !default;
-$code_color2:                                  #ff7d27 !default;
-$code_color3:                                  #aec4de !default;
-
-@import "_theme_template.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shThemeFadeToGrey.scss b/plugins/textviewer/syntaxhighlighter/compass/shThemeFadeToGrey.scss
deleted file mode 100644 (file)
index 3ec13b1..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// Fade to Grey SyntaxHighlighter theme based on theme by Brasten Sager
-// :http//www.ibrasten.com/
-
-$background:                                   #121212 !default;
-
-$line_highlighted_background:  #2C2C29 !default;
-$line_highlighted_number:
-white !default;
-
-$gutter_text:                                  #afafaf !default;
-$gutter_border_color:                  #3185b9 !default;
-
-$toolbar_collapsed_a:                  #3185b9 !default;
-$toolbar_collapsed_a_hover:            #d01d33 !default;
-$toolbar_collapsed_background:
-black !default;
-
-$toolbar_a:                                            #fff !default;
-$toolbar_a_hover:                              #96daff !default;
-
-$code_plain:
-white !default;
-$code_comments:                                        #696854 !default;
-$code_string:                                  #e3e658 !default;
-$code_keyword:                                 #d01d33 !default;
-$code_preprocessor:                            #435a5f !default;
-$code_variable:                                        #898989 !default;
-$code_value:                                   #009900 !default;
-$code_functions:                               #aaaaaa !default;
-$code_constants:                               #96daff !default;
-$code_color1:                                  #ffc074 !default;
-$code_color2:                                  #4a8cdb !default;
-$code_color3:                                  #96daff !default;
-
-@import "_theme_template.scss";
-
-.syntaxhighlighter {
-.functions { font-weight:
-        bold !important;
-    }
-}
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shThemeMDUltra.scss b/plugins/textviewer/syntaxhighlighter/compass/shThemeMDUltra.scss
deleted file mode 100644 (file)
index c09517b..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// MDUltra SyntaxHighlighter theme based on Midnight Theme
-// http://www.mddev.co.uk/
-
-$background:                                   #222222 !default;
-
-$line_highlighted_background:  #253e5a !default;
-$line_highlighted_number:
-white !default;
-
-$gutter_text:                                  #38566f !default;
-$gutter_border_color:                  #435a5f !default;
-
-$toolbar_collapsed_a:                  #428bdd !default;
-$toolbar_collapsed_a_hover:
-lime !default;
-$toolbar_collapsed_background:
-black !default;
-
-$toolbar_a:                                            #aaaaff !default;
-$toolbar_a_hover:                              #9ccff4 !default;
-
-$code_plain:
-lime !default;
-$code_comments:                                        #428bdd !default;
-$code_string:
-lime !default;
-$code_keyword:                                 #aaaaff !default;
-$code_preprocessor:                            #8aa6c1 !default;
-$code_variable:
-aqua !default;
-$code_value:                                   #f7e741 !default;
-$code_functions:                               #ff8000 !default;
-$code_constants:
-yellow !default;
-$code_color1:
-red !default;
-$code_color2:
-yellow !default;
-$code_color3:                                  #ffaa3e !default;
-
-@import "_theme_template.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shThemeMidnight.scss b/plugins/textviewer/syntaxhighlighter/compass/shThemeMidnight.scss
deleted file mode 100644 (file)
index 55a630b..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-// Midnight SyntaxHighlighter theme based on theme by J.D. Myers
-// http://webdesign.lsnjd.com/
-
-$background:                                   #0f192a !default;
-
-$line_highlighted_background:  #253e5a !default;
-$line_highlighted_number:              #38566f !default;
-
-$gutter_text:                                  #afafaf !default;
-$gutter_border_color:                  #435a5f !default;
-
-$toolbar_collapsed_a:                  #428bdd !default;
-$toolbar_collapsed_a_hover:            #1dc116 !default;
-$toolbar_collapsed_background: #000 !default;
-
-$toolbar_a:                                            #D1EDFF !default;
-$toolbar_a_hover:                              #8aa6c1 !default;
-
-$code_plain:                                   #d1edff !default;
-$code_comments:                                        #428bdd !default;
-$code_string:                                  #1dc116 !default;
-$code_keyword:                                 #b43d3d !default;
-$code_preprocessor:                            #8aa6c1 !default;
-$code_variable:                                        #ffaa3e !default;
-$code_value:                                   #f7e741 !default;
-$code_functions:                               #ffaa3e !default;
-$code_constants:                               #e0e8ff !default;
-$code_color1:                                  #f8bb00 !default;
-$code_color2:
-white !default;
-$code_color3:                                  #ffaa3e !default;
-
-@import "_theme_template.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/compass/shThemeRDark.scss b/plugins/textviewer/syntaxhighlighter/compass/shThemeRDark.scss
deleted file mode 100644 (file)
index f37acb2..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-// RDark SyntaxHighlighter theme based on theme by Radu Dineiu
-// http://www.vim.org/scripts/script.php?script_id=1732
-
-$background:                                   #1b2426 !default;
-
-$line_highlighted_background:  #323E41 !default;
-$line_highlighted_number:              #b9bdb6 !default;
-
-$gutter_text:                                  #afafaf !default;
-$gutter_border_color:                  #435a5f !default;
-
-$toolbar_collapsed_a:                  #5ba1cf !default;
-$toolbar_collapsed_a_hover:            #5ce638 !default;
-$toolbar_collapsed_background: #000 !default;
-
-$toolbar_a:                                            #fff !default;
-$toolbar_a_hover:                              #e0e8ff !default;
-
-$code_plain:                                   #b9bdb6 !default;
-$code_comments:                                        #878a85 !default;
-$code_string:                                  #5ce638 !default;
-$code_keyword:                                 #5ba1cf !default;
-$code_preprocessor:                            #435a5f !default;
-$code_variable:                                        #ffaa3e !default;
-$code_value:                                   #009900 !default;
-$code_functions:                               #ffaa3e !default;
-$code_constants:                               #e0e8ff !default;
-$code_color1:                                  #e0e8ff !default;
-$code_color2:
-white !default;
-$code_color3:                                  #ffaa3e !default;
-
-@import "_theme_template.scss";
diff --git a/plugins/textviewer/syntaxhighlighter/index.html b/plugins/textviewer/syntaxhighlighter/index.html
deleted file mode 100644 (file)
index 60908f4..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-       <title>Hello SyntaxHighlighter</title>
-       <script type="text/javascript" src="scripts/shCore.js"></script>
-       <script type="text/javascript" src="scripts/shBrushJScript.js"></script>
-       <link type="text/css" rel="stylesheet" href="styles/shCoreDefault.css"/>
-       <script type="text/javascript">SyntaxHighlighter.all();</script>
-</head>
-
-<body style="background: white; font-family: Helvetica">
-
-<h1>Hello SyntaxHighlighter</h1>
-<pre class="brush: js;">
-function helloSyntaxHighlighter()
-{
-       return "hi!";
-}
-</pre>
-
-</html>
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shAutoloader.js b/plugins/textviewer/syntaxhighlighter/scripts/shAutoloader.js
deleted file mode 100644 (file)
index 4e29bdd..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(2(){1 h=5;h.I=2(){2 n(c,a){4(1 d=0;d<c.9;d++)i[c[d]]=a}2 o(c){1 a=r.H("J"),d=3;a.K=c;a.M="L/t";a.G="t";a.u=a.v=2(){6(!d&&(!8.7||8.7=="F"||8.7=="z")){d=q;e[c]=q;a:{4(1 p y e)6(e[p]==3)B a;j&&5.C(k)}a.u=a.v=x;a.D.O(a)}};r.N.R(a)}1 f=Q,l=h.P(),i={},e={},j=3,k=x,b;5.T=2(c){k=c;j=q};4(b=0;b<f.9;b++){1 m=f[b].w?f[b]:f[b].S(/\\s+/),g=m.w();n(m,g)}4(b=0;b<l.9;b++)6(g=i[l[b].E.A]){e[g]=3;o(g)}}})();',56,56,'|var|function|false|for|SyntaxHighlighter|if|readyState|this|length|||||||||||||||||true|document||javascript|onload|onreadystatechange|pop|null|in|complete|brush|break|highlight|parentNode|params|loaded|language|createElement|autoloader|script|src|text|type|body|removeChild|findElements|arguments|appendChild|split|all'.split('|'),0,{}))
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushAS3.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushAS3.js
deleted file mode 100644 (file)
index 8aa3ed2..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Created by Peter Atoria @ http://iAtoria.com
-       
-               var inits        =  'class interface function package';
-       
-               var keywords =  '-Infinity ...rest Array as AS3 Boolean break case catch const continue Date decodeURI ' + 
-                                               'decodeURIComponent default delete do dynamic each else encodeURI encodeURIComponent escape ' + 
-                                               'extends false final finally flash_proxy for get if implements import in include Infinity ' + 
-                                               'instanceof int internal is isFinite isNaN isXMLName label namespace NaN native new null ' + 
-                                               'Null Number Object object_proxy override parseFloat parseInt private protected public ' + 
-                                               'return set static String super switch this throw true try typeof uint undefined unescape ' + 
-                                               'use void while with'
-                                               ;
-       
-               this.regexList = [
-                       { regex: SyntaxHighlighter.regexLib.singleLineCComments,        css: 'comments' },              // one line comments
-                       { regex: SyntaxHighlighter.regexLib.multiLineCComments,         css: 'comments' },              // multiline comments
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,         css: 'string' },                // double quoted strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },                // single quoted strings
-                       { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi,                         css: 'value' },                 // numbers
-                       { regex: new RegExp(this.getKeywords(inits), 'gm'),                     css: 'color3' },                // initializations
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),          css: 'keyword' },               // keywords
-                       { regex: new RegExp('var', 'gm'),                                                       css: 'variable' },              // variable
-                       { regex: new RegExp('trace', 'gm'),                                                     css: 'color1' }                 // trace
-                       ];
-       
-               this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['actionscript3', 'as3'];
-
-       SyntaxHighlighter.brushes.AS3 = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushAppleScript.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushAppleScript.js
deleted file mode 100644 (file)
index d40bbd7..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // AppleScript brush by David Chambers
-               // http://davidchambersdesign.com/
-               var keywords   = 'after before beginning continue copy each end every from return get global in local named of set some that the then times to where whose with without';
-               var ordinals   = 'first second third fourth fifth sixth seventh eighth ninth tenth last front back middle';
-               var specials   = 'activate add alias AppleScript ask attachment boolean class constant delete duplicate empty exists false id integer list make message modal modified new no paragraph pi properties quit real record remove rest result reveal reverse run running save string true word yes';
-
-               this.regexList = [
-
-                       { regex: /(--|#).*$/gm,
-                           css: 'comments' },
-
-                       { regex: /\(\*(?:[\s\S]*?\(\*[\s\S]*?\*\))*[\s\S]*?\*\)/gm, // support nested comments
-                           css: 'comments' },
-
-                       { regex: /"[\s\S]*?"/gm,
-                           css: 'string' },
-
-                       { regex: /(?:,|:|¬|'s\b|\(|\)|\{|\}|«|\b\w*»)/g,
-                           css: 'color1' },
-
-                       { regex: /(-)?(\d)+(\.(\d)?)?(E\+(\d)+)?/g, // numbers
-                           css: 'color1' },
-
-                       { regex: /(?:&(amp;|gt;|lt;)?|=|� |>|<|≥|>=|≤|<=|\*|\+|-|\/|÷|\^)/g,
-                           css: 'color2' },
-
-                       { regex: /\b(?:and|as|div|mod|not|or|return(?!\s&)(ing)?|equals|(is(n't| not)? )?equal( to)?|does(n't| not) equal|(is(n't| not)? )?(greater|less) than( or equal( to)?)?|(comes|does(n't| not) come) (after|before)|is(n't| not)?( in)? (back|front) of|is(n't| not)? behind|is(n't| not)?( (in|contained by))?|does(n't| not) contain|contain(s)?|(start|begin|end)(s)? with|((but|end) )?(consider|ignor)ing|prop(erty)?|(a )?ref(erence)?( to)?|repeat (until|while|with)|((end|exit) )?repeat|((else|end) )?if|else|(end )?(script|tell|try)|(on )?error|(put )?into|(of )?(it|me)|its|my|with (timeout( of)?|transaction)|end (timeout|transaction))\b/g,
-                           css: 'keyword' },
-
-                       { regex: /\b\d+(st|nd|rd|th)\b/g, // ordinals
-                           css: 'keyword' },
-
-                       { regex: /\b(?:about|above|against|around|at|below|beneath|beside|between|by|(apart|aside) from|(instead|out) of|into|on(to)?|over|since|thr(ough|u)|under)\b/g,
-                           css: 'color3' },
-
-                       { regex: /\b(?:adding folder items to|after receiving|choose( ((remote )?application|color|folder|from list|URL))?|clipboard info|set the clipboard to|(the )?clipboard|entire contents|display(ing| (alert|dialog|mode))?|document( (edited|file|nib name))?|file( (name|type))?|(info )?for|giving up after|(name )?extension|quoted form|return(ed)?|second(?! item)(s)?|list (disks|folder)|text item(s| delimiters)?|(Unicode )?text|(disk )?item(s)?|((current|list) )?view|((container|key) )?window|with (data|icon( (caution|note|stop))?|parameter(s)?|prompt|properties|seed|title)|case|diacriticals|hyphens|numeric strings|punctuation|white space|folder creation|application(s( folder)?| (processes|scripts position|support))?|((desktop )?(pictures )?|(documents|downloads|favorites|home|keychain|library|movies|music|public|scripts|sites|system|users|utilities|workflows) )folder|desktop|Folder Action scripts|font(s| panel)?|help|internet plugins|modem scripts|(system )?preferences|printer descriptions|scripting (additions|components)|shared (documents|libraries)|startup (disk|items)|temporary items|trash|on server|in AppleTalk zone|((as|long|short) )?user name|user (ID|locale)|(with )?password|in (bundle( with identifier)?|directory)|(close|open for) access|read|write( permission)?|(g|s)et eof|using( delimiters)?|starting at|default (answer|button|color|country code|entr(y|ies)|identifiers|items|name|location|script editor)|hidden( answer)?|open(ed| (location|untitled))?|error (handling|reporting)|(do( shell)?|load|run|store) script|administrator privileges|altering line endings|get volume settings|(alert|boot|input|mount|output|set) volume|output muted|(fax|random )?number|round(ing)?|up|down|toward zero|to nearest|as taught in school|system (attribute|info)|((AppleScript( Studio)?|system) )?version|(home )?directory|(IPv4|primary Ethernet) address|CPU (type|speed)|physical memory|time (stamp|to GMT)|replacing|ASCII (character|number)|localized string|from table|offset|summarize|beep|delay|say|(empty|multiple) selections allowed|(of|preferred) type|invisibles|showing( package contents)?|editable URL|(File|FTP|News|Media|Web) [Ss]ervers|Telnet hosts|Directory services|Remote applications|waiting until completion|saving( (in|to))?|path (for|to( (((current|frontmost) )?application|resource))?)|POSIX (file|path)|(background|RGB) color|(OK|cancel) button name|cancel button|button(s)?|cubic ((centi)?met(re|er)s|yards|feet|inches)|square ((kilo)?met(re|er)s|miles|yards|feet)|(centi|kilo)?met(re|er)s|miles|yards|feet|inches|lit(re|er)s|gallons|quarts|(kilo)?grams|ounces|pounds|degrees (Celsius|Fahrenheit|Kelvin)|print( (dialog|settings))?|clos(e(able)?|ing)|(de)?miniaturized|miniaturizable|zoom(ed|able)|attribute run|action (method|property|title)|phone|email|((start|end)ing|home) page|((birth|creation|current|custom|modification) )?date|((((phonetic )?(first|last|middle))|computer|host|maiden|related) |nick)?name|aim|icq|jabber|msn|yahoo|address(es)?|save addressbook|should enable action|city|country( code)?|formatte(r|d address)|(palette )?label|state|street|zip|AIM [Hh]andle(s)?|my card|select(ion| all)?|unsaved|(alpha )?value|entr(y|ies)|group|(ICQ|Jabber|MSN) handle|person|people|company|department|icon image|job title|note|organization|suffix|vcard|url|copies|collating|pages (across|down)|request print time|target( printer)?|((GUI Scripting|Script menu) )?enabled|show Computer scripts|(de)?activated|awake from nib|became (key|main)|call method|of (class|object)|center|clicked toolbar item|closed|for document|exposed|(can )?hide|idle|keyboard (down|up)|event( (number|type))?|launch(ed)?|load (image|movie|nib|sound)|owner|log|mouse (down|dragged|entered|exited|moved|up)|move|column|localization|resource|script|register|drag (info|types)|resigned (active|key|main)|resiz(e(d)?|able)|right mouse (down|dragged|up)|scroll wheel|(at )?index|should (close|open( untitled)?|quit( after last window closed)?|zoom)|((proposed|screen) )?bounds|show(n)?|behind|in front of|size (mode|to fit)|update(d| toolbar item)?|was (hidden|miniaturized)|will (become active|close|finish launching|hide|miniaturize|move|open|quit|(resign )?active|((maximum|minimum|proposed) )?size|show|zoom)|bundle|data source|movie|pasteboard|sound|tool(bar| tip)|(color|open|save) panel|coordinate system|frontmost|main( (bundle|menu|window))?|((services|(excluded from )?windows) )?menu|((executable|frameworks|resource|scripts|shared (frameworks|support)) )?path|(selected item )?identifier|data|content(s| view)?|character(s)?|click count|(command|control|option|shift) key down|context|delta (x|y|z)|key( code)?|location|pressure|unmodified characters|types|(first )?responder|playing|(allowed|selectable) identifiers|allows customization|(auto saves )?configuration|visible|image( name)?|menu form representation|tag|user(-| )defaults|associated file name|(auto|needs) display|current field editor|floating|has (resize indicator|shadow)|hides when deactivated|level|minimized (image|title)|opaque|position|release when closed|sheet|title(d)?)\b/g,
-                           css: 'color3' },
-
-                       { regex: new RegExp(this.getKeywords(specials), 'gm'), css: 'color3' },
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
-                       { regex: new RegExp(this.getKeywords(ordinals), 'gm'), css: 'keyword' }
-               ];
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases = ['applescript'];
-
-       SyntaxHighlighter.brushes.AppleScript = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushBash.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushBash.js
deleted file mode 100644 (file)
index 8c29696..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               var keywords =  'if fi then elif else for do done until while break continue case function return in eq ne ge le';
-               var commands =  'alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
-                                               'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' +
-                                               'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
-                                               'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
-                                               'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' +
-                                               'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
-                                               'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
-                                               'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' +
-                                               'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +
-                                               'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +
-                                               'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' +
-                                               'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
-                                               'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
-                                               'vi watch wc whereis which who whoami Wget xargs yes'
-                                               ;
-
-               this.regexList = [
-                       { regex: /^#!.*$/gm,                                                                                    css: 'preprocessor bold' },
-                       { regex: /\/[\w-\/]+/gm,                                                                                css: 'plain' },
-                       { regex: SyntaxHighlighter.regexLib.singleLinePerlComments,             css: 'comments' },              // one line comments
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,                 css: 'string' },                // double quoted strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,                 css: 'string' },                // single quoted strings
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),                  css: 'keyword' },               // keywords
-                       { regex: new RegExp(this.getKeywords(commands), 'gm'),                  css: 'functions' }              // commands
-                       ];
-       }
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['bash', 'shell'];
-
-       SyntaxHighlighter.brushes.Bash = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushCSharp.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushCSharp.js
deleted file mode 100644 (file)
index 079214e..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               var keywords =  'abstract as base bool break byte case catch char checked class const ' +
-                                               'continue decimal default delegate do double else enum event explicit ' +
-                                               'extern false finally fixed float for foreach get goto if implicit in int ' +
-                                               'interface internal is lock long namespace new null object operator out ' +
-                                               'override params private protected public readonly ref return sbyte sealed set ' +
-                                               'short sizeof stackalloc static string struct switch this throw true try ' +
-                                               'typeof uint ulong unchecked unsafe ushort using virtual void while';
-
-               function fixComments(match, regexInfo)
-               {
-                       var css = (match[0].indexOf("///") == 0)
-                               ? 'color1'
-                               : 'comments'
-                               ;
-                       
-                       return [new SyntaxHighlighter.Match(match[0], match.index, css)];
-               }
-
-               this.regexList = [
-                       { regex: SyntaxHighlighter.regexLib.singleLineCComments,        func : fixComments },           // one line comments
-                       { regex: SyntaxHighlighter.regexLib.multiLineCComments,         css: 'comments' },                      // multiline comments
-                       { regex: /@"(?:[^"]|"")*"/g,                                                            css: 'string' },                        // @-quoted strings
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,         css: 'string' },                        // strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },                        // strings
-                       { regex: /^\s*#.*/gm,                                                                           css: 'preprocessor' },          // preprocessor tags like #region and #endregion
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),          css: 'keyword' },                       // c# keyword
-                       { regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g,       css: 'keyword' },                       // contextual keyword: 'partial'
-                       { regex: /\byield(?=\s+(?:return|break)\b)/g,                           css: 'keyword' }                        // contextual keyword: 'yield'
-                       ];
-               
-               this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['c#', 'c-sharp', 'csharp'];
-
-       SyntaxHighlighter.brushes.CSharp = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
-
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushColdFusion.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushColdFusion.js
deleted file mode 100644 (file)
index 627dbb9..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Contributed by Jen
-               // http://www.jensbits.com/2009/05/14/coldfusion-brush-for-syntaxhighlighter-plus
-       
-               var funcs       =       'Abs ACos AddSOAPRequestHeader AddSOAPResponseHeader AjaxLink AjaxOnLoad ArrayAppend ArrayAvg ArrayClear ArrayDeleteAt ' + 
-                                               'ArrayInsertAt ArrayIsDefined ArrayIsEmpty ArrayLen ArrayMax ArrayMin ArraySet ArraySort ArraySum ArraySwap ArrayToList ' + 
-                                               'Asc ASin Atn BinaryDecode BinaryEncode BitAnd BitMaskClear BitMaskRead BitMaskSet BitNot BitOr BitSHLN BitSHRN BitXor ' + 
-                                               'Ceiling CharsetDecode CharsetEncode Chr CJustify Compare CompareNoCase Cos CreateDate CreateDateTime CreateObject ' + 
-                                               'CreateODBCDate CreateODBCDateTime CreateODBCTime CreateTime CreateTimeSpan CreateUUID DateAdd DateCompare DateConvert ' + 
-                                               'DateDiff DateFormat DatePart Day DayOfWeek DayOfWeekAsString DayOfYear DaysInMonth DaysInYear DE DecimalFormat DecrementValue ' + 
-                                               'Decrypt DecryptBinary DeleteClientVariable DeserializeJSON DirectoryExists DollarFormat DotNetToCFType Duplicate Encrypt ' + 
-                                               'EncryptBinary Evaluate Exp ExpandPath FileClose FileCopy FileDelete FileExists FileIsEOF FileMove FileOpen FileRead ' + 
-                                               'FileReadBinary FileReadLine FileSetAccessMode FileSetAttribute FileSetLastModified FileWrite Find FindNoCase FindOneOf ' + 
-                                               'FirstDayOfMonth Fix FormatBaseN GenerateSecretKey GetAuthUser GetBaseTagData GetBaseTagList GetBaseTemplatePath ' + 
-                                               'GetClientVariablesList GetComponentMetaData GetContextRoot GetCurrentTemplatePath GetDirectoryFromPath GetEncoding ' + 
-                                               'GetException GetFileFromPath GetFileInfo GetFunctionList GetGatewayHelper GetHttpRequestData GetHttpTimeString ' + 
-                                               'GetK2ServerDocCount GetK2ServerDocCountLimit GetLocale GetLocaleDisplayName GetLocalHostIP GetMetaData GetMetricData ' + 
-                                               'GetPageContext GetPrinterInfo GetProfileSections GetProfileString GetReadableImageFormats GetSOAPRequest GetSOAPRequestHeader ' + 
-                                               'GetSOAPResponse GetSOAPResponseHeader GetTempDirectory GetTempFile GetTemplatePath GetTickCount GetTimeZoneInfo GetToken ' + 
-                                               'GetUserRoles GetWriteableImageFormats Hash Hour HTMLCodeFormat HTMLEditFormat IIf ImageAddBorder ImageBlur ImageClearRect ' + 
-                                               'ImageCopy ImageCrop ImageDrawArc ImageDrawBeveledRect ImageDrawCubicCurve ImageDrawLine ImageDrawLines ImageDrawOval ' + 
-                                               'ImageDrawPoint ImageDrawQuadraticCurve ImageDrawRect ImageDrawRoundRect ImageDrawText ImageFlip ImageGetBlob ImageGetBufferedImage ' + 
-                                               'ImageGetEXIFTag ImageGetHeight ImageGetIPTCTag ImageGetWidth ImageGrayscale ImageInfo ImageNegative ImageNew ImageOverlay ImagePaste ' + 
-                                               'ImageRead ImageReadBase64 ImageResize ImageRotate ImageRotateDrawingAxis ImageScaleToFit ImageSetAntialiasing ImageSetBackgroundColor ' + 
-                                               'ImageSetDrawingColor ImageSetDrawingStroke ImageSetDrawingTransparency ImageSharpen ImageShear ImageShearDrawingAxis ImageTranslate ' + 
-                                               'ImageTranslateDrawingAxis ImageWrite ImageWriteBase64 ImageXORDrawingMode IncrementValue InputBaseN Insert Int IsArray IsBinary ' + 
-                                               'IsBoolean IsCustomFunction IsDate IsDDX IsDebugMode IsDefined IsImage IsImageFile IsInstanceOf IsJSON IsLeapYear IsLocalHost ' + 
-                                               'IsNumeric IsNumericDate IsObject IsPDFFile IsPDFObject IsQuery IsSimpleValue IsSOAPRequest IsStruct IsUserInAnyRole IsUserInRole ' + 
-                                               'IsUserLoggedIn IsValid IsWDDX IsXML IsXmlAttribute IsXmlDoc IsXmlElem IsXmlNode IsXmlRoot JavaCast JSStringFormat LCase Left Len ' + 
-                                               'ListAppend ListChangeDelims ListContains ListContainsNoCase ListDeleteAt ListFind ListFindNoCase ListFirst ListGetAt ListInsertAt ' + 
-                                               'ListLast ListLen ListPrepend ListQualify ListRest ListSetAt ListSort ListToArray ListValueCount ListValueCountNoCase LJustify Log ' + 
-                                               'Log10 LSCurrencyFormat LSDateFormat LSEuroCurrencyFormat LSIsCurrency LSIsDate LSIsNumeric LSNumberFormat LSParseCurrency LSParseDateTime ' + 
-                                               'LSParseEuroCurrency LSParseNumber LSTimeFormat LTrim Max Mid Min Minute Month MonthAsString Now NumberFormat ParagraphFormat ParseDateTime ' + 
-                                               'Pi PrecisionEvaluate PreserveSingleQuotes Quarter QueryAddColumn QueryAddRow QueryConvertForGrid QueryNew QuerySetCell QuotedValueList Rand ' + 
-                                               'Randomize RandRange REFind REFindNoCase ReleaseComObject REMatch REMatchNoCase RemoveChars RepeatString Replace ReplaceList ReplaceNoCase ' + 
-                                               'REReplace REReplaceNoCase Reverse Right RJustify Round RTrim Second SendGatewayMessage SerializeJSON SetEncoding SetLocale SetProfileString ' + 
-                                               'SetVariable Sgn Sin Sleep SpanExcluding SpanIncluding Sqr StripCR StructAppend StructClear StructCopy StructCount StructDelete StructFind ' + 
-                                               'StructFindKey StructFindValue StructGet StructInsert StructIsEmpty StructKeyArray StructKeyExists StructKeyList StructKeyList StructNew ' + 
-                                               'StructSort StructUpdate Tan TimeFormat ToBase64 ToBinary ToScript ToString Trim UCase URLDecode URLEncodedFormat URLSessionFormat Val ' + 
-                                               'ValueList VerifyClient Week Wrap Wrap WriteOutput XmlChildPos XmlElemNew XmlFormat XmlGetNodeType XmlNew XmlParse XmlSearch XmlTransform ' + 
-                                               'XmlValidate Year YesNoFormat';
-
-               var keywords =  'cfabort cfajaximport cfajaxproxy cfapplet cfapplication cfargument cfassociate cfbreak cfcache cfcalendar ' + 
-                                               'cfcase cfcatch cfchart cfchartdata cfchartseries cfcol cfcollection cfcomponent cfcontent cfcookie cfdbinfo ' + 
-                                               'cfdefaultcase cfdirectory cfdiv cfdocument cfdocumentitem cfdocumentsection cfdump cfelse cfelseif cferror ' + 
-                                               'cfexchangecalendar cfexchangeconnection cfexchangecontact cfexchangefilter cfexchangemail cfexchangetask ' + 
-                                               'cfexecute cfexit cffeed cffile cfflush cfform cfformgroup cfformitem cfftp cffunction cfgrid cfgridcolumn ' + 
-                                               'cfgridrow cfgridupdate cfheader cfhtmlhead cfhttp cfhttpparam cfif cfimage cfimport cfinclude cfindex ' + 
-                                               'cfinput cfinsert cfinterface cfinvoke cfinvokeargument cflayout cflayoutarea cfldap cflocation cflock cflog ' + 
-                                               'cflogin cfloginuser cflogout cfloop cfmail cfmailparam cfmailpart cfmenu cfmenuitem cfmodule cfNTauthenticate ' + 
-                                               'cfobject cfobjectcache cfoutput cfparam cfpdf cfpdfform cfpdfformparam cfpdfparam cfpdfsubform cfpod cfpop ' + 
-                                               'cfpresentation cfpresentationslide cfpresenter cfprint cfprocessingdirective cfprocparam cfprocresult ' + 
-                                               'cfproperty cfquery cfqueryparam cfregistry cfreport cfreportparam cfrethrow cfreturn cfsavecontent cfschedule ' + 
-                                               'cfscript cfsearch cfselect cfset cfsetting cfsilent cfslider cfsprydataset cfstoredproc cfswitch cftable ' + 
-                                               'cftextarea cfthread cfthrow cftimer cftooltip cftrace cftransaction cftree cftreeitem cftry cfupdate cfwddx ' + 
-                                               'cfwindow cfxml cfzip cfzipparam';
-
-               var operators = 'all and any between cross in join like not null or outer some';
-
-               this.regexList = [
-                       { regex: new RegExp('--(.*)$', 'gm'),                                           css: 'comments' },  // one line and multiline comments
-                       { regex: SyntaxHighlighter.regexLib.xmlComments,                        css: 'comments' },    // single quoted strings
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,         css: 'string' },    // double quoted strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },    // single quoted strings
-                       { regex: new RegExp(this.getKeywords(funcs), 'gmi'),            css: 'functions' }, // functions
-                       { regex: new RegExp(this.getKeywords(operators), 'gmi'),        css: 'color1' },    // operators and such
-                       { regex: new RegExp(this.getKeywords(keywords), 'gmi'),         css: 'keyword' }    // keyword
-                       ];
-       }
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['coldfusion','cf'];
-       
-       SyntaxHighlighter.brushes.ColdFusion = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushCpp.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushCpp.js
deleted file mode 100644 (file)
index 9f70d3a..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Copyright 2006 Shin, YoungJin
-       
-               var datatypes = 'ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR ' +
-                                               'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH ' +
-                                               'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP ' +
-                                               'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY ' +
-                                               'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT ' +
-                                               'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE ' +
-                                               'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF ' +
-                                               'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR ' +
-                                               'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR ' +
-                                               'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT ' +
-                                               'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 ' +
-                                               'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR ' +
-                                               'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 ' +
-                                               'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT ' +
-                                               'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG ' +
-                                               'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM ' +
-                                               'char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t ' +
-                                               'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS ' +
-                                               'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t ' +
-                                               '__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t ' +
-                                               'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' +
-                                               'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' +
-                                               'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' +
-                                               'va_list wchar_t wctrans_t wctype_t wint_t signed';
-
-               var keywords =  'break case catch class const __finally __exception __try ' +
-                                               'const_cast continue private public protected __declspec ' +
-                                               'default delete deprecated dllexport dllimport do dynamic_cast ' +
-                                               'else enum explicit extern if for friend goto inline ' +
-                                               'mutable naked namespace new noinline noreturn nothrow ' +
-                                               'register reinterpret_cast return selectany ' +
-                                               'sizeof static static_cast struct switch template this ' +
-                                               'thread throw true false try typedef typeid typename union ' +
-                                               'using uuid virtual void volatile whcar_t while';
-                                       
-               var functions = 'assert isalnum isalpha iscntrl isdigit isgraph islower isprint' +
-                                               'ispunct isspace isupper isxdigit tolower toupper errno localeconv ' +
-                                               'setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod ' +
-                                               'frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf ' +
-                                               'longjmp setjmp raise signal sig_atomic_t va_arg va_end va_start ' +
-                                               'clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen ' +
-                                               'fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell ' +
-                                               'fwrite getc getchar gets perror printf putc putchar puts remove ' +
-                                               'rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ' +
-                                               'ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol ' +
-                                               'bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs ' +
-                                               'mbtowc qsort rand realloc srand strtod strtol strtoul system ' +
-                                               'wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr ' +
-                                               'strcmp strcoll strcpy strcspn strerror strlen strncat strncmp ' +
-                                               'strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime ' +
-                                               'clock ctime difftime gmtime localtime mktime strftime time';
-
-               this.regexList = [
-                       { regex: SyntaxHighlighter.regexLib.singleLineCComments,        css: 'comments' },                      // one line comments
-                       { regex: SyntaxHighlighter.regexLib.multiLineCComments,         css: 'comments' },                      // multiline comments
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,         css: 'string' },                        // strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },                        // strings
-                       { regex: /^ *#.*/gm,                                                                            css: 'preprocessor' },
-                       { regex: new RegExp(this.getKeywords(datatypes), 'gm'),         css: 'color1 bold' },
-                       { regex: new RegExp(this.getKeywords(functions), 'gm'),         css: 'functions bold' },
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),          css: 'keyword bold' }
-                       ];
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['cpp', 'c'];
-
-       SyntaxHighlighter.brushes.Cpp = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushCss.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushCss.js
deleted file mode 100644 (file)
index 4297a9a..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               function getKeywordsCSS(str)
-               {
-                       return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
-               };
-       
-               function getValuesCSS(str)
-               {
-                       return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
-               };
-
-               var keywords =  'ascent azimuth background-attachment background-color background-image background-position ' +
-                                               'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
-                                               'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
-                                               'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
-                                               'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
-                                               'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
-                                               'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
-                                               'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
-                                               'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
-                                               'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
-                                               'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
-                                               'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
-                                               'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
-                                               'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
-
-               var values =    'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
-                                               'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
-                                               'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+
-                                               'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
-                                               'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
-                                               'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
-                                               'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
-                                               'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
-                                               'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
-                                               'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
-                                               'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
-                                               'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
-                                               'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
-                                               'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
-
-               var fonts =             '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
-       
-               this.regexList = [
-                       { regex: SyntaxHighlighter.regexLib.multiLineCComments,         css: 'comments' },      // multiline comments
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,         css: 'string' },        // double quoted strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },        // single quoted strings
-                       { regex: /\#[a-fA-F0-9]{3,6}/g,                                                         css: 'value' },         // html colors
-                       { regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g,                           css: 'value' },         // sizes
-                       { regex: /!important/g,                                                                         css: 'color3' },        // !important
-                       { regex: new RegExp(getKeywordsCSS(keywords), 'gm'),            css: 'keyword' },       // keywords
-                       { regex: new RegExp(getValuesCSS(values), 'g'),                         css: 'value' },         // values
-                       { regex: new RegExp(this.getKeywords(fonts), 'g'),                      css: 'color1' }         // fonts
-                       ];
-
-               this.forHtmlScript({ 
-                       left: /(&lt;|<)\s*style.*?(&gt;|>)/gi, 
-                       right: /(&lt;|<)\/\s*style\s*(&gt;|>)/gi 
-                       });
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['css'];
-
-       SyntaxHighlighter.brushes.CSS = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushDelphi.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushDelphi.js
deleted file mode 100644 (file)
index e1060d4..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               var keywords =  'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' +
-                                               'case char class comp const constructor currency destructor div do double ' +
-                                               'downto else end except exports extended false file finalization finally ' +
-                                               'for function goto if implementation in inherited int64 initialization ' +
-                                               'integer interface is label library longint longword mod nil not object ' +
-                                               'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended ' +
-                                               'pint64 pointer private procedure program property pshortstring pstring ' +
-                                               'pvariant pwidechar pwidestring protected public published raise real real48 ' +
-                                               'record repeat set shl shortint shortstring shr single smallint string then ' +
-                                               'threadvar to true try type unit until uses val var varirnt while widechar ' +
-                                               'widestring with word write writeln xor';
-
-               this.regexList = [
-                       { regex: /\(\*[\s\S]*?\*\)/gm,                                                          css: 'comments' },      // multiline comments (* *)
-                       { regex: /{(?!\$)[\s\S]*?}/gm,                                                          css: 'comments' },      // multiline comments { }
-                       { regex: SyntaxHighlighter.regexLib.singleLineCComments,        css: 'comments' },      // one line
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },                // strings
-                       { regex: /\{\$[a-zA-Z]+ .+\}/g,                                                         css: 'color1' },                // compiler Directives and Region tags
-                       { regex: /\b[\d\.]+\b/g,                                                                        css: 'value' },                 // numbers 12345
-                       { regex: /\$[a-zA-Z0-9]+\b/g,                                                           css: 'value' },                 // numbers $F5D3
-                       { regex: new RegExp(this.getKeywords(keywords), 'gmi'),         css: 'keyword' }                // keyword
-                       ];
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['delphi', 'pascal', 'pas'];
-
-       SyntaxHighlighter.brushes.Delphi = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushDiff.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushDiff.js
deleted file mode 100644 (file)
index e9b14fc..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               this.regexList = [
-                       { regex: /^\+\+\+.*$/gm,                css: 'color2' },
-                       { regex: /^\-\-\-.*$/gm,                css: 'color2' },
-                       { regex: /^\s.*$/gm,                    css: 'color1' },
-                       { regex: /^@@.*@@$/gm,                  css: 'variable' },
-                       { regex: /^\+[^\+]{1}.*$/gm,    css: 'string' },
-                       { regex: /^\-[^\-]{1}.*$/gm,    css: 'comments' }
-                       ];
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['diff', 'patch'];
-
-       SyntaxHighlighter.brushes.Diff = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushErlang.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushErlang.js
deleted file mode 100644 (file)
index 6ba7d9d..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Contributed by Jean-Lou Dupont
-               // http://jldupont.blogspot.com/2009/06/erlang-syntax-highlighter.html  
-
-               // According to: http://erlang.org/doc/reference_manual/introduction.html#1.5
-               var keywords = 'after and andalso band begin bnot bor bsl bsr bxor '+
-                       'case catch cond div end fun if let not of or orelse '+
-                       'query receive rem try when xor'+
-                       // additional
-                       ' module export import define';
-
-               this.regexList = [
-                       { regex: new RegExp("[A-Z][A-Za-z0-9_]+", 'g'),                         css: 'constants' },
-                       { regex: new RegExp("\\%.+", 'gm'),                                             css: 'comments' },
-                       { regex: new RegExp("\\?[A-Za-z0-9_]+", 'g'),                           css: 'preprocessor' },
-                       { regex: new RegExp("[a-z0-9_]+:[a-z0-9_]+", 'g'),                      css: 'functions' },
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,         css: 'string' },
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),          css: 'keyword' }
-                       ];
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['erl', 'erlang'];
-
-       SyntaxHighlighter.brushes.Erland = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushGroovy.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushGroovy.js
deleted file mode 100644 (file)
index 6ec5c18..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Contributed by Andres Almiray
-               // http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter
-
-               var keywords =  'as assert break case catch class continue def default do else extends finally ' +
-                                               'if in implements import instanceof interface new package property return switch ' +
-                                               'throw throws try while public protected private static';
-               var types    =  'void boolean byte char short int long float double';
-               var constants = 'null';
-               var methods   = 'allProperties count get size '+
-                                               'collect each eachProperty eachPropertyName eachWithIndex find findAll ' +
-                                               'findIndexOf grep inject max min reverseEach sort ' +
-                                               'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' +
-                                               'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' +
-                                               'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' +
-                                               'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' +
-                                               'transformChar transformLine withOutputStream withPrintWriter withStream ' +
-                                               'withStreams withWriter withWriterAppend write writeLine '+
-                                               'dump inspect invokeMethod print println step times upto use waitForOrKill '+
-                                               'getText';
-
-               this.regexList = [
-                       { regex: SyntaxHighlighter.regexLib.singleLineCComments,                                css: 'comments' },              // one line comments
-                       { regex: SyntaxHighlighter.regexLib.multiLineCComments,                                 css: 'comments' },              // multiline comments
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,                                 css: 'string' },                // strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,                                 css: 'string' },                // strings
-                       { regex: /""".*"""/g,                                                                                                   css: 'string' },                // GStrings
-                       { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'),    css: 'value' },                 // numbers
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),                                  css: 'keyword' },               // goovy keyword
-                       { regex: new RegExp(this.getKeywords(types), 'gm'),                                             css: 'color1' },                // goovy/java type
-                       { regex: new RegExp(this.getKeywords(constants), 'gm'),                                 css: 'constants' },             // constants
-                       { regex: new RegExp(this.getKeywords(methods), 'gm'),                                   css: 'functions' }              // methods
-                       ];
-
-               this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
-       }
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['groovy'];
-
-       SyntaxHighlighter.brushes.Groovy = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushJScript.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushJScript.js
deleted file mode 100644 (file)
index ff98dab..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               var keywords =  'break case catch continue ' +
-                                               'default delete do else false  ' +
-                                               'for function if in instanceof ' +
-                                               'new null return super switch ' +
-                                               'this throw true try typeof var while with'
-                                               ;
-
-               var r = SyntaxHighlighter.regexLib;
-               
-               this.regexList = [
-                       { regex: r.multiLineDoubleQuotedString,                                 css: 'string' },                        // double quoted strings
-                       { regex: r.multiLineSingleQuotedString,                                 css: 'string' },                        // single quoted strings
-                       { regex: r.singleLineCComments,                                                 css: 'comments' },                      // one line comments
-                       { regex: r.multiLineCComments,                                                  css: 'comments' },                      // multiline comments
-                       { regex: /\s*#.*/gm,                                                                    css: 'preprocessor' },          // preprocessor tags like #region and #endregion
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),  css: 'keyword' }                        // keywords
-                       ];
-       
-               this.forHtmlScript(r.scriptScriptTags);
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['js', 'jscript', 'javascript'];
-
-       SyntaxHighlighter.brushes.JScript = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushJava.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushJava.js
deleted file mode 100644 (file)
index d692fd6..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               var keywords =  'abstract assert boolean break byte case catch char class const ' +
-                                               'continue default do double else enum extends ' +
-                                               'false final finally float for goto if implements import ' +
-                                               'instanceof int interface long native new null ' +
-                                               'package private protected public return ' +
-                                               'short static strictfp super switch synchronized this throw throws true ' +
-                                               'transient try void volatile while';
-
-               this.regexList = [
-                       { regex: SyntaxHighlighter.regexLib.singleLineCComments,        css: 'comments' },              // one line comments
-                       { regex: /\/\*([^\*][\s\S]*)?\*\//gm,                                           css: 'comments' },              // multiline comments
-                       { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm,                                        css: 'preprocessor' },  // documentation comments
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,         css: 'string' },                // strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },                // strings
-                       { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi,                         css: 'value' },                 // numbers
-                       { regex: /(?!\@interface\b)\@[\$\w]+\b/g,                                       css: 'color1' },                // annotation @anno
-                       { regex: /\@interface\b/g,                                                                      css: 'color2' },                // @interface keyword
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),          css: 'keyword' }                // java keyword
-                       ];
-
-               this.forHtmlScript({
-                       left    : /(&lt;|<)%[@!=]?/g, 
-                       right   : /%(&gt;|>)/g 
-               });
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['java'];
-
-       SyntaxHighlighter.brushes.Java = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushJavaFX.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushJavaFX.js
deleted file mode 100644 (file)
index 1a150a6..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Contributed by Patrick Webster
-               // http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html
-               var datatypes = 'Boolean Byte Character Double Duration '
-                                               + 'Float Integer Long Number Short String Void'
-                                               ;
-
-               var keywords = 'abstract after and as assert at before bind bound break catch class '
-                                               + 'continue def delete else exclusive extends false finally first for from '
-                                               + 'function if import in indexof init insert instanceof into inverse last '
-                                               + 'lazy mixin mod nativearray new not null on or override package postinit '
-                                               + 'protected public public-init public-read replace return reverse sizeof '
-                                               + 'step super then this throw true try tween typeof var where while with '
-                                               + 'attribute let private readonly static trigger'
-                                               ;
-
-               this.regexList = [
-                       { regex: SyntaxHighlighter.regexLib.singleLineCComments,        css: 'comments' },
-                       { regex: SyntaxHighlighter.regexLib.multiLineCComments,         css: 'comments' },
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,         css: 'string' },
-                       { regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' },     // numbers
-                       { regex: new RegExp(this.getKeywords(datatypes), 'gm'),         css: 'variable' },      // datatypes
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),          css: 'keyword' }
-               ];
-               this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['jfx', 'javafx'];
-
-       SyntaxHighlighter.brushes.JavaFX = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushPerl.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushPerl.js
deleted file mode 100644 (file)
index d94a2e0..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Contributed by David Simmons-Duffin and Marty Kube
-       
-               var funcs = 
-                       'abs accept alarm atan2 bind binmode chdir chmod chomp chop chown chr ' + 
-                       'chroot close closedir connect cos crypt defined delete each endgrent ' + 
-                       'endhostent endnetent endprotoent endpwent endservent eof exec exists ' + 
-                       'exp fcntl fileno flock fork format formline getc getgrent getgrgid ' + 
-                       'getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr ' + 
-                       'getnetbyname getnetent getpeername getpgrp getppid getpriority ' + 
-                       'getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid ' + 
-                       'getservbyname getservbyport getservent getsockname getsockopt glob ' + 
-                       'gmtime grep hex index int ioctl join keys kill lc lcfirst length link ' + 
-                       'listen localtime lock log lstat map mkdir msgctl msgget msgrcv msgsnd ' + 
-                       'oct open opendir ord pack pipe pop pos print printf prototype push ' + 
-                       'quotemeta rand read readdir readline readlink readpipe recv rename ' + 
-                       'reset reverse rewinddir rindex rmdir scalar seek seekdir select semctl ' + 
-                       'semget semop send setgrent sethostent setnetent setpgrp setpriority ' + 
-                       'setprotoent setpwent setservent setsockopt shift shmctl shmget shmread ' + 
-                       'shmwrite shutdown sin sleep socket socketpair sort splice split sprintf ' + 
-                       'sqrt srand stat study substr symlink syscall sysopen sysread sysseek ' + 
-                       'system syswrite tell telldir time times tr truncate uc ucfirst umask ' + 
-                       'undef unlink unpack unshift utime values vec wait waitpid warn write';
-    
-               var keywords =  
-                       'bless caller continue dbmclose dbmopen die do dump else elsif eval exit ' +
-                       'for foreach goto if import last local my next no our package redo ref ' + 
-                       'require return sub tie tied unless untie until use wantarray while';
-    
-               this.regexList = [
-                       { regex: new RegExp('#[^!].*$', 'gm'),                                  css: 'comments' },
-                       { regex: new RegExp('^\\s*#!.*$', 'gm'),                                css: 'preprocessor' }, // shebang
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
-                       { regex: new RegExp('(\\$|@|%)\\w+', 'g'),                              css: 'variable' },
-                       { regex: new RegExp(this.getKeywords(funcs), 'gmi'),    css: 'functions' },
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),  css: 'keyword' }
-                   ];
-
-               this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
-       }
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases           = ['perl', 'Perl', 'pl'];
-
-       SyntaxHighlighter.brushes.Perl = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushPhp.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushPhp.js
deleted file mode 100644 (file)
index 95e6e43..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               var funcs       =       'abs acos acosh addcslashes addslashes ' +
-                                               'array_change_key_case array_chunk array_combine array_count_values array_diff '+
-                                               'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+
-                                               'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+
-                                               'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+
-                                               'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+
-                                               'array_push array_rand array_reduce array_reverse array_search array_shift '+
-                                               'array_slice array_splice array_sum array_udiff array_udiff_assoc '+
-                                               'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
-                                               'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
-                                               'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
-                                               'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+
-                                               'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+
-                                               'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+
-                                               'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+
-                                               'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+
-                                               'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+
-                                               'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+
-                                               'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+
-                                               'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+
-                                               'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+
-                                               'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+
-                                               'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+
-                                               'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+
-                                               'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+
-                                               'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+
-                                               'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+
-                                               'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+
-                                               'parse_ini_file parse_str parse_url passthru pathinfo print readlink realpath rewind rewinddir rmdir '+
-                                               'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+
-                                               'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+
-                                               'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+
-                                               'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+
-                                               'strtoupper strtr strval substr substr_compare';
-
-               var keywords =  'abstract and array as break case catch cfunction class clone const continue declare default die do ' +
-                                               'else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach ' +
-                                               'function include include_once global goto if implements interface instanceof namespace new ' +
-                                               'old_function or private protected public return require require_once static switch ' +
-                                               'throw try use var while xor ';
-               
-               var constants   = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';
-
-               this.regexList = [
-                       { regex: SyntaxHighlighter.regexLib.singleLineCComments,        css: 'comments' },                      // one line comments
-                       { regex: SyntaxHighlighter.regexLib.multiLineCComments,         css: 'comments' },                      // multiline comments
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,         css: 'string' },                        // double quoted strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },                        // single quoted strings
-                       { regex: /\$\w+/g,                                                                                      css: 'variable' },                      // variables
-                       { regex: new RegExp(this.getKeywords(funcs), 'gmi'),            css: 'functions' },                     // common functions
-                       { regex: new RegExp(this.getKeywords(constants), 'gmi'),        css: 'constants' },                     // constants
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),          css: 'keyword' }                        // keyword
-                       ];
-
-               this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['php'];
-
-       SyntaxHighlighter.brushes.Php = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushPlain.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushPlain.js
deleted file mode 100644 (file)
index 9f7d9e9..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['text', 'plain'];
-
-       SyntaxHighlighter.brushes.Plain = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushPowerShell.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushPowerShell.js
deleted file mode 100644 (file)
index 0be1752..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Contributes by B.v.Zanten, Getronics
-               // http://confluence.atlassian.com/display/CONFEXT/New+Code+Macro
-
-               var keywords = 'Add-Content Add-History Add-Member Add-PSSnapin Clear(-Content)? Clear-Item ' +
-                                       'Clear-ItemProperty Clear-Variable Compare-Object ConvertFrom-SecureString Convert-Path ' +
-                                       'ConvertTo-Html ConvertTo-SecureString Copy(-Item)? Copy-ItemProperty Export-Alias ' +
-                                       'Export-Clixml Export-Console Export-Csv ForEach(-Object)? Format-Custom Format-List ' +
-                                       'Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command ' +
-                                       'Get-Content Get-Credential Get-Culture Get-Date Get-EventLog Get-ExecutionPolicy ' +
-                                       'Get-Help Get-History Get-Host Get-Item Get-ItemProperty Get-Location Get-Member ' +
-                                       'Get-PfxCertificate Get-Process Get-PSDrive Get-PSProvider Get-PSSnapin Get-Service ' +
-                                       'Get-TraceSource Get-UICulture Get-Unique Get-Variable Get-WmiObject Group-Object ' +
-                                       'Import-Alias Import-Clixml Import-Csv Invoke-Expression Invoke-History Invoke-Item ' +
-                                       'Join-Path Measure-Command Measure-Object Move(-Item)? Move-ItemProperty New-Alias ' +
-                                       'New-Item New-ItemProperty New-Object New-PSDrive New-Service New-TimeSpan ' +
-                                       'New-Variable Out-Default Out-File Out-Host Out-Null Out-Printer Out-String Pop-Location ' +
-                                       'Push-Location Read-Host Remove-Item Remove-ItemProperty Remove-PSDrive Remove-PSSnapin ' +
-                                       'Remove-Variable Rename-Item Rename-ItemProperty Resolve-Path Restart-Service Resume-Service ' +
-                                       'Select-Object Select-String Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content ' +
-                                       'Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-Location Set-PSDebug ' +
-                                       'Set-Service Set-TraceSource Set(-Variable)? Sort-Object Split-Path Start-Service ' +
-                                       'Start-Sleep Start-Transcript Stop-Process Stop-Service Stop-Transcript Suspend-Service ' +
-                                       'Tee-Object Test-Path Trace-Command Update-FormatData Update-TypeData Where(-Object)? ' +
-                                       'Write-Debug Write-Error Write(-Host)? Write-Output Write-Progress Write-Verbose Write-Warning';
-               var alias = 'ac asnp clc cli clp clv cpi cpp cvpa diff epal epcsv fc fl ' +
-                                       'ft fw gal gc gci gcm gdr ghy gi gl gm gp gps group gsv ' +
-                                       'gsnp gu gv gwmi iex ihy ii ipal ipcsv mi mp nal ndr ni nv oh rdr ' +
-                                       'ri rni rnp rp rsnp rv rvpa sal sasv sc select si sl sleep sort sp ' +
-                                       'spps spsv sv tee cat cd cp h history kill lp ls ' +
-                                       'mount mv popd ps pushd pwd r rm rmdir echo cls chdir del dir ' +
-                                       'erase rd ren type % \\?';
-
-               this.regexList = [
-                       { regex: /#.*$/gm,                                                                              css: 'comments' },  // one line comments
-                       { regex: /\$[a-zA-Z0-9]+\b/g,                                                   css: 'value'   },   // variables $Computer1
-                       { regex: /\-[a-zA-Z]+\b/g,                                                              css: 'keyword' },   // Operators    -not  -and  -eq
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },    // strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },    // strings
-                       { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' },
-                       { regex: new RegExp(this.getKeywords(alias), 'gmi'),    css: 'keyword' }
-               ];
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['powershell', 'ps'];
-
-       SyntaxHighlighter.brushes.PowerShell = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushPython.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushPython.js
deleted file mode 100644 (file)
index ce77462..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Contributed by Gheorghe Milas and Ahmad Sherif
-       
-               var keywords =  'and assert break class continue def del elif else ' +
-                                               'except exec finally for from global if import in is ' +
-                                               'lambda not or pass print raise return try yield while';
-
-               var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' +
-                                       'chr classmethod cmp coerce compile complex delattr dict dir ' +
-                                       'divmod enumerate eval execfile file filter float format frozenset ' +
-                                       'getattr globals hasattr hash help hex id input int intern ' +
-                                       'isinstance issubclass iter len list locals long map max min next ' +
-                                       'object oct open ord pow print property range raw_input reduce ' +
-                                       'reload repr reversed round set setattr slice sorted staticmethod ' +
-                                       'str sum super tuple type type unichr unicode vars xrange zip';
-
-               var special =  'None True False self cls class_';
-
-               this.regexList = [
-                               { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
-                               { regex: /^\s*@\w+/gm,                                                                          css: 'decorator' },
-                               { regex: /(['\"]{3})([^\1])*?\1/gm,                                             css: 'comments' },
-                               { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm,                                      css: 'string' },
-                               { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm,                            css: 'string' },
-                               { regex: /\+|\-|\*|\/|\%|=|==/gm,                                                       css: 'keyword' },
-                               { regex: /\b\d+\.?\w*/g,                                                                        css: 'value' },
-                               { regex: new RegExp(this.getKeywords(funcs), 'gmi'),            css: 'functions' },
-                               { regex: new RegExp(this.getKeywords(keywords), 'gm'),          css: 'keyword' },
-                               { regex: new RegExp(this.getKeywords(special), 'gm'),           css: 'color1' }
-                               ];
-                       
-               this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['py', 'python'];
-
-       SyntaxHighlighter.brushes.Python = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushRuby.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushRuby.js
deleted file mode 100644 (file)
index ff82130..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Contributed by Erik Peterson.
-       
-               var keywords =  'alias and BEGIN begin break case class def define_method defined do each else elsif ' +
-                                               'END end ensure false for if in module new next nil not or raise redo rescue retry return ' +
-                                               'self super then throw true undef unless until when while yield';
-
-               var builtins =  'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' +
-                                               'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' +
-                                               'ThreadGroup Thread Time TrueClass';
-
-               this.regexList = [
-                       { regex: SyntaxHighlighter.regexLib.singleLinePerlComments,     css: 'comments' },              // one line comments
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString,         css: 'string' },                // double quoted strings
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,         css: 'string' },                // single quoted strings
-                       { regex: /\b[A-Z0-9_]+\b/g,                                                                     css: 'constants' },             // constants
-                       { regex: /:[a-z][A-Za-z0-9_]*/g,                                                        css: 'color2' },                // symbols
-                       { regex: /(\$|@@|@)\w+/g,                                                                       css: 'variable bold' }, // $global, @instance, and @@class variables
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),          css: 'keyword' },               // keywords
-                       { regex: new RegExp(this.getKeywords(builtins), 'gm'),          css: 'color1' }                 // builtins
-                       ];
-
-               this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['ruby', 'rails', 'ror', 'rb'];
-
-       SyntaxHighlighter.brushes.Ruby = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushSass.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushSass.js
deleted file mode 100644 (file)
index aa04da0..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               function getKeywordsCSS(str)
-               {
-                       return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
-               };
-       
-               function getValuesCSS(str)
-               {
-                       return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
-               };
-
-               var keywords =  'ascent azimuth background-attachment background-color background-image background-position ' +
-                                               'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
-                                               'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
-                                               'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
-                                               'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
-                                               'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
-                                               'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
-                                               'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
-                                               'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
-                                               'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
-                                               'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
-                                               'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
-                                               'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
-                                               'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
-               
-               var values =    'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
-                                               'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
-                                               'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero digits disc dotted double '+
-                                               'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
-                                               'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
-                                               'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
-                                               'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
-                                               'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
-                                               'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
-                                               'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
-                                               'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
-                                               'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
-                                               'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
-                                               'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
-               
-               var fonts =             '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
-               
-               var statements          = '!important !default';
-               var preprocessor        = '@import @extend @debug @warn @if @for @while @mixin @include';
-               
-               var r = SyntaxHighlighter.regexLib;
-               
-               this.regexList = [
-                       { regex: r.multiLineCComments,                                                          css: 'comments' },              // multiline comments
-                       { regex: r.singleLineCComments,                                                         css: 'comments' },              // singleline comments
-                       { regex: r.doubleQuotedString,                                                          css: 'string' },                // double quoted strings
-                       { regex: r.singleQuotedString,                                                          css: 'string' },                // single quoted strings
-                       { regex: /\#[a-fA-F0-9]{3,6}/g,                                                         css: 'value' },                 // html colors
-                       { regex: /\b(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)\b/g,                       css: 'value' },                 // sizes
-                       { regex: /\$\w+/g,                                                                                      css: 'variable' },              // variables
-                       { regex: new RegExp(this.getKeywords(statements), 'g'),         css: 'color3' },                // statements
-                       { regex: new RegExp(this.getKeywords(preprocessor), 'g'),       css: 'preprocessor' },  // preprocessor
-                       { regex: new RegExp(getKeywordsCSS(keywords), 'gm'),            css: 'keyword' },               // keywords
-                       { regex: new RegExp(getValuesCSS(values), 'g'),                         css: 'value' },                 // values
-                       { regex: new RegExp(this.getKeywords(fonts), 'g'),                      css: 'color1' }                 // fonts
-                       ];
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['sass', 'scss'];
-
-       SyntaxHighlighter.brushes.Sass = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushScala.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushScala.js
deleted file mode 100644 (file)
index 4b0b6f0..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               // Contributed by Yegor Jbanov and David Bernard.
-       
-               var keywords =  'val sealed case def true trait implicit forSome import match object null finally super ' +
-                                               'override try lazy for var catch throw type extends class while with new final yield abstract ' +
-                                               'else do if return protected private this package false';
-
-               var keyops =    '[_:=><%#@]+';
-
-               this.regexList = [
-                       { regex: SyntaxHighlighter.regexLib.singleLineCComments,                        css: 'comments' },      // one line comments
-                       { regex: SyntaxHighlighter.regexLib.multiLineCComments,                         css: 'comments' },      // multiline comments
-                       { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString,        css: 'string' },        // multi-line strings
-                       { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString,    css: 'string' },    // double-quoted string
-                       { regex: SyntaxHighlighter.regexLib.singleQuotedString,                         css: 'string' },        // strings
-                       { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi,                                                           css: 'value' },         // numbers
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),                          css: 'keyword' },       // keywords
-                       { regex: new RegExp(keyops, 'gm'),                                                                      css: 'keyword' }        // scala keyword
-                       ];
-       }
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['scala'];
-
-       SyntaxHighlighter.brushes.Scala = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushSql.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushSql.js
deleted file mode 100644 (file)
index 5c2cd88..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               var funcs       =       'abs avg case cast coalesce convert count current_timestamp ' +
-                                               'current_user day isnull left lower month nullif replace right ' +
-                                               'session_user space substring sum system_user upper user year';
-
-               var keywords =  'absolute action add after alter as asc at authorization begin bigint ' +
-                                               'binary bit by cascade char character check checkpoint close collate ' +
-                                               'column commit committed connect connection constraint contains continue ' +
-                                               'create cube current current_date current_time cursor database date ' +
-                                               'deallocate dec decimal declare default delete desc distinct double drop ' +
-                                               'dynamic else end end-exec escape except exec execute false fetch first ' +
-                                               'float for force foreign forward free from full function global goto grant ' +
-                                               'group grouping having hour ignore index inner insensitive insert instead ' +
-                                               'int integer intersect into is isolation key last level load local max min ' +
-                                               'minute modify move name national nchar next no numeric of off on only ' +
-                                               'open option order out output partial password precision prepare primary ' +
-                                               'prior privileges procedure public read real references relative repeatable ' +
-                                               'restrict return returns revoke rollback rollup rows rule schema scroll ' +
-                                               'second section select sequence serializable set size smallint static ' +
-                                               'statistics table temp temporary then time timestamp to top transaction ' +
-                                               'translation trigger true truncate uncommitted union unique update values ' +
-                                               'varchar varying view when where with work';
-
-               var operators = 'all and any between cross in join like not null or outer some';
-
-               this.regexList = [
-                       { regex: /--(.*)$/gm,                                                                                           css: 'comments' },                      // one line and multiline comments
-                       { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString,        css: 'string' },                        // double quoted strings
-                       { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString,        css: 'string' },                        // single quoted strings
-                       { regex: new RegExp(this.getKeywords(funcs), 'gmi'),                            css: 'color2' },                        // functions
-                       { regex: new RegExp(this.getKeywords(operators), 'gmi'),                        css: 'color1' },                        // operators and such
-                       { regex: new RegExp(this.getKeywords(keywords), 'gmi'),                         css: 'keyword' }                        // keyword
-                       ];
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['sql'];
-
-       SyntaxHighlighter.brushes.Sql = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
-
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushVb.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushVb.js
deleted file mode 100644 (file)
index be845dc..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               var keywords =  'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' +
-                                               'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' +
-                                               'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' +
-                                               'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' +
-                                               'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' +
-                                               'Function Get GetType GoSub GoTo Handles If Implements Imports In ' +
-                                               'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' +
-                                               'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' +
-                                               'NotInheritable NotOverridable Object On Option Optional Or OrElse ' +
-                                               'Overloads Overridable Overrides ParamArray Preserve Private Property ' +
-                                               'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' +
-                                               'Return Select Set Shadows Shared Short Single Static Step Stop String ' +
-                                               'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' +
-                                               'Variant When While With WithEvents WriteOnly Xor';
-
-               this.regexList = [
-                       { regex: /'.*$/gm,                                                                              css: 'comments' },                      // one line comments
-                       { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },                        // strings
-                       { regex: /^\s*#.*$/gm,                                                                  css: 'preprocessor' },          // preprocessor tags like #region and #endregion
-                       { regex: new RegExp(this.getKeywords(keywords), 'gm'),  css: 'keyword' }                        // vb keyword
-                       ];
-
-               this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['vb', 'vbnet'];
-
-       SyntaxHighlighter.brushes.Vb = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shBrushXml.js b/plugins/textviewer/syntaxhighlighter/scripts/shBrushXml.js
deleted file mode 100644 (file)
index 69d9fd0..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-;(function()
-{
-       // CommonJS
-       typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
-
-       function Brush()
-       {
-               function process(match, regexInfo)
-               {
-                       var constructor = SyntaxHighlighter.Match,
-                               code = match[0],
-                               tag = new XRegExp('(&lt;|<)[\\s\\/\\?]*(?<name>[:\\w-\\.]+)', 'xg').exec(code),
-                               result = []
-                               ;
-               
-                       if (match.attributes != null) 
-                       {
-                               var attributes,
-                                       regex = new XRegExp('(?<name> [\\w:\\-\\.]+)' +
-                                                                               '\\s*=\\s*' +
-                                                                               '(?<value> ".*?"|\'.*?\'|\\w+)',
-                                                                               'xg');
-
-                               while ((attributes = regex.exec(code)) != null) 
-                               {
-                                       result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
-                                       result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
-                               }
-                       }
-
-                       if (tag != null)
-                               result.push(
-                                       new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
-                               );
-
-                       return result;
-               }
-       
-               this.regexList = [
-                       { regex: new XRegExp('(\\&lt;|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\&gt;|>)', 'gm'),                   css: 'color2' },        // <![ ... [ ... ]]>
-                       { regex: SyntaxHighlighter.regexLib.xmlComments,                                                                                                css: 'comments' },      // <!-- ... -->
-                       { regex: new XRegExp('(&lt;|<)[\\s\\/\\?]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(&gt;|>)', 'sg'), func: process }
-               ];
-       };
-
-       Brush.prototype = new SyntaxHighlighter.Highlighter();
-       Brush.aliases   = ['xml', 'xhtml', 'xslt', 'html'];
-
-       SyntaxHighlighter.brushes.Xml = Brush;
-
-       // CommonJS
-       typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shCore.js b/plugins/textviewer/syntaxhighlighter/scripts/shCore.js
deleted file mode 100644 (file)
index b47b645..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('K M;I(M)1S 2U("2a\'t 4k M 4K 2g 3l 4G 4H");(6(){6 r(f,e){I(!M.1R(f))1S 3m("3s 15 4R");K a=f.1w;f=M(f.1m,t(f)+(e||""));I(a)f.1w={1m:a.1m,19:a.19?a.19.1a(0):N};H f}6 t(f){H(f.1J?"g":"")+(f.4s?"i":"")+(f.4p?"m":"")+(f.4v?"x":"")+(f.3n?"y":"")}6 B(f,e,a,b){K c=u.L,d,h,g;v=R;5K{O(;c--;){g=u[c];I(a&g.3r&&(!g.2p||g.2p.W(b))){g.2q.12=e;I((h=g.2q.X(f))&&h.P===e){d={3k:g.2b.W(b,h,a),1C:h};1N}}}}5v(i){1S i}5q{v=11}H d}6 p(f,e,a){I(3b.Z.1i)H f.1i(e,a);O(a=a||0;a<f.L;a++)I(f[a]===e)H a;H-1}M=6(f,e){K a=[],b=M.1B,c=0,d,h;I(M.1R(f)){I(e!==1d)1S 3m("2a\'t 5r 5I 5F 5B 5C 15 5E 5p");H r(f)}I(v)1S 2U("2a\'t W 3l M 59 5m 5g 5x 5i");e=e||"";O(d={2N:11,19:[],2K:6(g){H e.1i(g)>-1},3d:6(g){e+=g}};c<f.L;)I(h=B(f,c,b,d)){a.U(h.3k);c+=h.1C[0].L||1}Y I(h=n.X.W(z[b],f.1a(c))){a.U(h[0]);c+=h[0].L}Y{h=f.3a(c);I(h==="[")b=M.2I;Y I(h==="]")b=M.1B;a.U(h);c++}a=15(a.1K(""),n.Q.W(e,w,""));a.1w={1m:f,19:d.2N?d.19:N};H a};M.3v="1.5.0";M.2I=1;M.1B=2;K C=/\\$(?:(\\d\\d?|[$&`\'])|{([$\\w]+)})/g,w=/[^5h]+|([\\s\\S])(?=[\\s\\S]*\\1)/g,A=/^(?:[?*+]|{\\d+(?:,\\d*)?})\\??/,v=11,u=[],n={X:15.Z.X,1A:15.Z.1A,1C:1r.Z.1C,Q:1r.Z.Q,1e:1r.Z.1e},x=n.X.W(/()??/,"")[1]===1d,D=6(){K f=/^/g;n.1A.W(f,"");H!f.12}(),y=6(){K f=/x/g;n.Q.W("x",f,"");H!f.12}(),E=15.Z.3n!==1d,z={};z[M.2I]=/^(?:\\\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\\29-26-f]{2}|u[\\29-26-f]{4}|c[A-3o-z]|[\\s\\S]))/;z[M.1B]=/^(?:\\\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\\d*|x[\\29-26-f]{2}|u[\\29-26-f]{4}|c[A-3o-z]|[\\s\\S])|\\(\\?[:=!]|[?*+]\\?|{\\d+(?:,\\d*)?}\\??)/;M.1h=6(f,e,a,b){u.U({2q:r(f,"g"+(E?"y":"")),2b:e,3r:a||M.1B,2p:b||N})};M.2n=6(f,e){K a=f+"/"+(e||"");H M.2n[a]||(M.2n[a]=M(f,e))};M.3c=6(f){H r(f,"g")};M.5l=6(f){H f.Q(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,"\\\\$&")};M.5e=6(f,e,a,b){e=r(e,"g"+(b&&E?"y":""));e.12=a=a||0;f=e.X(f);H b?f&&f.P===a?f:N:f};M.3q=6(){M.1h=6(){1S 2U("2a\'t 55 1h 54 3q")}};M.1R=6(f){H 53.Z.1q.W(f)==="[2m 15]"};M.3p=6(f,e,a,b){O(K c=r(e,"g"),d=-1,h;h=c.X(f);){a.W(b,h,++d,f,c);c.12===h.P&&c.12++}I(e.1J)e.12=0};M.57=6(f,e){H 6 a(b,c){K d=e[c].1I?e[c]:{1I:e[c]},h=r(d.1I,"g"),g=[],i;O(i=0;i<b.L;i++)M.3p(b[i],h,6(k){g.U(d.3j?k[d.3j]||"":k[0])});H c===e.L-1||!g.L?g:a(g,c+1)}([f],0)};15.Z.1p=6(f,e){H J.X(e[0])};15.Z.W=6(f,e){H J.X(e)};15.Z.X=6(f){K e=n.X.1p(J,14),a;I(e){I(!x&&e.L>1&&p(e,"")>-1){a=15(J.1m,n.Q.W(t(J),"g",""));n.Q.W(f.1a(e.P),a,6(){O(K c=1;c<14.L-2;c++)I(14[c]===1d)e[c]=1d})}I(J.1w&&J.1w.19)O(K b=1;b<e.L;b++)I(a=J.1w.19[b-1])e[a]=e[b];!D&&J.1J&&!e[0].L&&J.12>e.P&&J.12--}H e};I(!D)15.Z.1A=6(f){(f=n.X.W(J,f))&&J.1J&&!f[0].L&&J.12>f.P&&J.12--;H!!f};1r.Z.1C=6(f){M.1R(f)||(f=15(f));I(f.1J){K e=n.1C.1p(J,14);f.12=0;H e}H f.X(J)};1r.Z.Q=6(f,e){K a=M.1R(f),b,c;I(a&&1j e.58()==="3f"&&e.1i("${")===-1&&y)H n.Q.1p(J,14);I(a){I(f.1w)b=f.1w.19}Y f+="";I(1j e==="6")c=n.Q.W(J,f,6(){I(b){14[0]=1f 1r(14[0]);O(K d=0;d<b.L;d++)I(b[d])14[0][b[d]]=14[d+1]}I(a&&f.1J)f.12=14[14.L-2]+14[0].L;H e.1p(N,14)});Y{c=J+"";c=n.Q.W(c,f,6(){K d=14;H n.Q.W(e,C,6(h,g,i){I(g)5b(g){24"$":H"$";24"&":H d[0];24"`":H d[d.L-1].1a(0,d[d.L-2]);24"\'":H d[d.L-1].1a(d[d.L-2]+d[0].L);5a:i="";g=+g;I(!g)H h;O(;g>d.L-3;){i=1r.Z.1a.W(g,-1)+i;g=1Q.3i(g/10)}H(g?d[g]||"":"$")+i}Y{g=+i;I(g<=d.L-3)H d[g];g=b?p(b,i):-1;H g>-1?d[g+1]:h}})})}I(a&&f.1J)f.12=0;H c};1r.Z.1e=6(f,e){I(!M.1R(f))H n.1e.1p(J,14);K a=J+"",b=[],c=0,d,h;I(e===1d||+e<0)e=5D;Y{e=1Q.3i(+e);I(!e)H[]}O(f=M.3c(f);d=f.X(a);){I(f.12>c){b.U(a.1a(c,d.P));d.L>1&&d.P<a.L&&3b.Z.U.1p(b,d.1a(1));h=d[0].L;c=f.12;I(b.L>=e)1N}f.12===d.P&&f.12++}I(c===a.L){I(!n.1A.W(f,"")||h)b.U("")}Y b.U(a.1a(c));H b.L>e?b.1a(0,e):b};M.1h(/\\(\\?#[^)]*\\)/,6(f){H n.1A.W(A,f.2S.1a(f.P+f[0].L))?"":"(?:)"});M.1h(/\\((?!\\?)/,6(){J.19.U(N);H"("});M.1h(/\\(\\?<([$\\w]+)>/,6(f){J.19.U(f[1]);J.2N=R;H"("});M.1h(/\\\\k<([\\w$]+)>/,6(f){K e=p(J.19,f[1]);H e>-1?"\\\\"+(e+1)+(3R(f.2S.3a(f.P+f[0].L))?"":"(?:)"):f[0]});M.1h(/\\[\\^?]/,6(f){H f[0]==="[]"?"\\\\b\\\\B":"[\\\\s\\\\S]"});M.1h(/^\\(\\?([5A]+)\\)/,6(f){J.3d(f[1]);H""});M.1h(/(?:\\s+|#.*)+/,6(f){H n.1A.W(A,f.2S.1a(f.P+f[0].L))?"":"(?:)"},M.1B,6(){H J.2K("x")});M.1h(/\\./,6(){H"[\\\\s\\\\S]"},M.1B,6(){H J.2K("s")})})();1j 2e!="1d"&&(2e.M=M);K 1v=6(){6 r(a,b){a.1l.1i(b)!=-1||(a.1l+=" "+b)}6 t(a){H a.1i("3e")==0?a:"3e"+a}6 B(a){H e.1Y.2A[t(a)]}6 p(a,b,c){I(a==N)H N;K d=c!=R?a.3G:[a.2G],h={"#":"1c",".":"1l"}[b.1o(0,1)]||"3h",g,i;g=h!="3h"?b.1o(1):b.5u();I((a[h]||"").1i(g)!=-1)H a;O(a=0;d&&a<d.L&&i==N;a++)i=p(d[a],b,c);H i}6 C(a,b){K c={},d;O(d 2g a)c[d]=a[d];O(d 2g b)c[d]=b[d];H c}6 w(a,b,c,d){6 h(g){g=g||1P.5y;I(!g.1F){g.1F=g.52;g.3N=6(){J.5w=11}}c.W(d||1P,g)}a.3g?a.3g("4U"+b,h):a.4y(b,h,11)}6 A(a,b){K c=e.1Y.2j,d=N;I(c==N){c={};O(K h 2g e.1U){K g=e.1U[h];d=g.4x;I(d!=N){g.1V=h.4w();O(g=0;g<d.L;g++)c[d[g]]=h}}e.1Y.2j=c}d=e.1U[c[a]];d==N&&b!=11&&1P.1X(e.13.1x.1X+(e.13.1x.3E+a));H d}6 v(a,b){O(K c=a.1e("\\n"),d=0;d<c.L;d++)c[d]=b(c[d],d);H c.1K("\\n")}6 u(a,b){I(a==N||a.L==0||a=="\\n")H a;a=a.Q(/</g,"&1y;");a=a.Q(/ {2,}/g,6(c){O(K d="",h=0;h<c.L-1;h++)d+=e.13.1W;H d+" "});I(b!=N)a=v(a,6(c){I(c.L==0)H"";K d="";c=c.Q(/^(&2s;| )+/,6(h){d=h;H""});I(c.L==0)H d;H d+\'<17 1g="\'+b+\'">\'+c+"</17>"});H a}6 n(a,b){a.1e("\\n");O(K c="",d=0;d<50;d++)c+="                    ";H a=v(a,6(h){I(h.1i("\\t")==-1)H h;O(K g=0;(g=h.1i("\\t"))!=-1;)h=h.1o(0,g)+c.1o(0,b-g%b)+h.1o(g+1,h.L);H h})}6 x(a){H a.Q(/^\\s+|\\s+$/g,"")}6 D(a,b){I(a.P<b.P)H-1;Y I(a.P>b.P)H 1;Y I(a.L<b.L)H-1;Y I(a.L>b.L)H 1;H 0}6 y(a,b){6 c(k){H k[0]}O(K d=N,h=[],g=b.2D?b.2D:c;(d=b.1I.X(a))!=N;){K i=g(d,b);I(1j i=="3f")i=[1f e.2L(i,d.P,b.23)];h=h.1O(i)}H h}6 E(a){K b=/(.*)((&1G;|&1y;).*)/;H a.Q(e.3A.3M,6(c){K d="",h=N;I(h=b.X(c)){c=h[1];d=h[2]}H\'<a 2h="\'+c+\'">\'+c+"</a>"+d})}6 z(){O(K a=1E.36("1k"),b=[],c=0;c<a.L;c++)a[c].3s=="20"&&b.U(a[c]);H b}6 f(a){a=a.1F;K b=p(a,".20",R);a=p(a,".3O",R);K c=1E.4i("3t");I(!(!a||!b||p(a,"3t"))){B(b.1c);r(b,"1m");O(K d=a.3G,h=[],g=0;g<d.L;g++)h.U(d[g].4z||d[g].4A);h=h.1K("\\r");c.39(1E.4D(h));a.39(c);c.2C();c.4C();w(c,"4u",6(){c.2G.4E(c);b.1l=b.1l.Q("1m","")})}}I(1j 3F!="1d"&&1j M=="1d")M=3F("M").M;K e={2v:{"1g-27":"","2i-1s":1,"2z-1s-2t":11,1M:N,1t:N,"42-45":R,"43-22":4,1u:R,16:R,"3V-17":R,2l:11,"41-40":R,2k:11,"1z-1k":11},13:{1W:"&2s;",2M:R,46:11,44:11,34:"4n",1x:{21:"4o 1m",2P:"?",1X:"1v\\n\\n",3E:"4r\'t 4t 1D O: ",4g:"4m 4B\'t 51 O 1z-1k 4F: ",37:\'<!4T 1z 4S "-//4V//3H 4W 1.0 4Z//4Y" "1Z://2y.3L.3K/4X/3I/3H/3I-4P.4J"><1z 4I="1Z://2y.3L.3K/4L/5L"><3J><4N 1Z-4M="5G-5M" 6K="2O/1z; 6J=6I-8" /><1t>6L 1v</1t></3J><3B 1L="25-6M:6Q,6P,6O,6N-6F;6y-2f:#6x;2f:#6w;25-22:6v;2O-3D:3C;"><T 1L="2O-3D:3C;3w-32:1.6z;"><T 1L="25-22:6A-6E;">1v</T><T 1L="25-22:.6C;3w-6B:6R;"><T>3v 3.0.76 (72 73 3x)</T><T><a 2h="1Z://3u.2w/1v" 1F="38" 1L="2f:#3y">1Z://3u.2w/1v</a></T><T>70 17 6U 71.</T><T>6T 6X-3x 6Y 6D.</T></T><T>6t 61 60 J 1k, 5Z <a 2h="6u://2y.62.2w/63-66/65?64=5X-5W&5P=5O" 1L="2f:#3y">5R</a> 5V <2R/>5U 5T 5S!</T></T></3B></1z>\'}},1Y:{2j:N,2A:{}},1U:{},3A:{6n:/\\/\\*[\\s\\S]*?\\*\\//2c,6m:/\\/\\/.*$/2c,6l:/#.*$/2c,6k:/"([^\\\\"\\n]|\\\\.)*"/g,6o:/\'([^\\\\\'\\n]|\\\\.)*\'/g,6p:1f M(\'"([^\\\\\\\\"]|\\\\\\\\.)*"\',"3z"),6s:1f M("\'([^\\\\\\\\\']|\\\\\\\\.)*\'","3z"),6q:/(&1y;|<)!--[\\s\\S]*?--(&1G;|>)/2c,3M:/\\w+:\\/\\/[\\w-.\\/?%&=:@;]*/g,6a:{18:/(&1y;|<)\\?=?/g,1b:/\\?(&1G;|>)/g},69:{18:/(&1y;|<)%=?/g,1b:/%(&1G;|>)/g},6d:{18:/(&1y;|<)\\s*1k.*?(&1G;|>)/2T,1b:/(&1y;|<)\\/\\s*1k\\s*(&1G;|>)/2T}},16:{1H:6(a){6 b(i,k){H e.16.2o(i,k,e.13.1x[k])}O(K c=\'<T 1g="16">\',d=e.16.2x,h=d.2X,g=0;g<h.L;g++)c+=(d[h[g]].1H||b)(a,h[g]);c+="</T>";H c},2o:6(a,b,c){H\'<2W><a 2h="#" 1g="6e 6h\'+b+" "+b+\'">\'+c+"</a></2W>"},2b:6(a){K b=a.1F,c=b.1l||"";b=B(p(b,".20",R).1c);K d=6(h){H(h=15(h+"6f(\\\\w+)").X(c))?h[1]:N}("6g");b&&d&&e.16.2x[d].2B(b);a.3N()},2x:{2X:["21","2P"],21:{1H:6(a){I(a.V("2l")!=R)H"";K b=a.V("1t");H e.16.2o(a,"21",b?b:e.13.1x.21)},2B:6(a){a=1E.6j(t(a.1c));a.1l=a.1l.Q("47","")}},2P:{2B:6(){K a="68=0";a+=", 18="+(31.30-33)/2+", 32="+(31.2Z-2Y)/2+", 30=33, 2Z=2Y";a=a.Q(/^,/,"");a=1P.6Z("","38",a);a.2C();K b=a.1E;b.6W(e.13.1x.37);b.6V();a.2C()}}}},35:6(a,b){K c;I(b)c=[b];Y{c=1E.36(e.13.34);O(K d=[],h=0;h<c.L;h++)d.U(c[h]);c=d}c=c;d=[];I(e.13.2M)c=c.1O(z());I(c.L===0)H d;O(h=0;h<c.L;h++){O(K g=c[h],i=a,k=c[h].1l,j=3W 0,l={},m=1f M("^\\\\[(?<2V>(.*?))\\\\]$"),s=1f M("(?<27>[\\\\w-]+)\\\\s*:\\\\s*(?<1T>[\\\\w-%#]+|\\\\[.*?\\\\]|\\".*?\\"|\'.*?\')\\\\s*;?","g");(j=s.X(k))!=N;){K o=j.1T.Q(/^[\'"]|[\'"]$/g,"");I(o!=N&&m.1A(o)){o=m.X(o);o=o.2V.L>0?o.2V.1e(/\\s*,\\s*/):[]}l[j.27]=o}g={1F:g,1n:C(i,l)};g.1n.1D!=N&&d.U(g)}H d},1M:6(a,b){K c=J.35(a,b),d=N,h=e.13;I(c.L!==0)O(K g=0;g<c.L;g++){b=c[g];K i=b.1F,k=b.1n,j=k.1D,l;I(j!=N){I(k["1z-1k"]=="R"||e.2v["1z-1k"]==R){d=1f e.4l(j);j="4O"}Y I(d=A(j))d=1f d;Y 6H;l=i.3X;I(h.2M){l=l;K m=x(l),s=11;I(m.1i("<![6G[")==0){m=m.4h(9);s=R}K o=m.L;I(m.1i("]]\\>")==o-3){m=m.4h(0,o-3);s=R}l=s?m:l}I((i.1t||"")!="")k.1t=i.1t;k.1D=j;d.2Q(k);b=d.2F(l);I((i.1c||"")!="")b.1c=i.1c;i.2G.74(b,i)}}},2E:6(a){w(1P,"4k",6(){e.1M(a)})}};e.2E=e.2E;e.1M=e.1M;e.2L=6(a,b,c){J.1T=a;J.P=b;J.L=a.L;J.23=c;J.1V=N};e.2L.Z.1q=6(){H J.1T};e.4l=6(a){6 b(j,l){O(K m=0;m<j.L;m++)j[m].P+=l}K c=A(a),d,h=1f e.1U.5Y,g=J,i="2F 1H 2Q".1e(" ");I(c!=N){d=1f c;O(K k=0;k<i.L;k++)(6(){K j=i[k];g[j]=6(){H h[j].1p(h,14)}})();d.28==N?1P.1X(e.13.1x.1X+(e.13.1x.4g+a)):h.2J.U({1I:d.28.17,2D:6(j){O(K l=j.17,m=[],s=d.2J,o=j.P+j.18.L,F=d.28,q,G=0;G<s.L;G++){q=y(l,s[G]);b(q,o);m=m.1O(q)}I(F.18!=N&&j.18!=N){q=y(j.18,F.18);b(q,j.P);m=m.1O(q)}I(F.1b!=N&&j.1b!=N){q=y(j.1b,F.1b);b(q,j.P+j[0].5Q(j.1b));m=m.1O(q)}O(j=0;j<m.L;j++)m[j].1V=c.1V;H m}})}};e.4j=6(){};e.4j.Z={V:6(a,b){K c=J.1n[a];c=c==N?b:c;K d={"R":R,"11":11}[c];H d==N?c:d},3Y:6(a){H 1E.4i(a)},4c:6(a,b){K c=[];I(a!=N)O(K d=0;d<a.L;d++)I(1j a[d]=="2m")c=c.1O(y(b,a[d]));H J.4e(c.6b(D))},4e:6(a){O(K b=0;b<a.L;b++)I(a[b]!==N)O(K c=a[b],d=c.P+c.L,h=b+1;h<a.L&&a[b]!==N;h++){K g=a[h];I(g!==N)I(g.P>d)1N;Y I(g.P==c.P&&g.L>c.L)a[b]=N;Y I(g.P>=c.P&&g.P<d)a[h]=N}H a},4d:6(a){K b=[],c=2u(J.V("2i-1s"));v(a,6(d,h){b.U(h+c)});H b},3U:6(a){K b=J.V("1M",[]);I(1j b!="2m"&&b.U==N)b=[b];a:{a=a.1q();K c=3W 0;O(c=c=1Q.6c(c||0,0);c<b.L;c++)I(b[c]==a){b=c;1N a}b=-1}H b!=-1},2r:6(a,b,c){a=["1s","6i"+b,"P"+a,"6r"+(b%2==0?1:2).1q()];J.3U(b)&&a.U("67");b==0&&a.U("1N");H\'<T 1g="\'+a.1K(" ")+\'">\'+c+"</T>"},3Q:6(a,b){K c="",d=a.1e("\\n").L,h=2u(J.V("2i-1s")),g=J.V("2z-1s-2t");I(g==R)g=(h+d-1).1q().L;Y I(3R(g)==R)g=0;O(K i=0;i<d;i++){K k=b?b[i]:h+i,j;I(k==0)j=e.13.1W;Y{j=g;O(K l=k.1q();l.L<j;)l="0"+l;j=l}a=j;c+=J.2r(i,k,a)}H c},49:6(a,b){a=x(a);K c=a.1e("\\n");J.V("2z-1s-2t");K d=2u(J.V("2i-1s"));a="";O(K h=J.V("1D"),g=0;g<c.L;g++){K i=c[g],k=/^(&2s;|\\s)+/.X(i),j=N,l=b?b[g]:d+g;I(k!=N){j=k[0].1q();i=i.1o(j.L);j=j.Q(" ",e.13.1W)}i=x(i);I(i.L==0)i=e.13.1W;a+=J.2r(g,l,(j!=N?\'<17 1g="\'+h+\' 5N">\'+j+"</17>":"")+i)}H a},4f:6(a){H a?"<4a>"+a+"</4a>":""},4b:6(a,b){6 c(l){H(l=l?l.1V||g:g)?l+" ":""}O(K d=0,h="",g=J.V("1D",""),i=0;i<b.L;i++){K k=b[i],j;I(!(k===N||k.L===0)){j=c(k);h+=u(a.1o(d,k.P-d),j+"48")+u(k.1T,j+k.23);d=k.P+k.L+(k.75||0)}}h+=u(a.1o(d),c()+"48");H h},1H:6(a){K b="",c=["20"],d;I(J.V("2k")==R)J.1n.16=J.1n.1u=11;1l="20";J.V("2l")==R&&c.U("47");I((1u=J.V("1u"))==11)c.U("6S");c.U(J.V("1g-27"));c.U(J.V("1D"));a=a.Q(/^[ ]*[\\n]+|[\\n]*[ ]*$/g,"").Q(/\\r/g," ");b=J.V("43-22");I(J.V("42-45")==R)a=n(a,b);Y{O(K h="",g=0;g<b;g++)h+=" ";a=a.Q(/\\t/g,h)}a=a;a:{b=a=a;h=/<2R\\s*\\/?>|&1y;2R\\s*\\/?&1G;/2T;I(e.13.46==R)b=b.Q(h,"\\n");I(e.13.44==R)b=b.Q(h,"");b=b.1e("\\n");h=/^\\s*/;g=4Q;O(K i=0;i<b.L&&g>0;i++){K k=b[i];I(x(k).L!=0){k=h.X(k);I(k==N){a=a;1N a}g=1Q.4q(k[0].L,g)}}I(g>0)O(i=0;i<b.L;i++)b[i]=b[i].1o(g);a=b.1K("\\n")}I(1u)d=J.4d(a);b=J.4c(J.2J,a);b=J.4b(a,b);b=J.49(b,d);I(J.V("41-40"))b=E(b);1j 2H!="1d"&&2H.3S&&2H.3S.1C(/5s/)&&c.U("5t");H b=\'<T 1c="\'+t(J.1c)+\'" 1g="\'+c.1K(" ")+\'">\'+(J.V("16")?e.16.1H(J):"")+\'<3Z 5z="0" 5H="0" 5J="0">\'+J.4f(J.V("1t"))+"<3T><3P>"+(1u?\'<2d 1g="1u">\'+J.3Q(a)+"</2d>":"")+\'<2d 1g="17"><T 1g="3O">\'+b+"</T></2d></3P></3T></3Z></T>"},2F:6(a){I(a===N)a="";J.17=a;K b=J.3Y("T");b.3X=J.1H(a);J.V("16")&&w(p(b,".16"),"5c",e.16.2b);J.V("3V-17")&&w(p(b,".17"),"56",f);H b},2Q:6(a){J.1c=""+1Q.5d(1Q.5n()*5k).1q();e.1Y.2A[t(J.1c)]=J;J.1n=C(e.2v,a||{});I(J.V("2k")==R)J.1n.16=J.1n.1u=11},5j:6(a){a=a.Q(/^\\s+|\\s+$/g,"").Q(/\\s+/g,"|");H"\\\\b(?:"+a+")\\\\b"},5f:6(a){J.28={18:{1I:a.18,23:"1k"},1b:{1I:a.1b,23:"1k"},17:1f M("(?<18>"+a.18.1m+")(?<17>.*?)(?<1b>"+a.1b.1m+")","5o")}}};H e}();1j 2e!="1d"&&(2e.1v=1v);',62,441,'||||||function|||||||||||||||||||||||||||||||||||||return|if|this|var|length|XRegExp|null|for|index|replace|true||div|push|getParam|call|exec|else|prototype||false|lastIndex|config|arguments|RegExp|toolbar|code|left|captureNames|slice|right|id|undefined|split|new|class|addToken|indexOf|typeof|script|className|source|params|substr|apply|toString|String|line|title|gutter|SyntaxHighlighter|_xregexp|strings|lt|html|test|OUTSIDE_CLASS|match|brush|document|target|gt|getHtml|regex|global|join|style|highlight|break|concat|window|Math|isRegExp|throw|value|brushes|brushName|space|alert|vars|http|syntaxhighlighter|expandSource|size|css|case|font|Fa|name|htmlScript|dA|can|handler|gm|td|exports|color|in|href|first|discoveredBrushes|light|collapse|object|cache|getButtonHtml|trigger|pattern|getLineHtml|nbsp|numbers|parseInt|defaults|com|items|www|pad|highlighters|execute|focus|func|all|getDiv|parentNode|navigator|INSIDE_CLASS|regexList|hasFlag|Match|useScriptTags|hasNamedCapture|text|help|init|br|input|gi|Error|values|span|list|250|height|width|screen|top|500|tagName|findElements|getElementsByTagName|aboutDialog|_blank|appendChild|charAt|Array|copyAsGlobal|setFlag|highlighter_|string|attachEvent|nodeName|floor|backref|output|the|TypeError|sticky|Za|iterate|freezeTokens|scope|type|textarea|alexgorbatchev|version|margin|2010|005896|gs|regexLib|body|center|align|noBrush|require|childNodes|DTD|xhtml1|head|org|w3|url|preventDefault|container|tr|getLineNumbersHtml|isNaN|userAgent|tbody|isLineHighlighted|quick|void|innerHTML|create|table|links|auto|smart|tab|stripBrs|tabs|bloggerMode|collapsed|plain|getCodeLinesHtml|caption|getMatchesHtml|findMatches|figureOutLineNumbers|removeNestedMatches|getTitleHtml|brushNotHtmlScript|substring|createElement|Highlighter|load|HtmlScript|Brush|pre|expand|multiline|min|Can|ignoreCase|find|blur|extended|toLowerCase|aliases|addEventListener|innerText|textContent|wasn|select|createTextNode|removeChild|option|same|frame|xmlns|dtd|twice|1999|equiv|meta|htmlscript|transitional|1E3|expected|PUBLIC|DOCTYPE|on|W3C|XHTML|TR|EN|Transitional||configured|srcElement|Object|after|run|dblclick|matchChain|valueOf|constructor|default|switch|click|round|execAt|forHtmlScript|token|gimy|functions|getKeywords|1E6|escape|within|random|sgi|another|finally|supply|MSIE|ie|toUpperCase|catch|returnValue|definition|event|border|imsx|constructing|one|Infinity|from|when|Content|cellpadding|flags|cellspacing|try|xhtml|Type|spaces|2930402|hosted_button_id|lastIndexOf|donate|active|development|keep|to|xclick|_s|Xml|please|like|you|paypal|cgi|cmd|webscr|bin|highlighted|scrollbars|aspScriptTags|phpScriptTags|sort|max|scriptScriptTags|toolbar_item|_|command|command_|number|getElementById|doubleQuotedString|singleLinePerlComments|singleLineCComments|multiLineCComments|singleQuotedString|multiLineDoubleQuotedString|xmlComments|alt|multiLineSingleQuotedString|If|https|1em|000|fff|background|5em|xx|bottom|75em|Gorbatchev|large|serif|CDATA|continue|utf|charset|content|About|family|sans|Helvetica|Arial|Geneva|3em|nogutter|Copyright|syntax|close|write|2004|Alex|open|JavaScript|highlighter|July|02|replaceChild|offset|83'.split('|'),0,{}))
diff --git a/plugins/textviewer/syntaxhighlighter/scripts/shLegacy.js b/plugins/textviewer/syntaxhighlighter/scripts/shLegacy.js
deleted file mode 100644 (file)
index 6d9fd4d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('3 u={8:{}};u.8={A:4(c,k,l,m,n,o){4 d(a,b){2 a!=1?a:b}4 f(a){2 a!=1?a.E():1}c=c.I(":");3 g=c[0],e={};t={"r":K};M=1;5=8.5;9(3 j R c)e[c[j]]="r";k=f(d(k,5.C));l=f(d(l,5.D));m=f(d(m,5.s));o=f(d(o,5.Q));n=f(d(n,5["x-y"]));2{P:g,C:d(t[e.O],k),D:d(t[e.N],l),s:d({"r":r}[e.s],m),"x-y":d(4(a,b){9(3 h=T S("^"+b+"\\\\[(?<q>\\\\w+)\\\\]$","U"),i=1,p=0;p<a.7;p++)6((i=h.J(a[p]))!=1)2 i.q;2 1}(c,"G"),n)}},F:4(c,k,l,m,n,o){4 d(){9(3 a=H,b=0;b<a.7;b++)6(a[b]!==1){6(z a[b]=="L"&&a[b]!="")2 a[b]+"";6(z a[b]=="X"&&a[b].q!="")2 a[b].q+""}2 1}4 f(a,b,h){h=12.13(h);9(3 i=0;i<h.7;i++)h[i].V("15")==b&&a.Y(h[i])}3 g=[];f(g,c,"Z");f(g,c,"W");6(g.7!==0)9(c=0;c<g.7;c++){3 e=g[c],j=d(e.B["14"],e.10,e.B.v,e.v);6(j!==1){j=u.8.A(j,k,l,m,n,o);8.11(j,e)}}}};',62,68,'|null|return|var|function|defaults|if|length|SyntaxHighlighter|for|||||||||||||||||value|true|collapse|reverse|dp|language||first|line|typeof|parseParams|attributes|gutter|toolbar|toString|HighlightAll|firstline|arguments|split|exec|false|string|result|nocontrols|nogutter|brush|ruler|in|XRegExp|new|gi|getAttribute|textarea|object|push|pre|className|highlight|document|getElementsByTagName|class|name'.split('|'),0,{}))
diff --git a/plugins/textviewer/syntaxhighlighter/src/shAutoloader.js b/plugins/textviewer/syntaxhighlighter/src/shAutoloader.js
deleted file mode 100644 (file)
index 3a95449..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-(function() {
-
-var sh = SyntaxHighlighter;
-
-/**
- * Provides functionality to dynamically load only the brushes that a needed to render the current page.
- *
- * There are two syntaxes that autoload understands. For example:
- * 
- * SyntaxHighlighter.autoloader(
- *     [ 'applescript',          'Scripts/shBrushAppleScript.js' ],
- *     [ 'actionscript3', 'as3', 'Scripts/shBrushAS3.js' ]
- * );
- *
- * or a more easily comprehendable one:
- *
- * SyntaxHighlighter.autoloader(
- *     'applescript       Scripts/shBrushAppleScript.js',
- *     'actionscript3 as3 Scripts/shBrushAS3.js'
- * );
- */
-sh.autoloader = function()
-{
-       var list = arguments,
-               elements = sh.findElements(),
-               brushes = {},
-               scripts = {},
-               all = SyntaxHighlighter.all,
-               allCalled = false,
-               allParams = null,
-               i
-               ;
-               
-       SyntaxHighlighter.all = function(params)
-       {
-               allParams = params;
-               allCalled = true;
-       };
-       
-       function addBrush(aliases, url)
-       {
-               for (var i = 0; i < aliases.length; i++)
-                       brushes[aliases[i]] = url;
-       };
-       
-       function getAliases(item)
-       {
-               return item.pop
-                       ? item
-                       : item.split(/\s+/)
-                       ;
-       }
-       
-       // create table of aliases and script urls
-       for (i = 0; i < list.length; i++)
-       {
-               var aliases = getAliases(list[i]),
-                       url = aliases.pop()
-                       ;
-                       
-               addBrush(aliases, url);
-       }
-       
-       // dynamically add <script /> tags to the document body
-       for (i = 0; i < elements.length; i++)
-       {
-               var url = brushes[elements[i].params.brush];
-               
-               if (!url)
-                       continue;
-               
-               scripts[url] = false;
-               loadScript(url);
-       }
-       
-       function loadScript(url)
-       {
-               var script = document.createElement('script'),
-                       done = false
-                       ;
-               
-               script.src = url;
-               script.type = 'text/javascript';
-               script.language = 'javascript';
-               script.onload = script.onreadystatechange = function()
-               {
-                       if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete'))
-                       {
-                               done = true;
-                               scripts[url] = true;
-                               checkAll();
-                               
-                               // Handle memory leak in IE
-                               script.onload = script.onreadystatechange = null;
-                               script.parentNode.removeChild(script);
-                       }
-               };
-               
-               // sync way of adding script tags to the page
-               document.body.appendChild(script);
-       };
-       
-       function checkAll()
-       {
-               for(var url in scripts)
-                       if (scripts[url] == false)
-                               return;
-               
-               if (allCalled)
-                       SyntaxHighlighter.highlight(allParams);
-       };
-};
-
-})();
diff --git a/plugins/textviewer/syntaxhighlighter/src/shCore.js b/plugins/textviewer/syntaxhighlighter/src/shCore.js
deleted file mode 100644 (file)
index 9b8f7fb..0000000
+++ /dev/null
@@ -1,1721 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-//
-// Begin anonymous function. This is used to contain local scope variables without polutting global scope.
-//
-var SyntaxHighlighter = function() { 
-
-// CommonJS
-if (typeof(require) != 'undefined' && typeof(XRegExp) == 'undefined')
-{
-       XRegExp = require('XRegExp').XRegExp;
-}
-
-// Shortcut object which will be assigned to the SyntaxHighlighter variable.
-// This is a shorthand for local reference in order to avoid long namespace 
-// references to SyntaxHighlighter.whatever...
-var sh = {
-       defaults : {
-               /** Additional CSS class names to be added to highlighter elements. */
-               'class-name' : '',
-               
-               /** First line number. */
-               'first-line' : 1,
-               
-               /**
-                * Pads line numbers. Possible values are:
-                *
-                *   false - don't pad line numbers.
-                *   true  - automaticaly pad numbers with minimum required number of leading zeroes.
-                *   [int] - length up to which pad line numbers.
-                */
-               'pad-line-numbers' : false,
-               
-               /** Lines to highlight. */
-               'highlight' : null,
-               
-               /** Title to be displayed above the code block. */
-               'title' : null,
-               
-               /** Enables or disables smart tabs. */
-               'smart-tabs' : true,
-               
-               /** Gets or sets tab size. */
-               'tab-size' : 4,
-               
-               /** Enables or disables gutter. */
-               'gutter' : true,
-               
-               /** Enables or disables toolbar. */
-               'toolbar' : true,
-               
-               /** Enables quick code copy and paste from double click. */
-               'quick-code' : true,
-               
-               /** Forces code view to be collapsed. */
-               'collapse' : false,
-               
-               /** Enables or disables automatic links. */
-               'auto-links' : true,
-               
-               /** Gets or sets light mode. Equavalent to turning off gutter and toolbar. */
-               'light' : false,
-               
-               'html-script' : false
-       },
-       
-       config : {
-               space : '&nbsp;',
-               
-               /** Enables use of <SCRIPT type="syntaxhighlighter" /> tags. */
-               useScriptTags : true,
-               
-               /** Blogger mode flag. */
-               bloggerMode : false,
-               
-               stripBrs : false,
-               
-               /** Name of the tag that SyntaxHighlighter will automatically look for. */
-               tagName : 'pre',
-               
-               strings : {
-                       expandSource : 'expand source',
-                       help : '?',
-                       alert: 'SyntaxHighlighter\n\n',
-                       noBrush : 'Can\'t find brush for: ',
-                       brushNotHtmlScript : 'Brush wasn\'t configured for html-script option: ',
-                       
-                       // this is populated by the build script
-                       aboutDialog : '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>About SyntaxHighlighter</title></head><body style="font-family:Geneva,Arial,Helvetica,sans-serif;background-color:#fff;color:#000;font-size:1em;text-align:center;"><div style="text-align:center;margin-top:1.5em;"><div style="font-size:xx-large;">SyntaxHighlighter</div><div style="font-size:.75em;margin-bottom:3em;"><div>version 3.0.83 (July 02 2010)</div><div><a href="http://alexgorbatchev.com/SyntaxHighlighter" target="_blank" style="color:#005896">http://alexgorbatchev.com/SyntaxHighlighter</a></div><div>JavaScript code syntax highlighter.</div><div>Copyright 2004-2010 Alex Gorbatchev.</div></div><div>If you like this script, please <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2930402" style="color:#005896">donate</a> to <br/>keep development active!</div></div></body></html>'
-               }
-       },
-       
-       /** Internal 'global' variables. */
-       vars : {
-               discoveredBrushes : null,
-               highlighters : {}
-       },
-       
-       /** This object is populated by user included external brush files. */
-       brushes : {},
-
-       /** Common regular expressions. */
-       regexLib : {
-               multiLineCComments                      : /\/\*[\s\S]*?\*\//gm,
-               singleLineCComments                     : /\/\/.*$/gm,
-               singleLinePerlComments          : /#.*$/gm,
-               doubleQuotedString                      : /"([^\\"\n]|\\.)*"/g,
-               singleQuotedString                      : /'([^\\'\n]|\\.)*'/g,
-               multiLineDoubleQuotedString     : new XRegExp('"([^\\\\"]|\\\\.)*"', 'gs'),
-               multiLineSingleQuotedString     : new XRegExp("'([^\\\\']|\\\\.)*'", 'gs'),
-               xmlComments                                     : /(&lt;|<)!--[\s\S]*?--(&gt;|>)/gm,
-               url                                                     : /\w+:\/\/[\w-.\/?%&=:@;]*/g,
-               
-               /** <?= ?> tags. */
-               phpScriptTags                           : { left: /(&lt;|<)\?=?/g, right: /\?(&gt;|>)/g },
-               
-               /** <%= %> tags. */
-               aspScriptTags                           : { left: /(&lt;|<)%=?/g, right: /%(&gt;|>)/g },
-               
-               /** <script></script> tags. */
-               scriptScriptTags                        : { left: /(&lt;|<)\s*script.*?(&gt;|>)/gi, right: /(&lt;|<)\/\s*script\s*(&gt;|>)/gi }
-       },
-
-       toolbar: {
-               /**
-                * Generates HTML markup for the toolbar.
-                * @param {Highlighter} highlighter Highlighter instance.
-                * @return {String} Returns HTML markup.
-                */
-               getHtml: function(highlighter)
-               {
-                       var html = '<div class="toolbar">',
-                               items = sh.toolbar.items,
-                               list = items.list
-                               ;
-                       
-                       function defaultGetHtml(highlighter, name)
-                       {
-                               return sh.toolbar.getButtonHtml(highlighter, name, sh.config.strings[name]);
-                       };
-                       
-                       for (var i = 0; i < list.length; i++)
-                               html += (items[list[i]].getHtml || defaultGetHtml)(highlighter, list[i]);
-                       
-                       html += '</div>';
-                       
-                       return html;
-               },
-               
-               /**
-                * Generates HTML markup for a regular button in the toolbar.
-                * @param {Highlighter} highlighter Highlighter instance.
-                * @param {String} commandName          Command name that would be executed.
-                * @param {String} label                        Label text to display.
-                * @return {String}                                     Returns HTML markup.
-                */
-               getButtonHtml: function(highlighter, commandName, label)
-               {
-                       return '<span><a href="#" class="toolbar_item'
-                               + ' command_' + commandName
-                               + ' ' + commandName
-                               + '">' + label + '</a></span>'
-                               ;
-               },
-               
-               /**
-                * Event handler for a toolbar anchor.
-                */
-               handler: function(e)
-               {
-                       var target = e.target,
-                               className = target.className || ''
-                               ;
-
-                       function getValue(name)
-                       {
-                               var r = new RegExp(name + '_(\\w+)'),
-                                       match = r.exec(className)
-                                       ;
-
-                               return match ? match[1] : null;
-                       };
-                       
-                       var highlighter = getHighlighterById(findParentElement(target, '.syntaxhighlighter').id),
-                               commandName = getValue('command')
-                               ;
-                       
-                       // execute the toolbar command
-                       if (highlighter && commandName)
-                               sh.toolbar.items[commandName].execute(highlighter);
-
-                       // disable default A click behaviour
-                       e.preventDefault();
-               },
-               
-               /** Collection of toolbar items. */
-               items : {
-                       // Ordered lis of items in the toolbar. Can't expect `for (var n in items)` to be consistent.
-                       list: ['expandSource', 'help'],
-
-                       expandSource: {
-                               getHtml: function(highlighter)
-                               {
-                                       if (highlighter.getParam('collapse') != true)
-                                               return '';
-                                               
-                                       var title = highlighter.getParam('title');
-                                       return sh.toolbar.getButtonHtml(highlighter, 'expandSource', title ? title : sh.config.strings.expandSource);
-                               },
-                       
-                               execute: function(highlighter)
-                               {
-                                       var div = getHighlighterDivById(highlighter.id);
-                                       removeClass(div, 'collapsed');
-                               }
-                       },
-
-                       /** Command to display the about dialog window. */
-                       help: {
-                               execute: function(highlighter)
-                               {       
-                                       var wnd = popup('', '_blank', 500, 250, 'scrollbars=0'),
-                                               doc = wnd.document
-                                               ;
-                                       
-                                       doc.write(sh.config.strings.aboutDialog);
-                                       doc.close();
-                                       wnd.focus();
-                               }
-                       }
-               }
-       },
-
-       /**
-        * Finds all elements on the page which should be processes by SyntaxHighlighter.
-        *
-        * @param {Object} globalParams         Optional parameters which override element's 
-        *                                                                      parameters. Only used if element is specified.
-        * 
-        * @param {Object} element      Optional element to highlight. If none is
-        *                                                      provided, all elements in the current document 
-        *                                                      are returned which qualify.
-        *
-        * @return {Array}      Returns list of <code>{ target: DOMElement, params: Object }</code> objects.
-        */
-       findElements: function(globalParams, element)
-       {
-               var elements = element ? [element] : toArray(document.getElementsByTagName(sh.config.tagName)), 
-                       conf = sh.config,
-                       result = []
-                       ;
-
-               // support for <SCRIPT TYPE="syntaxhighlighter" /> feature
-               if (conf.useScriptTags)
-                       elements = elements.concat(getSyntaxHighlighterScriptTags());
-
-               if (elements.length === 0) 
-                       return result;
-       
-               for (var i = 0; i < elements.length; i++) 
-               {
-                       var item = {
-                               target: elements[i], 
-                               // local params take precedence over globals
-                               params: merge(globalParams, parseParams(elements[i].className))
-                       };
-
-                       if (item.params['brush'] == null)
-                               continue;
-                               
-                       result.push(item);
-               }
-               
-               return result;
-       },
-
-       /**
-        * Shorthand to highlight all elements on the page that are marked as 
-        * SyntaxHighlighter source code.
-        * 
-        * @param {Object} globalParams         Optional parameters which override element's 
-        *                                                                      parameters. Only used if element is specified.
-        * 
-        * @param {Object} element      Optional element to highlight. If none is
-        *                                                      provided, all elements in the current document 
-        *                                                      are highlighted.
-        */ 
-       highlight: function(globalParams, element)
-       {
-               var elements = this.findElements(globalParams, element),
-                       propertyName = 'innerHTML', 
-                       highlighter = null,
-                       conf = sh.config
-                       ;
-
-               if (elements.length === 0) 
-                       return;
-       
-               for (var i = 0; i < elements.length; i++) 
-               {
-                       var element = elements[i],
-                               target = element.target,
-                               params = element.params,
-                               brushName = params.brush,
-                               code
-                               ;
-
-                       if (brushName == null)
-                               continue;
-
-                       // Instantiate a brush
-                       if (params['html-script'] == 'true' || sh.defaults['html-script'] == true) 
-                       {
-                               highlighter = new sh.HtmlScript(brushName);
-                               brushName = 'htmlscript';
-                       }
-                       else
-                       {
-                               var brush = findBrush(brushName);
-                               
-                               if (brush)
-                                       highlighter = new brush();
-                               else
-                                       continue;
-                       }
-                       
-                       code = target[propertyName];
-                       
-                       // remove CDATA from <SCRIPT/> tags if it's present
-                       if (conf.useScriptTags)
-                               code = stripCData(code);
-                               
-                       // Inject title if the attribute is present
-                       if ((target.title || '') != '')
-                               params.title = target.title;
-                               
-                       params['brush'] = brushName;
-                       highlighter.init(params);
-                       element = highlighter.getDiv(code);
-                       
-                       // carry over ID
-                       if ((target.id || '') != '')
-                               element.id = target.id;
-                       
-                       target.parentNode.replaceChild(element, target);
-               }
-       },
-
-       /**
-        * Main entry point for the SyntaxHighlighter.
-        * @param {Object} params Optional params to apply to all highlighted elements.
-        */
-       all: function(params)
-       {
-               attachEvent(
-                       window,
-                       'load',
-                       function() { sh.highlight(params); }
-               );
-       }
-}; // end of sh
-
-sh['all']                      = sh.all;
-sh['highlight']                = sh.highlight;
-
-/**
- * Checks if target DOM elements has specified CSS class.
- * @param {DOMElement} target Target DOM element to check.
- * @param {String} className Name of the CSS class to check for.
- * @return {Boolean} Returns true if class name is present, false otherwise.
- */
-function hasClass(target, className)
-{
-       return target.className.indexOf(className) != -1;
-};
-
-/**
- * Adds CSS class name to the target DOM element.
- * @param {DOMElement} target Target DOM element.
- * @param {String} className New CSS class to add.
- */
-function addClass(target, className)
-{
-       if (!hasClass(target, className))
-               target.className += ' ' + className;
-};
-
-/**
- * Removes CSS class name from the target DOM element.
- * @param {DOMElement} target Target DOM element.
- * @param {String} className CSS class to remove.
- */
-function removeClass(target, className)
-{
-       target.className = target.className.replace(className, '');
-};
-
-/**
- * Converts the source to array object. Mostly used for function arguments and 
- * lists returned by getElementsByTagName() which aren't Array objects.
- * @param {List} source Source list.
- * @return {Array} Returns array.
- */
-function toArray(source)
-{
-       var result = [];
-       
-       for (var i = 0; i < source.length; i++) 
-               result.push(source[i]);
-               
-       return result;
-};
-
-/**
- * Splits block of text into lines.
- * @param {String} block Block of text.
- * @return {Array} Returns array of lines.
- */
-function splitLines(block)
-{
-       return block.split('\n');
-}
-
-/**
- * Generates HTML ID for the highlighter.
- * @param {String} highlighterId Highlighter ID.
- * @return {String} Returns HTML ID.
- */
-function getHighlighterId(id)
-{
-       var prefix = 'highlighter_';
-       return id.indexOf(prefix) == 0 ? id : prefix + id;
-};
-
-/**
- * Finds Highlighter instance by ID.
- * @param {String} highlighterId Highlighter ID.
- * @return {Highlighter} Returns instance of the highlighter.
- */
-function getHighlighterById(id)
-{
-       return sh.vars.highlighters[getHighlighterId(id)];
-};
-
-/**
- * Finds highlighter's DIV container.
- * @param {String} highlighterId Highlighter ID.
- * @return {Element} Returns highlighter's DIV element.
- */
-function getHighlighterDivById(id)
-{
-       return document.getElementById(getHighlighterId(id));
-};
-
-/**
- * Stores highlighter so that getHighlighterById() can do its thing. Each
- * highlighter must call this method to preserve itself.
- * @param {Highilghter} highlighter Highlighter instance.
- */
-function storeHighlighter(highlighter)
-{
-       sh.vars.highlighters[getHighlighterId(highlighter.id)] = highlighter;
-};
-
-/**
- * Looks for a child or parent node which has specified classname.
- * Equivalent to jQuery's $(container).find(".className")
- * @param {Element} target Target element.
- * @param {String} search Class name or node name to look for.
- * @param {Boolean} reverse If set to true, will go up the node tree instead of down.
- * @return {Element} Returns found child or parent element on null.
- */
-function findElement(target, search, reverse /* optional */)
-{
-       if (target == null)
-               return null;
-               
-       var nodes                       = reverse != true ? target.childNodes : [ target.parentNode ],
-               propertyToFind  = { '#' : 'id', '.' : 'className' }[search.substr(0, 1)] || 'nodeName',
-               expectedValue,
-               found
-               ;
-
-       expectedValue = propertyToFind != 'nodeName'
-               ? search.substr(1)
-               : search.toUpperCase()
-               ;
-               
-       // main return of the found node
-       if ((target[propertyToFind] || '').indexOf(expectedValue) != -1)
-               return target;
-       
-       for (var i = 0; nodes && i < nodes.length && found == null; i++)
-               found = findElement(nodes[i], search, reverse);
-       
-       return found;
-};
-
-/**
- * Looks for a parent node which has specified classname.
- * This is an alias to <code>findElement(container, className, true)</code>.
- * @param {Element} target Target element.
- * @param {String} className Class name to look for.
- * @return {Element} Returns found parent element on null.
- */
-function findParentElement(target, className)
-{
-       return findElement(target, className, true);
-};
-
-/**
- * Finds an index of element in the array.
- * @ignore
- * @param {Object} searchElement
- * @param {Number} fromIndex
- * @return {Number} Returns index of element if found; -1 otherwise.
- */
-function indexOf(array, searchElement, fromIndex)
-{
-       fromIndex = Math.max(fromIndex || 0, 0);
-
-       for (var i = fromIndex; i < array.length; i++)
-               if(array[i] == searchElement)
-                       return i;
-       
-       return -1;
-};
-
-/**
- * Generates a unique element ID.
- */
-function guid(prefix)
-{
-       return (prefix || '') + Math.round(Math.random() * 1000000).toString();
-};
-
-/**
- * Merges two objects. Values from obj2 override values in obj1.
- * Function is NOT recursive and works only for one dimensional objects.
- * @param {Object} obj1 First object.
- * @param {Object} obj2 Second object.
- * @return {Object} Returns combination of both objects.
- */
-function merge(obj1, obj2)
-{
-       var result = {}, name;
-
-       for (name in obj1) 
-               result[name] = obj1[name];
-       
-       for (name in obj2) 
-               result[name] = obj2[name];
-               
-       return result;
-};
-
-/**
- * Attempts to convert string to boolean.
- * @param {String} value Input string.
- * @return {Boolean} Returns true if input was "true", false if input was "false" and value otherwise.
- */
-function toBoolean(value)
-{
-       var result = { "true" : true, "false" : false }[value];
-       return result == null ? value : result;
-};
-
-/**
- * Opens up a centered popup window.
- * @param {String} url         URL to open in the window.
- * @param {String} name                Popup name.
- * @param {int} width          Popup width.
- * @param {int} height         Popup height.
- * @param {String} options     window.open() options.
- * @return {Window}                    Returns window instance.
- */
-function popup(url, name, width, height, options)
-{
-       var x = (screen.width - width) / 2,
-               y = (screen.height - height) / 2
-               ;
-               
-       options +=      ', left=' + x + 
-                               ', top=' + y +
-                               ', width=' + width +
-                               ', height=' + height
-               ;
-       options = options.replace(/^,/, '');
-
-       var win = window.open(url, name, options);
-       win.focus();
-       return win;
-};
-
-/**
- * Adds event handler to the target object.
- * @param {Object} obj         Target object.
- * @param {String} type                Name of the event.
- * @param {Function} func      Handling function.
- */
-function attachEvent(obj, type, func, scope)
-{
-       function handler(e)
-       {
-               e = e || window.event;
-               
-               if (!e.target)
-               {
-                       e.target = e.srcElement;
-                       e.preventDefault = function()
-                       {
-                               this.returnValue = false;
-                       };
-               }
-                       
-               func.call(scope || window, e);
-       };
-       
-       if (obj.attachEvent) 
-       {
-               obj.attachEvent('on' + type, handler);
-       }
-       else 
-       {
-               obj.addEventListener(type, handler, false);
-       }
-};
-
-/**
- * Displays an alert.
- * @param {String} str String to display.
- */
-function alert(str)
-{
-       window.alert(sh.config.strings.alert + str);
-};
-
-/**
- * Finds a brush by its alias.
- *
- * @param {String} alias               Brush alias.
- * @param {Boolean} showAlert  Suppresses the alert if false.
- * @return {Brush}                             Returns bursh constructor if found, null otherwise.
- */
-function findBrush(alias, showAlert)
-{
-       var brushes = sh.vars.discoveredBrushes,
-               result = null
-               ;
-       
-       if (brushes == null)
-       {
-               brushes = {};
-               
-               // Find all brushes
-               for (var brush in sh.brushes) 
-               {
-                       var info = sh.brushes[brush],
-                               aliases = info.aliases
-                               ;
-                       
-                       if (aliases == null) 
-                               continue;
-                       
-                       // keep the brush name
-                       info.brushName = brush.toLowerCase();
-                       
-                       for (var i = 0; i < aliases.length; i++) 
-                               brushes[aliases[i]] = brush;
-               }
-               
-               sh.vars.discoveredBrushes = brushes;
-       }
-       
-       result = sh.brushes[brushes[alias]];
-
-       if (result == null && showAlert != false)
-               alert(sh.config.strings.noBrush + alias);
-       
-       return result;
-};
-
-/**
- * Executes a callback on each line and replaces each line with result from the callback.
- * @param {Object} str                 Input string.
- * @param {Object} callback            Callback function taking one string argument and returning a string.
- */
-function eachLine(str, callback)
-{
-       var lines = splitLines(str);
-       
-       for (var i = 0; i < lines.length; i++)
-               lines[i] = callback(lines[i], i);
-               
-       return lines.join('\n');
-};
-
-/**
- * This is a special trim which only removes first and last empty lines
- * and doesn't affect valid leading space on the first line.
- * 
- * @param {String} str   Input string
- * @return {String}      Returns string without empty first and last lines.
- */
-function trimFirstAndLastLines(str)
-{
-       return str.replace(/^[ ]*[\n]+|[\n]*[ ]*$/g, '');
-};
-
-/**
- * Parses key/value pairs into hash object.
- * 
- * Understands the following formats:
- * - name: word;
- * - name: [word, word];
- * - name: "string";
- * - name: 'string';
- * 
- * For example:
- *   name1: value; name2: [value, value]; name3: 'value'
- *   
- * @param {String} str    Input string.
- * @return {Object}       Returns deserialized object.
- */
-function parseParams(str)
-{
-       var match, 
-               result = {},
-               arrayRegex = new XRegExp("^\\[(?<values>(.*?))\\]$"),
-               regex = new XRegExp(
-                       "(?<name>[\\w-]+)" +
-                       "\\s*:\\s*" +
-                       "(?<value>" +
-                               "[\\w-%#]+|" +          // word
-                               "\\[.*?\\]|" +          // [] array
-                               '".*?"|' +                      // "" string
-                               "'.*?'" +                       // '' string
-                       ")\\s*;?",
-                       "g"
-               )
-               ;
-
-       while ((match = regex.exec(str)) != null) 
-       {
-               var value = match.value
-                       .replace(/^['"]|['"]$/g, '') // strip quotes from end of strings
-                       ;
-               
-               // try to parse array value
-               if (value != null && arrayRegex.test(value))
-               {
-                       var m = arrayRegex.exec(value);
-                       value = m.values.length > 0 ? m.values.split(/\s*,\s*/) : [];
-               }
-               
-               result[match.name] = value;
-       }
-       
-       return result;
-};
-
-/**
- * Wraps each line of the string into <code/> tag with given style applied to it.
- * 
- * @param {String} str   Input string.
- * @param {String} css   Style name to apply to the string.
- * @return {String}      Returns input string with each line surrounded by <span/> tag.
- */
-function wrapLinesWithCode(str, css)
-{
-       if (str == null || str.length == 0 || str == '\n') 
-               return str;
-
-       str = str.replace(/</g, '&lt;');
-
-       // Replace two or more sequential spaces with &nbsp; leaving last space untouched.
-       str = str.replace(/ {2,}/g, function(m)
-       {
-               var spaces = '';
-               
-               for (var i = 0; i < m.length - 1; i++)
-                       spaces += sh.config.space;
-               
-               return spaces + ' ';
-       });
-
-       // Split each line and apply <span class="...">...</span> to them so that
-       // leading spaces aren't included.
-       if (css != null) 
-               str = eachLine(str, function(line)
-               {
-                       if (line.length == 0) 
-                               return '';
-                       
-                       var spaces = '';
-                       
-                       line = line.replace(/^(&nbsp;| )+/, function(s)
-                       {
-                               spaces = s;
-                               return '';
-                       });
-                       
-                       if (line.length == 0) 
-                               return spaces;
-                       
-                       return spaces + '<code class="' + css + '">' + line + '</code>';
-               });
-
-       return str;
-};
-
-/**
- * Pads number with zeros until it's length is the same as given length.
- * 
- * @param {Number} number      Number to pad.
- * @param {Number} length      Max string length with.
- * @return {String}                    Returns a string padded with proper amount of '0'.
- */
-function padNumber(number, length)
-{
-       var result = number.toString();
-       
-       while (result.length < length)
-               result = '0' + result;
-       
-       return result;
-};
-
-/**
- * Replaces tabs with spaces.
- * 
- * @param {String} code                Source code.
- * @param {Number} tabSize     Size of the tab.
- * @return {String}                    Returns code with all tabs replaces by spaces.
- */
-function processTabs(code, tabSize)
-{
-       var tab = '';
-       
-       for (var i = 0; i < tabSize; i++)
-               tab += ' ';
-
-       return code.replace(/\t/g, tab);
-};
-
-/**
- * Replaces tabs with smart spaces.
- * 
- * @param {String} code    Code to fix the tabs in.
- * @param {Number} tabSize Number of spaces in a column.
- * @return {String}        Returns code with all tabs replaces with roper amount of spaces.
- */
-function processSmartTabs(code, tabSize)
-{
-       var lines = splitLines(code),
-               tab = '\t',
-               spaces = ''
-               ;
-       
-       // Create a string with 1000 spaces to copy spaces from... 
-       // It's assumed that there would be no indentation longer than that.
-       for (var i = 0; i < 50; i++) 
-               spaces += '                    '; // 20 spaces * 50
-                       
-       // This function inserts specified amount of spaces in the string
-       // where a tab is while removing that given tab.
-       function insertSpaces(line, pos, count)
-       {
-               return line.substr(0, pos)
-                       + spaces.substr(0, count)
-                       + line.substr(pos + 1, line.length) // pos + 1 will get rid of the tab
-                       ;
-       };
-
-       // Go through all the lines and do the 'smart tabs' magic.
-       code = eachLine(code, function(line)
-       {
-               if (line.indexOf(tab) == -1) 
-                       return line;
-               
-               var pos = 0;
-               
-               while ((pos = line.indexOf(tab)) != -1) 
-               {
-                       // This is pretty much all there is to the 'smart tabs' logic.
-                       // Based on the position within the line and size of a tab,
-                       // calculate the amount of spaces we need to insert.
-                       var spaces = tabSize - pos % tabSize;
-                       line = insertSpaces(line, pos, spaces);
-               }
-               
-               return line;
-       });
-       
-       return code;
-};
-
-/**
- * Performs various string fixes based on configuration.
- */
-function fixInputString(str)
-{
-       var br = /<br\s*\/?>|&lt;br\s*\/?&gt;/gi;
-       
-       if (sh.config.bloggerMode == true)
-               str = str.replace(br, '\n');
-
-       if (sh.config.stripBrs == true)
-               str = str.replace(br, '');
-               
-       return str;
-};
-
-/**
- * Removes all white space at the begining and end of a string.
- * 
- * @param {String} str   String to trim.
- * @return {String}      Returns string without leading and following white space characters.
- */
-function trim(str)
-{
-       return str.replace(/^\s+|\s+$/g, '');
-};
-
-/**
- * Unindents a block of text by the lowest common indent amount.
- * @param {String} str   Text to unindent.
- * @return {String}      Returns unindented text block.
- */
-function unindent(str)
-{
-       var lines = splitLines(fixInputString(str)),
-               indents = new Array(),
-               regex = /^\s*/,
-               min = 1000
-               ;
-       
-       // go through every line and check for common number of indents
-       for (var i = 0; i < lines.length && min > 0; i++) 
-       {
-               var line = lines[i];
-               
-               if (trim(line).length == 0) 
-                       continue;
-               
-               var matches = regex.exec(line);
-               
-               // In the event that just one line doesn't have leading white space
-               // we can't unindent anything, so bail completely.
-               if (matches == null) 
-                       return str;
-                       
-               min = Math.min(matches[0].length, min);
-       }
-       
-       // trim minimum common number of white space from the begining of every line
-       if (min > 0) 
-               for (var i = 0; i < lines.length; i++) 
-                       lines[i] = lines[i].substr(min);
-       
-       return lines.join('\n');
-};
-
-/**
- * Callback method for Array.sort() which sorts matches by
- * index position and then by length.
- * 
- * @param {Match} m1   Left object.
- * @param {Match} m2    Right object.
- * @return {Number}     Returns -1, 0 or -1 as a comparison result.
- */
-function matchesSortCallback(m1, m2)
-{
-       // sort matches by index first
-       if(m1.index < m2.index)
-               return -1;
-       else if(m1.index > m2.index)
-               return 1;
-       else
-       {
-               // if index is the same, sort by length
-               if(m1.length < m2.length)
-                       return -1;
-               else if(m1.length > m2.length)
-                       return 1;
-       }
-       
-       return 0;
-};
-
-/**
- * Executes given regular expression on provided code and returns all
- * matches that are found.
- * 
- * @param {String} code    Code to execute regular expression on.
- * @param {Object} regex   Regular expression item info from <code>regexList</code> collection.
- * @return {Array}         Returns a list of Match objects.
- */ 
-function getMatches(code, regexInfo)
-{
-       function defaultAdd(match, regexInfo)
-       {
-               return match[0];
-       };
-       
-       var index = 0,
-               match = null,
-               matches = [],
-               func = regexInfo.func ? regexInfo.func : defaultAdd
-               ;
-       
-       while((match = regexInfo.regex.exec(code)) != null)
-       {
-               var resultMatch = func(match, regexInfo);
-               
-               if (typeof(resultMatch) == 'string')
-                       resultMatch = [new sh.Match(resultMatch, match.index, regexInfo.css)];
-
-               matches = matches.concat(resultMatch);
-       }
-       
-       return matches;
-};
-
-/**
- * Turns all URLs in the code into <a/> tags.
- * @param {String} code Input code.
- * @return {String} Returns code with </a> tags.
- */
-function processUrls(code)
-{
-       var gt = /(.*)((&gt;|&lt;).*)/;
-       
-       return code.replace(sh.regexLib.url, function(m)
-       {
-               var suffix = '',
-                       match = null
-                       ;
-               
-               // We include &lt; and &gt; in the URL for the common cases like <http://google.com>
-               // The problem is that they get transformed into &lt;http://google.com&gt;
-               // Where as &gt; easily looks like part of the URL string.
-       
-               if (match = gt.exec(m))
-               {
-                       m = match[1];
-                       suffix = match[2];
-               }
-               
-               return '<a href="' + m + '">' + m + '</a>' + suffix;
-       });
-};
-
-/**
- * Finds all <SCRIPT TYPE="syntaxhighlighter" /> elementss.
- * @return {Array} Returns array of all found SyntaxHighlighter tags.
- */
-function getSyntaxHighlighterScriptTags()
-{
-       var tags = document.getElementsByTagName('script'),
-               result = []
-               ;
-       
-       for (var i = 0; i < tags.length; i++)
-               if (tags[i].type == 'syntaxhighlighter')
-                       result.push(tags[i]);
-                       
-       return result;
-};
-
-/**
- * Strips <![CDATA[]]> from <SCRIPT /> content because it should be used
- * there in most cases for XHTML compliance.
- * @param {String} original    Input code.
- * @return {String} Returns code without leading <![CDATA[]]> tags.
- */
-function stripCData(original)
-{
-       var left = '<![CDATA[',
-               right = ']]>',
-               // for some reason IE inserts some leading blanks here
-               copy = trim(original),
-               changed = false,
-               leftLength = left.length,
-               rightLength = right.length
-               ;
-       
-       if (copy.indexOf(left) == 0)
-       {
-               copy = copy.substring(leftLength);
-               changed = true;
-       }
-       
-       var copyLength = copy.length;
-       
-       if (copy.indexOf(right) == copyLength - rightLength)
-       {
-               copy = copy.substring(0, copyLength - rightLength);
-               changed = true;
-       }
-       
-       return changed ? copy : original;
-};
-
-
-/**
- * Quick code mouse double click handler.
- */
-function quickCodeHandler(e)
-{
-       var target = e.target,
-               highlighterDiv = findParentElement(target, '.syntaxhighlighter'),
-               container = findParentElement(target, '.container'),
-               textarea = document.createElement('textarea'),
-               highlighter
-               ;
-
-       if (!container || !highlighterDiv || findElement(container, 'textarea'))
-               return;
-
-       highlighter = getHighlighterById(highlighterDiv.id);
-       
-       // add source class name
-       addClass(highlighterDiv, 'source');
-
-       // Have to go over each line and grab it's text, can't just do it on the
-       // container because Firefox loses all \n where as Webkit doesn't.
-       var lines = container.childNodes,
-               code = []
-               ;
-       
-       for (var i = 0; i < lines.length; i++)
-               code.push(lines[i].innerText || lines[i].textContent);
-       
-       // using \r instead of \r or \r\n makes this work equally well on IE, FF and Webkit
-       code = code.join('\r');
-       
-       // inject <textarea/> tag
-       textarea.appendChild(document.createTextNode(code));
-       container.appendChild(textarea);
-       
-       // preselect all text
-       textarea.focus();
-       textarea.select();
-       
-       // set up handler for lost focus
-       attachEvent(textarea, 'blur', function(e)
-       {
-               textarea.parentNode.removeChild(textarea);
-               removeClass(highlighterDiv, 'source');
-       });
-};
-
-/**
- * Match object.
- */
-sh.Match = function(value, index, css)
-{
-       this.value = value;
-       this.index = index;
-       this.length = value.length;
-       this.css = css;
-       this.brushName = null;
-};
-
-sh.Match.prototype.toString = function()
-{
-       return this.value;
-};
-
-/**
- * Simulates HTML code with a scripting language embedded.
- * 
- * @param {String} scriptBrushName Brush name of the scripting language.
- */
-sh.HtmlScript = function(scriptBrushName)
-{
-       var brushClass = findBrush(scriptBrushName),
-               scriptBrush,
-               xmlBrush = new sh.brushes.Xml(),
-               bracketsRegex = null,
-               ref = this,
-               methodsToExpose = 'getDiv getHtml init'.split(' ')
-               ;
-
-       if (brushClass == null)
-               return;
-       
-       scriptBrush = new brushClass();
-       
-       for(var i = 0; i < methodsToExpose.length; i++)
-               // make a closure so we don't lose the name after i changes
-               (function() {
-                       var name = methodsToExpose[i];
-                       
-                       ref[name] = function()
-                       {
-                               return xmlBrush[name].apply(xmlBrush, arguments);
-                       };
-               })();
-       
-       if (scriptBrush.htmlScript == null)
-       {
-               alert(sh.config.strings.brushNotHtmlScript + scriptBrushName);
-               return;
-       }
-       
-       xmlBrush.regexList.push(
-               { regex: scriptBrush.htmlScript.code, func: process }
-       );
-       
-       function offsetMatches(matches, offset)
-       {
-               for (var j = 0; j < matches.length; j++) 
-                       matches[j].index += offset;
-       }
-       
-       function process(match, info)
-       {
-               var code = match.code,
-                       matches = [],
-                       regexList = scriptBrush.regexList,
-                       offset = match.index + match.left.length,
-                       htmlScript = scriptBrush.htmlScript,
-                       result
-                       ;
-
-               // add all matches from the code
-               for (var i = 0; i < regexList.length; i++)
-               {
-                       result = getMatches(code, regexList[i]);
-                       offsetMatches(result, offset);
-                       matches = matches.concat(result);
-               }
-               
-               // add left script bracket
-               if (htmlScript.left != null && match.left != null)
-               {
-                       result = getMatches(match.left, htmlScript.left);
-                       offsetMatches(result, match.index);
-                       matches = matches.concat(result);
-               }
-               
-               // add right script bracket
-               if (htmlScript.right != null && match.right != null)
-               {
-                       result = getMatches(match.right, htmlScript.right);
-                       offsetMatches(result, match.index + match[0].lastIndexOf(match.right));
-                       matches = matches.concat(result);
-               }
-               
-               for (var j = 0; j < matches.length; j++)
-                       matches[j].brushName = brushClass.brushName;
-                       
-               return matches;
-       }
-};
-
-/**
- * Main Highlither class.
- * @constructor
- */
-sh.Highlighter = function()
-{
-       // not putting any code in here because of the prototype inheritance
-};
-
-sh.Highlighter.prototype = {
-       /**
-        * Returns value of the parameter passed to the highlighter.
-        * @param {String} name                         Name of the parameter.
-        * @param {Object} defaultValue         Default value.
-        * @return {Object}                                     Returns found value or default value otherwise.
-        */
-       getParam: function(name, defaultValue)
-       {
-               var result = this.params[name];
-               return toBoolean(result == null ? defaultValue : result);
-       },
-       
-       /**
-        * Shortcut to document.createElement().
-        * @param {String} name         Name of the element to create (DIV, A, etc).
-        * @return {HTMLElement}        Returns new HTML element.
-        */
-       create: function(name)
-       {
-               return document.createElement(name);
-       },
-       
-       /**
-        * Applies all regular expression to the code and stores all found
-        * matches in the `this.matches` array.
-        * @param {Array} regexList             List of regular expressions.
-        * @param {String} code                 Source code.
-        * @return {Array}                              Returns list of matches.
-        */
-       findMatches: function(regexList, code)
-       {
-               var result = [];
-               
-               if (regexList != null)
-                       for (var i = 0; i < regexList.length; i++) 
-                               // BUG: length returns len+1 for array if methods added to prototype chain (oising@gmail.com)
-                               if (typeof (regexList[i]) == "object")
-                                       result = result.concat(getMatches(code, regexList[i]));
-               
-               // sort and remove nested the matches
-               return this.removeNestedMatches(result.sort(matchesSortCallback));
-       },
-       
-       /**
-        * Checks to see if any of the matches are inside of other matches. 
-        * This process would get rid of highligted strings inside comments, 
-        * keywords inside strings and so on.
-        */
-       removeNestedMatches: function(matches)
-       {
-               // Optimized by Jose Prado (http://joseprado.com)
-               for (var i = 0; i < matches.length; i++) 
-               { 
-                       if (matches[i] === null)
-                               continue;
-                       
-                       var itemI = matches[i],
-                               itemIEndPos = itemI.index + itemI.length
-                               ;
-                       
-                       for (var j = i + 1; j < matches.length && matches[i] !== null; j++) 
-                       {
-                               var itemJ = matches[j];
-                               
-                               if (itemJ === null) 
-                                       continue;
-                               else if (itemJ.index > itemIEndPos) 
-                                       break;
-                               else if (itemJ.index == itemI.index && itemJ.length > itemI.length)
-                                       matches[i] = null;
-                               else if (itemJ.index >= itemI.index && itemJ.index < itemIEndPos) 
-                                       matches[j] = null;
-                       }
-               }
-               
-               return matches;
-       },
-       
-       /**
-        * Creates an array containing integer line numbers starting from the 'first-line' param.
-        * @return {Array} Returns array of integers.
-        */
-       figureOutLineNumbers: function(code)
-       {
-               var lines = [],
-                       firstLine = parseInt(this.getParam('first-line'))
-                       ;
-               
-               eachLine(code, function(line, index)
-               {
-                       lines.push(index + firstLine);
-               });
-               
-               return lines;
-       },
-       
-       /**
-        * Determines if specified line number is in the highlighted list.
-        */
-       isLineHighlighted: function(lineNumber)
-       {
-               var list = this.getParam('highlight', []);
-               
-               if (typeof(list) != 'object' && list.push == null) 
-                       list = [ list ];
-               
-               return indexOf(list, lineNumber.toString()) != -1;
-       },
-       
-       /**
-        * Generates HTML markup for a single line of code while determining alternating line style.
-        * @param {Integer} lineNumber  Line number.
-        * @param {String} code Line    HTML markup.
-        * @return {String}                             Returns HTML markup.
-        */
-       getLineHtml: function(lineIndex, lineNumber, code)
-       {
-               var classes = [
-                       'line',
-                       'number' + lineNumber,
-                       'index' + lineIndex,
-                       'alt' + (lineNumber % 2 == 0 ? 1 : 2).toString()
-               ];
-               
-               if (this.isLineHighlighted(lineNumber))
-                       classes.push('highlighted');
-               
-               if (lineNumber == 0)
-                       classes.push('break');
-                       
-               return '<div class="' + classes.join(' ') + '">' + code + '</div>';
-       },
-       
-       /**
-        * Generates HTML markup for line number column.
-        * @param {String} code                 Complete code HTML markup.
-        * @param {Array} lineNumbers   Calculated line numbers.
-        * @return {String}                             Returns HTML markup.
-        */
-       getLineNumbersHtml: function(code, lineNumbers)
-       {
-               var html = '',
-                       count = splitLines(code).length,
-                       firstLine = parseInt(this.getParam('first-line')),
-                       pad = this.getParam('pad-line-numbers')
-                       ;
-               
-               if (pad == true)
-                       pad = (firstLine + count - 1).toString().length;
-               else if (isNaN(pad) == true)
-                       pad = 0;
-                       
-               for (var i = 0; i < count; i++)
-               {
-                       var lineNumber = lineNumbers ? lineNumbers[i] : firstLine + i,
-                               code = lineNumber == 0 ? sh.config.space : padNumber(lineNumber, pad)
-                               ;
-                               
-                       html += this.getLineHtml(i, lineNumber, code);
-               }
-               
-               return html;
-       },
-       
-       /**
-        * Splits block of text into individual DIV lines.
-        * @param {String} code                 Code to highlight.
-        * @param {Array} lineNumbers   Calculated line numbers.
-        * @return {String}                             Returns highlighted code in HTML form.
-        */
-       getCodeLinesHtml: function(html, lineNumbers)
-       {
-               html = trim(html);
-               
-               var lines = splitLines(html),
-                       padLength = this.getParam('pad-line-numbers'),
-                       firstLine = parseInt(this.getParam('first-line')),
-                       html = '',
-                       brushName = this.getParam('brush')
-                       ;
-
-               for (var i = 0; i < lines.length; i++)
-               {
-                       var line = lines[i],
-                               indent = /^(&nbsp;|\s)+/.exec(line),
-                               spaces = null,
-                               lineNumber = lineNumbers ? lineNumbers[i] : firstLine + i;
-                               ;
-
-                       if (indent != null)
-                       {
-                               spaces = indent[0].toString();
-                               line = line.substr(spaces.length);
-                               spaces = spaces.replace(' ', sh.config.space);
-                       }
-
-                       line = trim(line);
-                       
-                       if (line.length == 0)
-                               line = sh.config.space;
-                       
-                       html += this.getLineHtml(
-                               i,
-                               lineNumber, 
-                               (spaces != null ? '<code class="' + brushName + ' spaces">' + spaces + '</code>' : '') + line
-                       );
-               }
-               
-               return html;
-       },
-       
-       /**
-        * Returns HTML for the table title or empty string if title is null.
-        */
-       getTitleHtml: function(title)
-       {
-               return title ? '<caption>' + title + '</caption>' : '';
-       },
-       
-       /**
-        * Finds all matches in the source code.
-        * @param {String} code         Source code to process matches in.
-        * @param {Array} matches       Discovered regex matches.
-        * @return {String} Returns formatted HTML with processed mathes.
-        */
-       getMatchesHtml: function(code, matches)
-       {
-               var pos = 0, 
-                       result = '',
-                       brushName = this.getParam('brush', '')
-                       ;
-               
-               function getBrushNameCss(match)
-               {
-                       var result = match ? (match.brushName || brushName) : brushName;
-                       return result ? result + ' ' : '';
-               };
-               
-               // Finally, go through the final list of matches and pull the all
-               // together adding everything in between that isn't a match.
-               for (var i = 0; i < matches.length; i++) 
-               {
-                       var match = matches[i],
-                               matchBrushName
-                               ;
-                       
-                       if (match === null || match.length === 0) 
-                               continue;
-                       
-                       matchBrushName = getBrushNameCss(match);
-                       
-                       result += wrapLinesWithCode(code.substr(pos, match.index - pos), matchBrushName + 'plain')
-                                       + wrapLinesWithCode(match.value, matchBrushName + match.css)
-                                       ;
-
-                       pos = match.index + match.length + (match.offset || 0);
-               }
-
-               // don't forget to add whatever's remaining in the string
-               result += wrapLinesWithCode(code.substr(pos), getBrushNameCss() + 'plain');
-
-               return result;
-       },
-       
-       /**
-        * Generates HTML markup for the whole syntax highlighter.
-        * @param {String} code Source code.
-        * @return {String} Returns HTML markup.
-        */
-       getHtml: function(code)
-       {
-               var html = '',
-                       classes = [ 'syntaxhighlighter' ],
-                       tabSize,
-                       matches,
-                       lineNumbers
-                       ;
-               
-               // process light mode
-               if (this.getParam('light') == true)
-                       this.params.toolbar = this.params.gutter = false;
-
-               className = 'syntaxhighlighter';
-
-               if (this.getParam('collapse') == true)
-                       classes.push('collapsed');
-               
-               if ((gutter = this.getParam('gutter')) == false)
-                       classes.push('nogutter');
-
-               // add custom user style name
-               classes.push(this.getParam('class-name'));
-
-               // add brush alias to the class name for custom CSS
-               classes.push(this.getParam('brush'));
-
-               code = trimFirstAndLastLines(code)
-                       .replace(/\r/g, ' ') // IE lets these buggers through
-                       ;
-
-               tabSize = this.getParam('tab-size');
-
-               // replace tabs with spaces
-               code = this.getParam('smart-tabs') == true
-                       ? processSmartTabs(code, tabSize)
-                       : processTabs(code, tabSize)
-                       ;
-
-               // unindent code by the common indentation
-               code = unindent(code);
-
-               if (gutter)
-                       lineNumbers = this.figureOutLineNumbers(code);
-               
-               // find matches in the code using brushes regex list
-               matches = this.findMatches(this.regexList, code);
-               // processes found matches into the html
-               html = this.getMatchesHtml(code, matches);
-               // finally, split all lines so that they wrap well
-               html = this.getCodeLinesHtml(html, lineNumbers);
-
-               // finally, process the links
-               if (this.getParam('auto-links'))
-                       html = processUrls(html);
-               
-               if (typeof(navigator) != 'undefined' && navigator.userAgent && navigator.userAgent.match(/MSIE/))
-                       classes.push('ie');
-               
-               html = 
-                       '<div id="' + getHighlighterId(this.id) + '" class="' + classes.join(' ') + '">'
-                               + (this.getParam('toolbar') ? sh.toolbar.getHtml(this) : '')
-                               + '<table border="0" cellpadding="0" cellspacing="0">'
-                                       + this.getTitleHtml(this.getParam('title'))
-                                       + '<tbody>'
-                                               + '<tr>'
-                                                       + (gutter ? '<td class="gutter">' + this.getLineNumbersHtml(code) + '</td>' : '')
-                                                       + '<td class="code">'
-                                                               + '<div class="container">'
-                                                                       + html
-                                                               + '</div>'
-                                                       + '</td>'
-                                               + '</tr>'
-                                       + '</tbody>'
-                               + '</table>'
-                       + '</div>'
-                       ;
-                       
-               return html;
-       },
-       
-       /**
-        * Highlights the code and returns complete HTML.
-        * @param {String} code     Code to highlight.
-        * @return {Element}        Returns container DIV element with all markup.
-        */
-       getDiv: function(code)
-       {
-               if (code === null) 
-                       code = '';
-               
-               this.code = code;
-
-               var div = this.create('div');
-
-               // create main HTML
-               div.innerHTML = this.getHtml(code);
-               
-               // set up click handlers
-               if (this.getParam('toolbar'))
-                       attachEvent(findElement(div, '.toolbar'), 'click', sh.toolbar.handler);
-               
-               if (this.getParam('quick-code'))
-                       attachEvent(findElement(div, '.code'), 'dblclick', quickCodeHandler);
-               
-               return div;
-       },
-       
-       /**
-        * Initializes the highlighter/brush.
-        *
-        * Constructor isn't used for initialization so that nothing executes during necessary
-        * `new SyntaxHighlighter.Highlighter()` call when setting up brush inheritence.
-        *
-        * @param {Hash} params Highlighter parameters.
-        */
-       init: function(params)
-       {
-               this.id = guid();
-               
-               // register this instance in the highlighters list
-               storeHighlighter(this);
-               
-               // local params take precedence over defaults
-               this.params = merge(sh.defaults, params || {})
-               
-               // process light mode
-               if (this.getParam('light') == true)
-                       this.params.toolbar = this.params.gutter = false;
-       },
-       
-       /**
-        * Converts space separated list of keywords into a regular expression string.
-        * @param {String} str    Space separated keywords.
-        * @return {String}       Returns regular expression string.
-        */
-       getKeywords: function(str)
-       {
-               str = str
-                       .replace(/^\s+|\s+$/g, '')
-                       .replace(/\s+/g, '|')
-                       ;
-               
-               return '\\b(?:' + str + ')\\b';
-       },
-       
-       /**
-        * Makes a brush compatible with the `html-script` functionality.
-        * @param {Object} regexGroup Object containing `left` and `right` regular expressions.
-        */
-       forHtmlScript: function(regexGroup)
-       {
-               this.htmlScript = {
-                       left : { regex: regexGroup.left, css: 'script' },
-                       right : { regex: regexGroup.right, css: 'script' },
-                       code : new XRegExp(
-                               "(?<left>" + regexGroup.left.source + ")" +
-                               "(?<code>.*?)" +
-                               "(?<right>" + regexGroup.right.source + ")",
-                               "sgi"
-                               )
-               };
-       }
-}; // end of Highlighter
-
-return sh;
-}(); // end of anonymous function
-
-// CommonJS
-typeof(exports) != 'undefined' ? exports['SyntaxHighlighter'] = SyntaxHighlighter : null;
diff --git a/plugins/textviewer/syntaxhighlighter/src/shLegacy.js b/plugins/textviewer/syntaxhighlighter/src/shLegacy.js
deleted file mode 100644 (file)
index 36951c9..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-var dp = {
-       SyntaxHighlighter : {}
-};
-
-dp.SyntaxHighlighter = {
-       parseParams: function(
-                                               input,
-                                               showGutter, 
-                                               showControls, 
-                                               collapseAll, 
-                                               firstLine, 
-                                               showColumns
-                                               )
-       {
-               function getValue(list, name)
-               {
-                       var regex = new XRegExp('^' + name + '\\[(?<value>\\w+)\\]$', 'gi'),
-                               match = null
-                               ;
-                       
-                       for (var i = 0; i < list.length; i++) 
-                               if ((match = regex.exec(list[i])) != null)
-                                       return match.value;
-                       
-                       return null;
-               };
-               
-               function defaultValue(value, def)
-               {
-                       return value != null ? value : def;
-               };
-               
-               function asString(value)
-               {
-                       return value != null ? value.toString() : null;
-               };
-
-               var parts = input.split(':'),
-                       brushName = parts[0],
-                       options = {},
-                       straight = { 'true' : true }
-                       reverse = { 'true' : false },
-                       result = null,
-                       defaults = SyntaxHighlighter.defaults
-                       ;
-               
-               for (var i in parts)
-                       options[parts[i]] = 'true';
-
-               showGutter = asString(defaultValue(showGutter, defaults.gutter));
-               showControls = asString(defaultValue(showControls, defaults.toolbar));
-               collapseAll = asString(defaultValue(collapseAll, defaults.collapse)); 
-               showColumns = asString(defaultValue(showColumns, defaults.ruler));
-               firstLine = asString(defaultValue(firstLine, defaults['first-line'])); 
-
-               return {
-                       brush                   : brushName,
-                       gutter                  : defaultValue(reverse[options.nogutter], showGutter),
-                       toolbar                 : defaultValue(reverse[options.nocontrols], showControls),
-                       collapse                : defaultValue(straight[options.collapse], collapseAll),
-                       // ruler                        : defaultValue(straight[options.showcolumns], showColumns),
-                       'first-line'    : defaultValue(getValue(parts, 'firstline'), firstLine)
-               };
-       },
-       
-       HighlightAll: function(
-                                               name, 
-                                               showGutter /* optional */, 
-                                               showControls /* optional */, 
-                                               collapseAll /* optional */, 
-                                               firstLine /* optional */, 
-                                               showColumns /* optional */
-                                               )
-       {
-               function findValue()
-               {
-                       var a = arguments;
-                       
-                       for (var i = 0; i < a.length; i++) 
-                       {
-                               if (a[i] === null) 
-                                       continue;
-                               
-                               if (typeof(a[i]) == 'string' && a[i] != '') 
-                                       return a[i] + '';
-                               
-                               if (typeof(a[i]) == 'object' && a[i].value != '') 
-                                       return a[i].value + '';
-                       }
-                       
-                       return null;
-               };
-
-               function findTagsByName(list, name, tagName)
-               {
-                       var tags = document.getElementsByTagName(tagName);
-                       
-                       for (var i = 0; i < tags.length; i++) 
-                               if (tags[i].getAttribute('name') == name) 
-                                       list.push(tags[i]);
-               }
-               
-               var elements = [],
-                       highlighter = null,
-                       registered = {},
-                       propertyName = 'innerHTML'
-                       ;
-               
-               // for some reason IE doesn't find <pre/> by name, however it does see them just fine by tag name... 
-               findTagsByName(elements, name, 'pre');
-               findTagsByName(elements, name, 'textarea');
-
-               if (elements.length === 0)
-                       return;
-               
-               for (var i = 0; i < elements.length; i++)
-               {
-                       var element = elements[i],
-                               params = findValue(
-                                       element.attributes['class'], element.className, 
-                                       element.attributes['language'], element.language
-                                       ),
-                               language = ''
-                               ;
-                       
-                       if (params === null) 
-                               continue;
-
-                       params = dp.SyntaxHighlighter.parseParams(
-                               params,
-                               showGutter, 
-                               showControls, 
-                               collapseAll, 
-                               firstLine, 
-                               showColumns
-                               );
-
-                       SyntaxHighlighter.highlight(params, element);
-               }
-       }
-};
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shCore.css b/plugins/textviewer/syntaxhighlighter/styles/shCore.css
deleted file mode 100644 (file)
index 34f6864..0000000
+++ /dev/null
@@ -1,226 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter a,
-.syntaxhighlighter div,
-.syntaxhighlighter code,
-.syntaxhighlighter table,
-.syntaxhighlighter table td,
-.syntaxhighlighter table tr,
-.syntaxhighlighter table tbody,
-.syntaxhighlighter table thead,
-.syntaxhighlighter table caption,
-.syntaxhighlighter textarea {
-  -moz-border-radius: 0 0 0 0 !important;
-  -webkit-border-radius: 0 0 0 0 !important;
-  background: none !important;
-  border: 0 !important;
-  bottom: auto !important;
-  float: none !important;
-  height: auto !important;
-  left: auto !important;
-  line-height: 1.1em !important;
-  margin: 0 !important;
-  outline: 0 !important;
-  overflow: visible !important;
-  padding: 0 !important;
-  position: static !important;
-  right: auto !important;
-  text-align: left !important;
-  top: auto !important;
-  vertical-align: baseline !important;
-  width: auto !important;
-  box-sizing: content-box !important;
-  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-  font-weight: normal !important;
-  font-style: normal !important;
-  font-size: 1em !important;
-  min-height: inherit !important;
-  min-height: auto !important;
-}
-
-.syntaxhighlighter {
-  width: 100% !important;
-  margin: 1em 0 1em 0 !important;
-  position: relative !important;
-  overflow: auto !important;
-  font-size: 1em !important;
-}
-.syntaxhighlighter.source {
-  overflow: hidden !important;
-}
-.syntaxhighlighter .bold {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .italic {
-  font-style: italic !important;
-}
-.syntaxhighlighter .line {
-  white-space: pre !important;
-}
-.syntaxhighlighter table {
-  width: 100% !important;
-}
-.syntaxhighlighter table caption {
-  text-align: left !important;
-  padding: .5em 0 0.5em 1em !important;
-}
-.syntaxhighlighter table td.code {
-  width: 100% !important;
-}
-.syntaxhighlighter table td.code .container {
-  position: relative !important;
-}
-.syntaxhighlighter table td.code .container textarea {
-  box-sizing: border-box !important;
-  position: absolute !important;
-  left: 0 !important;
-  top: 0 !important;
-  width: 100% !important;
-  height: 100% !important;
-  border: none !important;
-  background: white !important;
-  padding-left: 1em !important;
-  overflow: hidden !important;
-  white-space: pre !important;
-}
-.syntaxhighlighter table td.gutter .line {
-  text-align: right !important;
-  padding: 0 0.5em 0 1em !important;
-}
-.syntaxhighlighter table td.code .line {
-  padding: 0 1em !important;
-}
-.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
-  padding-left: 0em !important;
-}
-.syntaxhighlighter.show {
-  display: block !important;
-}
-.syntaxhighlighter.collapsed table {
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  padding: 0.1em 0.8em 0em 0.8em !important;
-  font-size: 1em !important;
-  position: static !important;
-  width: auto !important;
-  height: auto !important;
-}
-.syntaxhighlighter.collapsed .toolbar span {
-  display: inline !important;
-  margin-right: 1em !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a {
-  padding: 0 !important;
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a.expandSource {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar {
-  position: absolute !important;
-  right: 1px !important;
-  top: 1px !important;
-  width: 11px !important;
-  height: 11px !important;
-  font-size: 10px !important;
-  z-index: 10 !important;
-}
-.syntaxhighlighter .toolbar span.title {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar a {
-  display: block !important;
-  text-align: center !important;
-  text-decoration: none !important;
-  padding-top: 1px !important;
-}
-.syntaxhighlighter .toolbar a.expandSource {
-  display: none !important;
-}
-.syntaxhighlighter.ie {
-  font-size: .9em !important;
-  padding: 1px 0 1px 0 !important;
-}
-.syntaxhighlighter.ie .toolbar {
-  line-height: 8px !important;
-}
-.syntaxhighlighter.ie .toolbar a {
-  padding-top: 0px !important;
-}
-.syntaxhighlighter.printing .line.alt1 .content,
-.syntaxhighlighter.printing .line.alt2 .content,
-.syntaxhighlighter.printing .line.highlighted .number,
-.syntaxhighlighter.printing .line.highlighted.alt1 .content,
-.syntaxhighlighter.printing .line.highlighted.alt2 .content {
-  background: none !important;
-}
-.syntaxhighlighter.printing .line .number {
-  color: #bbbbbb !important;
-}
-.syntaxhighlighter.printing .line .content {
-  color: black !important;
-}
-.syntaxhighlighter.printing .toolbar {
-  display: none !important;
-}
-.syntaxhighlighter.printing a {
-  text-decoration: none !important;
-}
-.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
-  color: black !important;
-}
-.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
-  color: blue !important;
-}
-.syntaxhighlighter.printing .keyword {
-  color: #006699 !important;
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter.printing .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter.printing .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter.printing .script {
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
-  color: red !important;
-}
-.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
-  color: black !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shCoreDefault.css b/plugins/textviewer/syntaxhighlighter/styles/shCoreDefault.css
deleted file mode 100644 (file)
index 08f9e10..0000000
+++ /dev/null
@@ -1,328 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter a,
-.syntaxhighlighter div,
-.syntaxhighlighter code,
-.syntaxhighlighter table,
-.syntaxhighlighter table td,
-.syntaxhighlighter table tr,
-.syntaxhighlighter table tbody,
-.syntaxhighlighter table thead,
-.syntaxhighlighter table caption,
-.syntaxhighlighter textarea {
-  -moz-border-radius: 0 0 0 0 !important;
-  -webkit-border-radius: 0 0 0 0 !important;
-  background: none !important;
-  border: 0 !important;
-  bottom: auto !important;
-  float: none !important;
-  height: auto !important;
-  left: auto !important;
-  line-height: 1.1em !important;
-  margin: 0 !important;
-  outline: 0 !important;
-  overflow: visible !important;
-  padding: 0 !important;
-  position: static !important;
-  right: auto !important;
-  text-align: left !important;
-  top: auto !important;
-  vertical-align: baseline !important;
-  width: auto !important;
-  box-sizing: content-box !important;
-  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-  font-weight: normal !important;
-  font-style: normal !important;
-  font-size: 1em !important;
-  min-height: inherit !important;
-  min-height: auto !important;
-}
-
-.syntaxhighlighter {
-  width: 100% !important;
-  margin: 1em 0 1em 0 !important;
-  position: relative !important;
-  overflow: auto !important;
-  font-size: 1em !important;
-}
-.syntaxhighlighter.source {
-  overflow: hidden !important;
-}
-.syntaxhighlighter .bold {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .italic {
-  font-style: italic !important;
-}
-.syntaxhighlighter .line {
-  white-space: pre !important;
-}
-.syntaxhighlighter table {
-  width: 100% !important;
-}
-.syntaxhighlighter table caption {
-  text-align: left !important;
-  padding: .5em 0 0.5em 1em !important;
-}
-.syntaxhighlighter table td.code {
-  width: 100% !important;
-}
-.syntaxhighlighter table td.code .container {
-  position: relative !important;
-}
-.syntaxhighlighter table td.code .container textarea {
-  box-sizing: border-box !important;
-  position: absolute !important;
-  left: 0 !important;
-  top: 0 !important;
-  width: 100% !important;
-  height: 100% !important;
-  border: none !important;
-  background: white !important;
-  padding-left: 1em !important;
-  overflow: hidden !important;
-  white-space: pre !important;
-}
-.syntaxhighlighter table td.gutter .line {
-  text-align: right !important;
-  padding: 0 0.5em 0 1em !important;
-}
-.syntaxhighlighter table td.code .line {
-  padding: 0 1em !important;
-}
-.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
-  padding-left: 0em !important;
-}
-.syntaxhighlighter.show {
-  display: block !important;
-}
-.syntaxhighlighter.collapsed table {
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  padding: 0.1em 0.8em 0em 0.8em !important;
-  font-size: 1em !important;
-  position: static !important;
-  width: auto !important;
-  height: auto !important;
-}
-.syntaxhighlighter.collapsed .toolbar span {
-  display: inline !important;
-  margin-right: 1em !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a {
-  padding: 0 !important;
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a.expandSource {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar {
-  position: absolute !important;
-  right: 1px !important;
-  top: 1px !important;
-  width: 11px !important;
-  height: 11px !important;
-  font-size: 10px !important;
-  z-index: 10 !important;
-}
-.syntaxhighlighter .toolbar span.title {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar a {
-  display: block !important;
-  text-align: center !important;
-  text-decoration: none !important;
-  padding-top: 1px !important;
-}
-.syntaxhighlighter .toolbar a.expandSource {
-  display: none !important;
-}
-.syntaxhighlighter.ie {
-  font-size: .9em !important;
-  padding: 1px 0 1px 0 !important;
-}
-.syntaxhighlighter.ie .toolbar {
-  line-height: 8px !important;
-}
-.syntaxhighlighter.ie .toolbar a {
-  padding-top: 0px !important;
-}
-.syntaxhighlighter.printing .line.alt1 .content,
-.syntaxhighlighter.printing .line.alt2 .content,
-.syntaxhighlighter.printing .line.highlighted .number,
-.syntaxhighlighter.printing .line.highlighted.alt1 .content,
-.syntaxhighlighter.printing .line.highlighted.alt2 .content {
-  background: none !important;
-}
-.syntaxhighlighter.printing .line .number {
-  color: #bbbbbb !important;
-}
-.syntaxhighlighter.printing .line .content {
-  color: black !important;
-}
-.syntaxhighlighter.printing .toolbar {
-  display: none !important;
-}
-.syntaxhighlighter.printing a {
-  text-decoration: none !important;
-}
-.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
-  color: black !important;
-}
-.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
-  color: blue !important;
-}
-.syntaxhighlighter.printing .keyword {
-  color: #006699 !important;
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter.printing .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter.printing .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter.printing .script {
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
-  color: red !important;
-}
-.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
-  color: black !important;
-}
-
-.syntaxhighlighter {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #e0e0e0 !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: black !important;
-}
-.syntaxhighlighter table caption {
-  color: black !important;
-}
-.syntaxhighlighter .gutter {
-  color: #afafaf !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #6ce26c !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #6ce26c !important;
-  color: white !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: blue !important;
-  background: white !important;
-  border: 1px solid #6ce26c !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: blue !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: red !important;
-}
-.syntaxhighlighter .toolbar {
-  color: white !important;
-  background: #6ce26c !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: black !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: black !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: blue !important;
-}
-.syntaxhighlighter .keyword {
-  color: #006699 !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #006699 !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: red !important;
-}
-
-.syntaxhighlighter .keyword {
-  font-weight: bold !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shCoreDjango.css b/plugins/textviewer/syntaxhighlighter/styles/shCoreDjango.css
deleted file mode 100644 (file)
index 1db1f70..0000000
+++ /dev/null
@@ -1,331 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter a,
-.syntaxhighlighter div,
-.syntaxhighlighter code,
-.syntaxhighlighter table,
-.syntaxhighlighter table td,
-.syntaxhighlighter table tr,
-.syntaxhighlighter table tbody,
-.syntaxhighlighter table thead,
-.syntaxhighlighter table caption,
-.syntaxhighlighter textarea {
-  -moz-border-radius: 0 0 0 0 !important;
-  -webkit-border-radius: 0 0 0 0 !important;
-  background: none !important;
-  border: 0 !important;
-  bottom: auto !important;
-  float: none !important;
-  height: auto !important;
-  left: auto !important;
-  line-height: 1.1em !important;
-  margin: 0 !important;
-  outline: 0 !important;
-  overflow: visible !important;
-  padding: 0 !important;
-  position: static !important;
-  right: auto !important;
-  text-align: left !important;
-  top: auto !important;
-  vertical-align: baseline !important;
-  width: auto !important;
-  box-sizing: content-box !important;
-  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-  font-weight: normal !important;
-  font-style: normal !important;
-  font-size: 1em !important;
-  min-height: inherit !important;
-  min-height: auto !important;
-}
-
-.syntaxhighlighter {
-  width: 100% !important;
-  margin: 1em 0 1em 0 !important;
-  position: relative !important;
-  overflow: auto !important;
-  font-size: 1em !important;
-}
-.syntaxhighlighter.source {
-  overflow: hidden !important;
-}
-.syntaxhighlighter .bold {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .italic {
-  font-style: italic !important;
-}
-.syntaxhighlighter .line {
-  white-space: pre !important;
-}
-.syntaxhighlighter table {
-  width: 100% !important;
-}
-.syntaxhighlighter table caption {
-  text-align: left !important;
-  padding: .5em 0 0.5em 1em !important;
-}
-.syntaxhighlighter table td.code {
-  width: 100% !important;
-}
-.syntaxhighlighter table td.code .container {
-  position: relative !important;
-}
-.syntaxhighlighter table td.code .container textarea {
-  box-sizing: border-box !important;
-  position: absolute !important;
-  left: 0 !important;
-  top: 0 !important;
-  width: 100% !important;
-  height: 100% !important;
-  border: none !important;
-  background: white !important;
-  padding-left: 1em !important;
-  overflow: hidden !important;
-  white-space: pre !important;
-}
-.syntaxhighlighter table td.gutter .line {
-  text-align: right !important;
-  padding: 0 0.5em 0 1em !important;
-}
-.syntaxhighlighter table td.code .line {
-  padding: 0 1em !important;
-}
-.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
-  padding-left: 0em !important;
-}
-.syntaxhighlighter.show {
-  display: block !important;
-}
-.syntaxhighlighter.collapsed table {
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  padding: 0.1em 0.8em 0em 0.8em !important;
-  font-size: 1em !important;
-  position: static !important;
-  width: auto !important;
-  height: auto !important;
-}
-.syntaxhighlighter.collapsed .toolbar span {
-  display: inline !important;
-  margin-right: 1em !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a {
-  padding: 0 !important;
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a.expandSource {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar {
-  position: absolute !important;
-  right: 1px !important;
-  top: 1px !important;
-  width: 11px !important;
-  height: 11px !important;
-  font-size: 10px !important;
-  z-index: 10 !important;
-}
-.syntaxhighlighter .toolbar span.title {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar a {
-  display: block !important;
-  text-align: center !important;
-  text-decoration: none !important;
-  padding-top: 1px !important;
-}
-.syntaxhighlighter .toolbar a.expandSource {
-  display: none !important;
-}
-.syntaxhighlighter.ie {
-  font-size: .9em !important;
-  padding: 1px 0 1px 0 !important;
-}
-.syntaxhighlighter.ie .toolbar {
-  line-height: 8px !important;
-}
-.syntaxhighlighter.ie .toolbar a {
-  padding-top: 0px !important;
-}
-.syntaxhighlighter.printing .line.alt1 .content,
-.syntaxhighlighter.printing .line.alt2 .content,
-.syntaxhighlighter.printing .line.highlighted .number,
-.syntaxhighlighter.printing .line.highlighted.alt1 .content,
-.syntaxhighlighter.printing .line.highlighted.alt2 .content {
-  background: none !important;
-}
-.syntaxhighlighter.printing .line .number {
-  color: #bbbbbb !important;
-}
-.syntaxhighlighter.printing .line .content {
-  color: black !important;
-}
-.syntaxhighlighter.printing .toolbar {
-  display: none !important;
-}
-.syntaxhighlighter.printing a {
-  text-decoration: none !important;
-}
-.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
-  color: black !important;
-}
-.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
-  color: blue !important;
-}
-.syntaxhighlighter.printing .keyword {
-  color: #006699 !important;
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter.printing .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter.printing .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter.printing .script {
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
-  color: red !important;
-}
-.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
-  color: black !important;
-}
-
-.syntaxhighlighter {
-  background-color: #0a2b1d !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: #0a2b1d !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: #0a2b1d !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #233729 !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: white !important;
-}
-.syntaxhighlighter table caption {
-  color: #f8f8f8 !important;
-}
-.syntaxhighlighter .gutter {
-  color: #497958 !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #41a83e !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #41a83e !important;
-  color: #0a2b1d !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #96dd3b !important;
-  background: black !important;
-  border: 1px solid #41a83e !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #96dd3b !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar {
-  color: white !important;
-  background: #41a83e !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #ffe862 !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: #f8f8f8 !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #336442 !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #9df39f !important;
-}
-.syntaxhighlighter .keyword {
-  color: #96dd3b !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #91bb9e !important;
-}
-.syntaxhighlighter .variable {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .value {
-  color: #f7e741 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .constants {
-  color: #e0e8ff !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #96dd3b !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: #eb939a !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: #91bb9e !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #edef7d !important;
-}
-
-.syntaxhighlighter .comments {
-  font-style: italic !important;
-}
-.syntaxhighlighter .keyword {
-  font-weight: bold !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shCoreEclipse.css b/plugins/textviewer/syntaxhighlighter/styles/shCoreEclipse.css
deleted file mode 100644 (file)
index a45de9f..0000000
+++ /dev/null
@@ -1,339 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter a,
-.syntaxhighlighter div,
-.syntaxhighlighter code,
-.syntaxhighlighter table,
-.syntaxhighlighter table td,
-.syntaxhighlighter table tr,
-.syntaxhighlighter table tbody,
-.syntaxhighlighter table thead,
-.syntaxhighlighter table caption,
-.syntaxhighlighter textarea {
-  -moz-border-radius: 0 0 0 0 !important;
-  -webkit-border-radius: 0 0 0 0 !important;
-  background: none !important;
-  border: 0 !important;
-  bottom: auto !important;
-  float: none !important;
-  height: auto !important;
-  left: auto !important;
-  line-height: 1.1em !important;
-  margin: 0 !important;
-  outline: 0 !important;
-  overflow: visible !important;
-  padding: 0 !important;
-  position: static !important;
-  right: auto !important;
-  text-align: left !important;
-  top: auto !important;
-  vertical-align: baseline !important;
-  width: auto !important;
-  box-sizing: content-box !important;
-  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-  font-weight: normal !important;
-  font-style: normal !important;
-  font-size: 1em !important;
-  min-height: inherit !important;
-  min-height: auto !important;
-}
-
-.syntaxhighlighter {
-  width: 100% !important;
-  margin: 1em 0 1em 0 !important;
-  position: relative !important;
-  overflow: auto !important;
-  font-size: 1em !important;
-}
-.syntaxhighlighter.source {
-  overflow: hidden !important;
-}
-.syntaxhighlighter .bold {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .italic {
-  font-style: italic !important;
-}
-.syntaxhighlighter .line {
-  white-space: pre !important;
-}
-.syntaxhighlighter table {
-  width: 100% !important;
-}
-.syntaxhighlighter table caption {
-  text-align: left !important;
-  padding: .5em 0 0.5em 1em !important;
-}
-.syntaxhighlighter table td.code {
-  width: 100% !important;
-}
-.syntaxhighlighter table td.code .container {
-  position: relative !important;
-}
-.syntaxhighlighter table td.code .container textarea {
-  box-sizing: border-box !important;
-  position: absolute !important;
-  left: 0 !important;
-  top: 0 !important;
-  width: 100% !important;
-  height: 100% !important;
-  border: none !important;
-  background: white !important;
-  padding-left: 1em !important;
-  overflow: hidden !important;
-  white-space: pre !important;
-}
-.syntaxhighlighter table td.gutter .line {
-  text-align: right !important;
-  padding: 0 0.5em 0 1em !important;
-}
-.syntaxhighlighter table td.code .line {
-  padding: 0 1em !important;
-}
-.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
-  padding-left: 0em !important;
-}
-.syntaxhighlighter.show {
-  display: block !important;
-}
-.syntaxhighlighter.collapsed table {
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  padding: 0.1em 0.8em 0em 0.8em !important;
-  font-size: 1em !important;
-  position: static !important;
-  width: auto !important;
-  height: auto !important;
-}
-.syntaxhighlighter.collapsed .toolbar span {
-  display: inline !important;
-  margin-right: 1em !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a {
-  padding: 0 !important;
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a.expandSource {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar {
-  position: absolute !important;
-  right: 1px !important;
-  top: 1px !important;
-  width: 11px !important;
-  height: 11px !important;
-  font-size: 10px !important;
-  z-index: 10 !important;
-}
-.syntaxhighlighter .toolbar span.title {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar a {
-  display: block !important;
-  text-align: center !important;
-  text-decoration: none !important;
-  padding-top: 1px !important;
-}
-.syntaxhighlighter .toolbar a.expandSource {
-  display: none !important;
-}
-.syntaxhighlighter.ie {
-  font-size: .9em !important;
-  padding: 1px 0 1px 0 !important;
-}
-.syntaxhighlighter.ie .toolbar {
-  line-height: 8px !important;
-}
-.syntaxhighlighter.ie .toolbar a {
-  padding-top: 0px !important;
-}
-.syntaxhighlighter.printing .line.alt1 .content,
-.syntaxhighlighter.printing .line.alt2 .content,
-.syntaxhighlighter.printing .line.highlighted .number,
-.syntaxhighlighter.printing .line.highlighted.alt1 .content,
-.syntaxhighlighter.printing .line.highlighted.alt2 .content {
-  background: none !important;
-}
-.syntaxhighlighter.printing .line .number {
-  color: #bbbbbb !important;
-}
-.syntaxhighlighter.printing .line .content {
-  color: black !important;
-}
-.syntaxhighlighter.printing .toolbar {
-  display: none !important;
-}
-.syntaxhighlighter.printing a {
-  text-decoration: none !important;
-}
-.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
-  color: black !important;
-}
-.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
-  color: blue !important;
-}
-.syntaxhighlighter.printing .keyword {
-  color: #006699 !important;
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter.printing .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter.printing .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter.printing .script {
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
-  color: red !important;
-}
-.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
-  color: black !important;
-}
-
-.syntaxhighlighter {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #c3defe !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: white !important;
-}
-.syntaxhighlighter table caption {
-  color: black !important;
-}
-.syntaxhighlighter .gutter {
-  color: #787878 !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #d4d0c8 !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #d4d0c8 !important;
-  color: white !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #3f5fbf !important;
-  background: white !important;
-  border: 1px solid #d4d0c8 !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #3f5fbf !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter .toolbar {
-  color: #a0a0a0 !important;
-  background: #d4d0c8 !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: #a0a0a0 !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: red !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: black !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #3f5fbf !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #2a00ff !important;
-}
-.syntaxhighlighter .keyword {
-  color: #7f0055 !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #646464 !important;
-}
-.syntaxhighlighter .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #7f0055 !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: red !important;
-}
-
-.syntaxhighlighter .keyword {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .xml .keyword {
-  color: #3f7f7f !important;
-  font-weight: normal !important;
-}
-.syntaxhighlighter .xml .color1, .syntaxhighlighter .xml .color1 a {
-  color: #7f007f !important;
-}
-.syntaxhighlighter .xml .string {
-  font-style: italic !important;
-  color: #2a00ff !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shCoreEmacs.css b/plugins/textviewer/syntaxhighlighter/styles/shCoreEmacs.css
deleted file mode 100644 (file)
index 706c77a..0000000
+++ /dev/null
@@ -1,324 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter a,
-.syntaxhighlighter div,
-.syntaxhighlighter code,
-.syntaxhighlighter table,
-.syntaxhighlighter table td,
-.syntaxhighlighter table tr,
-.syntaxhighlighter table tbody,
-.syntaxhighlighter table thead,
-.syntaxhighlighter table caption,
-.syntaxhighlighter textarea {
-  -moz-border-radius: 0 0 0 0 !important;
-  -webkit-border-radius: 0 0 0 0 !important;
-  background: none !important;
-  border: 0 !important;
-  bottom: auto !important;
-  float: none !important;
-  height: auto !important;
-  left: auto !important;
-  line-height: 1.1em !important;
-  margin: 0 !important;
-  outline: 0 !important;
-  overflow: visible !important;
-  padding: 0 !important;
-  position: static !important;
-  right: auto !important;
-  text-align: left !important;
-  top: auto !important;
-  vertical-align: baseline !important;
-  width: auto !important;
-  box-sizing: content-box !important;
-  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-  font-weight: normal !important;
-  font-style: normal !important;
-  font-size: 1em !important;
-  min-height: inherit !important;
-  min-height: auto !important;
-}
-
-.syntaxhighlighter {
-  width: 100% !important;
-  margin: 1em 0 1em 0 !important;
-  position: relative !important;
-  overflow: auto !important;
-  font-size: 1em !important;
-}
-.syntaxhighlighter.source {
-  overflow: hidden !important;
-}
-.syntaxhighlighter .bold {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .italic {
-  font-style: italic !important;
-}
-.syntaxhighlighter .line {
-  white-space: pre !important;
-}
-.syntaxhighlighter table {
-  width: 100% !important;
-}
-.syntaxhighlighter table caption {
-  text-align: left !important;
-  padding: .5em 0 0.5em 1em !important;
-}
-.syntaxhighlighter table td.code {
-  width: 100% !important;
-}
-.syntaxhighlighter table td.code .container {
-  position: relative !important;
-}
-.syntaxhighlighter table td.code .container textarea {
-  box-sizing: border-box !important;
-  position: absolute !important;
-  left: 0 !important;
-  top: 0 !important;
-  width: 100% !important;
-  height: 100% !important;
-  border: none !important;
-  background: white !important;
-  padding-left: 1em !important;
-  overflow: hidden !important;
-  white-space: pre !important;
-}
-.syntaxhighlighter table td.gutter .line {
-  text-align: right !important;
-  padding: 0 0.5em 0 1em !important;
-}
-.syntaxhighlighter table td.code .line {
-  padding: 0 1em !important;
-}
-.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
-  padding-left: 0em !important;
-}
-.syntaxhighlighter.show {
-  display: block !important;
-}
-.syntaxhighlighter.collapsed table {
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  padding: 0.1em 0.8em 0em 0.8em !important;
-  font-size: 1em !important;
-  position: static !important;
-  width: auto !important;
-  height: auto !important;
-}
-.syntaxhighlighter.collapsed .toolbar span {
-  display: inline !important;
-  margin-right: 1em !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a {
-  padding: 0 !important;
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a.expandSource {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar {
-  position: absolute !important;
-  right: 1px !important;
-  top: 1px !important;
-  width: 11px !important;
-  height: 11px !important;
-  font-size: 10px !important;
-  z-index: 10 !important;
-}
-.syntaxhighlighter .toolbar span.title {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar a {
-  display: block !important;
-  text-align: center !important;
-  text-decoration: none !important;
-  padding-top: 1px !important;
-}
-.syntaxhighlighter .toolbar a.expandSource {
-  display: none !important;
-}
-.syntaxhighlighter.ie {
-  font-size: .9em !important;
-  padding: 1px 0 1px 0 !important;
-}
-.syntaxhighlighter.ie .toolbar {
-  line-height: 8px !important;
-}
-.syntaxhighlighter.ie .toolbar a {
-  padding-top: 0px !important;
-}
-.syntaxhighlighter.printing .line.alt1 .content,
-.syntaxhighlighter.printing .line.alt2 .content,
-.syntaxhighlighter.printing .line.highlighted .number,
-.syntaxhighlighter.printing .line.highlighted.alt1 .content,
-.syntaxhighlighter.printing .line.highlighted.alt2 .content {
-  background: none !important;
-}
-.syntaxhighlighter.printing .line .number {
-  color: #bbbbbb !important;
-}
-.syntaxhighlighter.printing .line .content {
-  color: black !important;
-}
-.syntaxhighlighter.printing .toolbar {
-  display: none !important;
-}
-.syntaxhighlighter.printing a {
-  text-decoration: none !important;
-}
-.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
-  color: black !important;
-}
-.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
-  color: blue !important;
-}
-.syntaxhighlighter.printing .keyword {
-  color: #006699 !important;
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter.printing .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter.printing .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter.printing .script {
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
-  color: red !important;
-}
-.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
-  color: black !important;
-}
-
-.syntaxhighlighter {
-  background-color: black !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: black !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: black !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #2a3133 !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: white !important;
-}
-.syntaxhighlighter table caption {
-  color: #d3d3d3 !important;
-}
-.syntaxhighlighter .gutter {
-  color: #d3d3d3 !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #990000 !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #990000 !important;
-  color: black !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #ebdb8d !important;
-  background: black !important;
-  border: 1px solid #990000 !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #ebdb8d !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: #ff7d27 !important;
-}
-.syntaxhighlighter .toolbar {
-  color: white !important;
-  background: #990000 !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #9ccff4 !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: #d3d3d3 !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #ff7d27 !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #ff9e7b !important;
-}
-.syntaxhighlighter .keyword {
-  color: aqua !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #aec4de !important;
-}
-.syntaxhighlighter .variable {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter .functions {
-  color: #81cef9 !important;
-}
-.syntaxhighlighter .constants {
-  color: #ff9e7b !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: aqua !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: #ebdb8d !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: #ff7d27 !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #aec4de !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shCoreFadeToGrey.css b/plugins/textviewer/syntaxhighlighter/styles/shCoreFadeToGrey.css
deleted file mode 100644 (file)
index 6101eba..0000000
+++ /dev/null
@@ -1,328 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter a,
-.syntaxhighlighter div,
-.syntaxhighlighter code,
-.syntaxhighlighter table,
-.syntaxhighlighter table td,
-.syntaxhighlighter table tr,
-.syntaxhighlighter table tbody,
-.syntaxhighlighter table thead,
-.syntaxhighlighter table caption,
-.syntaxhighlighter textarea {
-  -moz-border-radius: 0 0 0 0 !important;
-  -webkit-border-radius: 0 0 0 0 !important;
-  background: none !important;
-  border: 0 !important;
-  bottom: auto !important;
-  float: none !important;
-  height: auto !important;
-  left: auto !important;
-  line-height: 1.1em !important;
-  margin: 0 !important;
-  outline: 0 !important;
-  overflow: visible !important;
-  padding: 0 !important;
-  position: static !important;
-  right: auto !important;
-  text-align: left !important;
-  top: auto !important;
-  vertical-align: baseline !important;
-  width: auto !important;
-  box-sizing: content-box !important;
-  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-  font-weight: normal !important;
-  font-style: normal !important;
-  font-size: 1em !important;
-  min-height: inherit !important;
-  min-height: auto !important;
-}
-
-.syntaxhighlighter {
-  width: 100% !important;
-  margin: 1em 0 1em 0 !important;
-  position: relative !important;
-  overflow: auto !important;
-  font-size: 1em !important;
-}
-.syntaxhighlighter.source {
-  overflow: hidden !important;
-}
-.syntaxhighlighter .bold {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .italic {
-  font-style: italic !important;
-}
-.syntaxhighlighter .line {
-  white-space: pre !important;
-}
-.syntaxhighlighter table {
-  width: 100% !important;
-}
-.syntaxhighlighter table caption {
-  text-align: left !important;
-  padding: .5em 0 0.5em 1em !important;
-}
-.syntaxhighlighter table td.code {
-  width: 100% !important;
-}
-.syntaxhighlighter table td.code .container {
-  position: relative !important;
-}
-.syntaxhighlighter table td.code .container textarea {
-  box-sizing: border-box !important;
-  position: absolute !important;
-  left: 0 !important;
-  top: 0 !important;
-  width: 100% !important;
-  height: 100% !important;
-  border: none !important;
-  background: white !important;
-  padding-left: 1em !important;
-  overflow: hidden !important;
-  white-space: pre !important;
-}
-.syntaxhighlighter table td.gutter .line {
-  text-align: right !important;
-  padding: 0 0.5em 0 1em !important;
-}
-.syntaxhighlighter table td.code .line {
-  padding: 0 1em !important;
-}
-.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
-  padding-left: 0em !important;
-}
-.syntaxhighlighter.show {
-  display: block !important;
-}
-.syntaxhighlighter.collapsed table {
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  padding: 0.1em 0.8em 0em 0.8em !important;
-  font-size: 1em !important;
-  position: static !important;
-  width: auto !important;
-  height: auto !important;
-}
-.syntaxhighlighter.collapsed .toolbar span {
-  display: inline !important;
-  margin-right: 1em !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a {
-  padding: 0 !important;
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a.expandSource {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar {
-  position: absolute !important;
-  right: 1px !important;
-  top: 1px !important;
-  width: 11px !important;
-  height: 11px !important;
-  font-size: 10px !important;
-  z-index: 10 !important;
-}
-.syntaxhighlighter .toolbar span.title {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar a {
-  display: block !important;
-  text-align: center !important;
-  text-decoration: none !important;
-  padding-top: 1px !important;
-}
-.syntaxhighlighter .toolbar a.expandSource {
-  display: none !important;
-}
-.syntaxhighlighter.ie {
-  font-size: .9em !important;
-  padding: 1px 0 1px 0 !important;
-}
-.syntaxhighlighter.ie .toolbar {
-  line-height: 8px !important;
-}
-.syntaxhighlighter.ie .toolbar a {
-  padding-top: 0px !important;
-}
-.syntaxhighlighter.printing .line.alt1 .content,
-.syntaxhighlighter.printing .line.alt2 .content,
-.syntaxhighlighter.printing .line.highlighted .number,
-.syntaxhighlighter.printing .line.highlighted.alt1 .content,
-.syntaxhighlighter.printing .line.highlighted.alt2 .content {
-  background: none !important;
-}
-.syntaxhighlighter.printing .line .number {
-  color: #bbbbbb !important;
-}
-.syntaxhighlighter.printing .line .content {
-  color: black !important;
-}
-.syntaxhighlighter.printing .toolbar {
-  display: none !important;
-}
-.syntaxhighlighter.printing a {
-  text-decoration: none !important;
-}
-.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
-  color: black !important;
-}
-.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
-  color: blue !important;
-}
-.syntaxhighlighter.printing .keyword {
-  color: #006699 !important;
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter.printing .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter.printing .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter.printing .script {
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
-  color: red !important;
-}
-.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
-  color: black !important;
-}
-
-.syntaxhighlighter {
-  background-color: #121212 !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: #121212 !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: #121212 !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #2c2c29 !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: white !important;
-}
-.syntaxhighlighter table caption {
-  color: white !important;
-}
-.syntaxhighlighter .gutter {
-  color: #afafaf !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #3185b9 !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #3185b9 !important;
-  color: #121212 !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #3185b9 !important;
-  background: black !important;
-  border: 1px solid #3185b9 !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #3185b9 !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: #d01d33 !important;
-}
-.syntaxhighlighter .toolbar {
-  color: white !important;
-  background: #3185b9 !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #96daff !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: white !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #696854 !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #e3e658 !important;
-}
-.syntaxhighlighter .keyword {
-  color: #d01d33 !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #435a5f !important;
-}
-.syntaxhighlighter .variable {
-  color: #898989 !important;
-}
-.syntaxhighlighter .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter .functions {
-  color: #aaaaaa !important;
-}
-.syntaxhighlighter .constants {
-  color: #96daff !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #d01d33 !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: #ffc074 !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: #4a8cdb !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #96daff !important;
-}
-
-.syntaxhighlighter .functions {
-  font-weight: bold !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shCoreMDUltra.css b/plugins/textviewer/syntaxhighlighter/styles/shCoreMDUltra.css
deleted file mode 100644 (file)
index 2923ce7..0000000
+++ /dev/null
@@ -1,324 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter a,
-.syntaxhighlighter div,
-.syntaxhighlighter code,
-.syntaxhighlighter table,
-.syntaxhighlighter table td,
-.syntaxhighlighter table tr,
-.syntaxhighlighter table tbody,
-.syntaxhighlighter table thead,
-.syntaxhighlighter table caption,
-.syntaxhighlighter textarea {
-  -moz-border-radius: 0 0 0 0 !important;
-  -webkit-border-radius: 0 0 0 0 !important;
-  background: none !important;
-  border: 0 !important;
-  bottom: auto !important;
-  float: none !important;
-  height: auto !important;
-  left: auto !important;
-  line-height: 1.1em !important;
-  margin: 0 !important;
-  outline: 0 !important;
-  overflow: visible !important;
-  padding: 0 !important;
-  position: static !important;
-  right: auto !important;
-  text-align: left !important;
-  top: auto !important;
-  vertical-align: baseline !important;
-  width: auto !important;
-  box-sizing: content-box !important;
-  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-  font-weight: normal !important;
-  font-style: normal !important;
-  font-size: 1em !important;
-  min-height: inherit !important;
-  min-height: auto !important;
-}
-
-.syntaxhighlighter {
-  width: 100% !important;
-  margin: 1em 0 1em 0 !important;
-  position: relative !important;
-  overflow: auto !important;
-  font-size: 1em !important;
-}
-.syntaxhighlighter.source {
-  overflow: hidden !important;
-}
-.syntaxhighlighter .bold {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .italic {
-  font-style: italic !important;
-}
-.syntaxhighlighter .line {
-  white-space: pre !important;
-}
-.syntaxhighlighter table {
-  width: 100% !important;
-}
-.syntaxhighlighter table caption {
-  text-align: left !important;
-  padding: .5em 0 0.5em 1em !important;
-}
-.syntaxhighlighter table td.code {
-  width: 100% !important;
-}
-.syntaxhighlighter table td.code .container {
-  position: relative !important;
-}
-.syntaxhighlighter table td.code .container textarea {
-  box-sizing: border-box !important;
-  position: absolute !important;
-  left: 0 !important;
-  top: 0 !important;
-  width: 100% !important;
-  height: 100% !important;
-  border: none !important;
-  background: white !important;
-  padding-left: 1em !important;
-  overflow: hidden !important;
-  white-space: pre !important;
-}
-.syntaxhighlighter table td.gutter .line {
-  text-align: right !important;
-  padding: 0 0.5em 0 1em !important;
-}
-.syntaxhighlighter table td.code .line {
-  padding: 0 1em !important;
-}
-.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
-  padding-left: 0em !important;
-}
-.syntaxhighlighter.show {
-  display: block !important;
-}
-.syntaxhighlighter.collapsed table {
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  padding: 0.1em 0.8em 0em 0.8em !important;
-  font-size: 1em !important;
-  position: static !important;
-  width: auto !important;
-  height: auto !important;
-}
-.syntaxhighlighter.collapsed .toolbar span {
-  display: inline !important;
-  margin-right: 1em !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a {
-  padding: 0 !important;
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a.expandSource {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar {
-  position: absolute !important;
-  right: 1px !important;
-  top: 1px !important;
-  width: 11px !important;
-  height: 11px !important;
-  font-size: 10px !important;
-  z-index: 10 !important;
-}
-.syntaxhighlighter .toolbar span.title {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar a {
-  display: block !important;
-  text-align: center !important;
-  text-decoration: none !important;
-  padding-top: 1px !important;
-}
-.syntaxhighlighter .toolbar a.expandSource {
-  display: none !important;
-}
-.syntaxhighlighter.ie {
-  font-size: .9em !important;
-  padding: 1px 0 1px 0 !important;
-}
-.syntaxhighlighter.ie .toolbar {
-  line-height: 8px !important;
-}
-.syntaxhighlighter.ie .toolbar a {
-  padding-top: 0px !important;
-}
-.syntaxhighlighter.printing .line.alt1 .content,
-.syntaxhighlighter.printing .line.alt2 .content,
-.syntaxhighlighter.printing .line.highlighted .number,
-.syntaxhighlighter.printing .line.highlighted.alt1 .content,
-.syntaxhighlighter.printing .line.highlighted.alt2 .content {
-  background: none !important;
-}
-.syntaxhighlighter.printing .line .number {
-  color: #bbbbbb !important;
-}
-.syntaxhighlighter.printing .line .content {
-  color: black !important;
-}
-.syntaxhighlighter.printing .toolbar {
-  display: none !important;
-}
-.syntaxhighlighter.printing a {
-  text-decoration: none !important;
-}
-.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
-  color: black !important;
-}
-.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
-  color: blue !important;
-}
-.syntaxhighlighter.printing .keyword {
-  color: #006699 !important;
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter.printing .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter.printing .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter.printing .script {
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
-  color: red !important;
-}
-.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
-  color: black !important;
-}
-
-.syntaxhighlighter {
-  background-color: #222222 !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: #222222 !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: #222222 !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #253e5a !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: white !important;
-}
-.syntaxhighlighter table caption {
-  color: lime !important;
-}
-.syntaxhighlighter .gutter {
-  color: #38566f !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #435a5f !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #435a5f !important;
-  color: #222222 !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #428bdd !important;
-  background: black !important;
-  border: 1px solid #435a5f !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #428bdd !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: lime !important;
-}
-.syntaxhighlighter .toolbar {
-  color: #aaaaff !important;
-  background: #435a5f !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: #aaaaff !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #9ccff4 !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: lime !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #428bdd !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: lime !important;
-}
-.syntaxhighlighter .keyword {
-  color: #aaaaff !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #8aa6c1 !important;
-}
-.syntaxhighlighter .variable {
-  color: aqua !important;
-}
-.syntaxhighlighter .value {
-  color: #f7e741 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ff8000 !important;
-}
-.syntaxhighlighter .constants {
-  color: yellow !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #aaaaff !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: red !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: yellow !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #ffaa3e !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shCoreMidnight.css b/plugins/textviewer/syntaxhighlighter/styles/shCoreMidnight.css
deleted file mode 100644 (file)
index e3733ee..0000000
+++ /dev/null
@@ -1,324 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter a,
-.syntaxhighlighter div,
-.syntaxhighlighter code,
-.syntaxhighlighter table,
-.syntaxhighlighter table td,
-.syntaxhighlighter table tr,
-.syntaxhighlighter table tbody,
-.syntaxhighlighter table thead,
-.syntaxhighlighter table caption,
-.syntaxhighlighter textarea {
-  -moz-border-radius: 0 0 0 0 !important;
-  -webkit-border-radius: 0 0 0 0 !important;
-  background: none !important;
-  border: 0 !important;
-  bottom: auto !important;
-  float: none !important;
-  height: auto !important;
-  left: auto !important;
-  line-height: 1.1em !important;
-  margin: 0 !important;
-  outline: 0 !important;
-  overflow: visible !important;
-  padding: 0 !important;
-  position: static !important;
-  right: auto !important;
-  text-align: left !important;
-  top: auto !important;
-  vertical-align: baseline !important;
-  width: auto !important;
-  box-sizing: content-box !important;
-  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-  font-weight: normal !important;
-  font-style: normal !important;
-  font-size: 1em !important;
-  min-height: inherit !important;
-  min-height: auto !important;
-}
-
-.syntaxhighlighter {
-  width: 100% !important;
-  margin: 1em 0 1em 0 !important;
-  position: relative !important;
-  overflow: auto !important;
-  font-size: 1em !important;
-}
-.syntaxhighlighter.source {
-  overflow: hidden !important;
-}
-.syntaxhighlighter .bold {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .italic {
-  font-style: italic !important;
-}
-.syntaxhighlighter .line {
-  white-space: pre !important;
-}
-.syntaxhighlighter table {
-  width: 100% !important;
-}
-.syntaxhighlighter table caption {
-  text-align: left !important;
-  padding: .5em 0 0.5em 1em !important;
-}
-.syntaxhighlighter table td.code {
-  width: 100% !important;
-}
-.syntaxhighlighter table td.code .container {
-  position: relative !important;
-}
-.syntaxhighlighter table td.code .container textarea {
-  box-sizing: border-box !important;
-  position: absolute !important;
-  left: 0 !important;
-  top: 0 !important;
-  width: 100% !important;
-  height: 100% !important;
-  border: none !important;
-  background: white !important;
-  padding-left: 1em !important;
-  overflow: hidden !important;
-  white-space: pre !important;
-}
-.syntaxhighlighter table td.gutter .line {
-  text-align: right !important;
-  padding: 0 0.5em 0 1em !important;
-}
-.syntaxhighlighter table td.code .line {
-  padding: 0 1em !important;
-}
-.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
-  padding-left: 0em !important;
-}
-.syntaxhighlighter.show {
-  display: block !important;
-}
-.syntaxhighlighter.collapsed table {
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  padding: 0.1em 0.8em 0em 0.8em !important;
-  font-size: 1em !important;
-  position: static !important;
-  width: auto !important;
-  height: auto !important;
-}
-.syntaxhighlighter.collapsed .toolbar span {
-  display: inline !important;
-  margin-right: 1em !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a {
-  padding: 0 !important;
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a.expandSource {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar {
-  position: absolute !important;
-  right: 1px !important;
-  top: 1px !important;
-  width: 11px !important;
-  height: 11px !important;
-  font-size: 10px !important;
-  z-index: 10 !important;
-}
-.syntaxhighlighter .toolbar span.title {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar a {
-  display: block !important;
-  text-align: center !important;
-  text-decoration: none !important;
-  padding-top: 1px !important;
-}
-.syntaxhighlighter .toolbar a.expandSource {
-  display: none !important;
-}
-.syntaxhighlighter.ie {
-  font-size: .9em !important;
-  padding: 1px 0 1px 0 !important;
-}
-.syntaxhighlighter.ie .toolbar {
-  line-height: 8px !important;
-}
-.syntaxhighlighter.ie .toolbar a {
-  padding-top: 0px !important;
-}
-.syntaxhighlighter.printing .line.alt1 .content,
-.syntaxhighlighter.printing .line.alt2 .content,
-.syntaxhighlighter.printing .line.highlighted .number,
-.syntaxhighlighter.printing .line.highlighted.alt1 .content,
-.syntaxhighlighter.printing .line.highlighted.alt2 .content {
-  background: none !important;
-}
-.syntaxhighlighter.printing .line .number {
-  color: #bbbbbb !important;
-}
-.syntaxhighlighter.printing .line .content {
-  color: black !important;
-}
-.syntaxhighlighter.printing .toolbar {
-  display: none !important;
-}
-.syntaxhighlighter.printing a {
-  text-decoration: none !important;
-}
-.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
-  color: black !important;
-}
-.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
-  color: blue !important;
-}
-.syntaxhighlighter.printing .keyword {
-  color: #006699 !important;
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter.printing .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter.printing .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter.printing .script {
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
-  color: red !important;
-}
-.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
-  color: black !important;
-}
-
-.syntaxhighlighter {
-  background-color: #0f192a !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: #0f192a !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: #0f192a !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #253e5a !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: #38566f !important;
-}
-.syntaxhighlighter table caption {
-  color: #d1edff !important;
-}
-.syntaxhighlighter .gutter {
-  color: #afafaf !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #435a5f !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #435a5f !important;
-  color: #0f192a !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #428bdd !important;
-  background: black !important;
-  border: 1px solid #435a5f !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #428bdd !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: #1dc116 !important;
-}
-.syntaxhighlighter .toolbar {
-  color: #d1edff !important;
-  background: #435a5f !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: #d1edff !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #8aa6c1 !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: #d1edff !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #428bdd !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #1dc116 !important;
-}
-.syntaxhighlighter .keyword {
-  color: #b43d3d !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #8aa6c1 !important;
-}
-.syntaxhighlighter .variable {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .value {
-  color: #f7e741 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .constants {
-  color: #e0e8ff !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #b43d3d !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: #f8bb00 !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: white !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #ffaa3e !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shCoreRDark.css b/plugins/textviewer/syntaxhighlighter/styles/shCoreRDark.css
deleted file mode 100644 (file)
index d093683..0000000
+++ /dev/null
@@ -1,324 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter a,
-.syntaxhighlighter div,
-.syntaxhighlighter code,
-.syntaxhighlighter table,
-.syntaxhighlighter table td,
-.syntaxhighlighter table tr,
-.syntaxhighlighter table tbody,
-.syntaxhighlighter table thead,
-.syntaxhighlighter table caption,
-.syntaxhighlighter textarea {
-  -moz-border-radius: 0 0 0 0 !important;
-  -webkit-border-radius: 0 0 0 0 !important;
-  background: none !important;
-  border: 0 !important;
-  bottom: auto !important;
-  float: none !important;
-  height: auto !important;
-  left: auto !important;
-  line-height: 1.1em !important;
-  margin: 0 !important;
-  outline: 0 !important;
-  overflow: visible !important;
-  padding: 0 !important;
-  position: static !important;
-  right: auto !important;
-  text-align: left !important;
-  top: auto !important;
-  vertical-align: baseline !important;
-  width: auto !important;
-  box-sizing: content-box !important;
-  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-  font-weight: normal !important;
-  font-style: normal !important;
-  font-size: 1em !important;
-  min-height: inherit !important;
-  min-height: auto !important;
-}
-
-.syntaxhighlighter {
-  width: 100% !important;
-  margin: 1em 0 1em 0 !important;
-  position: relative !important;
-  overflow: auto !important;
-  font-size: 1em !important;
-}
-.syntaxhighlighter.source {
-  overflow: hidden !important;
-}
-.syntaxhighlighter .bold {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .italic {
-  font-style: italic !important;
-}
-.syntaxhighlighter .line {
-  white-space: pre !important;
-}
-.syntaxhighlighter table {
-  width: 100% !important;
-}
-.syntaxhighlighter table caption {
-  text-align: left !important;
-  padding: .5em 0 0.5em 1em !important;
-}
-.syntaxhighlighter table td.code {
-  width: 100% !important;
-}
-.syntaxhighlighter table td.code .container {
-  position: relative !important;
-}
-.syntaxhighlighter table td.code .container textarea {
-  box-sizing: border-box !important;
-  position: absolute !important;
-  left: 0 !important;
-  top: 0 !important;
-  width: 100% !important;
-  height: 100% !important;
-  border: none !important;
-  background: white !important;
-  padding-left: 1em !important;
-  overflow: hidden !important;
-  white-space: pre !important;
-}
-.syntaxhighlighter table td.gutter .line {
-  text-align: right !important;
-  padding: 0 0.5em 0 1em !important;
-}
-.syntaxhighlighter table td.code .line {
-  padding: 0 1em !important;
-}
-.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
-  padding-left: 0em !important;
-}
-.syntaxhighlighter.show {
-  display: block !important;
-}
-.syntaxhighlighter.collapsed table {
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  padding: 0.1em 0.8em 0em 0.8em !important;
-  font-size: 1em !important;
-  position: static !important;
-  width: auto !important;
-  height: auto !important;
-}
-.syntaxhighlighter.collapsed .toolbar span {
-  display: inline !important;
-  margin-right: 1em !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a {
-  padding: 0 !important;
-  display: none !important;
-}
-.syntaxhighlighter.collapsed .toolbar span a.expandSource {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar {
-  position: absolute !important;
-  right: 1px !important;
-  top: 1px !important;
-  width: 11px !important;
-  height: 11px !important;
-  font-size: 10px !important;
-  z-index: 10 !important;
-}
-.syntaxhighlighter .toolbar span.title {
-  display: inline !important;
-}
-.syntaxhighlighter .toolbar a {
-  display: block !important;
-  text-align: center !important;
-  text-decoration: none !important;
-  padding-top: 1px !important;
-}
-.syntaxhighlighter .toolbar a.expandSource {
-  display: none !important;
-}
-.syntaxhighlighter.ie {
-  font-size: .9em !important;
-  padding: 1px 0 1px 0 !important;
-}
-.syntaxhighlighter.ie .toolbar {
-  line-height: 8px !important;
-}
-.syntaxhighlighter.ie .toolbar a {
-  padding-top: 0px !important;
-}
-.syntaxhighlighter.printing .line.alt1 .content,
-.syntaxhighlighter.printing .line.alt2 .content,
-.syntaxhighlighter.printing .line.highlighted .number,
-.syntaxhighlighter.printing .line.highlighted.alt1 .content,
-.syntaxhighlighter.printing .line.highlighted.alt2 .content {
-  background: none !important;
-}
-.syntaxhighlighter.printing .line .number {
-  color: #bbbbbb !important;
-}
-.syntaxhighlighter.printing .line .content {
-  color: black !important;
-}
-.syntaxhighlighter.printing .toolbar {
-  display: none !important;
-}
-.syntaxhighlighter.printing a {
-  text-decoration: none !important;
-}
-.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
-  color: black !important;
-}
-.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
-  color: blue !important;
-}
-.syntaxhighlighter.printing .keyword {
-  color: #006699 !important;
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter.printing .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter.printing .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter.printing .script {
-  font-weight: bold !important;
-}
-.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
-  color: red !important;
-}
-.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
-  color: black !important;
-}
-
-.syntaxhighlighter {
-  background-color: #1b2426 !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: #1b2426 !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: #1b2426 !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #323e41 !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: #b9bdb6 !important;
-}
-.syntaxhighlighter table caption {
-  color: #b9bdb6 !important;
-}
-.syntaxhighlighter .gutter {
-  color: #afafaf !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #435a5f !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #435a5f !important;
-  color: #1b2426 !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #5ba1cf !important;
-  background: black !important;
-  border: 1px solid #435a5f !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #5ba1cf !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: #5ce638 !important;
-}
-.syntaxhighlighter .toolbar {
-  color: white !important;
-  background: #435a5f !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #e0e8ff !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: #b9bdb6 !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #878a85 !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #5ce638 !important;
-}
-.syntaxhighlighter .keyword {
-  color: #5ba1cf !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #435a5f !important;
-}
-.syntaxhighlighter .variable {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .constants {
-  color: #e0e8ff !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #5ba1cf !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: #e0e8ff !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: white !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #ffaa3e !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shThemeDefault.css b/plugins/textviewer/syntaxhighlighter/styles/shThemeDefault.css
deleted file mode 100644 (file)
index 1365411..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #e0e0e0 !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: black !important;
-}
-.syntaxhighlighter table caption {
-  color: black !important;
-}
-.syntaxhighlighter .gutter {
-  color: #afafaf !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #6ce26c !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #6ce26c !important;
-  color: white !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: blue !important;
-  background: white !important;
-  border: 1px solid #6ce26c !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: blue !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: red !important;
-}
-.syntaxhighlighter .toolbar {
-  color: white !important;
-  background: #6ce26c !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: black !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: black !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #008200 !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: blue !important;
-}
-.syntaxhighlighter .keyword {
-  color: #006699 !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: gray !important;
-}
-.syntaxhighlighter .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #006699 !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: red !important;
-}
-
-.syntaxhighlighter .keyword {
-  font-weight: bold !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shThemeDjango.css b/plugins/textviewer/syntaxhighlighter/styles/shThemeDjango.css
deleted file mode 100644 (file)
index d8b4313..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter {
-  background-color: #0a2b1d !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: #0a2b1d !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: #0a2b1d !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #233729 !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: white !important;
-}
-.syntaxhighlighter table caption {
-  color: #f8f8f8 !important;
-}
-.syntaxhighlighter .gutter {
-  color: #497958 !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #41a83e !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #41a83e !important;
-  color: #0a2b1d !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #96dd3b !important;
-  background: black !important;
-  border: 1px solid #41a83e !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #96dd3b !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar {
-  color: white !important;
-  background: #41a83e !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #ffe862 !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: #f8f8f8 !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #336442 !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #9df39f !important;
-}
-.syntaxhighlighter .keyword {
-  color: #96dd3b !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #91bb9e !important;
-}
-.syntaxhighlighter .variable {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .value {
-  color: #f7e741 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .constants {
-  color: #e0e8ff !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #96dd3b !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: #eb939a !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: #91bb9e !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #edef7d !important;
-}
-
-.syntaxhighlighter .comments {
-  font-style: italic !important;
-}
-.syntaxhighlighter .keyword {
-  font-weight: bold !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shThemeEclipse.css b/plugins/textviewer/syntaxhighlighter/styles/shThemeEclipse.css
deleted file mode 100644 (file)
index 77377d9..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: white !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #c3defe !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: white !important;
-}
-.syntaxhighlighter table caption {
-  color: black !important;
-}
-.syntaxhighlighter .gutter {
-  color: #787878 !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #d4d0c8 !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #d4d0c8 !important;
-  color: white !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #3f5fbf !important;
-  background: white !important;
-  border: 1px solid #d4d0c8 !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #3f5fbf !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter .toolbar {
-  color: #a0a0a0 !important;
-  background: #d4d0c8 !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: #a0a0a0 !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: red !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: black !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #3f5fbf !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #2a00ff !important;
-}
-.syntaxhighlighter .keyword {
-  color: #7f0055 !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #646464 !important;
-}
-.syntaxhighlighter .variable {
-  color: #aa7700 !important;
-}
-.syntaxhighlighter .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter .constants {
-  color: #0066cc !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #7f0055 !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: gray !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: #ff1493 !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: red !important;
-}
-
-.syntaxhighlighter .keyword {
-  font-weight: bold !important;
-}
-.syntaxhighlighter .xml .keyword {
-  color: #3f7f7f !important;
-  font-weight: normal !important;
-}
-.syntaxhighlighter .xml .color1, .syntaxhighlighter .xml .color1 a {
-  color: #7f007f !important;
-}
-.syntaxhighlighter .xml .string {
-  font-style: italic !important;
-  color: #2a00ff !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shThemeEmacs.css b/plugins/textviewer/syntaxhighlighter/styles/shThemeEmacs.css
deleted file mode 100644 (file)
index dae5053..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter {
-  background-color: black !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: black !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: black !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #2a3133 !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: white !important;
-}
-.syntaxhighlighter table caption {
-  color: #d3d3d3 !important;
-}
-.syntaxhighlighter .gutter {
-  color: #d3d3d3 !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #990000 !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #990000 !important;
-  color: black !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #ebdb8d !important;
-  background: black !important;
-  border: 1px solid #990000 !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #ebdb8d !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: #ff7d27 !important;
-}
-.syntaxhighlighter .toolbar {
-  color: white !important;
-  background: #990000 !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #9ccff4 !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: #d3d3d3 !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #ff7d27 !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #ff9e7b !important;
-}
-.syntaxhighlighter .keyword {
-  color: aqua !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #aec4de !important;
-}
-.syntaxhighlighter .variable {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter .functions {
-  color: #81cef9 !important;
-}
-.syntaxhighlighter .constants {
-  color: #ff9e7b !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: aqua !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: #ebdb8d !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: #ff7d27 !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #aec4de !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shThemeFadeToGrey.css b/plugins/textviewer/syntaxhighlighter/styles/shThemeFadeToGrey.css
deleted file mode 100644 (file)
index 8fbd871..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter {
-  background-color: #121212 !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: #121212 !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: #121212 !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #2c2c29 !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: white !important;
-}
-.syntaxhighlighter table caption {
-  color: white !important;
-}
-.syntaxhighlighter .gutter {
-  color: #afafaf !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #3185b9 !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #3185b9 !important;
-  color: #121212 !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #3185b9 !important;
-  background: black !important;
-  border: 1px solid #3185b9 !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #3185b9 !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: #d01d33 !important;
-}
-.syntaxhighlighter .toolbar {
-  color: white !important;
-  background: #3185b9 !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #96daff !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: white !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #696854 !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #e3e658 !important;
-}
-.syntaxhighlighter .keyword {
-  color: #d01d33 !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #435a5f !important;
-}
-.syntaxhighlighter .variable {
-  color: #898989 !important;
-}
-.syntaxhighlighter .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter .functions {
-  color: #aaaaaa !important;
-}
-.syntaxhighlighter .constants {
-  color: #96daff !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #d01d33 !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: #ffc074 !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: #4a8cdb !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #96daff !important;
-}
-
-.syntaxhighlighter .functions {
-  font-weight: bold !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shThemeMDUltra.css b/plugins/textviewer/syntaxhighlighter/styles/shThemeMDUltra.css
deleted file mode 100644 (file)
index f4db39c..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter {
-  background-color: #222222 !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: #222222 !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: #222222 !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #253e5a !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: white !important;
-}
-.syntaxhighlighter table caption {
-  color: lime !important;
-}
-.syntaxhighlighter .gutter {
-  color: #38566f !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #435a5f !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #435a5f !important;
-  color: #222222 !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #428bdd !important;
-  background: black !important;
-  border: 1px solid #435a5f !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #428bdd !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: lime !important;
-}
-.syntaxhighlighter .toolbar {
-  color: #aaaaff !important;
-  background: #435a5f !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: #aaaaff !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #9ccff4 !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: lime !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #428bdd !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: lime !important;
-}
-.syntaxhighlighter .keyword {
-  color: #aaaaff !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #8aa6c1 !important;
-}
-.syntaxhighlighter .variable {
-  color: aqua !important;
-}
-.syntaxhighlighter .value {
-  color: #f7e741 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ff8000 !important;
-}
-.syntaxhighlighter .constants {
-  color: yellow !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #aaaaff !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: red !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: yellow !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #ffaa3e !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shThemeMidnight.css b/plugins/textviewer/syntaxhighlighter/styles/shThemeMidnight.css
deleted file mode 100644 (file)
index c49563c..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter {
-  background-color: #0f192a !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: #0f192a !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: #0f192a !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #253e5a !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: #38566f !important;
-}
-.syntaxhighlighter table caption {
-  color: #d1edff !important;
-}
-.syntaxhighlighter .gutter {
-  color: #afafaf !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #435a5f !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #435a5f !important;
-  color: #0f192a !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #428bdd !important;
-  background: black !important;
-  border: 1px solid #435a5f !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #428bdd !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: #1dc116 !important;
-}
-.syntaxhighlighter .toolbar {
-  color: #d1edff !important;
-  background: #435a5f !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: #d1edff !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #8aa6c1 !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: #d1edff !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #428bdd !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #1dc116 !important;
-}
-.syntaxhighlighter .keyword {
-  color: #b43d3d !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #8aa6c1 !important;
-}
-.syntaxhighlighter .variable {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .value {
-  color: #f7e741 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .constants {
-  color: #e0e8ff !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #b43d3d !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: #f8bb00 !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: white !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #ffaa3e !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/styles/shThemeRDark.css b/plugins/textviewer/syntaxhighlighter/styles/shThemeRDark.css
deleted file mode 100644 (file)
index 6305a10..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-.syntaxhighlighter {
-  background-color: #1b2426 !important;
-}
-.syntaxhighlighter .line.alt1 {
-  background-color: #1b2426 !important;
-}
-.syntaxhighlighter .line.alt2 {
-  background-color: #1b2426 !important;
-}
-.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
-  background-color: #323e41 !important;
-}
-.syntaxhighlighter .line.highlighted.number {
-  color: #b9bdb6 !important;
-}
-.syntaxhighlighter table caption {
-  color: #b9bdb6 !important;
-}
-.syntaxhighlighter .gutter {
-  color: #afafaf !important;
-}
-.syntaxhighlighter .gutter .line {
-  border-right: 3px solid #435a5f !important;
-}
-.syntaxhighlighter .gutter .line.highlighted {
-  background-color: #435a5f !important;
-  color: #1b2426 !important;
-}
-.syntaxhighlighter.printing .line .content {
-  border: none !important;
-}
-.syntaxhighlighter.collapsed {
-  overflow: visible !important;
-}
-.syntaxhighlighter.collapsed .toolbar {
-  color: #5ba1cf !important;
-  background: black !important;
-  border: 1px solid #435a5f !important;
-}
-.syntaxhighlighter.collapsed .toolbar a {
-  color: #5ba1cf !important;
-}
-.syntaxhighlighter.collapsed .toolbar a:hover {
-  color: #5ce638 !important;
-}
-.syntaxhighlighter .toolbar {
-  color: white !important;
-  background: #435a5f !important;
-  border: none !important;
-}
-.syntaxhighlighter .toolbar a {
-  color: white !important;
-}
-.syntaxhighlighter .toolbar a:hover {
-  color: #e0e8ff !important;
-}
-.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
-  color: #b9bdb6 !important;
-}
-.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
-  color: #878a85 !important;
-}
-.syntaxhighlighter .string, .syntaxhighlighter .string a {
-  color: #5ce638 !important;
-}
-.syntaxhighlighter .keyword {
-  color: #5ba1cf !important;
-}
-.syntaxhighlighter .preprocessor {
-  color: #435a5f !important;
-}
-.syntaxhighlighter .variable {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .value {
-  color: #009900 !important;
-}
-.syntaxhighlighter .functions {
-  color: #ffaa3e !important;
-}
-.syntaxhighlighter .constants {
-  color: #e0e8ff !important;
-}
-.syntaxhighlighter .script {
-  font-weight: bold !important;
-  color: #5ba1cf !important;
-  background-color: none !important;
-}
-.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
-  color: #e0e8ff !important;
-}
-.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
-  color: white !important;
-}
-.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
-  color: #ffaa3e !important;
-}
diff --git a/plugins/textviewer/syntaxhighlighter/tests/.rvmrc b/plugins/textviewer/syntaxhighlighter/tests/.rvmrc
deleted file mode 100644 (file)
index 8cb2ee3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-rvm 1.8.7-p249@copydeca
\ No newline at end of file
diff --git a/plugins/textviewer/syntaxhighlighter/tests/brushes/sass.html b/plugins/textviewer/syntaxhighlighter/tests/brushes/sass.html
deleted file mode 100644 (file)
index f415684..0000000
+++ /dev/null
@@ -1,204 +0,0 @@
-<script class="brush: sass;" type="syntaxhighlighter">
-@mixin round_corners_custom($top, $right, $bottom, $left) {
-       -moz-border-radius: $top $right $bottom $left !important;
-       -webkit-border-radius: $top $right $bottom $left !important;
-}
-
-@mixin round_corners($radius) {
-       @include round_corners_custom($radius, $radius, $radius, $radius);
-}
-
-.syntaxhighlighter {
-       a,
-       div,
-       code,
-       table,
-       table td,
-       table tr,
-       table tbody,
-       table thead,
-       table caption,
-       textarea {
-               @include round_corners(0);
-               
-               background: none !important;
-               border: 0 !important;
-               bottom: auto !important;
-               float: none !important;
-               height: auto !important;
-               left: auto !important;
-               line-height: 1.1em !important;
-               margin: 0 !important;
-               outline: 0 !important;
-               overflow: visible !important;
-               padding: 0 !important;
-               position: static !important;
-               right: auto !important;
-               text-align: left !important;
-               top: auto !important;
-               vertical-align: baseline !important;
-               width: auto !important;
-               font: {
-                       family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
-                       weight: normal !important;
-                       style: normal !important;
-                       size: 1em !important;
-               }
-               min: {
-                       // For IE8, FF & WebKit
-                       height: inherit !important;
-                       // For IE7
-                       height: auto !important;
-               }
-       }
-}
-
-.syntaxhighlighter {
-       width: 100% !important;
-       margin: 1em 0 1em 0 !important;
-       
-       position: relative !important;
-       overflow: auto !important;
-       font-size: 1em !important;
-       
-       &.source { overflow: hidden !important; }
-       
-       // set up bold and italic
-       .bold { font-weight: bold !important; }
-       .italic { font-style: italic !important; }
-       
-       .line { white-space: pre !important; }
-       
-       // main table and columns
-       table {
-               width: 100% !important;
-               caption {
-                       text-align: left !important;
-                       padding: .5em 0 0.5em 1em !important;
-               }
-               
-               td.code {
-                       width: 100% !important;
-                       
-                       .container {
-                               position: relative !important;
-                               
-                               textarea {
-                                       position: absolute !important;
-                                       left: 0 !important;
-                                       top: 0 !important;
-                                       width: 100% !important;
-                                       height: 120% !important;
-                                       border: none !important;
-                                       background: white !important;
-                                       padding-left: 1em !important;
-                                       overflow: hidden !important;
-                                       white-space: pre !important;
-                               } 
-                       } 
-               }
-               
-               // middle spacing between line numbers and lines
-               td.gutter .line {
-                       text-align: right !important;
-                       padding: 0 0.5em 0 1em !important; 
-               }
-               
-               td.code .line {
-                       padding: 0 1em !important;
-               }
-       }
-       
-       &.nogutter {
-               td.code {
-                       .container textarea, .line { padding-left: 0em !important; }
-               }
-       }
-       
-       &.show { display: block !important; }
-       
-       // Adjust some properties when collapsed
-       &.collapsed {
-               table { display: none !important; }
-               
-               .toolbar {
-                       padding: 0.1em 0.8em 0em 0.8em !important;
-                       font-size: 1em !important;
-                       position: static !important;
-                       width: auto !important;
-                       height: auto !important;
-                       
-                       span {
-                               display: inline !important;
-                               margin-right: 1em !important;
-                               
-                               a {
-                                       padding: 0 !important;
-                                       display: none !important;
-                                       &.expandSource, &.help { display: inline !important; } 
-                               }
-                       }
-               }
-       }
-       
-       // Styles for the toolbar
-       .toolbar {
-               position: absolute !important;
-               right: 1px !important;
-               top: 1px !important;
-               width: 11px !important;
-               height: 11px !important;
-               font-size: 10px !important;
-               z-index: 10 !important;
-               
-               span.title { display: inline !important; }
-               
-               a {
-                       display: block !important;
-                       text-align: center !important;
-                       text-decoration: none !important;
-                       padding-top: 1px !important;
-                       
-                       &.expandSource { display: none !important; }
-               }
-       }
-       
-       // Print view.
-       // Colors are based on the default theme without background.
-       &.printing {
-               .line.alt1 .content,
-               .line.alt2 .content,
-               .line.highlighted .number,
-               .line.highlighted.alt1 .content,
-               .line.highlighted.alt2 .content { background: none !important; }
-               
-               // Gutter line numbers
-               .line {
-                       .number { color: #bbbbbb !important; }
-                       // Add border to the lines
-                       .content { color: black !important; }
-               }
-               
-               // Toolbar when visible
-               .toolbar { display: none !important; }
-               a { text-decoration: none !important; }
-               .plain, .plain a { color: black !important; }
-               .comments, .comments a { color: #008200 !important; }
-               .string, .string a { color: blue !important; }
-               .keyword {
-                       color: #006699 !important;
-                       font-weight: bold !important; 
-               }
-               .preprocessor { color: gray !important; }
-               .variable { color: #aa7700 !important; }
-               .value { color: #009900 !important; }
-               .functions { color: #ff1493 !important; }
-               .constants { color: #0066cc !important; }
-               .script { font-weight: bold !important; }
-               .color1, .color1 a { color: gray !important; }
-               .color2, .color2 a { color: #ff1493 !important; }
-               .color3, .color3 a { color: red !important; }
-               .break, .break a { color: black !important; }
-       }
-}
-</script>
\ No newline at end of file
diff --git a/plugins/textviewer/syntaxhighlighter/tests/brushes_tests.html b/plugins/textviewer/syntaxhighlighter/tests/brushes_tests.html
deleted file mode 100644 (file)
index e1e2068..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-       <title>SyntaxHighlighter Brushes Tests</title>
-       <script type="text/javascript" src="/js/jquery-1.4.2.js"></script>
-       
-       <!-- SyntaxHighlighter -->
-       <script type="text/javascript" src="/sh/scripts/XRegExp.js"></script> <!-- XRegExp is bundled with the final shCore.js during build -->
-       <script type="text/javascript" src="/sh/scripts/shCore.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shAutoloader.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushAppleScript.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushAS3.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushBash.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushColdFusion.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushCpp.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushCSharp.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushCss.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushDelphi.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushDiff.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushErlang.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushGroovy.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushJava.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushJavaFx.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushJScript.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushPerl.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushPhp.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushPlain.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushPowerShell.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushPython.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushRuby.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushSass.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushScala.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushSql.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushVb.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushXml.js"></script>
-
-       <link type="text/css" rel="stylesheet" href="/sh/styles/shCoreDefault.css"/>
-</head>
-
-<body>
-
-<div id="output"></div>
-
-<style>
-body {
-       background: white;
-       font-family: Helvetica;
-}
-
-.test-wrap {
-       width: 100%;
-       height: 800px;
-       overflow: auto;
-       border: none;
-}
-</style>
-
-<script type="text/javascript">
-var brushes = [
-               'AS3',
-               'AppleScript',
-               'Bash',
-               'CSharp',
-               'ColdFusion',
-               'Cpp',
-               'Css',
-               'Delphi',
-               'Diff',
-               'Erlang',
-               'Groovy',
-               'JScript',
-               'Java',
-               'JavaFX',
-               'Perl',
-               'Php',
-               'Plain',
-               'PowerShell',
-               'Python',
-               'Ruby',
-               'Sass',
-               'Scala',
-               'Sql',
-               'Vb',
-               'Xml'
-       ];
-       
-$(document).ready(function()
-{
-       var html = '';
-       
-       $.each(brushes, function(index)
-       {
-               var name = this;
-               
-               html += ''
-                       + '<div class="test-wrap">'
-                       + '<h1>'
-                               + '<a href="#theme' + (index + 1) + '">next</a> '
-                               + '<a name="theme' + index + '">'
-                                       + name
-                               + '</a>'
-                       + '</h1>'
-                       ;
-               
-               $.ajax({
-                       url: 'brushes/' + name.toLowerCase() + '.html',
-                       type: 'GET',
-                       dataType: 'text',
-                       async: false,
-                       success: function(data)
-                       {
-                               html += data;
-                       },
-                       error: function()
-                       {
-                               html += '<p>Not found...</p>';
-                       }
-               });
-               
-               html += '</div>\n';
-       
-               if (index % 2 != 0)
-                       html += '<div style="clear:both"></div>\n';
-       });
-       
-       $('#output')[0].innerHTML = html;
-       $('#output a[name]:first').attr('name', 'top');
-       $('#output a[href]:last').attr('href', '#top').html('top');
-       
-       SyntaxHighlighter.highlight();
-});
-</script>
-
-</body>
-</html>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/001_basic.html b/plugins/textviewer/syntaxhighlighter/tests/cases/001_basic.html
deleted file mode 100644 (file)
index 1d57334..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<pre id="sh_001_basic" class="brush: js;" title="Title/caption should render">
-       /**
-        * multiline comment 
-        */
-       
-       text
-       
-       // single line comment
-       
-       text
-       
-       "string" text 'string' text "string"
-       "string with \" escape" text 'string with \' escape' text "string with \" escape"
-       
-       var code = '\
-               function helloWorld()\
-               {\
-                       // this is great!\
-                       for(var i = 0; i &lt;= 1; i++)\
-                               alert("yay");\
-               }\
-               ';
-</pre>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('001_basic');
-
-       test('basic html check of default elements', function()
-       {
-               $sh = $('#sh_001_basic');
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_caption($sh, 'Title/caption should render');
-               ok_gutter($sh);
-               ok_code($sh);
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/002_brushes.html b/plugins/textviewer/syntaxhighlighter/tests/cases/002_brushes.html
deleted file mode 100644 (file)
index e9c64e2..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<div id="sh_002_brushes">
-       <pre class="brush: applescript;">test</pre>
-       <pre class="brush: as3;">test</pre>
-       <pre class="brush: bash;">test</pre>
-       <pre class="brush: cf;">test</pre>
-       <pre class="brush: cpp;">test</pre>
-       <pre class="brush: csharp;">test</pre>
-       <pre class="brush: css;">test</pre>
-       <pre class="brush: delphi;">test</pre>
-       <pre class="brush: diff;">test</pre>
-       <pre class="brush: erlang;">test</pre>
-       <pre class="brush: groovy;">test</pre>
-       <pre class="brush: java;">test</pre>
-       <pre class="brush: javafx;">test</pre>
-       <pre class="brush: jscript;">test</pre>
-       <pre class="brush: perl;">test</pre>
-       <pre class="brush: php;">test</pre>
-       <pre class="brush: plain;">test</pre>
-       <pre class="brush: powershell;">test</pre>
-       <pre class="brush: python;">test</pre>
-       <pre class="brush: ruby;">test</pre>
-       <pre class="brush: sass;">test</pre>
-       <pre class="brush: scala;">test</pre>
-       <pre class="brush: sql;">test</pre>
-       <pre class="brush: vb;">test</pre>
-       <pre class="brush: xml;">test</pre>
-</div>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('002_brushes');
-
-       test('check that all brushes loaded and rendered', function()
-       {
-               $sh = $('#sh_002_brushes');
-               
-               $sh.find('> div > .syntaxhighlighter').each(function()
-               {
-                       var $sh = $(this).parent();
-                       ok_sh($sh);
-                       ok_sh($sh);
-                       ok_toolbar($sh);
-                       ok_code($sh);
-               });
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/003_script_tag.html b/plugins/textviewer/syntaxhighlighter/tests/cases/003_script_tag.html
deleted file mode 100644 (file)
index 9b44292..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<div>
-<script id="sh_003_script_tag" type="syntaxhighlighter" class="brush: csharp" title="Title/caption should render"><![CDATA[
-       partial class Foo
-       {
-               function test()
-               {
-                       yield return;
-                       yield break;
-               }
-       }
-
-       function foo()
-       {
-               var vector:Vector.<Vector.<String>> = new Vector<Vector.String>>();
-       
-               for (var i = 0; i < 10; i++)
-               {
-                       /* comments */
-               }
-       }
-]]></script>
-</div>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('003_script_tag');
-
-       test('basic html check of default elements', function()
-       {
-               $sh = $('#sh_003_script_tag');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_caption($sh, 'Title/caption should render');
-               ok_gutter($sh);
-               ok_code($sh);
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/004_url_parsing.html b/plugins/textviewer/syntaxhighlighter/tests/cases/004_url_parsing.html
deleted file mode 100644 (file)
index d489a66..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<pre id="sh_004_url_parsing" class="brush: as3;">
-/**
- * Please see &lt;http://www.alexgorbatchev.come/?test=1&y=2&gt;
- */
-var home = "http://www.alexgorbatchev.come/?test=1&y=2;test/1/2/3;";
-// &lt; http://www.gnu.org/licenses/?test=1&y=2 &gt;.
-
-// Test embedded URLs that terminate at a left angle bracket.
-// See bug #28: http://bitbucket.org/alexg/syntaxhighlighter/issue/28/
-"<location>http://www.example.com/song2.mp3</location>";
-</pre>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('004_url_parsing');
-
-       test('check that urls are present', function()
-       {
-               $sh = $('#sh_004_url_parsing');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_code($sh);
-               
-               var expected = [
-                       'http://www.alexgorbatchev.come/?test=1&y=2',
-                       'http://www.alexgorbatchev.come/?test=1&y=2;test/1/2/3;',
-                       'http://www.gnu.org/licenses/?test=1&y=2',
-                       'http://bitbucket.org/alexg/syntaxhighlighter/issue/28/',
-                       'http://www.example.com/song2.mp3'
-               ];
-               
-               $sh.find('td.code a').each(function(index)
-               {
-                       equal($(this).attr('href'), expected[index], 'href');
-                       equal($(this).text(), expected[index], 'text');
-               })
-       });
-});
-</script>
\ No newline at end of file
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/005_no_gutter.html b/plugins/textviewer/syntaxhighlighter/tests/cases/005_no_gutter.html
deleted file mode 100644 (file)
index 6e6b1be..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<pre id="sh_005_no_gutter" class="brush: java; gutter: false;">
-                       public Image getImage(URL url, String name) {
-                               try {
-                                       /*
-                                          Regular multiline comment.
-                                       */
-                                   return getImage(new URL(url, name));
-                               } catch (MalformedURLException e) {
-                                   return null;
-                               }
-                       }
-</pre>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('005_no_gutter');
-
-       test('check that there is no gutter', function()
-       {
-               $sh = $('#sh_005_no_gutter');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_code($sh);
-               
-               ok($sh.find('> .syntaxhighlighter.nogutter').length == 1, '.nogutter present');
-               ok($sh.find('> .syntaxhighlighter > table > tbody > tr > .gutter').length == 0, 'Gutter not present');
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/006_pad_line_numbers.html b/plugins/textviewer/syntaxhighlighter/tests/cases/006_pad_line_numbers.html
deleted file mode 100644 (file)
index 8ebdd55..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<pre id="sh_006_pad_line_numbers" class="brush: java; pad-line-numbers: true">
-/**
- * Returns an Image object that can then be painted on the screen. 
- * The url argument must specify an absolute {@link URL}. The name
- * argument is a specifier that is relative to the url argument. 
- *
- * @param  url  an absolute URL giving the base location of the image
- * @param  name the location of the image, relative to the url argument
- * @return      the image at the specified URL
- * @see         Image
- */
-</pre>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('006_pad_line_numbers');
-
-       test('check that line numbers are padded with zeroes', function()
-       {
-               $sh = $('#sh_006_pad_line_numbers');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_gutter($sh);
-               ok_code($sh);
-               
-               $sh.find('.gutter > .line').each(function(index)
-               {
-                       var text = $(this).text();
-                       
-                       if (parseInt(text) < 10)
-                               ok(text.charAt(0) == '0', 'Line ' + index + ' has leading zero: ' + text);
-               });
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/007_collapse.html b/plugins/textviewer/syntaxhighlighter/tests/cases/007_collapse.html
deleted file mode 100644 (file)
index 2643bb5..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<pre id="sh_007_collapse_a" class="brush: groovy; collapse: true" title="This is a title for collapsed block">
-       /**
-        * Returns an Image object that can then be painted on the screen. 
-        * The url argument must specify an absolute {@link URL}. The name
-        * argument is a specifier that is relative to the url argument. 
-        *
-        * @param  url  an absolute URL giving the base location of the image
-        * @param  name the location of the image, relative to the url argument
-        * @return      the image at the specified URL
-        * @see         Image
-        */
-</pre>
-
-<pre id="sh_007_collapse_b" class="brush: groovy; collapse: true">
-       /**
-        * Returns an Image object that can then be painted on the screen. 
-        * The url argument must specify an absolute {@link URL}. The name
-        * argument is a specifier that is relative to the url argument. 
-        *
-        * @param  url  an absolute URL giving the base location of the image
-        * @param  name the location of the image, relative to the url argument
-        * @return      the image at the specified URL
-        * @see         Image
-        */
-</pre>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('007_collapse');
-       
-       test('collapsed block with title', function()
-       {
-               $sh = $('#sh_007_collapse_a');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_collapsed($sh);
-               
-               var $title = $sh.find('.toolbar a.toolbar_item.command_expandSource');
-               ok($title.length == 1, 'Expand present');
-               equal($title.text(), 'This is a title for collapsed block', 'Expand text');
-       });
-
-       test('collapsed block without title', function()
-       {
-               $sh = $('#sh_007_collapse_b');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_collapsed($sh);
-               
-               var $title = $sh.find('.toolbar a.toolbar_item.command_expandSource');
-               ok($title.length == 1, 'Expand present');
-               equal($title.text(), SyntaxHighlighter.config.strings.expandSource, 'Expand text');
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/007_collapse_interaction.html b/plugins/textviewer/syntaxhighlighter/tests/cases/007_collapse_interaction.html
deleted file mode 100644 (file)
index ea72046..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('007_collapse_interaction');
-       
-       function clickA($a)
-       {
-               SyntaxHighlighter.toolbar.handler({
-                       target: $a[0],
-                       preventDefault: function() {}
-               });     
-       };
-       
-       test('expand collapsed block with title', function()
-       {
-               $sh = $('#sh_007_collapse_a');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_collapsed($sh);
-               
-               var $a = $sh.find('.toolbar a.toolbar_item.command_expandSource');
-               clickA($a);
-               ok($a.not(':visible'), 'Expand not visible');
-               ok_code($sh);
-       });
-
-       test('expand collapsed block without title', function()
-       {
-               $sh = $('#sh_007_collapse_b');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_collapsed($sh);
-               
-               var $a = $sh.find('.toolbar a.toolbar_item.command_expandSource');
-               clickA($a);
-               ok($a.not(':visible'), 'Expand not visible');
-               ok_code($sh);
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/008_first_line.html b/plugins/textviewer/syntaxhighlighter/tests/cases/008_first_line.html
deleted file mode 100644 (file)
index 169dc38..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<pre id="sh_008_first_line" class="brush: java; first-line: 10">
-       partial class Foo
-       {
-               function test()
-               {
-                       yield return;
-               }
-       }
-</pre>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('008_first_line');
-
-       test('check the first line', function()
-       {
-               $sh = $('#sh_008_first_line');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_gutter($sh);
-               ok_code($sh);
-               equals($sh.find('.gutter .index0').text(), '10', 'First line');
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/009_class_name.html b/plugins/textviewer/syntaxhighlighter/tests/cases/009_class_name.html
deleted file mode 100644 (file)
index f2437d5..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<pre id="sh_009_class_name" class="brush: java; class-name: 'custom class here'">
-       public Image getImage(URL url, String name) {
-               try {
-                       /*
-                          Regular multiline comment.
-                       */
-                   return getImage(new URL(url, name));
-               } catch (MalformedURLException e) {
-                   return null;
-               }
-       }
-</pre>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('009_class_name');
-
-       test('check custom classes', function()
-       {
-               $sh = $('#sh_009_class_name');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_gutter($sh);
-               ok_code($sh);
-               ok($sh.find('.syntaxhighlighter').is('.custom.class.here'), 'Check custom classes');
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/010_highlight.html b/plugins/textviewer/syntaxhighlighter/tests/cases/010_highlight.html
deleted file mode 100644 (file)
index 64b6613..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<pre id="sh_010_highlight_a" class="brush: groovy; highlight: 2">
-       public function validateStrongPassword(password:String):Boolean
-       {
-               if (password == null || password.length <= 0)
-               {
-                       return false;
-               }
-               
-               return STRONG_PASSWORD_PATTERN.test(password);
-       }
-</pre>
-<script id="sh_010_highlight_b" type="syntaxhighlighter" class="brush: as3; highlight: [2, 4, 12]"><![CDATA[
-       /**
-        * Checks a password and returns a value indicating whether the password is a "strong" 
-        * password. The criteria for a strong password are:
-        * 
-        * <ul>
-        *   <li>Minimum 8 characters</li>
-        *   <li>Maxmium 32 characters</li>
-        *   <li>Contains at least one lowercase letter</li>
-        *   <li>Contains at least one uppercase letter</li>
-        *   <li>Contains at least one number or symbol character</li>
-        * </ul>
-        * 
-        * @param password The password to check
-        * 
-        * @return A value indicating whether the password is a strong password (<code>true</code>) 
-        * or not (<code>false</code>).
-        */
-       public function validateStrongPassword(password:String):Boolean
-       {
-               if (password == null || password.length <= 0)
-               {
-                       return false;
-               }
-               
-               return STRONG_PASSWORD_PATTERN.test(password);
-       }
-]]></script>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('010_highlight');
-       
-       test('one highlighted line', function() 
-       {
-               $sh = $('#sh_010_highlight_a');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_code($sh);
-               ok($sh.find('.gutter .number2').is('.highlighted'), 'Line 2 is highlighted');
-       });
-
-       test('multiple highlighted lines', function() 
-       {
-               $sh = $('#sh_010_highlight_b');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_code($sh);
-               ok($sh.find('.gutter .number2').is('.highlighted'), 'Line 2 is highlighted');
-               ok($sh.find('.gutter .number4').is('.highlighted'), 'Line 4 is highlighted');
-               ok($sh.find('.gutter .number12').is('.highlighted'), 'Line 12 is highlighted');
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/011_smart_tabs.html b/plugins/textviewer/syntaxhighlighter/tests/cases/011_smart_tabs.html
deleted file mode 100644 (file)
index d6d62fc..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-<pre id="sh_011_smart_tabs_a" class="brush: plain;">
-       the             words   in              this    paragraph
-       should  look    like    they    are
-       evenly  spaced  between columns
-</pre>
-
-<pre id="sh_011_smart_tabs_b" class="brush: plain; tab-size: 8;">
-       the     words   in      this    paragraph
-       should  look    like    they    are
-       evenly  spaced  between columns
-</pre>
-
-<pre id="sh_011_smart_tabs_c" class="brush: plain; smart-tabs: false">
-       the             words   in              this    paragraph
-       should  look    out             of              whack
-       because smart   tabs    are             disabled
-</pre>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('011_smart_tabs');
-       
-       var evenLines = [
-                       'the     words   in      this    paragraph',
-                       'should  look    like    they    are',
-                       'evenly  spaced  between columns'
-               ],
-               unevenLines = [
-                       'the        words    in        this    paragraph',
-                       'should    look    out        of        whack',
-                       'because    smart    tabs    are        disabled'
-               ]
-               ;
-               
-       function fixSpaces(s)
-       {
-               s = encodeURIComponent(s).replace(/%C2%A0/g, '%20');
-               return unescape(s).replace(/\s+$/g, '');
-       };
-       
-       test('default tab size is 4', function()
-       {
-               $sh = $('#sh_011_smart_tabs_a');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_code($sh);
-               
-               $sh.find('.code .line').each(function(index)
-               {
-                       var s1 = fixSpaces($(this).text()),
-                               s2 = fixSpaces(evenLines[index])
-                               ;
-                               
-                       equal(s1, s2, 'Line ' + index);
-               });
-       });
-
-       test('tab size changed to 8', function() 
-       {
-               $sh = $('#sh_011_smart_tabs_b');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_code($sh);
-               
-               $sh.find('.code .line').each(function(index)
-               {
-                       var s1 = fixSpaces($(this).text()),
-                               s2 = fixSpaces(evenLines[index])
-                               ;
-                               
-                       equal(s1, s2, 'Line ' + index);
-               });
-       });
-       
-       test('smart tabs are off', function() 
-       {
-               $sh = $('#sh_011_smart_tabs_c');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_code($sh);
-               
-               $sh.find('.code .line').each(function(index)
-               {
-                       var s1 = fixSpaces($(this).text()),
-                               s2 = fixSpaces(unevenLines[index])
-                               ;
-                               
-                       equal(s1, s2, 'Line ' + index);
-               });
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/012_server_side.html b/plugins/textviewer/syntaxhighlighter/tests/cases/012_server_side.html
deleted file mode 100644 (file)
index 1bb4217..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<script id="sh_012_server_side_input" type="text/plain">
-function helloWorld()
-{
-       // this is great!
-       for(var i = 0; i <= 1; i++)
-               alert("yay");
-}
-</script>
-
-<div id="sh_012_server_side_output">
-</div>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('012_server_side');
-
-       test('generate markup', function()
-       {
-               var brush = new SyntaxHighlighter.brushes.JScript(),
-                       code = $('#sh_012_server_side_input').html()
-                       ;
-       
-               brush.init({ toolbar: false });
-               $sh = $('#sh_012_server_side_output');
-               $sh.html(brush.getHtml(code));
-               
-               ok_sh($sh);
-               ok_gutter($sh);
-               ok_code($sh);
-       });
-});
-</script>
\ No newline at end of file
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/013_html_script.html b/plugins/textviewer/syntaxhighlighter/tests/cases/013_html_script.html
deleted file mode 100644 (file)
index c0a1201..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<pre id="sh_013_html_script" class="brush: groovy; html-script: true">
-&lt;hello>
-       &lt;%
-               package free.cafekiwi.gotapi;
-       %>
-&lt;/hello>
-
-<!--
-       Comments here
--->
-&lt;%= print(); %>
-</pre>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       module('013_html_script');
-
-       test('check markup', function()
-       {
-               $sh = $('#sh_013_html_script');
-               
-               ok_sh($sh);
-               ok_gutter($sh);
-               ok_code($sh);
-               
-               ok($sh.find('.code .number1 > .htmlscript').length > 0, 'Has .htmlscript on line 1');
-               ok($sh.find('.code .number3 > .groovy').length > 0, 'Has .groovy on line 3');
-               ok($sh.find('.code .number10 > .groovy').length > 0, 'Has .groovy on line 10');
-       });
-});
-</script>
\ No newline at end of file
diff --git a/plugins/textviewer/syntaxhighlighter/tests/cases/014_legacy.html b/plugins/textviewer/syntaxhighlighter/tests/cases/014_legacy.html
deleted file mode 100644 (file)
index eb4343e..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<pre id="sh_014_legacy_a" name="code" class="plain">basic check</pre>
-<pre id="sh_014_legacy_b" name="code" class="plain:nocontrols">no toolbar</pre>
-<pre id="sh_014_legacy_c" name="code" class="plain:nogutter">no gutter</pre>
-<pre id="sh_014_legacy_d" name="code" class="plain:collapse">collapsed</pre>
-<pre id="sh_014_legacy_e" name="code" class="plain:firstline[10]">first line</pre>
-
-<script type="text/javascript">
-queue(function()
-{
-       var $sh;
-       
-       dp.SyntaxHighlighter.HighlightAll('code');
-       
-       module('014_legacy');
-       
-       test('basic check', function() 
-       {
-               $sh = $('#sh_014_legacy_a');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_code($sh);
-       });
-
-       test('no toolbar', function() 
-       {
-               $sh = $('#sh_014_legacy_b');
-               
-               ok_sh($sh);
-               ok_code($sh);
-               ok($sh.find('> .syntaxhighlighter > .toolbar').length == 0, 'Toolbar not present');
-       });
-       
-       test('no gutter', function() 
-       {
-               $sh = $('#sh_014_legacy_c');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_code($sh);
-               
-               ok($sh.find('> .syntaxhighlighter.nogutter').length == 1, '.nogutter present');
-               ok($sh.find('> .syntaxhighlighter > table > tbody > tr > .gutter').length == 0, 'Gutter not present');
-       });
-       
-       test('collapsed check', function()
-       {
-               $sh = $('#sh_014_legacy_d');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_collapsed($sh);
-               
-               var $title = $sh.find('.toolbar a.toolbar_item.command_expandSource');
-               ok($title.length == 1, 'Expand present');
-               equal($title.text(), SyntaxHighlighter.config.strings.expandSource, 'Expand text');
-       });
-       
-       test('first line check', function()
-       {
-               $sh = $('#sh_014_legacy_e');
-               
-               ok_sh($sh);
-               ok_toolbar($sh);
-               ok_gutter($sh);
-               ok_code($sh);
-               equals($sh.find('.gutter .index0').text(), '10', 'First line');
-       });
-});
-</script>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/commonjs_tests.js b/plugins/textviewer/syntaxhighlighter/tests/commonjs_tests.js
deleted file mode 100644 (file)
index cda8162..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * This is a CommonJS compatibility test. You can run this file with node.
- */
-require.paths.unshift(__dirname + '/../scripts');
-
-var sys = require('sys'),
-       shSyntaxHighlighter = require('shCore').SyntaxHighlighter,
-       code = 'test',
-       brushes = [
-               'AS3',
-               'AppleScript',
-               'Bash',
-               'CSharp',
-               'ColdFusion',
-               'Cpp',
-               'Css',
-               'Delphi',
-               'Diff',
-               'Erlang',
-               'Groovy',
-               'JScript',
-               'Java',
-               'JavaFX',
-               'Perl',
-               'Php',
-               'Plain',
-               'PowerShell',
-               'Python',
-               'Ruby',
-               'Sass',
-               'Scala',
-               'Sql',
-               'Vb',
-               'Xml'
-       ]
-       ;
-
-brushes.sort();
-
-for (var i = 0; i < brushes.length; i++)
-{
-       var name = brushes[i],
-               brush = require('shBrush' + name).Brush
-               ;
-               
-       brush = new brush();
-       brush.init({ toolbar: false });
-       
-       var result = brush.getHtml(code);
-       
-       sys.puts(name + (result != null ? ': ok' : ': NOT OK'));
-}
diff --git a/plugins/textviewer/syntaxhighlighter/tests/js/jquery-1.4.2.js b/plugins/textviewer/syntaxhighlighter/tests/js/jquery-1.4.2.js
deleted file mode 100644 (file)
index e414a7e..0000000
+++ /dev/null
@@ -1,6240 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.4.2
- * http://jquery.com/
- *
- * Copyright 2010, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2010, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Sat Feb 13 22:33:48 2010 -0500
- */
-(function( window, undefined ) {
-
-// Define a local copy of jQuery
-var jQuery = function( selector, context ) {
-               // The jQuery object is actually just the init constructor 'enhanced'
-               return new jQuery.fn.init( selector, context );
-       },
-
-       // Map over jQuery in case of overwrite
-       _jQuery = window.jQuery,
-
-       // Map over the $ in case of overwrite
-       _$ = window.$,
-
-       // Use the correct document accordingly with window argument (sandbox)
-       document = window.document,
-
-       // A central reference to the root jQuery(document)
-       rootjQuery,
-
-       // A simple way to check for HTML strings or ID strings
-       // (both of which we optimize for)
-       quickExpr = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,
-
-       // Is it a simple selector
-       isSimple = /^.[^:#\[\.,]*$/,
-
-       // Check if a string has a non-whitespace character in it
-       rnotwhite = /\S/,
-
-       // Used for trimming whitespace
-       rtrim = /^(\s|\u00A0)+|(\s|\u00A0)+$/g,
-
-       // Match a standalone tag
-       rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
-
-       // Keep a UserAgent string for use with jQuery.browser
-       userAgent = navigator.userAgent,
-
-       // For matching the engine and version of the browser
-       browserMatch,
-       
-       // Has the ready events already been bound?
-       readyBound = false,
-       
-       // The functions to execute on DOM ready
-       readyList = [],
-
-       // The ready event handler
-       DOMContentLoaded,
-
-       // Save a reference to some core methods
-       toString = Object.prototype.toString,
-       hasOwnProperty = Object.prototype.hasOwnProperty,
-       push = Array.prototype.push,
-       slice = Array.prototype.slice,
-       indexOf = Array.prototype.indexOf;
-
-jQuery.fn = jQuery.prototype = {
-       init: function( selector, context ) {
-               var match, elem, ret, doc;
-
-               // Handle $(""), $(null), or $(undefined)
-               if ( !selector ) {
-                       return this;
-               }
-
-               // Handle $(DOMElement)
-               if ( selector.nodeType ) {
-                       this.context = this[0] = selector;
-                       this.length = 1;
-                       return this;
-               }
-               
-               // The body element only exists once, optimize finding it
-               if ( selector === "body" && !context ) {
-                       this.context = document;
-                       this[0] = document.body;
-                       this.selector = "body";
-                       this.length = 1;
-                       return this;
-               }
-
-               // Handle HTML strings
-               if ( typeof selector === "string" ) {
-                       // Are we dealing with HTML string or an ID?
-                       match = quickExpr.exec( selector );
-
-                       // Verify a match, and that no context was specified for #id
-                       if ( match && (match[1] || !context) ) {
-
-                               // HANDLE: $(html) -> $(array)
-                               if ( match[1] ) {
-                                       doc = (context ? context.ownerDocument || context : document);
-
-                                       // If a single string is passed in and it's a single tag
-                                       // just do a createElement and skip the rest
-                                       ret = rsingleTag.exec( selector );
-
-                                       if ( ret ) {
-                                               if ( jQuery.isPlainObject( context ) ) {
-                                                       selector = [ document.createElement( ret[1] ) ];
-                                                       jQuery.fn.attr.call( selector, context, true );
-
-                                               } else {
-                                                       selector = [ doc.createElement( ret[1] ) ];
-                                               }
-
-                                       } else {
-                                               ret = buildFragment( [ match[1] ], [ doc ] );
-                                               selector = (ret.cacheable ? ret.fragment.cloneNode(true) : ret.fragment).childNodes;
-                                       }
-                                       
-                                       return jQuery.merge( this, selector );
-                                       
-                               // HANDLE: $("#id")
-                               } else {
-                                       elem = document.getElementById( match[2] );
-
-                                       if ( elem ) {
-                                               // Handle the case where IE and Opera return items
-                                               // by name instead of ID
-                                               if ( elem.id !== match[2] ) {
-                                                       return rootjQuery.find( selector );
-                                               }
-
-                                               // Otherwise, we inject the element directly into the jQuery object
-                                               this.length = 1;
-                                               this[0] = elem;
-                                       }
-
-                                       this.context = document;
-                                       this.selector = selector;
-                                       return this;
-                               }
-
-                       // HANDLE: $("TAG")
-                       } else if ( !context && /^\w+$/.test( selector ) ) {
-                               this.selector = selector;
-                               this.context = document;
-                               selector = document.getElementsByTagName( selector );
-                               return jQuery.merge( this, selector );
-
-                       // HANDLE: $(expr, $(...))
-                       } else if ( !context || context.jquery ) {
-                               return (context || rootjQuery).find( selector );
-
-                       // HANDLE: $(expr, context)
-                       // (which is just equivalent to: $(context).find(expr)
-                       } else {
-                               return jQuery( context ).find( selector );
-                       }
-
-               // HANDLE: $(function)
-               // Shortcut for document ready
-               } else if ( jQuery.isFunction( selector ) ) {
-                       return rootjQuery.ready( selector );
-               }
-
-               if (selector.selector !== undefined) {
-                       this.selector = selector.selector;
-                       this.context = selector.context;
-               }
-
-               return jQuery.makeArray( selector, this );
-       },
-
-       // Start with an empty selector
-       selector: "",
-
-       // The current version of jQuery being used
-       jquery: "1.4.2",
-
-       // The default length of a jQuery object is 0
-       length: 0,
-
-       // The number of elements contained in the matched element set
-       size: function() {
-               return this.length;
-       },
-
-       toArray: function() {
-               return slice.call( this, 0 );
-       },
-
-       // Get the Nth element in the matched element set OR
-       // Get the whole matched element set as a clean array
-       get: function( num ) {
-               return num == null ?
-
-                       // Return a 'clean' array
-                       this.toArray() :
-
-                       // Return just the object
-                       ( num < 0 ? this.slice(num)[ 0 ] : this[ num ] );
-       },
-
-       // Take an array of elements and push it onto the stack
-       // (returning the new matched element set)
-       pushStack: function( elems, name, selector ) {
-               // Build a new jQuery matched element set
-               var ret = jQuery();
-
-               if ( jQuery.isArray( elems ) ) {
-                       push.apply( ret, elems );
-               
-               } else {
-                       jQuery.merge( ret, elems );
-               }
-
-               // Add the old object onto the stack (as a reference)
-               ret.prevObject = this;
-
-               ret.context = this.context;
-
-               if ( name === "find" ) {
-                       ret.selector = this.selector + (this.selector ? " " : "") + selector;
-               } else if ( name ) {
-                       ret.selector = this.selector + "." + name + "(" + selector + ")";
-               }
-
-               // Return the newly-formed element set
-               return ret;
-       },
-
-       // Execute a callback for every element in the matched set.
-       // (You can seed the arguments with an array of args, but this is
-       // only used internally.)
-       each: function( callback, args ) {
-               return jQuery.each( this, callback, args );
-       },
-       
-       ready: function( fn ) {
-               // Attach the listeners
-               jQuery.bindReady();
-
-               // If the DOM is already ready
-               if ( jQuery.isReady ) {
-                       // Execute the function immediately
-                       fn.call( document, jQuery );
-
-               // Otherwise, remember the function for later
-               } else if ( readyList ) {
-                       // Add the function to the wait list
-                       readyList.push( fn );
-               }
-
-               return this;
-       },
-       
-       eq: function( i ) {
-               return i === -1 ?
-                       this.slice( i ) :
-                       this.slice( i, +i + 1 );
-       },
-
-       first: function() {
-               return this.eq( 0 );
-       },
-
-       last: function() {
-               return this.eq( -1 );
-       },
-
-       slice: function() {
-               return this.pushStack( slice.apply( this, arguments ),
-                       "slice", slice.call(arguments).join(",") );
-       },
-
-       map: function( callback ) {
-               return this.pushStack( jQuery.map(this, function( elem, i ) {
-                       return callback.call( elem, i, elem );
-               }));
-       },
-       
-       end: function() {
-               return this.prevObject || jQuery(null);
-       },
-
-       // For internal use only.
-       // Behaves like an Array's method, not like a jQuery method.
-       push: push,
-       sort: [].sort,
-       splice: [].splice
-};
-
-// Give the init function the jQuery prototype for later instantiation
-jQuery.fn.init.prototype = jQuery.fn;
-
-jQuery.extend = jQuery.fn.extend = function() {
-       // copy reference to target object
-       var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy;
-
-       // Handle a deep copy situation
-       if ( typeof target === "boolean" ) {
-               deep = target;
-               target = arguments[1] || {};
-               // skip the boolean and the target
-               i = 2;
-       }
-
-       // Handle case when target is a string or something (possible in deep copy)
-       if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
-               target = {};
-       }
-
-       // extend jQuery itself if only one argument is passed
-       if ( length === i ) {
-               target = this;
-               --i;
-       }
-
-       for ( ; i < length; i++ ) {
-               // Only deal with non-null/undefined values
-               if ( (options = arguments[ i ]) != null ) {
-                       // Extend the base object
-                       for ( name in options ) {
-                               src = target[ name ];
-                               copy = options[ name ];
-
-                               // Prevent never-ending loop
-                               if ( target === copy ) {
-                                       continue;
-                               }
-
-                               // Recurse if we're merging object literal values or arrays
-                               if ( deep && copy && ( jQuery.isPlainObject(copy) || jQuery.isArray(copy) ) ) {
-                                       var clone = src && ( jQuery.isPlainObject(src) || jQuery.isArray(src) ) ? src
-                                               : jQuery.isArray(copy) ? [] : {};
-
-                                       // Never move original objects, clone them
-                                       target[ name ] = jQuery.extend( deep, clone, copy );
-
-                               // Don't bring in undefined values
-                               } else if ( copy !== undefined ) {
-                                       target[ name ] = copy;
-                               }
-                       }
-               }
-       }
-
-       // Return the modified object
-       return target;
-};
-
-jQuery.extend({
-       noConflict: function( deep ) {
-               window.$ = _$;
-
-               if ( deep ) {
-                       window.jQuery = _jQuery;
-               }
-
-               return jQuery;
-       },
-       
-       // Is the DOM ready to be used? Set to true once it occurs.
-       isReady: false,
-       
-       // Handle when the DOM is ready
-       ready: function() {
-               // Make sure that the DOM is not already loaded
-               if ( !jQuery.isReady ) {
-                       // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
-                       if ( !document.body ) {
-                               return setTimeout( jQuery.ready, 13 );
-                       }
-
-                       // Remember that the DOM is ready
-                       jQuery.isReady = true;
-
-                       // If there are functions bound, to execute
-                       if ( readyList ) {
-                               // Execute all of them
-                               var fn, i = 0;
-                               while ( (fn = readyList[ i++ ]) ) {
-                                       fn.call( document, jQuery );
-                               }
-
-                               // Reset the list of functions
-                               readyList = null;
-                       }
-
-                       // Trigger any bound ready events
-                       if ( jQuery.fn.triggerHandler ) {
-                               jQuery( document ).triggerHandler( "ready" );
-                       }
-               }
-       },
-       
-       bindReady: function() {
-               if ( readyBound ) {
-                       return;
-               }
-
-               readyBound = true;
-
-               // Catch cases where $(document).ready() is called after the
-               // browser event has already occurred.
-               if ( document.readyState === "complete" ) {
-                       return jQuery.ready();
-               }
-
-               // Mozilla, Opera and webkit nightlies currently support this event
-               if ( document.addEventListener ) {
-                       // Use the handy event callback
-                       document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false );
-                       
-                       // A fallback to window.onload, that will always work
-                       window.addEventListener( "load", jQuery.ready, false );
-
-               // If IE event model is used
-               } else if ( document.attachEvent ) {
-                       // ensure firing before onload,
-                       // maybe late but safe also for iframes
-                       document.attachEvent("onreadystatechange", DOMContentLoaded);
-                       
-                       // A fallback to window.onload, that will always work
-                       window.attachEvent( "onload", jQuery.ready );
-
-                       // If IE and not a frame
-                       // continually check to see if the document is ready
-                       var toplevel = false;
-
-                       try {
-                               toplevel = window.frameElement == null;
-                       } catch(e) {}
-
-                       if ( document.documentElement.doScroll && toplevel ) {
-                               doScrollCheck();
-                       }
-               }
-       },
-
-       // See test/unit/core.js for details concerning isFunction.
-       // Since version 1.3, DOM methods and functions like alert
-       // aren't supported. They return false on IE (#2968).
-       isFunction: function( obj ) {
-               return toString.call(obj) === "[object Function]";
-       },
-
-       isArray: function( obj ) {
-               return toString.call(obj) === "[object Array]";
-       },
-
-       isPlainObject: function( obj ) {
-               // Must be an Object.
-               // Because of IE, we also have to check the presence of the constructor property.
-               // Make sure that DOM nodes and window objects don't pass through, as well
-               if ( !obj || toString.call(obj) !== "[object Object]" || obj.nodeType || obj.setInterval ) {
-                       return false;
-               }
-               
-               // Not own constructor property must be Object
-               if ( obj.constructor
-                       && !hasOwnProperty.call(obj, "constructor")
-                       && !hasOwnProperty.call(obj.constructor.prototype, "isPrototypeOf") ) {
-                       return false;
-               }
-               
-               // Own properties are enumerated firstly, so to speed up,
-               // if last one is own, then all properties are own.
-       
-               var key;
-               for ( key in obj ) {}
-               
-               return key === undefined || hasOwnProperty.call( obj, key );
-       },
-
-       isEmptyObject: function( obj ) {
-               for ( var name in obj ) {
-                       return false;
-               }
-               return true;
-       },
-       
-       error: function( msg ) {
-               throw msg;
-       },
-       
-       parseJSON: function( data ) {
-               if ( typeof data !== "string" || !data ) {
-                       return null;
-               }
-
-               // Make sure leading/trailing whitespace is removed (IE can't handle it)
-               data = jQuery.trim( data );
-               
-               // Make sure the incoming data is actual JSON
-               // Logic borrowed from http://json.org/json2.js
-               if ( /^[\],:{}\s]*$/.test(data.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, "@")
-                       .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]")
-                       .replace(/(?:^|:|,)(?:\s*\[)+/g, "")) ) {
-
-                       // Try to use the native JSON parser first
-                       return window.JSON && window.JSON.parse ?
-                               window.JSON.parse( data ) :
-                               (new Function("return " + data))();
-
-               } else {
-                       jQuery.error( "Invalid JSON: " + data );
-               }
-       },
-
-       noop: function() {},
-
-       // Evalulates a script in a global context
-       globalEval: function( data ) {
-               if ( data && rnotwhite.test(data) ) {
-                       // Inspired by code by Andrea Giammarchi
-                       // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html
-                       var head = document.getElementsByTagName("head")[0] || document.documentElement,
-                               script = document.createElement("script");
-
-                       script.type = "text/javascript";
-
-                       if ( jQuery.support.scriptEval ) {
-                               script.appendChild( document.createTextNode( data ) );
-                       } else {
-                               script.text = data;
-                       }
-
-                       // Use insertBefore instead of appendChild to circumvent an IE6 bug.
-                       // This arises when a base node is used (#2709).
-                       head.insertBefore( script, head.firstChild );
-                       head.removeChild( script );
-               }
-       },
-
-       nodeName: function( elem, name ) {
-               return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase();
-       },
-
-       // args is for internal usage only
-       each: function( object, callback, args ) {
-               var name, i = 0,
-                       length = object.length,
-                       isObj = length === undefined || jQuery.isFunction(object);
-
-               if ( args ) {
-                       if ( isObj ) {
-                               for ( name in object ) {
-                                       if ( callback.apply( object[ name ], args ) === false ) {
-                                               break;
-                                       }
-                               }
-                       } else {
-                               for ( ; i < length; ) {
-                                       if ( callback.apply( object[ i++ ], args ) === false ) {
-                                               break;
-                                       }
-                               }
-                       }
-
-               // A special, fast, case for the most common use of each
-               } else {
-                       if ( isObj ) {
-                               for ( name in object ) {
-                                       if ( callback.call( object[ name ], name, object[ name ] ) === false ) {
-                                               break;
-                                       }
-                               }
-                       } else {
-                               for ( var value = object[0];
-                                       i < length && callback.call( value, i, value ) !== false; value = object[++i] ) {}
-                       }
-               }
-
-               return object;
-       },
-
-       trim: function( text ) {
-               return (text || "").replace( rtrim, "" );
-       },
-
-       // results is for internal usage only
-       makeArray: function( array, results ) {
-               var ret = results || [];
-
-               if ( array != null ) {
-                       // The window, strings (and functions) also have 'length'
-                       // The extra typeof function check is to prevent crashes
-                       // in Safari 2 (See: #3039)
-                       if ( array.length == null || typeof array === "string" || jQuery.isFunction(array) || (typeof array !== "function" && array.setInterval) ) {
-                               push.call( ret, array );
-                       } else {
-                               jQuery.merge( ret, array );
-                       }
-               }
-
-               return ret;
-       },
-
-       inArray: function( elem, array ) {
-               if ( array.indexOf ) {
-                       return array.indexOf( elem );
-               }
-
-               for ( var i = 0, length = array.length; i < length; i++ ) {
-                       if ( array[ i ] === elem ) {
-                               return i;
-                       }
-               }
-
-               return -1;
-       },
-
-       merge: function( first, second ) {
-               var i = first.length, j = 0;
-
-               if ( typeof second.length === "number" ) {
-                       for ( var l = second.length; j < l; j++ ) {
-                               first[ i++ ] = second[ j ];
-                       }
-               
-               } else {
-                       while ( second[j] !== undefined ) {
-                               first[ i++ ] = second[ j++ ];
-                       }
-               }
-
-               first.length = i;
-
-               return first;
-       },
-
-       grep: function( elems, callback, inv ) {
-               var ret = [];
-
-               // Go through the array, only saving the items
-               // that pass the validator function
-               for ( var i = 0, length = elems.length; i < length; i++ ) {
-                       if ( !inv !== !callback( elems[ i ], i ) ) {
-                               ret.push( elems[ i ] );
-                       }
-               }
-
-               return ret;
-       },
-
-       // arg is for internal usage only
-       map: function( elems, callback, arg ) {
-               var ret = [], value;
-
-               // Go through the array, translating each of the items to their
-               // new value (or values).
-               for ( var i = 0, length = elems.length; i < length; i++ ) {
-                       value = callback( elems[ i ], i, arg );
-
-                       if ( value != null ) {
-                               ret[ ret.length ] = value;
-                       }
-               }
-
-               return ret.concat.apply( [], ret );
-       },
-
-       // A global GUID counter for objects
-       guid: 1,
-
-       proxy: function( fn, proxy, thisObject ) {
-               if ( arguments.length === 2 ) {
-                       if ( typeof proxy === "string" ) {
-                               thisObject = fn;
-                               fn = thisObject[ proxy ];
-                               proxy = undefined;
-
-                       } else if ( proxy && !jQuery.isFunction( proxy ) ) {
-                               thisObject = proxy;
-                               proxy = undefined;
-                       }
-               }
-
-               if ( !proxy && fn ) {
-                       proxy = function() {
-                               return fn.apply( thisObject || this, arguments );
-                       };
-               }
-
-               // Set the guid of unique handler to the same of original handler, so it can be removed
-               if ( fn ) {
-                       proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++;
-               }
-
-               // So proxy can be declared as an argument
-               return proxy;
-       },
-
-       // Use of jQuery.browser is frowned upon.
-       // More details: http://docs.jquery.com/Utilities/jQuery.browser
-       uaMatch: function( ua ) {
-               ua = ua.toLowerCase();
-
-               var match = /(webkit)[ \/]([\w.]+)/.exec( ua ) ||
-                       /(opera)(?:.*version)?[ \/]([\w.]+)/.exec( ua ) ||
-                       /(msie) ([\w.]+)/.exec( ua ) ||
-                       !/compatible/.test( ua ) && /(mozilla)(?:.*? rv:([\w.]+))?/.exec( ua ) ||
-                       [];
-
-               return { browser: match[1] || "", version: match[2] || "0" };
-       },
-
-       browser: {}
-});
-
-browserMatch = jQuery.uaMatch( userAgent );
-if ( browserMatch.browser ) {
-       jQuery.browser[ browserMatch.browser ] = true;
-       jQuery.browser.version = browserMatch.version;
-}
-
-// Deprecated, use jQuery.browser.webkit instead
-if ( jQuery.browser.webkit ) {
-       jQuery.browser.safari = true;
-}
-
-if ( indexOf ) {
-       jQuery.inArray = function( elem, array ) {
-               return indexOf.call( array, elem );
-       };
-}
-
-// All jQuery objects should point back to these
-rootjQuery = jQuery(document);
-
-// Cleanup functions for the document ready method
-if ( document.addEventListener ) {
-       DOMContentLoaded = function() {
-               document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false );
-               jQuery.ready();
-       };
-
-} else if ( document.attachEvent ) {
-       DOMContentLoaded = function() {
-               // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
-               if ( document.readyState === "complete" ) {
-                       document.detachEvent( "onreadystatechange", DOMContentLoaded );
-                       jQuery.ready();
-               }
-       };
-}
-
-// The DOM ready check for Internet Explorer
-function doScrollCheck() {
-       if ( jQuery.isReady ) {
-               return;
-       }
-
-       try {
-               // If IE is used, use the trick by Diego Perini
-               // http://javascript.nwbox.com/IEContentLoaded/
-               document.documentElement.doScroll("left");
-       } catch( error ) {
-               setTimeout( doScrollCheck, 1 );
-               return;
-       }
-
-       // and execute any waiting functions
-       jQuery.ready();
-}
-
-function evalScript( i, elem ) {
-       if ( elem.src ) {
-               jQuery.ajax({
-                       url: elem.src,
-                       async: false,
-                       dataType: "script"
-               });
-       } else {
-               jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" );
-       }
-
-       if ( elem.parentNode ) {
-               elem.parentNode.removeChild( elem );
-       }
-}
-
-// Mutifunctional method to get and set values to a collection
-// The value/s can be optionally by executed if its a function
-function access( elems, key, value, exec, fn, pass ) {
-       var length = elems.length;
-       
-       // Setting many attributes
-       if ( typeof key === "object" ) {
-               for ( var k in key ) {
-                       access( elems, k, key[k], exec, fn, value );
-               }
-               return elems;
-       }
-       
-       // Setting one attribute
-       if ( value !== undefined ) {
-               // Optionally, function values get executed if exec is true
-               exec = !pass && exec && jQuery.isFunction(value);
-               
-               for ( var i = 0; i < length; i++ ) {
-                       fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass );
-               }
-               
-               return elems;
-       }
-       
-       // Getting an attribute
-       return length ? fn( elems[0], key ) : undefined;
-}
-
-function now() {
-       return (new Date).getTime();
-}
-(function() {
-
-       jQuery.support = {};
-
-       var root = document.documentElement,
-               script = document.createElement("script"),
-               div = document.createElement("div"),
-               id = "script" + now();
-
-       div.style.display = "none";
-       div.innerHTML = "   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
-
-       var all = div.getElementsByTagName("*"),
-               a = div.getElementsByTagName("a")[0];
-
-       // Can't get basic test support
-       if ( !all || !all.length || !a ) {
-               return;
-       }
-
-       jQuery.support = {
-               // IE strips leading whitespace when .innerHTML is used
-               leadingWhitespace: div.firstChild.nodeType === 3,
-
-               // Make sure that tbody elements aren't automatically inserted
-               // IE will insert them into empty tables
-               tbody: !div.getElementsByTagName("tbody").length,
-
-               // Make sure that link elements get serialized correctly by innerHTML
-               // This requires a wrapper element in IE
-               htmlSerialize: !!div.getElementsByTagName("link").length,
-
-               // Get the style information from getAttribute
-               // (IE uses .cssText insted)
-               style: /red/.test( a.getAttribute("style") ),
-
-               // Make sure that URLs aren't manipulated
-               // (IE normalizes it by default)
-               hrefNormalized: a.getAttribute("href") === "/a",
-
-               // Make sure that element opacity exists
-               // (IE uses filter instead)
-               // Use a regex to work around a WebKit issue. See #5145
-               opacity: /^0.55$/.test( a.style.opacity ),
-
-               // Verify style float existence
-               // (IE uses styleFloat instead of cssFloat)
-               cssFloat: !!a.style.cssFloat,
-
-               // Make sure that if no value is specified for a checkbox
-               // that it defaults to "on".
-               // (WebKit defaults to "" instead)
-               checkOn: div.getElementsByTagName("input")[0].value === "on",
-
-               // Make sure that a selected-by-default option has a working selected property.
-               // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
-               optSelected: document.createElement("select").appendChild( document.createElement("option") ).selected,
-
-               parentNode: div.removeChild( div.appendChild( document.createElement("div") ) ).parentNode === null,
-
-               // Will be defined later
-               deleteExpando: true,
-               checkClone: false,
-               scriptEval: false,
-               noCloneEvent: true,
-               boxModel: null
-       };
-
-       script.type = "text/javascript";
-       try {
-               script.appendChild( document.createTextNode( "window." + id + "=1;" ) );
-       } catch(e) {}
-
-       root.insertBefore( script, root.firstChild );
-
-       // Make sure that the execution of code works by injecting a script
-       // tag with appendChild/createTextNode
-       // (IE doesn't support this, fails, and uses .text instead)
-       if ( window[ id ] ) {
-               jQuery.support.scriptEval = true;
-               delete window[ id ];
-       }
-
-       // Test to see if it's possible to delete an expando from an element
-       // Fails in Internet Explorer
-       try {
-               delete script.test;
-       
-       } catch(e) {
-               jQuery.support.deleteExpando = false;
-       }
-
-       root.removeChild( script );
-
-       if ( div.attachEvent && div.fireEvent ) {
-               div.attachEvent("onclick", function click() {
-                       // Cloning a node shouldn't copy over any
-                       // bound event handlers (IE does this)
-                       jQuery.support.noCloneEvent = false;
-                       div.detachEvent("onclick", click);
-               });
-               div.cloneNode(true).fireEvent("onclick");
-       }
-
-       div = document.createElement("div");
-       div.innerHTML = "<input type='radio' name='radiotest' checked='checked'/>";
-
-       var fragment = document.createDocumentFragment();
-       fragment.appendChild( div.firstChild );
-
-       // WebKit doesn't clone checked state correctly in fragments
-       jQuery.support.checkClone = fragment.cloneNode(true).cloneNode(true).lastChild.checked;
-
-       // Figure out if the W3C box model works as expected
-       // document.body must exist before we can do this
-       jQuery(function() {
-               var div = document.createElement("div");
-               div.style.width = div.style.paddingLeft = "1px";
-
-               document.body.appendChild( div );
-               jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
-               document.body.removeChild( div ).style.display = 'none';
-
-               div = null;
-       });
-
-       // Technique from Juriy Zaytsev
-       // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
-       var eventSupported = function( eventName ) { 
-               var el = document.createElement("div"); 
-               eventName = "on" + eventName; 
-
-               var isSupported = (eventName in el); 
-               if ( !isSupported ) { 
-                       el.setAttribute(eventName, "return;"); 
-                       isSupported = typeof el[eventName] === "function"; 
-               } 
-               el = null; 
-
-               return isSupported; 
-       };
-       
-       jQuery.support.submitBubbles = eventSupported("submit");
-       jQuery.support.changeBubbles = eventSupported("change");
-
-       // release memory in IE
-       root = script = div = all = a = null;
-})();
-
-jQuery.props = {
-       "for": "htmlFor",
-       "class": "className",
-       readonly: "readOnly",
-       maxlength: "maxLength",
-       cellspacing: "cellSpacing",
-       rowspan: "rowSpan",
-       colspan: "colSpan",
-       tabindex: "tabIndex",
-       usemap: "useMap",
-       frameborder: "frameBorder"
-};
-var expando = "jQuery" + now(), uuid = 0, windowData = {};
-
-jQuery.extend({
-       cache: {},
-       
-       expando:expando,
-
-       // The following elements throw uncatchable exceptions if you
-       // attempt to add expando properties to them.
-       noData: {
-               "embed": true,
-               "object": true,
-               "applet": true
-       },
-
-       data: function( elem, name, data ) {
-               if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
-                       return;
-               }
-
-               elem = elem == window ?
-                       windowData :
-                       elem;
-
-               var id = elem[ expando ], cache = jQuery.cache, thisCache;
-
-               if ( !id && typeof name === "string" && data === undefined ) {
-                       return null;
-               }
-
-               // Compute a unique ID for the element
-               if ( !id ) { 
-                       id = ++uuid;
-               }
-
-               // Avoid generating a new cache unless none exists and we
-               // want to manipulate it.
-               if ( typeof name === "object" ) {
-                       elem[ expando ] = id;
-                       thisCache = cache[ id ] = jQuery.extend(true, {}, name);
-
-               } else if ( !cache[ id ] ) {
-                       elem[ expando ] = id;
-                       cache[ id ] = {};
-               }
-
-               thisCache = cache[ id ];
-
-               // Prevent overriding the named cache with undefined values
-               if ( data !== undefined ) {
-                       thisCache[ name ] = data;
-               }
-
-               return typeof name === "string" ? thisCache[ name ] : thisCache;
-       },
-
-       removeData: function( elem, name ) {
-               if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
-                       return;
-               }
-
-               elem = elem == window ?
-                       windowData :
-                       elem;
-
-               var id = elem[ expando ], cache = jQuery.cache, thisCache = cache[ id ];
-
-               // If we want to remove a specific section of the element's data
-               if ( name ) {
-                       if ( thisCache ) {
-                               // Remove the section of cache data
-                               delete thisCache[ name ];
-
-                               // If we've removed all the data, remove the element's cache
-                               if ( jQuery.isEmptyObject(thisCache) ) {
-                                       jQuery.removeData( elem );
-                               }
-                       }
-
-               // Otherwise, we want to remove all of the element's data
-               } else {
-                       if ( jQuery.support.deleteExpando ) {
-                               delete elem[ jQuery.expando ];
-
-                       } else if ( elem.removeAttribute ) {
-                               elem.removeAttribute( jQuery.expando );
-                       }
-
-                       // Completely remove the data cache
-                       delete cache[ id ];
-               }
-       }
-});
-
-jQuery.fn.extend({
-       data: function( key, value ) {
-               if ( typeof key === "undefined" && this.length ) {
-                       return jQuery.data( this[0] );
-
-               } else if ( typeof key === "object" ) {
-                       return this.each(function() {
-                               jQuery.data( this, key );
-                       });
-               }
-
-               var parts = key.split(".");
-               parts[1] = parts[1] ? "." + parts[1] : "";
-
-               if ( value === undefined ) {
-                       var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
-
-                       if ( data === undefined && this.length ) {
-                               data = jQuery.data( this[0], key );
-                       }
-                       return data === undefined && parts[1] ?
-                               this.data( parts[0] ) :
-                               data;
-               } else {
-                       return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function() {
-                               jQuery.data( this, key, value );
-                       });
-               }
-       },
-
-       removeData: function( key ) {
-               return this.each(function() {
-                       jQuery.removeData( this, key );
-               });
-       }
-});
-jQuery.extend({
-       queue: function( elem, type, data ) {
-               if ( !elem ) {
-                       return;
-               }
-
-               type = (type || "fx") + "queue";
-               var q = jQuery.data( elem, type );
-
-               // Speed up dequeue by getting out quickly if this is just a lookup
-               if ( !data ) {
-                       return q || [];
-               }
-
-               if ( !q || jQuery.isArray(data) ) {
-                       q = jQuery.data( elem, type, jQuery.makeArray(data) );
-
-               } else {
-                       q.push( data );
-               }
-
-               return q;
-       },
-
-       dequeue: function( elem, type ) {
-               type = type || "fx";
-
-               var queue = jQuery.queue( elem, type ), fn = queue.shift();
-
-               // If the fx queue is dequeued, always remove the progress sentinel
-               if ( fn === "inprogress" ) {
-                       fn = queue.shift();
-               }
-
-               if ( fn ) {
-                       // Add a progress sentinel to prevent the fx queue from being
-                       // automatically dequeued
-                       if ( type === "fx" ) {
-                               queue.unshift("inprogress");
-                       }
-
-                       fn.call(elem, function() {
-                               jQuery.dequeue(elem, type);
-                       });
-               }
-       }
-});
-
-jQuery.fn.extend({
-       queue: function( type, data ) {
-               if ( typeof type !== "string" ) {
-                       data = type;
-                       type = "fx";
-               }
-
-               if ( data === undefined ) {
-                       return jQuery.queue( this[0], type );
-               }
-               return this.each(function( i, elem ) {
-                       var queue = jQuery.queue( this, type, data );
-
-                       if ( type === "fx" && queue[0] !== "inprogress" ) {
-                               jQuery.dequeue( this, type );
-                       }
-               });
-       },
-       dequeue: function( type ) {
-               return this.each(function() {
-                       jQuery.dequeue( this, type );
-               });
-       },
-
-       // Based off of the plugin by Clint Helfers, with permission.
-       // http://blindsignals.com/index.php/2009/07/jquery-delay/
-       delay: function( time, type ) {
-               time = jQuery.fx ? jQuery.fx.speeds[time] || time : time;
-               type = type || "fx";
-
-               return this.queue( type, function() {
-                       var elem = this;
-                       setTimeout(function() {
-                               jQuery.dequeue( elem, type );
-                       }, time );
-               });
-       },
-
-       clearQueue: function( type ) {
-               return this.queue( type || "fx", [] );
-       }
-});
-var rclass = /[\n\t]/g,
-       rspace = /\s+/,
-       rreturn = /\r/g,
-       rspecialurl = /href|src|style/,
-       rtype = /(button|input)/i,
-       rfocusable = /(button|input|object|select|textarea)/i,
-       rclickable = /^(a|area)$/i,
-       rradiocheck = /radio|checkbox/;
-
-jQuery.fn.extend({
-       attr: function( name, value ) {
-               return access( this, name, value, true, jQuery.attr );
-       },
-
-       removeAttr: function( name, fn ) {
-               return this.each(function(){
-                       jQuery.attr( this, name, "" );
-                       if ( this.nodeType === 1 ) {
-                               this.removeAttribute( name );
-                       }
-               });
-       },
-
-       addClass: function( value ) {
-               if ( jQuery.isFunction(value) ) {
-                       return this.each(function(i) {
-                               var self = jQuery(this);
-                               self.addClass( value.call(this, i, self.attr("class")) );
-                       });
-               }
-
-               if ( value && typeof value === "string" ) {
-                       var classNames = (value || "").split( rspace );
-
-                       for ( var i = 0, l = this.length; i < l; i++ ) {
-                               var elem = this[i];
-
-                               if ( elem.nodeType === 1 ) {
-                                       if ( !elem.className ) {
-                                               elem.className = value;
-
-                                       } else {
-                                               var className = " " + elem.className + " ", setClass = elem.className;
-                                               for ( var c = 0, cl = classNames.length; c < cl; c++ ) {
-                                                       if ( className.indexOf( " " + classNames[c] + " " ) < 0 ) {
-                                                               setClass += " " + classNames[c];
-                                                       }
-                                               }
-                                               elem.className = jQuery.trim( setClass );
-                                       }
-                               }
-                       }
-               }
-
-               return this;
-       },
-
-       removeClass: function( value ) {
-               if ( jQuery.isFunction(value) ) {
-                       return this.each(function(i) {
-                               var self = jQuery(this);
-                               self.removeClass( value.call(this, i, self.attr("class")) );
-                       });
-               }
-
-               if ( (value && typeof value === "string") || value === undefined ) {
-                       var classNames = (value || "").split(rspace);
-
-                       for ( var i = 0, l = this.length; i < l; i++ ) {
-                               var elem = this[i];
-
-                               if ( elem.nodeType === 1 && elem.className ) {
-                                       if ( value ) {
-                                               var className = (" " + elem.className + " ").replace(rclass, " ");
-                                               for ( var c = 0, cl = classNames.length; c < cl; c++ ) {
-                                                       className = className.replace(" " + classNames[c] + " ", " ");
-                                               }
-                                               elem.className = jQuery.trim( className );
-
-                                       } else {
-                                               elem.className = "";
-                                       }
-                               }
-                       }
-               }
-
-               return this;
-       },
-
-       toggleClass: function( value, stateVal ) {
-               var type = typeof value, isBool = typeof stateVal === "boolean";
-
-               if ( jQuery.isFunction( value ) ) {
-                       return this.each(function(i) {
-                               var self = jQuery(this);
-                               self.toggleClass( value.call(this, i, self.attr("class"), stateVal), stateVal );
-                       });
-               }
-
-               return this.each(function() {
-                       if ( type === "string" ) {
-                               // toggle individual class names
-                               var className, i = 0, self = jQuery(this),
-                                       state = stateVal,
-                                       classNames = value.split( rspace );
-
-                               while ( (className = classNames[ i++ ]) ) {
-                                       // check each className given, space seperated list
-                                       state = isBool ? state : !self.hasClass( className );
-                                       self[ state ? "addClass" : "removeClass" ]( className );
-                               }
-
-                       } else if ( type === "undefined" || type === "boolean" ) {
-                               if ( this.className ) {
-                                       // store className if set
-                                       jQuery.data( this, "__className__", this.className );
-                               }
-
-                               // toggle whole className
-                               this.className = this.className || value === false ? "" : jQuery.data( this, "__className__" ) || "";
-                       }
-               });
-       },
-
-       hasClass: function( selector ) {
-               var className = " " + selector + " ";
-               for ( var i = 0, l = this.length; i < l; i++ ) {
-                       if ( (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) {
-                               return true;
-                       }
-               }
-
-               return false;
-       },
-
-       val: function( value ) {
-               if ( value === undefined ) {
-                       var elem = this[0];
-
-                       if ( elem ) {
-                               if ( jQuery.nodeName( elem, "option" ) ) {
-                                       return (elem.attributes.value || {}).specified ? elem.value : elem.text;
-                               }
-
-                               // We need to handle select boxes special
-                               if ( jQuery.nodeName( elem, "select" ) ) {
-                                       var index = elem.selectedIndex,
-                                               values = [],
-                                               options = elem.options,
-                                               one = elem.type === "select-one";
-
-                                       // Nothing was selected
-                                       if ( index < 0 ) {
-                                               return null;
-                                       }
-
-                                       // Loop through all the selected options
-                                       for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {
-                                               var option = options[ i ];
-
-                                               if ( option.selected ) {
-                                                       // Get the specifc value for the option
-                                                       value = jQuery(option).val();
-
-                                                       // We don't need an array for one selects
-                                                       if ( one ) {
-                                                               return value;
-                                                       }
-
-                                                       // Multi-Selects return an array
-                                                       values.push( value );
-                                               }
-                                       }
-
-                                       return values;
-                               }
-
-                               // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified
-                               if ( rradiocheck.test( elem.type ) && !jQuery.support.checkOn ) {
-                                       return elem.getAttribute("value") === null ? "on" : elem.value;
-                               }
-                               
-
-                               // Everything else, we just grab the value
-                               return (elem.value || "").replace(rreturn, "");
-
-                       }
-
-                       return undefined;
-               }
-
-               var isFunction = jQuery.isFunction(value);
-
-               return this.each(function(i) {
-                       var self = jQuery(this), val = value;
-
-                       if ( this.nodeType !== 1 ) {
-                               return;
-                       }
-
-                       if ( isFunction ) {
-                               val = value.call(this, i, self.val());
-                       }
-
-                       // Typecast each time if the value is a Function and the appended
-                       // value is therefore different each time.
-                       if ( typeof val === "number" ) {
-                               val += "";
-                       }
-
-                       if ( jQuery.isArray(val) && rradiocheck.test( this.type ) ) {
-                               this.checked = jQuery.inArray( self.val(), val ) >= 0;
-
-                       } else if ( jQuery.nodeName( this, "select" ) ) {
-                               var values = jQuery.makeArray(val);
-
-                               jQuery( "option", this ).each(function() {
-                                       this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0;
-                               });
-
-                               if ( !values.length ) {
-                                       this.selectedIndex = -1;
-                               }
-
-                       } else {
-                               this.value = val;
-                       }
-               });
-       }
-});
-
-jQuery.extend({
-       attrFn: {
-               val: true,
-               css: true,
-               html: true,
-               text: true,
-               data: true,
-               width: true,
-               height: true,
-               offset: true
-       },
-               
-       attr: function( elem, name, value, pass ) {
-               // don't set attributes on text and comment nodes
-               if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) {
-                       return undefined;
-               }
-
-               if ( pass && name in jQuery.attrFn ) {
-                       return jQuery(elem)[name](value);
-               }
-
-               var notxml = elem.nodeType !== 1 || !jQuery.isXMLDoc( elem ),
-                       // Whether we are setting (or getting)
-                       set = value !== undefined;
-
-               // Try to normalize/fix the name
-               name = notxml && jQuery.props[ name ] || name;
-
-               // Only do all the following if this is a node (faster for style)
-               if ( elem.nodeType === 1 ) {
-                       // These attributes require special treatment
-                       var special = rspecialurl.test( name );
-
-                       // Safari mis-reports the default selected property of an option
-                       // Accessing the parent's selectedIndex property fixes it
-                       if ( name === "selected" && !jQuery.support.optSelected ) {
-                               var parent = elem.parentNode;
-                               if ( parent ) {
-                                       parent.selectedIndex;
-       
-                                       // Make sure that it also works with optgroups, see #5701
-                                       if ( parent.parentNode ) {
-                                               parent.parentNode.selectedIndex;
-                                       }
-                               }
-                       }
-
-                       // If applicable, access the attribute via the DOM 0 way
-                       if ( name in elem && notxml && !special ) {
-                               if ( set ) {
-                                       // We can't allow the type property to be changed (since it causes problems in IE)
-                                       if ( name === "type" && rtype.test( elem.nodeName ) && elem.parentNode ) {
-                                               jQuery.error( "type property can't be changed" );
-                                       }
-
-                                       elem[ name ] = value;
-                               }
-
-                               // browsers index elements by id/name on forms, give priority to attributes.
-                               if ( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) ) {
-                                       return elem.getAttributeNode( name ).nodeValue;
-                               }
-
-                               // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
-                               // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
-                               if ( name === "tabIndex" ) {
-                                       var attributeNode = elem.getAttributeNode( "tabIndex" );
-
-                                       return attributeNode && attributeNode.specified ?
-                                               attributeNode.value :
-                                               rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ?
-                                                       0 :
-                                                       undefined;
-                               }
-
-                               return elem[ name ];
-                       }
-
-                       if ( !jQuery.support.style && notxml && name === "style" ) {
-                               if ( set ) {
-                                       elem.style.cssText = "" + value;
-                               }
-
-                               return elem.style.cssText;
-                       }
-
-                       if ( set ) {
-                               // convert the value to a string (all browsers do this but IE) see #1070
-                               elem.setAttribute( name, "" + value );
-                       }
-
-                       var attr = !jQuery.support.hrefNormalized && notxml && special ?
-                                       // Some attributes require a special call on IE
-                                       elem.getAttribute( name, 2 ) :
-                                       elem.getAttribute( name );
-
-                       // Non-existent attributes return null, we normalize to undefined
-                       return attr === null ? undefined : attr;
-               }
-
-               // elem is actually elem.style ... set the style
-               // Using attr for specific style information is now deprecated. Use style instead.
-               return jQuery.style( elem, name, value );
-       }
-});
-var rnamespaces = /\.(.*)$/,
-       fcleanup = function( nm ) {
-               return nm.replace(/[^\w\s\.\|`]/g, function( ch ) {
-                       return "\\" + ch;
-               });
-       };
-
-/*
- * A number of helper functions used for managing events.
- * Many of the ideas behind this code originated from
- * Dean Edwards' addEvent library.
- */
-jQuery.event = {
-
-       // Bind an event to an element
-       // Original by Dean Edwards
-       add: function( elem, types, handler, data ) {
-               if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
-                       return;
-               }
-
-               // For whatever reason, IE has trouble passing the window object
-               // around, causing it to be cloned in the process
-               if ( elem.setInterval && ( elem !== window && !elem.frameElement ) ) {
-                       elem = window;
-               }
-
-               var handleObjIn, handleObj;
-
-               if ( handler.handler ) {
-                       handleObjIn = handler;
-                       handler = handleObjIn.handler;
-               }
-
-               // Make sure that the function being executed has a unique ID
-               if ( !handler.guid ) {
-                       handler.guid = jQuery.guid++;
-               }
-
-               // Init the element's event structure
-               var elemData = jQuery.data( elem );
-
-               // If no elemData is found then we must be trying to bind to one of the
-               // banned noData elements
-               if ( !elemData ) {
-                       return;
-               }
-
-               var events = elemData.events = elemData.events || {},
-                       eventHandle = elemData.handle, eventHandle;
-
-               if ( !eventHandle ) {
-                       elemData.handle = eventHandle = function() {
-                               // Handle the second event of a trigger and when
-                               // an event is called after a page has unloaded
-                               return typeof jQuery !== "undefined" && !jQuery.event.triggered ?
-                                       jQuery.event.handle.apply( eventHandle.elem, arguments ) :
-                                       undefined;
-                       };
-               }
-
-               // Add elem as a property of the handle function
-               // This is to prevent a memory leak with non-native events in IE.
-               eventHandle.elem = elem;
-
-               // Handle multiple events separated by a space
-               // jQuery(...).bind("mouseover mouseout", fn);
-               types = types.split(" ");
-
-               var type, i = 0, namespaces;
-
-               while ( (type = types[ i++ ]) ) {
-                       handleObj = handleObjIn ?
-                               jQuery.extend({}, handleObjIn) :
-                               { handler: handler, data: data };
-
-                       // Namespaced event handlers
-                       if ( type.indexOf(".") > -1 ) {
-                               namespaces = type.split(".");
-                               type = namespaces.shift();
-                               handleObj.namespace = namespaces.slice(0).sort().join(".");
-
-                       } else {
-                               namespaces = [];
-                               handleObj.namespace = "";
-                       }
-
-                       handleObj.type = type;
-                       handleObj.guid = handler.guid;
-
-                       // Get the current list of functions bound to this event
-                       var handlers = events[ type ],
-                               special = jQuery.event.special[ type ] || {};
-
-                       // Init the event handler queue
-                       if ( !handlers ) {
-                               handlers = events[ type ] = [];
-
-                               // Check for a special event handler
-                               // Only use addEventListener/attachEvent if the special
-                               // events handler returns false
-                               if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
-                                       // Bind the global event handler to the element
-                                       if ( elem.addEventListener ) {
-                                               elem.addEventListener( type, eventHandle, false );
-
-                                       } else if ( elem.attachEvent ) {
-                                               elem.attachEvent( "on" + type, eventHandle );
-                                       }
-                               }
-                       }
-                       
-                       if ( special.add ) { 
-                               special.add.call( elem, handleObj ); 
-
-                               if ( !handleObj.handler.guid ) {
-                                       handleObj.handler.guid = handler.guid;
-                               }
-                       }
-
-                       // Add the function to the element's handler list
-                       handlers.push( handleObj );
-
-                       // Keep track of which events have been used, for global triggering
-                       jQuery.event.global[ type ] = true;
-               }
-
-               // Nullify elem to prevent memory leaks in IE
-               elem = null;
-       },
-
-       global: {},
-
-       // Detach an event or set of events from an element
-       remove: function( elem, types, handler, pos ) {
-               // don't do events on text and comment nodes
-               if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
-                       return;
-               }
-
-               var ret, type, fn, i = 0, all, namespaces, namespace, special, eventType, handleObj, origType,
-                       elemData = jQuery.data( elem ),
-                       events = elemData && elemData.events;
-
-               if ( !elemData || !events ) {
-                       return;
-               }
-
-               // types is actually an event object here
-               if ( types && types.type ) {
-                       handler = types.handler;
-                       types = types.type;
-               }
-
-               // Unbind all events for the element
-               if ( !types || typeof types === "string" && types.charAt(0) === "." ) {
-                       types = types || "";
-
-                       for ( type in events ) {
-                               jQuery.event.remove( elem, type + types );
-                       }
-
-                       return;
-               }
-
-               // Handle multiple events separated by a space
-               // jQuery(...).unbind("mouseover mouseout", fn);
-               types = types.split(" ");
-
-               while ( (type = types[ i++ ]) ) {
-                       origType = type;
-                       handleObj = null;
-                       all = type.indexOf(".") < 0;
-                       namespaces = [];
-
-                       if ( !all ) {
-                               // Namespaced event handlers
-                               namespaces = type.split(".");
-                               type = namespaces.shift();
-
-                               namespace = new RegExp("(^|\\.)" + 
-                                       jQuery.map( namespaces.slice(0).sort(), fcleanup ).join("\\.(?:.*\\.)?") + "(\\.|$)")
-                       }
-
-                       eventType = events[ type ];
-
-                       if ( !eventType ) {
-                               continue;
-                       }
-
-                       if ( !handler ) {
-                               for ( var j = 0; j < eventType.length; j++ ) {
-                                       handleObj = eventType[ j ];
-
-                                       if ( all || namespace.test( handleObj.namespace ) ) {
-                                               jQuery.event.remove( elem, origType, handleObj.handler, j );
-                                               eventType.splice( j--, 1 );
-                                       }
-                               }
-
-                               continue;
-                       }
-
-                       special = jQuery.event.special[ type ] || {};
-
-                       for ( var j = pos || 0; j < eventType.length; j++ ) {
-                               handleObj = eventType[ j ];
-
-                               if ( handler.guid === handleObj.guid ) {
-                                       // remove the given handler for the given type
-                                       if ( all || namespace.test( handleObj.namespace ) ) {
-                                               if ( pos == null ) {
-                                                       eventType.splice( j--, 1 );
-                                               }
-
-                                               if ( special.remove ) {
-                                                       special.remove.call( elem, handleObj );
-                                               }
-                                       }
-
-                                       if ( pos != null ) {
-                                               break;
-                                       }
-                               }
-                       }
-
-                       // remove generic event handler if no more handlers exist
-                       if ( eventType.length === 0 || pos != null && eventType.length === 1 ) {
-                               if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) {
-                                       removeEvent( elem, type, elemData.handle );
-                               }
-
-                               ret = null;
-                               delete events[ type ];
-                       }
-               }
-
-               // Remove the expando if it's no longer used
-               if ( jQuery.isEmptyObject( events ) ) {
-                       var handle = elemData.handle;
-                       if ( handle ) {
-                               handle.elem = null;
-                       }
-
-                       delete elemData.events;
-                       delete elemData.handle;
-
-                       if ( jQuery.isEmptyObject( elemData ) ) {
-                               jQuery.removeData( elem );
-                       }
-               }
-       },
-
-       // bubbling is internal
-       trigger: function( event, data, elem /*, bubbling */ ) {
-               // Event object or event type
-               var type = event.type || event,
-                       bubbling = arguments[3];
-
-               if ( !bubbling ) {
-                       event = typeof event === "object" ?
-                               // jQuery.Event object
-                               event[expando] ? event :
-                               // Object literal
-                               jQuery.extend( jQuery.Event(type), event ) :
-                               // Just the event type (string)
-                               jQuery.Event(type);
-
-                       if ( type.indexOf("!") >= 0 ) {
-                               event.type = type = type.slice(0, -1);
-                               event.exclusive = true;
-                       }
-
-                       // Handle a global trigger
-                       if ( !elem ) {
-                               // Don't bubble custom events when global (to avoid too much overhead)
-                               event.stopPropagation();
-
-                               // Only trigger if we've ever bound an event for it
-                               if ( jQuery.event.global[ type ] ) {
-                                       jQuery.each( jQuery.cache, function() {
-                                               if ( this.events && this.events[type] ) {
-                                                       jQuery.event.trigger( event, data, this.handle.elem );
-                                               }
-                                       });
-                               }
-                       }
-
-                       // Handle triggering a single element
-
-                       // don't do events on text and comment nodes
-                       if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) {
-                               return undefined;
-                       }
-
-                       // Clean up in case it is reused
-                       event.result = undefined;
-                       event.target = elem;
-
-                       // Clone the incoming data, if any
-                       data = jQuery.makeArray( data );
-                       data.unshift( event );
-               }
-
-               event.currentTarget = elem;
-
-               // Trigger the event, it is assumed that "handle" is a function
-               var handle = jQuery.data( elem, "handle" );
-               if ( handle ) {
-                       handle.apply( elem, data );
-               }
-
-               var parent = elem.parentNode || elem.ownerDocument;
-
-               // Trigger an inline bound script
-               try {
-                       if ( !(elem && elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()]) ) {
-                               if ( elem[ "on" + type ] && elem[ "on" + type ].apply( elem, data ) === false ) {
-                                       event.result = false;
-                               }
-                       }
-
-               // prevent IE from throwing an error for some elements with some event types, see #3533
-               } catch (e) {}
-
-               if ( !event.isPropagationStopped() && parent ) {
-                       jQuery.event.trigger( event, data, parent, true );
-
-               } else if ( !event.isDefaultPrevented() ) {
-                       var target = event.target, old,
-                               isClick = jQuery.nodeName(target, "a") && type === "click",
-                               special = jQuery.event.special[ type ] || {};
-
-                       if ( (!special._default || special._default.call( elem, event ) === false) && 
-                               !isClick && !(target && target.nodeName && jQuery.noData[target.nodeName.toLowerCase()]) ) {
-
-                               try {
-                                       if ( target[ type ] ) {
-                                               // Make sure that we don't accidentally re-trigger the onFOO events
-                                               old = target[ "on" + type ];
-
-                                               if ( old ) {
-                                                       target[ "on" + type ] = null;
-                                               }
-
-                                               jQuery.event.triggered = true;
-                                               target[ type ]();
-                                       }
-
-                               // prevent IE from throwing an error for some elements with some event types, see #3533
-                               } catch (e) {}
-
-                               if ( old ) {
-                                       target[ "on" + type ] = old;
-                               }
-
-                               jQuery.event.triggered = false;
-                       }
-               }
-       },
-
-       handle: function( event ) {
-               var all, handlers, namespaces, namespace, events;
-
-               event = arguments[0] = jQuery.event.fix( event || window.event );
-               event.currentTarget = this;
-
-               // Namespaced event handlers
-               all = event.type.indexOf(".") < 0 && !event.exclusive;
-
-               if ( !all ) {
-                       namespaces = event.type.split(".");
-                       event.type = namespaces.shift();
-                       namespace = new RegExp("(^|\\.)" + namespaces.slice(0).sort().join("\\.(?:.*\\.)?") + "(\\.|$)");
-               }
-
-               var events = jQuery.data(this, "events"), handlers = events[ event.type ];
-
-               if ( events && handlers ) {
-                       // Clone the handlers to prevent manipulation
-                       handlers = handlers.slice(0);
-
-                       for ( var j = 0, l = handlers.length; j < l; j++ ) {
-                               var handleObj = handlers[ j ];
-
-                               // Filter the functions by class
-                               if ( all || namespace.test( handleObj.namespace ) ) {
-                                       // Pass in a reference to the handler function itself
-                                       // So that we can later remove it
-                                       event.handler = handleObj.handler;
-                                       event.data = handleObj.data;
-                                       event.handleObj = handleObj;
-       
-                                       var ret = handleObj.handler.apply( this, arguments );
-
-                                       if ( ret !== undefined ) {
-                                               event.result = ret;
-                                               if ( ret === false ) {
-                                                       event.preventDefault();
-                                                       event.stopPropagation();
-                                               }
-                                       }
-
-                                       if ( event.isImmediatePropagationStopped() ) {
-                                               break;
-                                       }
-                               }
-                       }
-               }
-
-               return event.result;
-       },
-
-       props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
-
-       fix: function( event ) {
-               if ( event[ expando ] ) {
-                       return event;
-               }
-
-               // store a copy of the original event object
-               // and "clone" to set read-only properties
-               var originalEvent = event;
-               event = jQuery.Event( originalEvent );
-
-               for ( var i = this.props.length, prop; i; ) {
-                       prop = this.props[ --i ];
-                       event[ prop ] = originalEvent[ prop ];
-               }
-
-               // Fix target property, if necessary
-               if ( !event.target ) {
-                       event.target = event.srcElement || document; // Fixes #1925 where srcElement might not be defined either
-               }
-
-               // check if target is a textnode (safari)
-               if ( event.target.nodeType === 3 ) {
-                       event.target = event.target.parentNode;
-               }
-
-               // Add relatedTarget, if necessary
-               if ( !event.relatedTarget && event.fromElement ) {
-                       event.relatedTarget = event.fromElement === event.target ? event.toElement : event.fromElement;
-               }
-
-               // Calculate pageX/Y if missing and clientX/Y available
-               if ( event.pageX == null && event.clientX != null ) {
-                       var doc = document.documentElement, body = document.body;
-                       event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0);
-                       event.pageY = event.clientY + (doc && doc.scrollTop  || body && body.scrollTop  || 0) - (doc && doc.clientTop  || body && body.clientTop  || 0);
-               }
-
-               // Add which for key events
-               if ( !event.which && ((event.charCode || event.charCode === 0) ? event.charCode : event.keyCode) ) {
-                       event.which = event.charCode || event.keyCode;
-               }
-
-               // Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs)
-               if ( !event.metaKey && event.ctrlKey ) {
-                       event.metaKey = event.ctrlKey;
-               }
-
-               // Add which for click: 1 === left; 2 === middle; 3 === right
-               // Note: button is not normalized, so don't use it
-               if ( !event.which && event.button !== undefined ) {
-                       event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) ));
-               }
-
-               return event;
-       },
-
-       // Deprecated, use jQuery.guid instead
-       guid: 1E8,
-
-       // Deprecated, use jQuery.proxy instead
-       proxy: jQuery.proxy,
-
-       special: {
-               ready: {
-                       // Make sure the ready event is setup
-                       setup: jQuery.bindReady,
-                       teardown: jQuery.noop
-               },
-
-               live: {
-                       add: function( handleObj ) {
-                               jQuery.event.add( this, handleObj.origType, jQuery.extend({}, handleObj, {handler: liveHandler}) ); 
-                       },
-
-                       remove: function( handleObj ) {
-                               var remove = true,
-                                       type = handleObj.origType.replace(rnamespaces, "");
-                               
-                               jQuery.each( jQuery.data(this, "events").live || [], function() {
-                                       if ( type === this.origType.replace(rnamespaces, "") ) {
-                                               remove = false;
-                                               return false;
-                                       }
-                               });
-
-                               if ( remove ) {
-                                       jQuery.event.remove( this, handleObj.origType, liveHandler );
-                               }
-                       }
-
-               },
-
-               beforeunload: {
-                       setup: function( data, namespaces, eventHandle ) {
-                               // We only want to do this special case on windows
-                               if ( this.setInterval ) {
-                                       this.onbeforeunload = eventHandle;
-                               }
-
-                               return false;
-                       },
-                       teardown: function( namespaces, eventHandle ) {
-                               if ( this.onbeforeunload === eventHandle ) {
-                                       this.onbeforeunload = null;
-                               }
-                       }
-               }
-       }
-};
-
-var removeEvent = document.removeEventListener ?
-       function( elem, type, handle ) {
-               elem.removeEventListener( type, handle, false );
-       } : 
-       function( elem, type, handle ) {
-               elem.detachEvent( "on" + type, handle );
-       };
-
-jQuery.Event = function( src ) {
-       // Allow instantiation without the 'new' keyword
-       if ( !this.preventDefault ) {
-               return new jQuery.Event( src );
-       }
-
-       // Event object
-       if ( src && src.type ) {
-               this.originalEvent = src;
-               this.type = src.type;
-       // Event type
-       } else {
-               this.type = src;
-       }
-
-       // timeStamp is buggy for some events on Firefox(#3843)
-       // So we won't rely on the native value
-       this.timeStamp = now();
-
-       // Mark it as fixed
-       this[ expando ] = true;
-};
-
-function returnFalse() {
-       return false;
-}
-function returnTrue() {
-       return true;
-}
-
-// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
-// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
-jQuery.Event.prototype = {
-       preventDefault: function() {
-               this.isDefaultPrevented = returnTrue;
-
-               var e = this.originalEvent;
-               if ( !e ) {
-                       return;
-               }
-               
-               // if preventDefault exists run it on the original event
-               if ( e.preventDefault ) {
-                       e.preventDefault();
-               }
-               // otherwise set the returnValue property of the original event to false (IE)
-               e.returnValue = false;
-       },
-       stopPropagation: function() {
-               this.isPropagationStopped = returnTrue;
-
-               var e = this.originalEvent;
-               if ( !e ) {
-                       return;
-               }
-               // if stopPropagation exists run it on the original event
-               if ( e.stopPropagation ) {
-                       e.stopPropagation();
-               }
-               // otherwise set the cancelBubble property of the original event to true (IE)
-               e.cancelBubble = true;
-       },
-       stopImmediatePropagation: function() {
-               this.isImmediatePropagationStopped = returnTrue;
-               this.stopPropagation();
-       },
-       isDefaultPrevented: returnFalse,
-       isPropagationStopped: returnFalse,
-       isImmediatePropagationStopped: returnFalse
-};
-
-// Checks if an event happened on an element within another element
-// Used in jQuery.event.special.mouseenter and mouseleave handlers
-var withinElement = function( event ) {
-       // Check if mouse(over|out) are still within the same parent element
-       var parent = event.relatedTarget;
-
-       // Firefox sometimes assigns relatedTarget a XUL element
-       // which we cannot access the parentNode property of
-       try {
-               // Traverse up the tree
-               while ( parent && parent !== this ) {
-                       parent = parent.parentNode;
-               }
-
-               if ( parent !== this ) {
-                       // set the correct event type
-                       event.type = event.data;
-
-                       // handle event if we actually just moused on to a non sub-element
-                       jQuery.event.handle.apply( this, arguments );
-               }
-
-       // assuming we've left the element since we most likely mousedover a xul element
-       } catch(e) { }
-},
-
-// In case of event delegation, we only need to rename the event.type,
-// liveHandler will take care of the rest.
-delegate = function( event ) {
-       event.type = event.data;
-       jQuery.event.handle.apply( this, arguments );
-};
-
-// Create mouseenter and mouseleave events
-jQuery.each({
-       mouseenter: "mouseover",
-       mouseleave: "mouseout"
-}, function( orig, fix ) {
-       jQuery.event.special[ orig ] = {
-               setup: function( data ) {
-                       jQuery.event.add( this, fix, data && data.selector ? delegate : withinElement, orig );
-               },
-               teardown: function( data ) {
-                       jQuery.event.remove( this, fix, data && data.selector ? delegate : withinElement );
-               }
-       };
-});
-
-// submit delegation
-if ( !jQuery.support.submitBubbles ) {
-
-       jQuery.event.special.submit = {
-               setup: function( data, namespaces ) {
-                       if ( this.nodeName.toLowerCase() !== "form" ) {
-                               jQuery.event.add(this, "click.specialSubmit", function( e ) {
-                                       var elem = e.target, type = elem.type;
-
-                                       if ( (type === "submit" || type === "image") && jQuery( elem ).closest("form").length ) {
-                                               return trigger( "submit", this, arguments );
-                                       }
-                               });
-        
-                               jQuery.event.add(this, "keypress.specialSubmit", function( e ) {
-                                       var elem = e.target, type = elem.type;
-
-                                       if ( (type === "text" || type === "password") && jQuery( elem ).closest("form").length && e.keyCode === 13 ) {
-                                               return trigger( "submit", this, arguments );
-                                       }
-                               });
-
-                       } else {
-                               return false;
-                       }
-               },
-
-               teardown: function( namespaces ) {
-                       jQuery.event.remove( this, ".specialSubmit" );
-               }
-       };
-
-}
-
-// change delegation, happens here so we have bind.
-if ( !jQuery.support.changeBubbles ) {
-
-       var formElems = /textarea|input|select/i,
-
-       changeFilters,
-
-       getVal = function( elem ) {
-               var type = elem.type, val = elem.value;
-
-               if ( type === "radio" || type === "checkbox" ) {
-                       val = elem.checked;
-
-               } else if ( type === "select-multiple" ) {
-                       val = elem.selectedIndex > -1 ?
-                               jQuery.map( elem.options, function( elem ) {
-                                       return elem.selected;
-                               }).join("-") :
-                               "";
-
-               } else if ( elem.nodeName.toLowerCase() === "select" ) {
-                       val = elem.selectedIndex;
-               }
-
-               return val;
-       },
-
-       testChange = function testChange( e ) {
-               var elem = e.target, data, val;
-
-               if ( !formElems.test( elem.nodeName ) || elem.readOnly ) {
-                       return;
-               }
-
-               data = jQuery.data( elem, "_change_data" );
-               val = getVal(elem);
-
-               // the current data will be also retrieved by beforeactivate
-               if ( e.type !== "focusout" || elem.type !== "radio" ) {
-                       jQuery.data( elem, "_change_data", val );
-               }
-               
-               if ( data === undefined || val === data ) {
-                       return;
-               }
-
-               if ( data != null || val ) {
-                       e.type = "change";
-                       return jQuery.event.trigger( e, arguments[1], elem );
-               }
-       };
-
-       jQuery.event.special.change = {
-               filters: {
-                       focusout: testChange, 
-
-                       click: function( e ) {
-                               var elem = e.target, type = elem.type;
-
-                               if ( type === "radio" || type === "checkbox" || elem.nodeName.toLowerCase() === "select" ) {
-                                       return testChange.call( this, e );
-                               }
-                       },
-
-                       // Change has to be called before submit
-                       // Keydown will be called before keypress, which is used in submit-event delegation
-                       keydown: function( e ) {
-                               var elem = e.target, type = elem.type;
-
-                               if ( (e.keyCode === 13 && elem.nodeName.toLowerCase() !== "textarea") ||
-                                       (e.keyCode === 32 && (type === "checkbox" || type === "radio")) ||
-                                       type === "select-multiple" ) {
-                                       return testChange.call( this, e );
-                               }
-                       },
-
-                       // Beforeactivate happens also before the previous element is blurred
-                       // with this event you can't trigger a change event, but you can store
-                       // information/focus[in] is not needed anymore
-                       beforeactivate: function( e ) {
-                               var elem = e.target;
-                               jQuery.data( elem, "_change_data", getVal(elem) );
-                       }
-               },
-
-               setup: function( data, namespaces ) {
-                       if ( this.type === "file" ) {
-                               return false;
-                       }
-
-                       for ( var type in changeFilters ) {
-                               jQuery.event.add( this, type + ".specialChange", changeFilters[type] );
-                       }
-
-                       return formElems.test( this.nodeName );
-               },
-
-               teardown: function( namespaces ) {
-                       jQuery.event.remove( this, ".specialChange" );
-
-                       return formElems.test( this.nodeName );
-               }
-       };
-
-       changeFilters = jQuery.event.special.change.filters;
-}
-
-function trigger( type, elem, args ) {
-       args[0].type = type;
-       return jQuery.event.handle.apply( elem, args );
-}
-
-// Create "bubbling" focus and blur events
-if ( document.addEventListener ) {
-       jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {
-               jQuery.event.special[ fix ] = {
-                       setup: function() {
-                               this.addEventListener( orig, handler, true );
-                       }, 
-                       teardown: function() { 
-                               this.removeEventListener( orig, handler, true );
-                       }
-               };
-
-               function handler( e ) { 
-                       e = jQuery.event.fix( e );
-                       e.type = fix;
-                       return jQuery.event.handle.call( this, e );
-               }
-       });
-}
-
-jQuery.each(["bind", "one"], function( i, name ) {
-       jQuery.fn[ name ] = function( type, data, fn ) {
-               // Handle object literals
-               if ( typeof type === "object" ) {
-                       for ( var key in type ) {
-                               this[ name ](key, data, type[key], fn);
-                       }
-                       return this;
-               }
-               
-               if ( jQuery.isFunction( data ) ) {
-                       fn = data;
-                       data = undefined;
-               }
-
-               var handler = name === "one" ? jQuery.proxy( fn, function( event ) {
-                       jQuery( this ).unbind( event, handler );
-                       return fn.apply( this, arguments );
-               }) : fn;
-
-               if ( type === "unload" && name !== "one" ) {
-                       this.one( type, data, fn );
-
-               } else {
-                       for ( var i = 0, l = this.length; i < l; i++ ) {
-                               jQuery.event.add( this[i], type, handler, data );
-                       }
-               }
-
-               return this;
-       };
-});
-
-jQuery.fn.extend({
-       unbind: function( type, fn ) {
-               // Handle object literals
-               if ( typeof type === "object" && !type.preventDefault ) {
-                       for ( var key in type ) {
-                               this.unbind(key, type[key]);
-                       }
-
-               } else {
-                       for ( var i = 0, l = this.length; i < l; i++ ) {
-                               jQuery.event.remove( this[i], type, fn );
-                       }
-               }
-
-               return this;
-       },
-       
-       delegate: function( selector, types, data, fn ) {
-               return this.live( types, data, fn, selector );
-       },
-       
-       undelegate: function( selector, types, fn ) {
-               if ( arguments.length === 0 ) {
-                               return this.unbind( "live" );
-               
-               } else {
-                       return this.die( types, null, fn, selector );
-               }
-       },
-       
-       trigger: function( type, data ) {
-               return this.each(function() {
-                       jQuery.event.trigger( type, data, this );
-               });
-       },
-
-       triggerHandler: function( type, data ) {
-               if ( this[0] ) {
-                       var event = jQuery.Event( type );
-                       event.preventDefault();
-                       event.stopPropagation();
-                       jQuery.event.trigger( event, data, this[0] );
-                       return event.result;
-               }
-       },
-
-       toggle: function( fn ) {
-               // Save reference to arguments for access in closure
-               var args = arguments, i = 1;
-
-               // link all the functions, so any of them can unbind this click handler
-               while ( i < args.length ) {
-                       jQuery.proxy( fn, args[ i++ ] );
-               }
-
-               return this.click( jQuery.proxy( fn, function( event ) {
-                       // Figure out which function to execute
-                       var lastToggle = ( jQuery.data( this, "lastToggle" + fn.guid ) || 0 ) % i;
-                       jQuery.data( this, "lastToggle" + fn.guid, lastToggle + 1 );
-
-                       // Make sure that clicks stop
-                       event.preventDefault();
-
-                       // and execute the function
-                       return args[ lastToggle ].apply( this, arguments ) || false;
-               }));
-       },
-
-       hover: function( fnOver, fnOut ) {
-               return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
-       }
-});
-
-var liveMap = {
-       focus: "focusin",
-       blur: "focusout",
-       mouseenter: "mouseover",
-       mouseleave: "mouseout"
-};
-
-jQuery.each(["live", "die"], function( i, name ) {
-       jQuery.fn[ name ] = function( types, data, fn, origSelector /* Internal Use Only */ ) {
-               var type, i = 0, match, namespaces, preType,
-                       selector = origSelector || this.selector,
-                       context = origSelector ? this : jQuery( this.context );
-
-               if ( jQuery.isFunction( data ) ) {
-                       fn = data;
-                       data = undefined;
-               }
-
-               types = (types || "").split(" ");
-
-               while ( (type = types[ i++ ]) != null ) {
-                       match = rnamespaces.exec( type );
-                       namespaces = "";
-
-                       if ( match )  {
-                               namespaces = match[0];
-                               type = type.replace( rnamespaces, "" );
-                       }
-
-                       if ( type === "hover" ) {
-                               types.push( "mouseenter" + namespaces, "mouseleave" + namespaces );
-                               continue;
-                       }
-
-                       preType = type;
-
-                       if ( type === "focus" || type === "blur" ) {
-                               types.push( liveMap[ type ] + namespaces );
-                               type = type + namespaces;
-
-                       } else {
-                               type = (liveMap[ type ] || type) + namespaces;
-                       }
-
-                       if ( name === "live" ) {
-                               // bind live handler
-                               context.each(function(){
-                                       jQuery.event.add( this, liveConvert( type, selector ),
-                                               { data: data, selector: selector, handler: fn, origType: type, origHandler: fn, preType: preType } );
-                               });
-
-                       } else {
-                               // unbind live handler
-                               context.unbind( liveConvert( type, selector ), fn );
-                       }
-               }
-               
-               return this;
-       }
-});
-
-function liveHandler( event ) {
-       var stop, elems = [], selectors = [], args = arguments,
-               related, match, handleObj, elem, j, i, l, data,
-               events = jQuery.data( this, "events" );
-
-       // Make sure we avoid non-left-click bubbling in Firefox (#3861)
-       if ( event.liveFired === this || !events || !events.live || event.button && event.type === "click" ) {
-               return;
-       }
-
-       event.liveFired = this;
-
-       var live = events.live.slice(0);
-
-       for ( j = 0; j < live.length; j++ ) {
-               handleObj = live[j];
-
-               if ( handleObj.origType.replace( rnamespaces, "" ) === event.type ) {
-                       selectors.push( handleObj.selector );
-
-               } else {
-                       live.splice( j--, 1 );
-               }
-       }
-
-       match = jQuery( event.target ).closest( selectors, event.currentTarget );
-
-       for ( i = 0, l = match.length; i < l; i++ ) {
-               for ( j = 0; j < live.length; j++ ) {
-                       handleObj = live[j];
-
-                       if ( match[i].selector === handleObj.selector ) {
-                               elem = match[i].elem;
-                               related = null;
-
-                               // Those two events require additional checking
-                               if ( handleObj.preType === "mouseenter" || handleObj.preType === "mouseleave" ) {
-                                       related = jQuery( event.relatedTarget ).closest( handleObj.selector )[0];
-                               }
-
-                               if ( !related || related !== elem ) {
-                                       elems.push({ elem: elem, handleObj: handleObj });
-                               }
-                       }
-               }
-       }
-
-       for ( i = 0, l = elems.length; i < l; i++ ) {
-               match = elems[i];
-               event.currentTarget = match.elem;
-               event.data = match.handleObj.data;
-               event.handleObj = match.handleObj;
-
-               if ( match.handleObj.origHandler.apply( match.elem, args ) === false ) {
-                       stop = false;
-                       break;
-               }
-       }
-
-       return stop;
-}
-
-function liveConvert( type, selector ) {
-       return "live." + (type && type !== "*" ? type + "." : "") + selector.replace(/\./g, "`").replace(/ /g, "&");
-}
-
-jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " +
-       "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
-       "change select submit keydown keypress keyup error").split(" "), function( i, name ) {
-
-       // Handle event binding
-       jQuery.fn[ name ] = function( fn ) {
-               return fn ? this.bind( name, fn ) : this.trigger( name );
-       };
-
-       if ( jQuery.attrFn ) {
-               jQuery.attrFn[ name ] = true;
-       }
-});
-
-// Prevent memory leaks in IE
-// Window isn't included so as not to unbind existing unload events
-// More info:
-//  - http://isaacschlueter.com/2006/10/msie-memory-leaks/
-if ( window.attachEvent && !window.addEventListener ) {
-       window.attachEvent("onunload", function() {
-               for ( var id in jQuery.cache ) {
-                       if ( jQuery.cache[ id ].handle ) {
-                               // Try/Catch is to handle iframes being unloaded, see #4280
-                               try {
-                                       jQuery.event.remove( jQuery.cache[ id ].handle.elem );
-                               } catch(e) {}
-                       }
-               }
-       });
-}
-/*!
- * Sizzle CSS Selector Engine - v1.0
- *  Copyright 2009, The Dojo Foundation
- *  Released under the MIT, BSD, and GPL Licenses.
- *  More information: http://sizzlejs.com/
- */
-(function(){
-
-var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
-       done = 0,
-       toString = Object.prototype.toString,
-       hasDuplicate = false,
-       baseHasDuplicate = true;
-
-// Here we check if the JavaScript engine is using some sort of
-// optimization where it does not always call our comparision
-// function. If that is the case, discard the hasDuplicate value.
-//   Thus far that includes Google Chrome.
-[0, 0].sort(function(){
-       baseHasDuplicate = false;
-       return 0;
-});
-
-var Sizzle = function(selector, context, results, seed) {
-       results = results || [];
-       var origContext = context = context || document;
-
-       if ( context.nodeType !== 1 && context.nodeType !== 9 ) {
-               return [];
-       }
-       
-       if ( !selector || typeof selector !== "string" ) {
-               return results;
-       }
-
-       var parts = [], m, set, checkSet, extra, prune = true, contextXML = isXML(context),
-               soFar = selector;
-       
-       // Reset the position of the chunker regexp (start from head)
-       while ( (chunker.exec(""), m = chunker.exec(soFar)) !== null ) {
-               soFar = m[3];
-               
-               parts.push( m[1] );
-               
-               if ( m[2] ) {
-                       extra = m[3];
-                       break;
-               }
-       }
-
-       if ( parts.length > 1 && origPOS.exec( selector ) ) {
-               if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
-                       set = posProcess( parts[0] + parts[1], context );
-               } else {
-                       set = Expr.relative[ parts[0] ] ?
-                               [ context ] :
-                               Sizzle( parts.shift(), context );
-
-                       while ( parts.length ) {
-                               selector = parts.shift();
-
-                               if ( Expr.relative[ selector ] ) {
-                                       selector += parts.shift();
-                               }
-                               
-                               set = posProcess( selector, set );
-                       }
-               }
-       } else {
-               // Take a shortcut and set the context if the root selector is an ID
-               // (but not if it'll be faster if the inner selector is an ID)
-               if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
-                               Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
-                       var ret = Sizzle.find( parts.shift(), context, contextXML );
-                       context = ret.expr ? Sizzle.filter( ret.expr, ret.set )[0] : ret.set[0];
-               }
-
-               if ( context ) {
-                       var ret = seed ?
-                               { expr: parts.pop(), set: makeArray(seed) } :
-                               Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML );
-                       set = ret.expr ? Sizzle.filter( ret.expr, ret.set ) : ret.set;
-
-                       if ( parts.length > 0 ) {
-                               checkSet = makeArray(set);
-                       } else {
-                               prune = false;
-                       }
-
-                       while ( parts.length ) {
-                               var cur = parts.pop(), pop = cur;
-
-                               if ( !Expr.relative[ cur ] ) {
-                                       cur = "";
-                               } else {
-                                       pop = parts.pop();
-                               }
-
-                               if ( pop == null ) {
-                                       pop = context;
-                               }
-
-                               Expr.relative[ cur ]( checkSet, pop, contextXML );
-                       }
-               } else {
-                       checkSet = parts = [];
-               }
-       }
-
-       if ( !checkSet ) {
-               checkSet = set;
-       }
-
-       if ( !checkSet ) {
-               Sizzle.error( cur || selector );
-       }
-
-       if ( toString.call(checkSet) === "[object Array]" ) {
-               if ( !prune ) {
-                       results.push.apply( results, checkSet );
-               } else if ( context && context.nodeType === 1 ) {
-                       for ( var i = 0; checkSet[i] != null; i++ ) {
-                               if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && contains(context, checkSet[i])) ) {
-                                       results.push( set[i] );
-                               }
-                       }
-               } else {
-                       for ( var i = 0; checkSet[i] != null; i++ ) {
-                               if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
-                                       results.push( set[i] );
-                               }
-                       }
-               }
-       } else {
-               makeArray( checkSet, results );
-       }
-
-       if ( extra ) {
-               Sizzle( extra, origContext, results, seed );
-               Sizzle.uniqueSort( results );
-       }
-
-       return results;
-};
-
-Sizzle.uniqueSort = function(results){
-       if ( sortOrder ) {
-               hasDuplicate = baseHasDuplicate;
-               results.sort(sortOrder);
-
-               if ( hasDuplicate ) {
-                       for ( var i = 1; i < results.length; i++ ) {
-                               if ( results[i] === results[i-1] ) {
-                                       results.splice(i--, 1);
-                               }
-                       }
-               }
-       }
-
-       return results;
-};
-
-Sizzle.matches = function(expr, set){
-       return Sizzle(expr, null, null, set);
-};
-
-Sizzle.find = function(expr, context, isXML){
-       var set, match;
-
-       if ( !expr ) {
-               return [];
-       }
-
-       for ( var i = 0, l = Expr.order.length; i < l; i++ ) {
-               var type = Expr.order[i], match;
-               
-               if ( (match = Expr.leftMatch[ type ].exec( expr )) ) {
-                       var left = match[1];
-                       match.splice(1,1);
-
-                       if ( left.substr( left.length - 1 ) !== "\\" ) {
-                               match[1] = (match[1] || "").replace(/\\/g, "");
-                               set = Expr.find[ type ]( match, context, isXML );
-                               if ( set != null ) {
-                                       expr = expr.replace( Expr.match[ type ], "" );
-                                       break;
-                               }
-                       }
-               }
-       }
-
-       if ( !set ) {
-               set = context.getElementsByTagName("*");
-       }
-
-       return {set: set, expr: expr};
-};
-
-Sizzle.filter = function(expr, set, inplace, not){
-       var old = expr, result = [], curLoop = set, match, anyFound,
-               isXMLFilter = set && set[0] && isXML(set[0]);
-
-       while ( expr && set.length ) {
-               for ( var type in Expr.filter ) {
-                       if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) {
-                               var filter = Expr.filter[ type ], found, item, left = match[1];
-                               anyFound = false;
-
-                               match.splice(1,1);
-
-                               if ( left.substr( left.length - 1 ) === "\\" ) {
-                                       continue;
-                               }
-
-                               if ( curLoop === result ) {
-                                       result = [];
-                               }
-
-                               if ( Expr.preFilter[ type ] ) {
-                                       match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
-
-                                       if ( !match ) {
-                                               anyFound = found = true;
-                                       } else if ( match === true ) {
-                                               continue;
-                                       }
-                               }
-
-                               if ( match ) {
-                                       for ( var i = 0; (item = curLoop[i]) != null; i++ ) {
-                                               if ( item ) {
-                                                       found = filter( item, match, i, curLoop );
-                                                       var pass = not ^ !!found;
-
-                                                       if ( inplace && found != null ) {
-                                                               if ( pass ) {
-                                                                       anyFound = true;
-                                                               } else {
-                                                                       curLoop[i] = false;
-                                                               }
-                                                       } else if ( pass ) {
-                                                               result.push( item );
-                                                               anyFound = true;
-                                                       }
-                                               }
-                                       }
-                               }
-
-                               if ( found !== undefined ) {
-                                       if ( !inplace ) {
-                                               curLoop = result;
-                                       }
-
-                                       expr = expr.replace( Expr.match[ type ], "" );
-
-                                       if ( !anyFound ) {
-                                               return [];
-                                       }
-
-                                       break;
-                               }
-                       }
-               }
-
-               // Improper expression
-               if ( expr === old ) {
-                       if ( anyFound == null ) {
-                               Sizzle.error( expr );
-                       } else {
-                               break;
-                       }
-               }
-
-               old = expr;
-       }
-
-       return curLoop;
-};
-
-Sizzle.error = function( msg ) {
-       throw "Syntax error, unrecognized expression: " + msg;
-};
-
-var Expr = Sizzle.selectors = {
-       order: [ "ID", "NAME", "TAG" ],
-       match: {
-               ID: /#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
-               CLASS: /\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
-               NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,
-               ATTR: /\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
-               TAG: /^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,
-               CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,
-               POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,
-               PSEUDO: /:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
-       },
-       leftMatch: {},
-       attrMap: {
-               "class": "className",
-               "for": "htmlFor"
-       },
-       attrHandle: {
-               href: function(elem){
-                       return elem.getAttribute("href");
-               }
-       },
-       relative: {
-               "+": function(checkSet, part){
-                       var isPartStr = typeof part === "string",
-                               isTag = isPartStr && !/\W/.test(part),
-                               isPartStrNotTag = isPartStr && !isTag;
-
-                       if ( isTag ) {
-                               part = part.toLowerCase();
-                       }
-
-                       for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
-                               if ( (elem = checkSet[i]) ) {
-                                       while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
-
-                                       checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ?
-                                               elem || false :
-                                               elem === part;
-                               }
-                       }
-
-                       if ( isPartStrNotTag ) {
-                               Sizzle.filter( part, checkSet, true );
-                       }
-               },
-               ">": function(checkSet, part){
-                       var isPartStr = typeof part === "string";
-
-                       if ( isPartStr && !/\W/.test(part) ) {
-                               part = part.toLowerCase();
-
-                               for ( var i = 0, l = checkSet.length; i < l; i++ ) {
-                                       var elem = checkSet[i];
-                                       if ( elem ) {
-                                               var parent = elem.parentNode;
-                                               checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false;
-                                       }
-                               }
-                       } else {
-                               for ( var i = 0, l = checkSet.length; i < l; i++ ) {
-                                       var elem = checkSet[i];
-                                       if ( elem ) {
-                                               checkSet[i] = isPartStr ?
-                                                       elem.parentNode :
-                                                       elem.parentNode === part;
-                                       }
-                               }
-
-                               if ( isPartStr ) {
-                                       Sizzle.filter( part, checkSet, true );
-                               }
-                       }
-               },
-               "": function(checkSet, part, isXML){
-                       var doneName = done++, checkFn = dirCheck;
-
-                       if ( typeof part === "string" && !/\W/.test(part) ) {
-                               var nodeCheck = part = part.toLowerCase();
-                               checkFn = dirNodeCheck;
-                       }
-
-                       checkFn("parentNode", part, doneName, checkSet, nodeCheck, isXML);
-               },
-               "~": function(checkSet, part, isXML){
-                       var doneName = done++, checkFn = dirCheck;
-
-                       if ( typeof part === "string" && !/\W/.test(part) ) {
-                               var nodeCheck = part = part.toLowerCase();
-                               checkFn = dirNodeCheck;
-                       }
-
-                       checkFn("previousSibling", part, doneName, checkSet, nodeCheck, isXML);
-               }
-       },
-       find: {
-               ID: function(match, context, isXML){
-                       if ( typeof context.getElementById !== "undefined" && !isXML ) {
-                               var m = context.getElementById(match[1]);
-                               return m ? [m] : [];
-                       }
-               },
-               NAME: function(match, context){
-                       if ( typeof context.getElementsByName !== "undefined" ) {
-                               var ret = [], results = context.getElementsByName(match[1]);
-
-                               for ( var i = 0, l = results.length; i < l; i++ ) {
-                                       if ( results[i].getAttribute("name") === match[1] ) {
-                                               ret.push( results[i] );
-                                       }
-                               }
-
-                               return ret.length === 0 ? null : ret;
-                       }
-               },
-               TAG: function(match, context){
-                       return context.getElementsByTagName(match[1]);
-               }
-       },
-       preFilter: {
-               CLASS: function(match, curLoop, inplace, result, not, isXML){
-                       match = " " + match[1].replace(/\\/g, "") + " ";
-
-                       if ( isXML ) {
-                               return match;
-                       }
-
-                       for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
-                               if ( elem ) {
-                                       if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n]/g, " ").indexOf(match) >= 0) ) {
-                                               if ( !inplace ) {
-                                                       result.push( elem );
-                                               }
-                                       } else if ( inplace ) {
-                                               curLoop[i] = false;
-                                       }
-                               }
-                       }
-
-                       return false;
-               },
-               ID: function(match){
-                       return match[1].replace(/\\/g, "");
-               },
-               TAG: function(match, curLoop){
-                       return match[1].toLowerCase();
-               },
-               CHILD: function(match){
-                       if ( match[1] === "nth" ) {
-                               // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
-                               var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(
-                                       match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" ||
-                                       !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
-
-                               // calculate the numbers (first)n+(last) including if they are negative
-                               match[2] = (test[1] + (test[2] || 1)) - 0;
-                               match[3] = test[3] - 0;
-                       }
-
-                       // TODO: Move to normal caching system
-                       match[0] = done++;
-
-                       return match;
-               },
-               ATTR: function(match, curLoop, inplace, result, not, isXML){
-                       var name = match[1].replace(/\\/g, "");
-                       
-                       if ( !isXML && Expr.attrMap[name] ) {
-                               match[1] = Expr.attrMap[name];
-                       }
-
-                       if ( match[2] === "~=" ) {
-                               match[4] = " " + match[4] + " ";
-                       }
-
-                       return match;
-               },
-               PSEUDO: function(match, curLoop, inplace, result, not){
-                       if ( match[1] === "not" ) {
-                               // If we're dealing with a complex expression, or a simple one
-                               if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) {
-                                       match[3] = Sizzle(match[3], null, null, curLoop);
-                               } else {
-                                       var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
-                                       if ( !inplace ) {
-                                               result.push.apply( result, ret );
-                                       }
-                                       return false;
-                               }
-                       } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
-                               return true;
-                       }
-                       
-                       return match;
-               },
-               POS: function(match){
-                       match.unshift( true );
-                       return match;
-               }
-       },
-       filters: {
-               enabled: function(elem){
-                       return elem.disabled === false && elem.type !== "hidden";
-               },
-               disabled: function(elem){
-                       return elem.disabled === true;
-               },
-               checked: function(elem){
-                       return elem.checked === true;
-               },
-               selected: function(elem){
-                       // Accessing this property makes selected-by-default
-                       // options in Safari work properly
-                       elem.parentNode.selectedIndex;
-                       return elem.selected === true;
-               },
-               parent: function(elem){
-                       return !!elem.firstChild;
-               },
-               empty: function(elem){
-                       return !elem.firstChild;
-               },
-               has: function(elem, i, match){
-                       return !!Sizzle( match[3], elem ).length;
-               },
-               header: function(elem){
-                       return /h\d/i.test( elem.nodeName );
-               },
-               text: function(elem){
-                       return "text" === elem.type;
-               },
-               radio: function(elem){
-                       return "radio" === elem.type;
-               },
-               checkbox: function(elem){
-                       return "checkbox" === elem.type;
-               },
-               file: function(elem){
-                       return "file" === elem.type;
-               },
-               password: function(elem){
-                       return "password" === elem.type;
-               },
-               submit: function(elem){
-                       return "submit" === elem.type;
-               },
-               image: function(elem){
-                       return "image" === elem.type;
-               },
-               reset: function(elem){
-                       return "reset" === elem.type;
-               },
-               button: function(elem){
-                       return "button" === elem.type || elem.nodeName.toLowerCase() === "button";
-               },
-               input: function(elem){
-                       return /input|select|textarea|button/i.test(elem.nodeName);
-               }
-       },
-       setFilters: {
-               first: function(elem, i){
-                       return i === 0;
-               },
-               last: function(elem, i, match, array){
-                       return i === array.length - 1;
-               },
-               even: function(elem, i){
-                       return i % 2 === 0;
-               },
-               odd: function(elem, i){
-                       return i % 2 === 1;
-               },
-               lt: function(elem, i, match){
-                       return i < match[3] - 0;
-               },
-               gt: function(elem, i, match){
-                       return i > match[3] - 0;
-               },
-               nth: function(elem, i, match){
-                       return match[3] - 0 === i;
-               },
-               eq: function(elem, i, match){
-                       return match[3] - 0 === i;
-               }
-       },
-       filter: {
-               PSEUDO: function(elem, match, i, array){
-                       var name = match[1], filter = Expr.filters[ name ];
-
-                       if ( filter ) {
-                               return filter( elem, i, match, array );
-                       } else if ( name === "contains" ) {
-                               return (elem.textContent || elem.innerText || getText([ elem ]) || "").indexOf(match[3]) >= 0;
-                       } else if ( name === "not" ) {
-                               var not = match[3];
-
-                               for ( var i = 0, l = not.length; i < l; i++ ) {
-                                       if ( not[i] === elem ) {
-                                               return false;
-                                       }
-                               }
-
-                               return true;
-                       } else {
-                               Sizzle.error( "Syntax error, unrecognized expression: " + name );
-                       }
-               },
-               CHILD: function(elem, match){
-                       var type = match[1], node = elem;
-                       switch (type) {
-                               case 'only':
-                               case 'first':
-                                       while ( (node = node.previousSibling) )  {
-                                               if ( node.nodeType === 1 ) { 
-                                                       return false; 
-                                               }
-                                       }
-                                       if ( type === "first" ) { 
-                                               return true; 
-                                       }
-                                       node = elem;
-                               case 'last':
-                                       while ( (node = node.nextSibling) )      {
-                                               if ( node.nodeType === 1 ) { 
-                                                       return false; 
-                                               }
-                                       }
-                                       return true;
-                               case 'nth':
-                                       var first = match[2], last = match[3];
-
-                                       if ( first === 1 && last === 0 ) {
-                                               return true;
-                                       }
-                                       
-                                       var doneName = match[0],
-                                               parent = elem.parentNode;
-       
-                                       if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) {
-                                               var count = 0;
-                                               for ( node = parent.firstChild; node; node = node.nextSibling ) {
-                                                       if ( node.nodeType === 1 ) {
-                                                               node.nodeIndex = ++count;
-                                                       }
-                                               } 
-                                               parent.sizcache = doneName;
-                                       }
-                                       
-                                       var diff = elem.nodeIndex - last;
-                                       if ( first === 0 ) {
-                                               return diff === 0;
-                                       } else {
-                                               return ( diff % first === 0 && diff / first >= 0 );
-                                       }
-                       }
-               },
-               ID: function(elem, match){
-                       return elem.nodeType === 1 && elem.getAttribute("id") === match;
-               },
-               TAG: function(elem, match){
-                       return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match;
-               },
-               CLASS: function(elem, match){
-                       return (" " + (elem.className || elem.getAttribute("class")) + " ")
-                               .indexOf( match ) > -1;
-               },
-               ATTR: function(elem, match){
-                       var name = match[1],
-                               result = Expr.attrHandle[ name ] ?
-                                       Expr.attrHandle[ name ]( elem ) :
-                                       elem[ name ] != null ?
-                                               elem[ name ] :
-                                               elem.getAttribute( name ),
-                               value = result + "",
-                               type = match[2],
-                               check = match[4];
-
-                       return result == null ?
-                               type === "!=" :
-                               type === "=" ?
-                               value === check :
-                               type === "*=" ?
-                               value.indexOf(check) >= 0 :
-                               type === "~=" ?
-                               (" " + value + " ").indexOf(check) >= 0 :
-                               !check ?
-                               value && result !== false :
-                               type === "!=" ?
-                               value !== check :
-                               type === "^=" ?
-                               value.indexOf(check) === 0 :
-                               type === "$=" ?
-                               value.substr(value.length - check.length) === check :
-                               type === "|=" ?
-                               value === check || value.substr(0, check.length + 1) === check + "-" :
-                               false;
-               },
-               POS: function(elem, match, i, array){
-                       var name = match[2], filter = Expr.setFilters[ name ];
-
-                       if ( filter ) {
-                               return filter( elem, i, match, array );
-                       }
-               }
-       }
-};
-
-var origPOS = Expr.match.POS;
-
-for ( var type in Expr.match ) {
-       Expr.match[ type ] = new RegExp( Expr.match[ type ].source + /(?![^\[]*\])(?![^\(]*\))/.source );
-       Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, function(all, num){
-               return "\\" + (num - 0 + 1);
-       }));
-}
-
-var makeArray = function(array, results) {
-       array = Array.prototype.slice.call( array, 0 );
-
-       if ( results ) {
-               results.push.apply( results, array );
-               return results;
-       }
-       
-       return array;
-};
-
-// Perform a simple check to determine if the browser is capable of
-// converting a NodeList to an array using builtin methods.
-// Also verifies that the returned array holds DOM nodes
-// (which is not the case in the Blackberry browser)
-try {
-       Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType;
-
-// Provide a fallback method if it does not work
-} catch(e){
-       makeArray = function(array, results) {
-               var ret = results || [];
-
-               if ( toString.call(array) === "[object Array]" ) {
-                       Array.prototype.push.apply( ret, array );
-               } else {
-                       if ( typeof array.length === "number" ) {
-                               for ( var i = 0, l = array.length; i < l; i++ ) {
-                                       ret.push( array[i] );
-                               }
-                       } else {
-                               for ( var i = 0; array[i]; i++ ) {
-                                       ret.push( array[i] );
-                               }
-                       }
-               }
-
-               return ret;
-       };
-}
-
-var sortOrder;
-
-if ( document.documentElement.compareDocumentPosition ) {
-       sortOrder = function( a, b ) {
-               if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) {
-                       if ( a == b ) {
-                               hasDuplicate = true;
-                       }
-                       return a.compareDocumentPosition ? -1 : 1;
-               }
-
-               var ret = a.compareDocumentPosition(b) & 4 ? -1 : a === b ? 0 : 1;
-               if ( ret === 0 ) {
-                       hasDuplicate = true;
-               }
-               return ret;
-       };
-} else if ( "sourceIndex" in document.documentElement ) {
-       sortOrder = function( a, b ) {
-               if ( !a.sourceIndex || !b.sourceIndex ) {
-                       if ( a == b ) {
-                               hasDuplicate = true;
-                       }
-                       return a.sourceIndex ? -1 : 1;
-               }
-
-               var ret = a.sourceIndex - b.sourceIndex;
-               if ( ret === 0 ) {
-                       hasDuplicate = true;
-               }
-               return ret;
-       };
-} else if ( document.createRange ) {
-       sortOrder = function( a, b ) {
-               if ( !a.ownerDocument || !b.ownerDocument ) {
-                       if ( a == b ) {
-                               hasDuplicate = true;
-                       }
-                       return a.ownerDocument ? -1 : 1;
-               }
-
-               var aRange = a.ownerDocument.createRange(), bRange = b.ownerDocument.createRange();
-               aRange.setStart(a, 0);
-               aRange.setEnd(a, 0);
-               bRange.setStart(b, 0);
-               bRange.setEnd(b, 0);
-               var ret = aRange.compareBoundaryPoints(Range.START_TO_END, bRange);
-               if ( ret === 0 ) {
-                       hasDuplicate = true;
-               }
-               return ret;
-       };
-}
-
-// Utility function for retreiving the text value of an array of DOM nodes
-function getText( elems ) {
-       var ret = "", elem;
-
-       for ( var i = 0; elems[i]; i++ ) {
-               elem = elems[i];
-
-               // Get the text from text nodes and CDATA nodes
-               if ( elem.nodeType === 3 || elem.nodeType === 4 ) {
-                       ret += elem.nodeValue;
-
-               // Traverse everything else, except comment nodes
-               } else if ( elem.nodeType !== 8 ) {
-                       ret += getText( elem.childNodes );
-               }
-       }
-
-       return ret;
-}
-
-// Check to see if the browser returns elements by name when
-// querying by getElementById (and provide a workaround)
-(function(){
-       // We're going to inject a fake input element with a specified name
-       var form = document.createElement("div"),
-               id = "script" + (new Date).getTime();
-       form.innerHTML = "<a name='" + id + "'/>";
-
-       // Inject it into the root element, check its status, and remove it quickly
-       var root = document.documentElement;
-       root.insertBefore( form, root.firstChild );
-
-       // The workaround has to do additional checks after a getElementById
-       // Which slows things down for other browsers (hence the branching)
-       if ( document.getElementById( id ) ) {
-               Expr.find.ID = function(match, context, isXML){
-                       if ( typeof context.getElementById !== "undefined" && !isXML ) {
-                               var m = context.getElementById(match[1]);
-                               return m ? m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? [m] : undefined : [];
-                       }
-               };
-
-               Expr.filter.ID = function(elem, match){
-                       var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
-                       return elem.nodeType === 1 && node && node.nodeValue === match;
-               };
-       }
-
-       root.removeChild( form );
-       root = form = null; // release memory in IE
-})();
-
-(function(){
-       // Check to see if the browser returns only elements
-       // when doing getElementsByTagName("*")
-
-       // Create a fake element
-       var div = document.createElement("div");
-       div.appendChild( document.createComment("") );
-
-       // Make sure no comments are found
-       if ( div.getElementsByTagName("*").length > 0 ) {
-               Expr.find.TAG = function(match, context){
-                       var results = context.getElementsByTagName(match[1]);
-
-                       // Filter out possible comments
-                       if ( match[1] === "*" ) {
-                               var tmp = [];
-
-                               for ( var i = 0; results[i]; i++ ) {
-                                       if ( results[i].nodeType === 1 ) {
-                                               tmp.push( results[i] );
-                                       }
-                               }
-
-                               results = tmp;
-                       }
-
-                       return results;
-               };
-       }
-
-       // Check to see if an attribute returns normalized href attributes
-       div.innerHTML = "<a href='#'></a>";
-       if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" &&
-                       div.firstChild.getAttribute("href") !== "#" ) {
-               Expr.attrHandle.href = function(elem){
-                       return elem.getAttribute("href", 2);
-               };
-       }
-
-       div = null; // release memory in IE
-})();
-
-if ( document.querySelectorAll ) {
-       (function(){
-               var oldSizzle = Sizzle, div = document.createElement("div");
-               div.innerHTML = "<p class='TEST'></p>";
-
-               // Safari can't handle uppercase or unicode characters when
-               // in quirks mode.
-               if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
-                       return;
-               }
-       
-               Sizzle = function(query, context, extra, seed){
-                       context = context || document;
-
-                       // Only use querySelectorAll on non-XML documents
-                       // (ID selectors don't work in non-HTML documents)
-                       if ( !seed && context.nodeType === 9 && !isXML(context) ) {
-                               try {
-                                       return makeArray( context.querySelectorAll(query), extra );
-                               } catch(e){}
-                       }
-               
-                       return oldSizzle(query, context, extra, seed);
-               };
-
-               for ( var prop in oldSizzle ) {
-                       Sizzle[ prop ] = oldSizzle[ prop ];
-               }
-
-               div = null; // release memory in IE
-       })();
-}
-
-(function(){
-       var div = document.createElement("div");
-
-       div.innerHTML = "<div class='test e'></div><div class='test'></div>";
-
-       // Opera can't find a second classname (in 9.6)
-       // Also, make sure that getElementsByClassName actually exists
-       if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) {
-               return;
-       }
-
-       // Safari caches class attributes, doesn't catch changes (in 3.2)
-       div.lastChild.className = "e";
-
-       if ( div.getElementsByClassName("e").length === 1 ) {
-               return;
-       }
-       
-       Expr.order.splice(1, 0, "CLASS");
-       Expr.find.CLASS = function(match, context, isXML) {
-               if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
-                       return context.getElementsByClassName(match[1]);
-               }
-       };
-
-       div = null; // release memory in IE
-})();
-
-function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
-       for ( var i = 0, l = checkSet.length; i < l; i++ ) {
-               var elem = checkSet[i];
-               if ( elem ) {
-                       elem = elem[dir];
-                       var match = false;
-
-                       while ( elem ) {
-                               if ( elem.sizcache === doneName ) {
-                                       match = checkSet[elem.sizset];
-                                       break;
-                               }
-
-                               if ( elem.nodeType === 1 && !isXML ){
-                                       elem.sizcache = doneName;
-                                       elem.sizset = i;
-                               }
-
-                               if ( elem.nodeName.toLowerCase() === cur ) {
-                                       match = elem;
-                                       break;
-                               }
-
-                               elem = elem[dir];
-                       }
-
-                       checkSet[i] = match;
-               }
-       }
-}
-
-function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
-       for ( var i = 0, l = checkSet.length; i < l; i++ ) {
-               var elem = checkSet[i];
-               if ( elem ) {
-                       elem = elem[dir];
-                       var match = false;
-
-                       while ( elem ) {
-                               if ( elem.sizcache === doneName ) {
-                                       match = checkSet[elem.sizset];
-                                       break;
-                               }
-
-                               if ( elem.nodeType === 1 ) {
-                                       if ( !isXML ) {
-                                               elem.sizcache = doneName;
-                                               elem.sizset = i;
-                                       }
-                                       if ( typeof cur !== "string" ) {
-                                               if ( elem === cur ) {
-                                                       match = true;
-                                                       break;
-                                               }
-
-                                       } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) {
-                                               match = elem;
-                                               break;
-                                       }
-                               }
-
-                               elem = elem[dir];
-                       }
-
-                       checkSet[i] = match;
-               }
-       }
-}
-
-var contains = document.compareDocumentPosition ? function(a, b){
-       return !!(a.compareDocumentPosition(b) & 16);
-} : function(a, b){
-       return a !== b && (a.contains ? a.contains(b) : true);
-};
-
-var isXML = function(elem){
-       // documentElement is verified for cases where it doesn't yet exist
-       // (such as loading iframes in IE - #4833) 
-       var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
-       return documentElement ? documentElement.nodeName !== "HTML" : false;
-};
-
-var posProcess = function(selector, context){
-       var tmpSet = [], later = "", match,
-               root = context.nodeType ? [context] : context;
-
-       // Position selectors must be done after the filter
-       // And so must :not(positional) so we move all PSEUDOs to the end
-       while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
-               later += match[0];
-               selector = selector.replace( Expr.match.PSEUDO, "" );
-       }
-
-       selector = Expr.relative[selector] ? selector + "*" : selector;
-
-       for ( var i = 0, l = root.length; i < l; i++ ) {
-               Sizzle( selector, root[i], tmpSet );
-       }
-
-       return Sizzle.filter( later, tmpSet );
-};
-
-// EXPOSE
-jQuery.find = Sizzle;
-jQuery.expr = Sizzle.selectors;
-jQuery.expr[":"] = jQuery.expr.filters;
-jQuery.unique = Sizzle.uniqueSort;
-jQuery.text = getText;
-jQuery.isXMLDoc = isXML;
-jQuery.contains = contains;
-
-return;
-
-window.Sizzle = Sizzle;
-
-})();
-var runtil = /Until$/,
-       rparentsprev = /^(?:parents|prevUntil|prevAll)/,
-       // Note: This RegExp should be improved, or likely pulled from Sizzle
-       rmultiselector = /,/,
-       slice = Array.prototype.slice;
-
-// Implement the identical functionality for filter and not
-var winnow = function( elements, qualifier, keep ) {
-       if ( jQuery.isFunction( qualifier ) ) {
-               return jQuery.grep(elements, function( elem, i ) {
-                       return !!qualifier.call( elem, i, elem ) === keep;
-               });
-
-       } else if ( qualifier.nodeType ) {
-               return jQuery.grep(elements, function( elem, i ) {
-                       return (elem === qualifier) === keep;
-               });
-
-       } else if ( typeof qualifier === "string" ) {
-               var filtered = jQuery.grep(elements, function( elem ) {
-                       return elem.nodeType === 1;
-               });
-
-               if ( isSimple.test( qualifier ) ) {
-                       return jQuery.filter(qualifier, filtered, !keep);
-               } else {
-                       qualifier = jQuery.filter( qualifier, filtered );
-               }
-       }
-
-       return jQuery.grep(elements, function( elem, i ) {
-               return (jQuery.inArray( elem, qualifier ) >= 0) === keep;
-       });
-};
-
-jQuery.fn.extend({
-       find: function( selector ) {
-               var ret = this.pushStack( "", "find", selector ), length = 0;
-
-               for ( var i = 0, l = this.length; i < l; i++ ) {
-                       length = ret.length;
-                       jQuery.find( selector, this[i], ret );
-
-                       if ( i > 0 ) {
-                               // Make sure that the results are unique
-                               for ( var n = length; n < ret.length; n++ ) {
-                                       for ( var r = 0; r < length; r++ ) {
-                                               if ( ret[r] === ret[n] ) {
-                                                       ret.splice(n--, 1);
-                                                       break;
-                                               }
-                                       }
-                               }
-                       }
-               }
-
-               return ret;
-       },
-
-       has: function( target ) {
-               var targets = jQuery( target );
-               return this.filter(function() {
-                       for ( var i = 0, l = targets.length; i < l; i++ ) {
-                               if ( jQuery.contains( this, targets[i] ) ) {
-                                       return true;
-                               }
-                       }
-               });
-       },
-
-       not: function( selector ) {
-               return this.pushStack( winnow(this, selector, false), "not", selector);
-       },
-
-       filter: function( selector ) {
-               return this.pushStack( winnow(this, selector, true), "filter", selector );
-       },
-       
-       is: function( selector ) {
-               return !!selector && jQuery.filter( selector, this ).length > 0;
-       },
-
-       closest: function( selectors, context ) {
-               if ( jQuery.isArray( selectors ) ) {
-                       var ret = [], cur = this[0], match, matches = {}, selector;
-
-                       if ( cur && selectors.length ) {
-                               for ( var i = 0, l = selectors.length; i < l; i++ ) {
-                                       selector = selectors[i];
-
-                                       if ( !matches[selector] ) {
-                                               matches[selector] = jQuery.expr.match.POS.test( selector ) ? 
-                                                       jQuery( selector, context || this.context ) :
-                                                       selector;
-                                       }
-                               }
-
-                               while ( cur && cur.ownerDocument && cur !== context ) {
-                                       for ( selector in matches ) {
-                                               match = matches[selector];
-
-                                               if ( match.jquery ? match.index(cur) > -1 : jQuery(cur).is(match) ) {
-                                                       ret.push({ selector: selector, elem: cur });
-                                                       delete matches[selector];
-                                               }
-                                       }
-                                       cur = cur.parentNode;
-                               }
-                       }
-
-                       return ret;
-               }
-
-               var pos = jQuery.expr.match.POS.test( selectors ) ? 
-                       jQuery( selectors, context || this.context ) : null;
-
-               return this.map(function( i, cur ) {
-                       while ( cur && cur.ownerDocument && cur !== context ) {
-                               if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selectors) ) {
-                                       return cur;
-                               }
-                               cur = cur.parentNode;
-                       }
-                       return null;
-               });
-       },
-       
-       // Determine the position of an element within
-       // the matched set of elements
-       index: function( elem ) {
-               if ( !elem || typeof elem === "string" ) {
-                       return jQuery.inArray( this[0],
-                               // If it receives a string, the selector is used
-                               // If it receives nothing, the siblings are used
-                               elem ? jQuery( elem ) : this.parent().children() );
-               }
-               // Locate the position of the desired element
-               return jQuery.inArray(
-                       // If it receives a jQuery object, the first element is used
-                       elem.jquery ? elem[0] : elem, this );
-       },
-
-       add: function( selector, context ) {
-               var set = typeof selector === "string" ?
-                               jQuery( selector, context || this.context ) :
-                               jQuery.makeArray( selector ),
-                       all = jQuery.merge( this.get(), set );
-
-               return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ?
-                       all :
-                       jQuery.unique( all ) );
-       },
-
-       andSelf: function() {
-               return this.add( this.prevObject );
-       }
-});
-
-// A painfully simple check to see if an element is disconnected
-// from a document (should be improved, where feasible).
-function isDisconnected( node ) {
-       return !node || !node.parentNode || node.parentNode.nodeType === 11;
-}
-
-jQuery.each({
-       parent: function( elem ) {
-               var parent = elem.parentNode;
-               return parent && parent.nodeType !== 11 ? parent : null;
-       },
-       parents: function( elem ) {
-               return jQuery.dir( elem, "parentNode" );
-       },
-       parentsUntil: function( elem, i, until ) {
-               return jQuery.dir( elem, "parentNode", until );
-       },
-       next: function( elem ) {
-               return jQuery.nth( elem, 2, "nextSibling" );
-       },
-       prev: function( elem ) {
-               return jQuery.nth( elem, 2, "previousSibling" );
-       },
-       nextAll: function( elem ) {
-               return jQuery.dir( elem, "nextSibling" );
-       },
-       prevAll: function( elem ) {
-               return jQuery.dir( elem, "previousSibling" );
-       },
-       nextUntil: function( elem, i, until ) {
-               return jQuery.dir( elem, "nextSibling", until );
-       },
-       prevUntil: function( elem, i, until ) {
-               return jQuery.dir( elem, "previousSibling", until );
-       },
-       siblings: function( elem ) {
-               return jQuery.sibling( elem.parentNode.firstChild, elem );
-       },
-       children: function( elem ) {
-               return jQuery.sibling( elem.firstChild );
-       },
-       contents: function( elem ) {
-               return jQuery.nodeName( elem, "iframe" ) ?
-                       elem.contentDocument || elem.contentWindow.document :
-                       jQuery.makeArray( elem.childNodes );
-       }
-}, function( name, fn ) {
-       jQuery.fn[ name ] = function( until, selector ) {
-               var ret = jQuery.map( this, fn, until );
-               
-               if ( !runtil.test( name ) ) {
-                       selector = until;
-               }
-
-               if ( selector && typeof selector === "string" ) {
-                       ret = jQuery.filter( selector, ret );
-               }
-
-               ret = this.length > 1 ? jQuery.unique( ret ) : ret;
-
-               if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) {
-                       ret = ret.reverse();
-               }
-
-               return this.pushStack( ret, name, slice.call(arguments).join(",") );
-       };
-});
-
-jQuery.extend({
-       filter: function( expr, elems, not ) {
-               if ( not ) {
-                       expr = ":not(" + expr + ")";
-               }
-
-               return jQuery.find.matches(expr, elems);
-       },
-       
-       dir: function( elem, dir, until ) {
-               var matched = [], cur = elem[dir];
-               while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) {
-                       if ( cur.nodeType === 1 ) {
-                               matched.push( cur );
-                       }
-                       cur = cur[dir];
-               }
-               return matched;
-       },
-
-       nth: function( cur, result, dir, elem ) {
-               result = result || 1;
-               var num = 0;
-
-               for ( ; cur; cur = cur[dir] ) {
-                       if ( cur.nodeType === 1 && ++num === result ) {
-                               break;
-                       }
-               }
-
-               return cur;
-       },
-
-       sibling: function( n, elem ) {
-               var r = [];
-
-               for ( ; n; n = n.nextSibling ) {
-                       if ( n.nodeType === 1 && n !== elem ) {
-                               r.push( n );
-                       }
-               }
-
-               return r;
-       }
-});
-var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
-       rleadingWhitespace = /^\s+/,
-       rxhtmlTag = /(<([\w:]+)[^>]*?)\/>/g,
-       rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,
-       rtagName = /<([\w:]+)/,
-       rtbody = /<tbody/i,
-       rhtml = /<|&#?\w+;/,
-       rnocache = /<script|<object|<embed|<option|<style/i,
-       rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,  // checked="checked" or checked (html5)
-       fcloseTag = function( all, front, tag ) {
-               return rselfClosing.test( tag ) ?
-                       all :
-                       front + "></" + tag + ">";
-       },
-       wrapMap = {
-               option: [ 1, "<select multiple='multiple'>", "</select>" ],
-               legend: [ 1, "<fieldset>", "</fieldset>" ],
-               thead: [ 1, "<table>", "</table>" ],
-               tr: [ 2, "<table><tbody>", "</tbody></table>" ],
-               td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
-               col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ],
-               area: [ 1, "<map>", "</map>" ],
-               _default: [ 0, "", "" ]
-       };
-
-wrapMap.optgroup = wrapMap.option;
-wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
-wrapMap.th = wrapMap.td;
-
-// IE can't serialize <link> and <script> tags normally
-if ( !jQuery.support.htmlSerialize ) {
-       wrapMap._default = [ 1, "div<div>", "</div>" ];
-}
-
-jQuery.fn.extend({
-       text: function( text ) {
-               if ( jQuery.isFunction(text) ) {
-                       return this.each(function(i) {
-                               var self = jQuery(this);
-                               self.text( text.call(this, i, self.text()) );
-                       });
-               }
-
-               if ( typeof text !== "object" && text !== undefined ) {
-                       return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) );
-               }
-
-               return jQuery.text( this );
-       },
-
-       wrapAll: function( html ) {
-               if ( jQuery.isFunction( html ) ) {
-                       return this.each(function(i) {
-                               jQuery(this).wrapAll( html.call(this, i) );
-                       });
-               }
-
-               if ( this[0] ) {
-                       // The elements to wrap the target around
-                       var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true);
-
-                       if ( this[0].parentNode ) {
-                               wrap.insertBefore( this[0] );
-                       }
-
-                       wrap.map(function() {
-                               var elem = this;
-
-                               while ( elem.firstChild && elem.firstChild.nodeType === 1 ) {
-                                       elem = elem.firstChild;
-                               }
-
-                               return elem;
-                       }).append(this);
-               }
-
-               return this;
-       },
-
-       wrapInner: function( html ) {
-               if ( jQuery.isFunction( html ) ) {
-                       return this.each(function(i) {
-                               jQuery(this).wrapInner( html.call(this, i) );
-                       });
-               }
-
-               return this.each(function() {
-                       var self = jQuery( this ), contents = self.contents();
-
-                       if ( contents.length ) {
-                               contents.wrapAll( html );
-
-                       } else {
-                               self.append( html );
-                       }
-               });
-       },
-
-       wrap: function( html ) {
-               return this.each(function() {
-                       jQuery( this ).wrapAll( html );
-               });
-       },
-
-       unwrap: function() {
-               return this.parent().each(function() {
-                       if ( !jQuery.nodeName( this, "body" ) ) {
-                               jQuery( this ).replaceWith( this.childNodes );
-                       }
-               }).end();
-       },
-
-       append: function() {
-               return this.domManip(arguments, true, function( elem ) {
-                       if ( this.nodeType === 1 ) {
-                               this.appendChild( elem );
-                       }
-               });
-       },
-
-       prepend: function() {
-               return this.domManip(arguments, true, function( elem ) {
-                       if ( this.nodeType === 1 ) {
-                               this.insertBefore( elem, this.firstChild );
-                       }
-               });
-       },
-
-       before: function() {
-               if ( this[0] && this[0].parentNode ) {
-                       return this.domManip(arguments, false, function( elem ) {
-                               this.parentNode.insertBefore( elem, this );
-                       });
-               } else if ( arguments.length ) {
-                       var set = jQuery(arguments[0]);
-                       set.push.apply( set, this.toArray() );
-                       return this.pushStack( set, "before", arguments );
-               }
-       },
-
-       after: function() {
-               if ( this[0] && this[0].parentNode ) {
-                       return this.domManip(arguments, false, function( elem ) {
-                               this.parentNode.insertBefore( elem, this.nextSibling );
-                       });
-               } else if ( arguments.length ) {
-                       var set = this.pushStack( this, "after", arguments );
-                       set.push.apply( set, jQuery(arguments[0]).toArray() );
-                       return set;
-               }
-       },
-       
-       // keepData is for internal use only--do not document
-       remove: function( selector, keepData ) {
-               for ( var i = 0, elem; (elem = this[i]) != null; i++ ) {
-                       if ( !selector || jQuery.filter( selector, [ elem ] ).length ) {
-                               if ( !keepData && elem.nodeType === 1 ) {
-                                       jQuery.cleanData( elem.getElementsByTagName("*") );
-                                       jQuery.cleanData( [ elem ] );
-                               }
-
-                               if ( elem.parentNode ) {
-                                        elem.parentNode.removeChild( elem );
-                               }
-                       }
-               }
-               
-               return this;
-       },
-
-       empty: function() {
-               for ( var i = 0, elem; (elem = this[i]) != null; i++ ) {
-                       // Remove element nodes and prevent memory leaks
-                       if ( elem.nodeType === 1 ) {
-                               jQuery.cleanData( elem.getElementsByTagName("*") );
-                       }
-
-                       // Remove any remaining nodes
-                       while ( elem.firstChild ) {
-                               elem.removeChild( elem.firstChild );
-                       }
-               }
-               
-               return this;
-       },
-
-       clone: function( events ) {
-               // Do the clone
-               var ret = this.map(function() {
-                       if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) {
-                               // IE copies events bound via attachEvent when
-                               // using cloneNode. Calling detachEvent on the
-                               // clone will also remove the events from the orignal
-                               // In order to get around this, we use innerHTML.
-                               // Unfortunately, this means some modifications to
-                               // attributes in IE that are actually only stored
-                               // as properties will not be copied (such as the
-                               // the name attribute on an input).
-                               var html = this.outerHTML, ownerDocument = this.ownerDocument;
-                               if ( !html ) {
-                                       var div = ownerDocument.createElement("div");
-                                       div.appendChild( this.cloneNode(true) );
-                                       html = div.innerHTML;
-                               }
-
-                               return jQuery.clean([html.replace(rinlinejQuery, "")
-                                       // Handle the case in IE 8 where action=/test/> self-closes a tag
-                                       .replace(/=([^="'>\s]+\/)>/g, '="$1">')
-                                       .replace(rleadingWhitespace, "")], ownerDocument)[0];
-                       } else {
-                               return this.cloneNode(true);
-                       }
-               });
-
-               // Copy the events from the original to the clone
-               if ( events === true ) {
-                       cloneCopyEvent( this, ret );
-                       cloneCopyEvent( this.find("*"), ret.find("*") );
-               }
-
-               // Return the cloned set
-               return ret;
-       },
-
-       html: function( value ) {
-               if ( value === undefined ) {
-                       return this[0] && this[0].nodeType === 1 ?
-                               this[0].innerHTML.replace(rinlinejQuery, "") :
-                               null;
-
-               // See if we can take a shortcut and just use innerHTML
-               } else if ( typeof value === "string" && !rnocache.test( value ) &&
-                       (jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value )) &&
-                       !wrapMap[ (rtagName.exec( value ) || ["", ""])[1].toLowerCase() ] ) {
-
-                       value = value.replace(rxhtmlTag, fcloseTag);
-
-                       try {
-                               for ( var i = 0, l = this.length; i < l; i++ ) {
-                                       // Remove element nodes and prevent memory leaks
-                                       if ( this[i].nodeType === 1 ) {
-                                               jQuery.cleanData( this[i].getElementsByTagName("*") );
-                                               this[i].innerHTML = value;
-                                       }
-                               }
-
-                       // If using innerHTML throws an exception, use the fallback method
-                       } catch(e) {
-                               this.empty().append( value );
-                       }
-
-               } else if ( jQuery.isFunction( value ) ) {
-                       this.each(function(i){
-                               var self = jQuery(this), old = self.html();
-                               self.empty().append(function(){
-                                       return value.call( this, i, old );
-                               });
-                       });
-
-               } else {
-                       this.empty().append( value );
-               }
-
-               return this;
-       },
-
-       replaceWith: function( value ) {
-               if ( this[0] && this[0].parentNode ) {
-                       // Make sure that the elements are removed from the DOM before they are inserted
-                       // this can help fix replacing a parent with child elements
-                       if ( jQuery.isFunction( value ) ) {
-                               return this.each(function(i) {
-                                       var self = jQuery(this), old = self.html();
-                                       self.replaceWith( value.call( this, i, old ) );
-                               });
-                       }
-
-                       if ( typeof value !== "string" ) {
-                               value = jQuery(value).detach();
-                       }
-
-                       return this.each(function() {
-                               var next = this.nextSibling, parent = this.parentNode;
-
-                               jQuery(this).remove();
-
-                               if ( next ) {
-                                       jQuery(next).before( value );
-                               } else {
-                                       jQuery(parent).append( value );
-                               }
-                       });
-               } else {
-                       return this.pushStack( jQuery(jQuery.isFunction(value) ? value() : value), "replaceWith", value );
-               }
-       },
-
-       detach: function( selector ) {
-               return this.remove( selector, true );
-       },
-
-       domManip: function( args, table, callback ) {
-               var results, first, value = args[0], scripts = [], fragment, parent;
-
-               // We can't cloneNode fragments that contain checked, in WebKit
-               if ( !jQuery.support.checkClone && arguments.length === 3 && typeof value === "string" && rchecked.test( value ) ) {
-                       return this.each(function() {
-                               jQuery(this).domManip( args, table, callback, true );
-                       });
-               }
-
-               if ( jQuery.isFunction(value) ) {
-                       return this.each(function(i) {
-                               var self = jQuery(this);
-                               args[0] = value.call(this, i, table ? self.html() : undefined);
-                               self.domManip( args, table, callback );
-                       });
-               }
-
-               if ( this[0] ) {
-                       parent = value && value.parentNode;
-
-                       // If we're in a fragment, just use that instead of building a new one
-                       if ( jQuery.support.parentNode && parent && parent.nodeType === 11 && parent.childNodes.length === this.length ) {
-                               results = { fragment: parent };
-
-                       } else {
-                               results = buildFragment( args, this, scripts );
-                       }
-                       
-                       fragment = results.fragment;
-                       
-                       if ( fragment.childNodes.length === 1 ) {
-                               first = fragment = fragment.firstChild;
-                       } else {
-                               first = fragment.firstChild;
-                       }
-
-                       if ( first ) {
-                               table = table && jQuery.nodeName( first, "tr" );
-
-                               for ( var i = 0, l = this.length; i < l; i++ ) {
-                                       callback.call(
-                                               table ?
-                                                       root(this[i], first) :
-                                                       this[i],
-                                               i > 0 || results.cacheable || this.length > 1  ?
-                                                       fragment.cloneNode(true) :
-                                                       fragment
-                                       );
-                               }
-                       }
-
-                       if ( scripts.length ) {
-                               jQuery.each( scripts, evalScript );
-                       }
-               }
-
-               return this;
-
-               function root( elem, cur ) {
-                       return jQuery.nodeName(elem, "table") ?
-                               (elem.getElementsByTagName("tbody")[0] ||
-                               elem.appendChild(elem.ownerDocument.createElement("tbody"))) :
-                               elem;
-               }
-       }
-});
-
-function cloneCopyEvent(orig, ret) {
-       var i = 0;
-
-       ret.each(function() {
-               if ( this.nodeName !== (orig[i] && orig[i].nodeName) ) {
-                       return;
-               }
-
-               var oldData = jQuery.data( orig[i++] ), curData = jQuery.data( this, oldData ), events = oldData && oldData.events;
-
-               if ( events ) {
-                       delete curData.handle;
-                       curData.events = {};
-
-                       for ( var type in events ) {
-                               for ( var handler in events[ type ] ) {
-                                       jQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data );
-                               }
-                       }
-               }
-       });
-}
-
-function buildFragment( args, nodes, scripts ) {
-       var fragment, cacheable, cacheresults,
-               doc = (nodes && nodes[0] ? nodes[0].ownerDocument || nodes[0] : document);
-
-       // Only cache "small" (1/2 KB) strings that are associated with the main document
-       // Cloning options loses the selected state, so don't cache them
-       // IE 6 doesn't like it when you put <object> or <embed> elements in a fragment
-       // Also, WebKit does not clone 'checked' attributes on cloneNode, so don't cache
-       if ( args.length === 1 && typeof args[0] === "string" && args[0].length < 512 && doc === document &&
-               !rnocache.test( args[0] ) && (jQuery.support.checkClone || !rchecked.test( args[0] )) ) {
-
-               cacheable = true;
-               cacheresults = jQuery.fragments[ args[0] ];
-               if ( cacheresults ) {
-                       if ( cacheresults !== 1 ) {
-                               fragment = cacheresults;
-                       }
-               }
-       }
-
-       if ( !fragment ) {
-               fragment = doc.createDocumentFragment();
-               jQuery.clean( args, doc, fragment, scripts );
-       }
-
-       if ( cacheable ) {
-               jQuery.fragments[ args[0] ] = cacheresults ? fragment : 1;
-       }
-
-       return { fragment: fragment, cacheable: cacheable };
-}
-
-jQuery.fragments = {};
-
-jQuery.each({
-       appendTo: "append",
-       prependTo: "prepend",
-       insertBefore: "before",
-       insertAfter: "after",
-       replaceAll: "replaceWith"
-}, function( name, original ) {
-       jQuery.fn[ name ] = function( selector ) {
-               var ret = [], insert = jQuery( selector ),
-                       parent = this.length === 1 && this[0].parentNode;
-               
-               if ( parent && parent.nodeType === 11 && parent.childNodes.length === 1 && insert.length === 1 ) {
-                       insert[ original ]( this[0] );
-                       return this;
-                       
-               } else {
-                       for ( var i = 0, l = insert.length; i < l; i++ ) {
-                               var elems = (i > 0 ? this.clone(true) : this).get();
-                               jQuery.fn[ original ].apply( jQuery(insert[i]), elems );
-                               ret = ret.concat( elems );
-                       }
-               
-                       return this.pushStack( ret, name, insert.selector );
-               }
-       };
-});
-
-jQuery.extend({
-       clean: function( elems, context, fragment, scripts ) {
-               context = context || document;
-
-               // !context.createElement fails in IE with an error but returns typeof 'object'
-               if ( typeof context.createElement === "undefined" ) {
-                       context = context.ownerDocument || context[0] && context[0].ownerDocument || document;
-               }
-
-               var ret = [];
-
-               for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
-                       if ( typeof elem === "number" ) {
-                               elem += "";
-                       }
-
-                       if ( !elem ) {
-                               continue;
-                       }
-
-                       // Convert html string into DOM nodes
-                       if ( typeof elem === "string" && !rhtml.test( elem ) ) {
-                               elem = context.createTextNode( elem );
-
-                       } else if ( typeof elem === "string" ) {
-                               // Fix "XHTML"-style tags in all browsers
-                               elem = elem.replace(rxhtmlTag, fcloseTag);
-
-                               // Trim whitespace, otherwise indexOf won't work as expected
-                               var tag = (rtagName.exec( elem ) || ["", ""])[1].toLowerCase(),
-                                       wrap = wrapMap[ tag ] || wrapMap._default,
-                                       depth = wrap[0],
-                                       div = context.createElement("div");
-
-                               // Go to html and back, then peel off extra wrappers
-                               div.innerHTML = wrap[1] + elem + wrap[2];
-
-                               // Move to the right depth
-                               while ( depth-- ) {
-                                       div = div.lastChild;
-                               }
-
-                               // Remove IE's autoinserted <tbody> from table fragments
-                               if ( !jQuery.support.tbody ) {
-
-                                       // String was a <table>, *may* have spurious <tbody>
-                                       var hasBody = rtbody.test(elem),
-                                               tbody = tag === "table" && !hasBody ?
-                                                       div.firstChild && div.firstChild.childNodes :
-
-                                                       // String was a bare <thead> or <tfoot>
-                                                       wrap[1] === "<table>" && !hasBody ?
-                                                               div.childNodes :
-                                                               [];
-
-                                       for ( var j = tbody.length - 1; j >= 0 ; --j ) {
-                                               if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) {
-                                                       tbody[ j ].parentNode.removeChild( tbody[ j ] );
-                                               }
-                                       }
-
-                               }
-
-                               // IE completely kills leading whitespace when innerHTML is used
-                               if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) {
-                                       div.insertBefore( context.createTextNode( rleadingWhitespace.exec(elem)[0] ), div.firstChild );
-                               }
-
-                               elem = div.childNodes;
-                       }
-
-                       if ( elem.nodeType ) {
-                               ret.push( elem );
-                       } else {
-                               ret = jQuery.merge( ret, elem );
-                       }
-               }
-
-               if ( fragment ) {
-                       for ( var i = 0; ret[i]; i++ ) {
-                               if ( scripts && jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) {
-                                       scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] );
-                               
-                               } else {
-                                       if ( ret[i].nodeType === 1 ) {
-                                               ret.splice.apply( ret, [i + 1, 0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))) );
-                                       }
-                                       fragment.appendChild( ret[i] );
-                               }
-                       }
-               }
-
-               return ret;
-       },
-       
-       cleanData: function( elems ) {
-               var data, id, cache = jQuery.cache,
-                       special = jQuery.event.special,
-                       deleteExpando = jQuery.support.deleteExpando;
-               
-               for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
-                       id = elem[ jQuery.expando ];
-                       
-                       if ( id ) {
-                               data = cache[ id ];
-                               
-                               if ( data.events ) {
-                                       for ( var type in data.events ) {
-                                               if ( special[ type ] ) {
-                                                       jQuery.event.remove( elem, type );
-
-                                               } else {
-                                                       removeEvent( elem, type, data.handle );
-                                               }
-                                       }
-                               }
-                               
-                               if ( deleteExpando ) {
-                                       delete elem[ jQuery.expando ];
-
-                               } else if ( elem.removeAttribute ) {
-                                       elem.removeAttribute( jQuery.expando );
-                               }
-                               
-                               delete cache[ id ];
-                       }
-               }
-       }
-});
-// exclude the following css properties to add px
-var rexclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,
-       ralpha = /alpha\([^)]*\)/,
-       ropacity = /opacity=([^)]*)/,
-       rfloat = /float/i,
-       rdashAlpha = /-([a-z])/ig,
-       rupper = /([A-Z])/g,
-       rnumpx = /^-?\d+(?:px)?$/i,
-       rnum = /^-?\d/,
-
-       cssShow = { position: "absolute", visibility: "hidden", display:"block" },
-       cssWidth = [ "Left", "Right" ],
-       cssHeight = [ "Top", "Bottom" ],
-
-       // cache check for defaultView.getComputedStyle
-       getComputedStyle = document.defaultView && document.defaultView.getComputedStyle,
-       // normalize float css property
-       styleFloat = jQuery.support.cssFloat ? "cssFloat" : "styleFloat",
-       fcamelCase = function( all, letter ) {
-               return letter.toUpperCase();
-       };
-
-jQuery.fn.css = function( name, value ) {
-       return access( this, name, value, true, function( elem, name, value ) {
-               if ( value === undefined ) {
-                       return jQuery.curCSS( elem, name );
-               }
-               
-               if ( typeof value === "number" && !rexclude.test(name) ) {
-                       value += "px";
-               }
-
-               jQuery.style( elem, name, value );
-       });
-};
-
-jQuery.extend({
-       style: function( elem, name, value ) {
-               // don't set styles on text and comment nodes
-               if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) {
-                       return undefined;
-               }
-
-               // ignore negative width and height values #1599
-               if ( (name === "width" || name === "height") && parseFloat(value) < 0 ) {
-                       value = undefined;
-               }
-
-               var style = elem.style || elem, set = value !== undefined;
-
-               // IE uses filters for opacity
-               if ( !jQuery.support.opacity && name === "opacity" ) {
-                       if ( set ) {
-                               // IE has trouble with opacity if it does not have layout
-                               // Force it by setting the zoom level
-                               style.zoom = 1;
-
-                               // Set the alpha filter to set the opacity
-                               var opacity = parseInt( value, 10 ) + "" === "NaN" ? "" : "alpha(opacity=" + value * 100 + ")";
-                               var filter = style.filter || jQuery.curCSS( elem, "filter" ) || "";
-                               style.filter = ralpha.test(filter) ? filter.replace(ralpha, opacity) : opacity;
-                       }
-
-                       return style.filter && style.filter.indexOf("opacity=") >= 0 ?
-                               (parseFloat( ropacity.exec(style.filter)[1] ) / 100) + "":
-                               "";
-               }
-
-               // Make sure we're using the right name for getting the float value
-               if ( rfloat.test( name ) ) {
-                       name = styleFloat;
-               }
-
-               name = name.replace(rdashAlpha, fcamelCase);
-
-               if ( set ) {
-                       style[ name ] = value;
-               }
-
-               return style[ name ];
-       },
-
-       css: function( elem, name, force, extra ) {
-               if ( name === "width" || name === "height" ) {
-                       var val, props = cssShow, which = name === "width" ? cssWidth : cssHeight;
-
-                       function getWH() {
-                               val = name === "width" ? elem.offsetWidth : elem.offsetHeight;
-
-                               if ( extra === "border" ) {
-                                       return;
-                               }
-
-                               jQuery.each( which, function() {
-                                       if ( !extra ) {
-                                               val -= parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0;
-                                       }
-
-                                       if ( extra === "margin" ) {
-                                               val += parseFloat(jQuery.curCSS( elem, "margin" + this, true)) || 0;
-                                       } else {
-                                               val -= parseFloat(jQuery.curCSS( elem, "border" + this + "Width", true)) || 0;
-                                       }
-                               });
-                       }
-
-                       if ( elem.offsetWidth !== 0 ) {
-                               getWH();
-                       } else {
-                               jQuery.swap( elem, props, getWH );
-                       }
-
-                       return Math.max(0, Math.round(val));
-               }
-
-               return jQuery.curCSS( elem, name, force );
-       },
-
-       curCSS: function( elem, name, force ) {
-               var ret, style = elem.style, filter;
-
-               // IE uses filters for opacity
-               if ( !jQuery.support.opacity && name === "opacity" && elem.currentStyle ) {
-                       ret = ropacity.test(elem.currentStyle.filter || "") ?
-                               (parseFloat(RegExp.$1) / 100) + "" :
-                               "";
-
-                       return ret === "" ?
-                               "1" :
-                               ret;
-               }
-
-               // Make sure we're using the right name for getting the float value
-               if ( rfloat.test( name ) ) {
-                       name = styleFloat;
-               }
-
-               if ( !force && style && style[ name ] ) {
-                       ret = style[ name ];
-
-               } else if ( getComputedStyle ) {
-
-                       // Only "float" is needed here
-                       if ( rfloat.test( name ) ) {
-                               name = "float";
-                       }
-
-                       name = name.replace( rupper, "-$1" ).toLowerCase();
-
-                       var defaultView = elem.ownerDocument.defaultView;
-
-                       if ( !defaultView ) {
-                               return null;
-                       }
-
-                       var computedStyle = defaultView.getComputedStyle( elem, null );
-
-                       if ( computedStyle ) {
-                               ret = computedStyle.getPropertyValue( name );
-                       }
-
-                       // We should always get a number back from opacity
-                       if ( name === "opacity" && ret === "" ) {
-                               ret = "1";
-                       }
-
-               } else if ( elem.currentStyle ) {
-                       var camelCase = name.replace(rdashAlpha, fcamelCase);
-
-                       ret = elem.currentStyle[ name ] || elem.currentStyle[ camelCase ];
-
-                       // From the awesome hack by Dean Edwards
-                       // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
-
-                       // If we're not dealing with a regular pixel number
-                       // but a number that has a weird ending, we need to convert it to pixels
-                       if ( !rnumpx.test( ret ) && rnum.test( ret ) ) {
-                               // Remember the original values
-                               var left = style.left, rsLeft = elem.runtimeStyle.left;
-
-                               // Put in the new values to get a computed value out
-                               elem.runtimeStyle.left = elem.currentStyle.left;
-                               style.left = camelCase === "fontSize" ? "1em" : (ret || 0);
-                               ret = style.pixelLeft + "px";
-
-                               // Revert the changed values
-                               style.left = left;
-                               elem.runtimeStyle.left = rsLeft;
-                       }
-               }
-
-               return ret;
-       },
-
-       // A method for quickly swapping in/out CSS properties to get correct calculations
-       swap: function( elem, options, callback ) {
-               var old = {};
-
-               // Remember the old values, and insert the new ones
-               for ( var name in options ) {
-                       old[ name ] = elem.style[ name ];
-                       elem.style[ name ] = options[ name ];
-               }
-
-               callback.call( elem );
-
-               // Revert the old values
-               for ( var name in options ) {
-                       elem.style[ name ] = old[ name ];
-               }
-       }
-});
-
-if ( jQuery.expr && jQuery.expr.filters ) {
-       jQuery.expr.filters.hidden = function( elem ) {
-               var width = elem.offsetWidth, height = elem.offsetHeight,
-                       skip = elem.nodeName.toLowerCase() === "tr";
-
-               return width === 0 && height === 0 && !skip ?
-                       true :
-                       width > 0 && height > 0 && !skip ?
-                               false :
-                               jQuery.curCSS(elem, "display") === "none";
-       };
-
-       jQuery.expr.filters.visible = function( elem ) {
-               return !jQuery.expr.filters.hidden( elem );
-       };
-}
-var jsc = now(),
-       rscript = /<script(.|\s)*?\/script>/gi,
-       rselectTextarea = /select|textarea/i,
-       rinput = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,
-       jsre = /=\?(&|$)/,
-       rquery = /\?/,
-       rts = /(\?|&)_=.*?(&|$)/,
-       rurl = /^(\w+:)?\/\/([^\/?#]+)/,
-       r20 = /%20/g,
-
-       // Keep a copy of the old load method
-       _load = jQuery.fn.load;
-
-jQuery.fn.extend({
-       load: function( url, params, callback ) {
-               if ( typeof url !== "string" ) {
-                       return _load.call( this, url );
-
-               // Don't do a request if no elements are being requested
-               } else if ( !this.length ) {
-                       return this;
-               }
-
-               var off = url.indexOf(" ");
-               if ( off >= 0 ) {
-                       var selector = url.slice(off, url.length);
-                       url = url.slice(0, off);
-               }
-
-               // Default to a GET request
-               var type = "GET";
-
-               // If the second parameter was provided
-               if ( params ) {
-                       // If it's a function
-                       if ( jQuery.isFunction( params ) ) {
-                               // We assume that it's the callback
-                               callback = params;
-                               params = null;
-
-                       // Otherwise, build a param string
-                       } else if ( typeof params === "object" ) {
-                               params = jQuery.param( params, jQuery.ajaxSettings.traditional );
-                               type = "POST";
-                       }
-               }
-
-               var self = this;
-
-               // Request the remote document
-               jQuery.ajax({
-                       url: url,
-                       type: type,
-                       dataType: "html",
-                       data: params,
-                       complete: function( res, status ) {
-                               // If successful, inject the HTML into all the matched elements
-                               if ( status === "success" || status === "notmodified" ) {
-                                       // See if a selector was specified
-                                       self.html( selector ?
-                                               // Create a dummy div to hold the results
-                                               jQuery("<div />")
-                                                       // inject the contents of the document in, removing the scripts
-                                                       // to avoid any 'Permission Denied' errors in IE
-                                                       .append(res.responseText.replace(rscript, ""))
-
-                                                       // Locate the specified elements
-                                                       .find(selector) :
-
-                                               // If not, just inject the full result
-                                               res.responseText );
-                               }
-
-                               if ( callback ) {
-                                       self.each( callback, [res.responseText, status, res] );
-                               }
-                       }
-               });
-
-               return this;
-       },
-
-       serialize: function() {
-               return jQuery.param(this.serializeArray());
-       },
-       serializeArray: function() {
-               return this.map(function() {
-                       return this.elements ? jQuery.makeArray(this.elements) : this;
-               })
-               .filter(function() {
-                       return this.name && !this.disabled &&
-                               (this.checked || rselectTextarea.test(this.nodeName) ||
-                                       rinput.test(this.type));
-               })
-               .map(function( i, elem ) {
-                       var val = jQuery(this).val();
-
-                       return val == null ?
-                               null :
-                               jQuery.isArray(val) ?
-                                       jQuery.map( val, function( val, i ) {
-                                               return { name: elem.name, value: val };
-                                       }) :
-                                       { name: elem.name, value: val };
-               }).get();
-       }
-});
-
-// Attach a bunch of functions for handling common AJAX events
-jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function( i, o ) {
-       jQuery.fn[o] = function( f ) {
-               return this.bind(o, f);
-       };
-});
-
-jQuery.extend({
-
-       get: function( url, data, callback, type ) {
-               // shift arguments if data argument was omited
-               if ( jQuery.isFunction( data ) ) {
-                       type = type || callback;
-                       callback = data;
-                       data = null;
-               }
-
-               return jQuery.ajax({
-                       type: "GET",
-                       url: url,
-                       data: data,
-                       success: callback,
-                       dataType: type
-               });
-       },
-
-       getScript: function( url, callback ) {
-               return jQuery.get(url, null, callback, "script");
-       },
-
-       getJSON: function( url, data, callback ) {
-               return jQuery.get(url, data, callback, "json");
-       },
-
-       post: function( url, data, callback, type ) {
-               // shift arguments if data argument was omited
-               if ( jQuery.isFunction( data ) ) {
-                       type = type || callback;
-                       callback = data;
-                       data = {};
-               }
-
-               return jQuery.ajax({
-                       type: "POST",
-                       url: url,
-                       data: data,
-                       success: callback,
-                       dataType: type
-               });
-       },
-
-       ajaxSetup: function( settings ) {
-               jQuery.extend( jQuery.ajaxSettings, settings );
-       },
-
-       ajaxSettings: {
-               url: location.href,
-               global: true,
-               type: "GET",
-               contentType: "application/x-www-form-urlencoded",
-               processData: true,
-               async: true,
-               /*
-               timeout: 0,
-               data: null,
-               username: null,
-               password: null,
-               traditional: false,
-               */
-               // Create the request object; Microsoft failed to properly
-               // implement the XMLHttpRequest in IE7 (can't request local files),
-               // so we use the ActiveXObject when it is available
-               // This function can be overriden by calling jQuery.ajaxSetup
-               xhr: window.XMLHttpRequest && (window.location.protocol !== "file:" || !window.ActiveXObject) ?
-                       function() {
-                               return new window.XMLHttpRequest();
-                       } :
-                       function() {
-                               try {
-                                       return new window.ActiveXObject("Microsoft.XMLHTTP");
-                               } catch(e) {}
-                       },
-               accepts: {
-                       xml: "application/xml, text/xml",
-                       html: "text/html",
-                       script: "text/javascript, application/javascript",
-                       json: "application/json, text/javascript",
-                       text: "text/plain",
-                       _default: "*/*"
-               }
-       },
-
-       // Last-Modified header cache for next request
-       lastModified: {},
-       etag: {},
-
-       ajax: function( origSettings ) {
-               var s = jQuery.extend(true, {}, jQuery.ajaxSettings, origSettings);
-               
-               var jsonp, status, data,
-                       callbackContext = origSettings && origSettings.context || s,
-                       type = s.type.toUpperCase();
-
-               // convert data if not already a string
-               if ( s.data && s.processData && typeof s.data !== "string" ) {
-                       s.data = jQuery.param( s.data, s.traditional );
-               }
-
-               // Handle JSONP Parameter Callbacks
-               if ( s.dataType === "jsonp" ) {
-                       if ( type === "GET" ) {
-                               if ( !jsre.test( s.url ) ) {
-                                       s.url += (rquery.test( s.url ) ? "&" : "?") + (s.jsonp || "callback") + "=?";
-                               }
-                       } else if ( !s.data || !jsre.test(s.data) ) {
-                               s.data = (s.data ? s.data + "&" : "") + (s.jsonp || "callback") + "=?";
-                       }
-                       s.dataType = "json";
-               }
-
-               // Build temporary JSONP function
-               if ( s.dataType === "json" && (s.data && jsre.test(s.data) || jsre.test(s.url)) ) {
-                       jsonp = s.jsonpCallback || ("jsonp" + jsc++);
-
-                       // Replace the =? sequence both in the query string and the data
-                       if ( s.data ) {
-                               s.data = (s.data + "").replace(jsre, "=" + jsonp + "$1");
-                       }
-
-                       s.url = s.url.replace(jsre, "=" + jsonp + "$1");
-
-                       // We need to make sure
-                       // that a JSONP style response is executed properly
-                       s.dataType = "script";
-
-                       // Handle JSONP-style loading
-                       window[ jsonp ] = window[ jsonp ] || function( tmp ) {
-                               data = tmp;
-                               success();
-                               complete();
-                               // Garbage collect
-                               window[ jsonp ] = undefined;
-
-                               try {
-                                       delete window[ jsonp ];
-                               } catch(e) {}
-
-                               if ( head ) {
-                                       head.removeChild( script );
-                               }
-                       };
-               }
-
-               if ( s.dataType === "script" && s.cache === null ) {
-                       s.cache = false;
-               }
-
-               if ( s.cache === false && type === "GET" ) {
-                       var ts = now();
-
-                       // try replacing _= if it is there
-                       var ret = s.url.replace(rts, "$1_=" + ts + "$2");
-
-                       // if nothing was replaced, add timestamp to the end
-                       s.url = ret + ((ret === s.url) ? (rquery.test(s.url) ? "&" : "?") + "_=" + ts : "");
-               }
-
-               // If data is available, append data to url for get requests
-               if ( s.data && type === "GET" ) {
-                       s.url += (rquery.test(s.url) ? "&" : "?") + s.data;
-               }
-
-               // Watch for a new set of requests
-               if ( s.global && ! jQuery.active++ ) {
-                       jQuery.event.trigger( "ajaxStart" );
-               }
-
-               // Matches an absolute URL, and saves the domain
-               var parts = rurl.exec( s.url ),
-                       remote = parts && (parts[1] && parts[1] !== location.protocol || parts[2] !== location.host);
-
-               // If we're requesting a remote document
-               // and trying to load JSON or Script with a GET
-               if ( s.dataType === "script" && type === "GET" && remote ) {
-                       var head = document.getElementsByTagName("head")[0] || document.documentElement;
-                       var script = document.createElement("script");
-                       script.src = s.url;
-                       if ( s.scriptCharset ) {
-                               script.charset = s.scriptCharset;
-                       }
-
-                       // Handle Script loading
-                       if ( !jsonp ) {
-                               var done = false;
-
-                               // Attach handlers for all browsers
-                               script.onload = script.onreadystatechange = function() {
-                                       if ( !done && (!this.readyState ||
-                                                       this.readyState === "loaded" || this.readyState === "complete") ) {
-                                               done = true;
-                                               success();
-                                               complete();
-
-                                               // Handle memory leak in IE
-                                               script.onload = script.onreadystatechange = null;
-                                               if ( head && script.parentNode ) {
-                                                       head.removeChild( script );
-                                               }
-                                       }
-                               };
-                       }
-
-                       // Use insertBefore instead of appendChild  to circumvent an IE6 bug.
-                       // This arises when a base node is used (#2709 and #4378).
-                       head.insertBefore( script, head.firstChild );
-
-                       // We handle everything using the script element injection
-                       return undefined;
-               }
-
-               var requestDone = false;
-
-               // Create the request object
-               var xhr = s.xhr();
-
-               if ( !xhr ) {
-                       return;
-               }
-
-               // Open the socket
-               // Passing null username, generates a login popup on Opera (#2865)
-               if ( s.username ) {
-                       xhr.open(type, s.url, s.async, s.username, s.password);
-               } else {
-                       xhr.open(type, s.url, s.async);
-               }
-
-               // Need an extra try/catch for cross domain requests in Firefox 3
-               try {
-                       // Set the correct header, if data is being sent
-                       if ( s.data || origSettings && origSettings.contentType ) {
-                               xhr.setRequestHeader("Content-Type", s.contentType);
-                       }
-
-                       // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
-                       if ( s.ifModified ) {
-                               if ( jQuery.lastModified[s.url] ) {
-                                       xhr.setRequestHeader("If-Modified-Since", jQuery.lastModified[s.url]);
-                               }
-
-                               if ( jQuery.etag[s.url] ) {
-                                       xhr.setRequestHeader("If-None-Match", jQuery.etag[s.url]);
-                               }
-                       }
-
-                       // Set header so the called script knows that it's an XMLHttpRequest
-                       // Only send the header if it's not a remote XHR
-                       if ( !remote ) {
-                               xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
-                       }
-
-                       // Set the Accepts header for the server, depending on the dataType
-                       xhr.setRequestHeader("Accept", s.dataType && s.accepts[ s.dataType ] ?
-                               s.accepts[ s.dataType ] + ", */*" :
-                               s.accepts._default );
-               } catch(e) {}
-
-               // Allow custom headers/mimetypes and early abort
-               if ( s.beforeSend && s.beforeSend.call(callbackContext, xhr, s) === false ) {
-                       // Handle the global AJAX counter
-                       if ( s.global && ! --jQuery.active ) {
-                               jQuery.event.trigger( "ajaxStop" );
-                       }
-
-                       // close opended socket
-                       xhr.abort();
-                       return false;
-               }
-
-               if ( s.global ) {
-                       trigger("ajaxSend", [xhr, s]);
-               }
-
-               // Wait for a response to come back
-               var onreadystatechange = xhr.onreadystatechange = function( isTimeout ) {
-                       // The request was aborted
-                       if ( !xhr || xhr.readyState === 0 || isTimeout === "abort" ) {
-                               // Opera doesn't call onreadystatechange before this point
-                               // so we simulate the call
-                               if ( !requestDone ) {
-                                       complete();
-                               }
-
-                               requestDone = true;
-                               if ( xhr ) {
-                                       xhr.onreadystatechange = jQuery.noop;
-                               }
-
-                       // The transfer is complete and the data is available, or the request timed out
-                       } else if ( !requestDone && xhr && (xhr.readyState === 4 || isTimeout === "timeout") ) {
-                               requestDone = true;
-                               xhr.onreadystatechange = jQuery.noop;
-
-                               status = isTimeout === "timeout" ?
-                                       "timeout" :
-                                       !jQuery.httpSuccess( xhr ) ?
-                                               "error" :
-                                               s.ifModified && jQuery.httpNotModified( xhr, s.url ) ?
-                                                       "notmodified" :
-                                                       "success";
-
-                               var errMsg;
-
-                               if ( status === "success" ) {
-                                       // Watch for, and catch, XML document parse errors
-                                       try {
-                                               // process the data (runs the xml through httpData regardless of callback)
-                                               data = jQuery.httpData( xhr, s.dataType, s );
-                                       } catch(err) {
-                                               status = "parsererror";
-                                               errMsg = err;
-                                       }
-                               }
-
-                               // Make sure that the request was successful or notmodified
-                               if ( status === "success" || status === "notmodified" ) {
-                                       // JSONP handles its own success callback
-                                       if ( !jsonp ) {
-                                               success();
-                                       }
-                               } else {
-                                       jQuery.handleError(s, xhr, status, errMsg);
-                               }
-
-                               // Fire the complete handlers
-                               complete();
-
-                               if ( isTimeout === "timeout" ) {
-                                       xhr.abort();
-                               }
-
-                               // Stop memory leaks
-                               if ( s.async ) {
-                                       xhr = null;
-                               }
-                       }
-               };
-
-               // Override the abort handler, if we can (IE doesn't allow it, but that's OK)
-               // Opera doesn't fire onreadystatechange at all on abort
-               try {
-                       var oldAbort = xhr.abort;
-                       xhr.abort = function() {
-                               if ( xhr ) {
-                                       oldAbort.call( xhr );
-                               }
-
-                               onreadystatechange( "abort" );
-                       };
-               } catch(e) { }
-
-               // Timeout checker
-               if ( s.async && s.timeout > 0 ) {
-                       setTimeout(function() {
-                               // Check to see if the request is still happening
-                               if ( xhr && !requestDone ) {
-                                       onreadystatechange( "timeout" );
-                               }
-                       }, s.timeout);
-               }
-
-               // Send the data
-               try {
-                       xhr.send( type === "POST" || type === "PUT" || type === "DELETE" ? s.data : null );
-               } catch(e) {
-                       jQuery.handleError(s, xhr, null, e);
-                       // Fire the complete handlers
-                       complete();
-               }
-
-               // firefox 1.5 doesn't fire statechange for sync requests
-               if ( !s.async ) {
-                       onreadystatechange();
-               }
-
-               function success() {
-                       // If a local callback was specified, fire it and pass it the data
-                       if ( s.success ) {
-                               s.success.call( callbackContext, data, status, xhr );
-                       }
-
-                       // Fire the global callback
-                       if ( s.global ) {
-                               trigger( "ajaxSuccess", [xhr, s] );
-                       }
-               }
-
-               function complete() {
-                       // Process result
-                       if ( s.complete ) {
-                               s.complete.call( callbackContext, xhr, status);
-                       }
-
-                       // The request was completed
-                       if ( s.global ) {
-                               trigger( "ajaxComplete", [xhr, s] );
-                       }
-
-                       // Handle the global AJAX counter
-                       if ( s.global && ! --jQuery.active ) {
-                               jQuery.event.trigger( "ajaxStop" );
-                       }
-               }
-               
-               function trigger(type, args) {
-                       (s.context ? jQuery(s.context) : jQuery.event).trigger(type, args);
-               }
-
-               // return XMLHttpRequest to allow aborting the request etc.
-               return xhr;
-       },
-
-       handleError: function( s, xhr, status, e ) {
-               // If a local callback was specified, fire it
-               if ( s.error ) {
-                       s.error.call( s.context || s, xhr, status, e );
-               }
-
-               // Fire the global callback
-               if ( s.global ) {
-                       (s.context ? jQuery(s.context) : jQuery.event).trigger( "ajaxError", [xhr, s, e] );
-               }
-       },
-
-       // Counter for holding the number of active queries
-       active: 0,
-
-       // Determines if an XMLHttpRequest was successful or not
-       httpSuccess: function( xhr ) {
-               try {
-                       // IE error sometimes returns 1223 when it should be 204 so treat it as success, see #1450
-                       return !xhr.status && location.protocol === "file:" ||
-                               // Opera returns 0 when status is 304
-                               ( xhr.status >= 200 && xhr.status < 300 ) ||
-                               xhr.status === 304 || xhr.status === 1223 || xhr.status === 0;
-               } catch(e) {}
-
-               return false;
-       },
-
-       // Determines if an XMLHttpRequest returns NotModified
-       httpNotModified: function( xhr, url ) {
-               var lastModified = xhr.getResponseHeader("Last-Modified"),
-                       etag = xhr.getResponseHeader("Etag");
-
-               if ( lastModified ) {
-                       jQuery.lastModified[url] = lastModified;
-               }
-
-               if ( etag ) {
-                       jQuery.etag[url] = etag;
-               }
-
-               // Opera returns 0 when status is 304
-               return xhr.status === 304 || xhr.status === 0;
-       },
-
-       httpData: function( xhr, type, s ) {
-               var ct = xhr.getResponseHeader("content-type") || "",
-                       xml = type === "xml" || !type && ct.indexOf("xml") >= 0,
-                       data = xml ? xhr.responseXML : xhr.responseText;
-
-               if ( xml && data.documentElement.nodeName === "parsererror" ) {
-                       jQuery.error( "parsererror" );
-               }
-
-               // Allow a pre-filtering function to sanitize the response
-               // s is checked to keep backwards compatibility
-               if ( s && s.dataFilter ) {
-                       data = s.dataFilter( data, type );
-               }
-
-               // The filter can actually parse the response
-               if ( typeof data === "string" ) {
-                       // Get the JavaScript object, if JSON is used.
-                       if ( type === "json" || !type && ct.indexOf("json") >= 0 ) {
-                               data = jQuery.parseJSON( data );
-
-                       // If the type is "script", eval it in global context
-                       } else if ( type === "script" || !type && ct.indexOf("javascript") >= 0 ) {
-                               jQuery.globalEval( data );
-                       }
-               }
-
-               return data;
-       },
-
-       // Serialize an array of form elements or a set of
-       // key/values into a query string
-       param: function( a, traditional ) {
-               var s = [];
-               
-               // Set traditional to true for jQuery <= 1.3.2 behavior.
-               if ( traditional === undefined ) {
-                       traditional = jQuery.ajaxSettings.traditional;
-               }
-               
-               // If an array was passed in, assume that it is an array of form elements.
-               if ( jQuery.isArray(a) || a.jquery ) {
-                       // Serialize the form elements
-                       jQuery.each( a, function() {
-                               add( this.name, this.value );
-                       });
-                       
-               } else {
-                       // If traditional, encode the "old" way (the way 1.3.2 or older
-                       // did it), otherwise encode params recursively.
-                       for ( var prefix in a ) {
-                               buildParams( prefix, a[prefix] );
-                       }
-               }
-
-               // Return the resulting serialization
-               return s.join("&").replace(r20, "+");
-
-               function buildParams( prefix, obj ) {
-                       if ( jQuery.isArray(obj) ) {
-                               // Serialize array item.
-                               jQuery.each( obj, function( i, v ) {
-                                       if ( traditional || /\[\]$/.test( prefix ) ) {
-                                               // Treat each array item as a scalar.
-                                               add( prefix, v );
-                                       } else {
-                                               // If array item is non-scalar (array or object), encode its
-                                               // numeric index to resolve deserialization ambiguity issues.
-                                               // Note that rack (as of 1.0.0) can't currently deserialize
-                                               // nested arrays properly, and attempting to do so may cause
-                                               // a server error. Possible fixes are to modify rack's
-                                               // deserialization algorithm or to provide an option or flag
-                                               // to force array serialization to be shallow.
-                                               buildParams( prefix + "[" + ( typeof v === "object" || jQuery.isArray(v) ? i : "" ) + "]", v );
-                                       }
-                               });
-                                       
-                       } else if ( !traditional && obj != null && typeof obj === "object" ) {
-                               // Serialize object item.
-                               jQuery.each( obj, function( k, v ) {
-                                       buildParams( prefix + "[" + k + "]", v );
-                               });
-                                       
-                       } else {
-                               // Serialize scalar item.
-                               add( prefix, obj );
-                       }
-               }
-
-               function add( key, value ) {
-                       // If value is a function, invoke it and return its value
-                       value = jQuery.isFunction(value) ? value() : value;
-                       s[ s.length ] = encodeURIComponent(key) + "=" + encodeURIComponent(value);
-               }
-       }
-});
-var elemdisplay = {},
-       rfxtypes = /toggle|show|hide/,
-       rfxnum = /^([+-]=)?([\d+-.]+)(.*)$/,
-       timerId,
-       fxAttrs = [
-               // height animations
-               [ "height", "marginTop", "marginBottom", "paddingTop", "paddingBottom" ],
-               // width animations
-               [ "width", "marginLeft", "marginRight", "paddingLeft", "paddingRight" ],
-               // opacity animations
-               [ "opacity" ]
-       ];
-
-jQuery.fn.extend({
-       show: function( speed, callback ) {
-               if ( speed || speed === 0) {
-                       return this.animate( genFx("show", 3), speed, callback);
-
-               } else {
-                       for ( var i = 0, l = this.length; i < l; i++ ) {
-                               var old = jQuery.data(this[i], "olddisplay");
-
-                               this[i].style.display = old || "";
-
-                               if ( jQuery.css(this[i], "display") === "none" ) {
-                                       var nodeName = this[i].nodeName, display;
-
-                                       if ( elemdisplay[ nodeName ] ) {
-                                               display = elemdisplay[ nodeName ];
-
-                                       } else {
-                                               var elem = jQuery("<" + nodeName + " />").appendTo("body");
-
-                                               display = elem.css("display");
-
-                                               if ( display === "none" ) {
-                                                       display = "block";
-                                               }
-
-                                               elem.remove();
-
-                                               elemdisplay[ nodeName ] = display;
-                                       }
-
-                                       jQuery.data(this[i], "olddisplay", display);
-                               }
-                       }
-
-                       // Set the display of the elements in a second loop
-                       // to avoid the constant reflow
-                       for ( var j = 0, k = this.length; j < k; j++ ) {
-                               this[j].style.display = jQuery.data(this[j], "olddisplay") || "";
-                       }
-
-                       return this;
-               }
-       },
-
-       hide: function( speed, callback ) {
-               if ( speed || speed === 0 ) {
-                       return this.animate( genFx("hide", 3), speed, callback);
-
-               } else {
-                       for ( var i = 0, l = this.length; i < l; i++ ) {
-                               var old = jQuery.data(this[i], "olddisplay");
-                               if ( !old && old !== "none" ) {
-                                       jQuery.data(this[i], "olddisplay", jQuery.css(this[i], "display"));
-                               }
-                       }
-
-                       // Set the display of the elements in a second loop
-                       // to avoid the constant reflow
-                       for ( var j = 0, k = this.length; j < k; j++ ) {
-                               this[j].style.display = "none";
-                       }
-
-                       return this;
-               }
-       },
-
-       // Save the old toggle function
-       _toggle: jQuery.fn.toggle,
-
-       toggle: function( fn, fn2 ) {
-               var bool = typeof fn === "boolean";
-
-               if ( jQuery.isFunction(fn) && jQuery.isFunction(fn2) ) {
-                       this._toggle.apply( this, arguments );
-
-               } else if ( fn == null || bool ) {
-                       this.each(function() {
-                               var state = bool ? fn : jQuery(this).is(":hidden");
-                               jQuery(this)[ state ? "show" : "hide" ]();
-                       });
-
-               } else {
-                       this.animate(genFx("toggle", 3), fn, fn2);
-               }
-
-               return this;
-       },
-
-       fadeTo: function( speed, to, callback ) {
-               return this.filter(":hidden").css("opacity", 0).show().end()
-                                       .animate({opacity: to}, speed, callback);
-       },
-
-       animate: function( prop, speed, easing, callback ) {
-               var optall = jQuery.speed(speed, easing, callback);
-
-               if ( jQuery.isEmptyObject( prop ) ) {
-                       return this.each( optall.complete );
-               }
-
-               return this[ optall.queue === false ? "each" : "queue" ](function() {
-                       var opt = jQuery.extend({}, optall), p,
-                               hidden = this.nodeType === 1 && jQuery(this).is(":hidden"),
-                               self = this;
-
-                       for ( p in prop ) {
-                               var name = p.replace(rdashAlpha, fcamelCase);
-
-                               if ( p !== name ) {
-                                       prop[ name ] = prop[ p ];
-                                       delete prop[ p ];
-                                       p = name;
-                               }
-
-                               if ( prop[p] === "hide" && hidden || prop[p] === "show" && !hidden ) {
-                                       return opt.complete.call(this);
-                               }
-
-                               if ( ( p === "height" || p === "width" ) && this.style ) {
-                                       // Store display property
-                                       opt.display = jQuery.css(this, "display");
-
-                                       // Make sure that nothing sneaks out
-                                       opt.overflow = this.style.overflow;
-                               }
-
-                               if ( jQuery.isArray( prop[p] ) ) {
-                                       // Create (if needed) and add to specialEasing
-                                       (opt.specialEasing = opt.specialEasing || {})[p] = prop[p][1];
-                                       prop[p] = prop[p][0];
-                               }
-                       }
-
-                       if ( opt.overflow != null ) {
-                               this.style.overflow = "hidden";
-                       }
-
-                       opt.curAnim = jQuery.extend({}, prop);
-
-                       jQuery.each( prop, function( name, val ) {
-                               var e = new jQuery.fx( self, opt, name );
-
-                               if ( rfxtypes.test(val) ) {
-                                       e[ val === "toggle" ? hidden ? "show" : "hide" : val ]( prop );
-
-                               } else {
-                                       var parts = rfxnum.exec(val),
-                                               start = e.cur(true) || 0;
-
-                                       if ( parts ) {
-                                               var end = parseFloat( parts[2] ),
-                                                       unit = parts[3] || "px";
-
-                                               // We need to compute starting value
-                                               if ( unit !== "px" ) {
-                                                       self.style[ name ] = (end || 1) + unit;
-                                                       start = ((end || 1) / e.cur(true)) * start;
-                                                       self.style[ name ] = start + unit;
-                                               }
-
-                                               // If a +=/-= token was provided, we're doing a relative animation
-                                               if ( parts[1] ) {
-                                                       end = ((parts[1] === "-=" ? -1 : 1) * end) + start;
-                                               }
-
-                                               e.custom( start, end, unit );
-
-                                       } else {
-                                               e.custom( start, val, "" );
-                                       }
-                               }
-                       });
-
-                       // For JS strict compliance
-                       return true;
-               });
-       },
-
-       stop: function( clearQueue, gotoEnd ) {
-               var timers = jQuery.timers;
-
-               if ( clearQueue ) {
-                       this.queue([]);
-               }
-
-               this.each(function() {
-                       // go in reverse order so anything added to the queue during the loop is ignored
-                       for ( var i = timers.length - 1; i >= 0; i-- ) {
-                               if ( timers[i].elem === this ) {
-                                       if (gotoEnd) {
-                                               // force the next step to be the last
-                                               timers[i](true);
-                                       }
-
-                                       timers.splice(i, 1);
-                               }
-                       }
-               });
-
-               // start the next in the queue if the last step wasn't forced
-               if ( !gotoEnd ) {
-                       this.dequeue();
-               }
-
-               return this;
-       }
-
-});
-
-// Generate shortcuts for custom animations
-jQuery.each({
-       slideDown: genFx("show", 1),
-       slideUp: genFx("hide", 1),
-       slideToggle: genFx("toggle", 1),
-       fadeIn: { opacity: "show" },
-       fadeOut: { opacity: "hide" }
-}, function( name, props ) {
-       jQuery.fn[ name ] = function( speed, callback ) {
-               return this.animate( props, speed, callback );
-       };
-});
-
-jQuery.extend({
-       speed: function( speed, easing, fn ) {
-               var opt = speed && typeof speed === "object" ? speed : {
-                       complete: fn || !fn && easing ||
-                               jQuery.isFunction( speed ) && speed,
-                       duration: speed,
-                       easing: fn && easing || easing && !jQuery.isFunction(easing) && easing
-               };
-
-               opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
-                       jQuery.fx.speeds[opt.duration] || jQuery.fx.speeds._default;
-
-               // Queueing
-               opt.old = opt.complete;
-               opt.complete = function() {
-                       if ( opt.queue !== false ) {
-                               jQuery(this).dequeue();
-                       }
-                       if ( jQuery.isFunction( opt.old ) ) {
-                               opt.old.call( this );
-                       }
-               };
-
-               return opt;
-       },
-
-       easing: {
-               linear: function( p, n, firstNum, diff ) {
-                       return firstNum + diff * p;
-               },
-               swing: function( p, n, firstNum, diff ) {
-                       return ((-Math.cos(p*Math.PI)/2) + 0.5) * diff + firstNum;
-               }
-       },
-
-       timers: [],
-
-       fx: function( elem, options, prop ) {
-               this.options = options;
-               this.elem = elem;
-               this.prop = prop;
-
-               if ( !options.orig ) {
-                       options.orig = {};
-               }
-       }
-
-});
-
-jQuery.fx.prototype = {
-       // Simple function for setting a style value
-       update: function() {
-               if ( this.options.step ) {
-                       this.options.step.call( this.elem, this.now, this );
-               }
-
-               (jQuery.fx.step[this.prop] || jQuery.fx.step._default)( this );
-
-               // Set display property to block for height/width animations
-               if ( ( this.prop === "height" || this.prop === "width" ) && this.elem.style ) {
-                       this.elem.style.display = "block";
-               }
-       },
-
-       // Get the current size
-       cur: function( force ) {
-               if ( this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null) ) {
-                       return this.elem[ this.prop ];
-               }
-
-               var r = parseFloat(jQuery.css(this.elem, this.prop, force));
-               return r && r > -10000 ? r : parseFloat(jQuery.curCSS(this.elem, this.prop)) || 0;
-       },
-
-       // Start an animation from one number to another
-       custom: function( from, to, unit ) {
-               this.startTime = now();
-               this.start = from;
-               this.end = to;
-               this.unit = unit || this.unit || "px";
-               this.now = this.start;
-               this.pos = this.state = 0;
-
-               var self = this;
-               function t( gotoEnd ) {
-                       return self.step(gotoEnd);
-               }
-
-               t.elem = this.elem;
-
-               if ( t() && jQuery.timers.push(t) && !timerId ) {
-                       timerId = setInterval(jQuery.fx.tick, 13);
-               }
-       },
-
-       // Simple 'show' function
-       show: function() {
-               // Remember where we started, so that we can go back to it later
-               this.options.orig[this.prop] = jQuery.style( this.elem, this.prop );
-               this.options.show = true;
-
-               // Begin the animation
-               // Make sure that we start at a small width/height to avoid any
-               // flash of content
-               this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur());
-
-               // Start by showing the element
-               jQuery( this.elem ).show();
-       },
-
-       // Simple 'hide' function
-       hide: function() {
-               // Remember where we started, so that we can go back to it later
-               this.options.orig[this.prop] = jQuery.style( this.elem, this.prop );
-               this.options.hide = true;
-
-               // Begin the animation
-               this.custom(this.cur(), 0);
-       },
-
-       // Each step of an animation
-       step: function( gotoEnd ) {
-               var t = now(), done = true;
-
-               if ( gotoEnd || t >= this.options.duration + this.startTime ) {
-                       this.now = this.end;
-                       this.pos = this.state = 1;
-                       this.update();
-
-                       this.options.curAnim[ this.prop ] = true;
-
-                       for ( var i in this.options.curAnim ) {
-                               if ( this.options.curAnim[i] !== true ) {
-                                       done = false;
-                               }
-                       }
-
-                       if ( done ) {
-                               if ( this.options.display != null ) {
-                                       // Reset the overflow
-                                       this.elem.style.overflow = this.options.overflow;
-
-                                       // Reset the display
-                                       var old = jQuery.data(this.elem, "olddisplay");
-                                       this.elem.style.display = old ? old : this.options.display;
-
-                                       if ( jQuery.css(this.elem, "display") === "none" ) {
-                                               this.elem.style.display = "block";
-                                       }
-                               }
-
-                               // Hide the element if the "hide" operation was done
-                               if ( this.options.hide ) {
-                                       jQuery(this.elem).hide();
-                               }
-
-                               // Reset the properties, if the item has been hidden or shown
-                               if ( this.options.hide || this.options.show ) {
-                                       for ( var p in this.options.curAnim ) {
-                                               jQuery.style(this.elem, p, this.options.orig[p]);
-                                       }
-                               }
-
-                               // Execute the complete function
-                               this.options.complete.call( this.elem );
-                       }
-
-                       return false;
-
-               } else {
-                       var n = t - this.startTime;
-                       this.state = n / this.options.duration;
-
-                       // Perform the easing function, defaults to swing
-                       var specialEasing = this.options.specialEasing && this.options.specialEasing[this.prop];
-                       var defaultEasing = this.options.easing || (jQuery.easing.swing ? "swing" : "linear");
-                       this.pos = jQuery.easing[specialEasing || defaultEasing](this.state, n, 0, 1, this.options.duration);
-                       this.now = this.start + ((this.end - this.start) * this.pos);
-
-                       // Perform the next step of the animation
-                       this.update();
-               }
-
-               return true;
-       }
-};
-
-jQuery.extend( jQuery.fx, {
-       tick: function() {
-               var timers = jQuery.timers;
-
-               for ( var i = 0; i < timers.length; i++ ) {
-                       if ( !timers[i]() ) {
-                               timers.splice(i--, 1);
-                       }
-               }
-
-               if ( !timers.length ) {
-                       jQuery.fx.stop();
-               }
-       },
-               
-       stop: function() {
-               clearInterval( timerId );
-               timerId = null;
-       },
-       
-       speeds: {
-               slow: 600,
-               fast: 200,
-               // Default speed
-               _default: 400
-       },
-
-       step: {
-               opacity: function( fx ) {
-                       jQuery.style(fx.elem, "opacity", fx.now);
-               },
-
-               _default: function( fx ) {
-                       if ( fx.elem.style && fx.elem.style[ fx.prop ] != null ) {
-                               fx.elem.style[ fx.prop ] = (fx.prop === "width" || fx.prop === "height" ? Math.max(0, fx.now) : fx.now) + fx.unit;
-                       } else {
-                               fx.elem[ fx.prop ] = fx.now;
-                       }
-               }
-       }
-});
-
-if ( jQuery.expr && jQuery.expr.filters ) {
-       jQuery.expr.filters.animated = function( elem ) {
-               return jQuery.grep(jQuery.timers, function( fn ) {
-                       return elem === fn.elem;
-               }).length;
-       };
-}
-
-function genFx( type, num ) {
-       var obj = {};
-
-       jQuery.each( fxAttrs.concat.apply([], fxAttrs.slice(0,num)), function() {
-               obj[ this ] = type;
-       });
-
-       return obj;
-}
-if ( "getBoundingClientRect" in document.documentElement ) {
-       jQuery.fn.offset = function( options ) {
-               var elem = this[0];
-
-               if ( options ) { 
-                       return this.each(function( i ) {
-                               jQuery.offset.setOffset( this, options, i );
-                       });
-               }
-
-               if ( !elem || !elem.ownerDocument ) {
-                       return null;
-               }
-
-               if ( elem === elem.ownerDocument.body ) {
-                       return jQuery.offset.bodyOffset( elem );
-               }
-
-               var box = elem.getBoundingClientRect(), doc = elem.ownerDocument, body = doc.body, docElem = doc.documentElement,
-                       clientTop = docElem.clientTop || body.clientTop || 0, clientLeft = docElem.clientLeft || body.clientLeft || 0,
-                       top  = box.top  + (self.pageYOffset || jQuery.support.boxModel && docElem.scrollTop  || body.scrollTop ) - clientTop,
-                       left = box.left + (self.pageXOffset || jQuery.support.boxModel && docElem.scrollLeft || body.scrollLeft) - clientLeft;
-
-               return { top: top, left: left };
-       };
-
-} else {
-       jQuery.fn.offset = function( options ) {
-               var elem = this[0];
-
-               if ( options ) { 
-                       return this.each(function( i ) {
-                               jQuery.offset.setOffset( this, options, i );
-                       });
-               }
-
-               if ( !elem || !elem.ownerDocument ) {
-                       return null;
-               }
-
-               if ( elem === elem.ownerDocument.body ) {
-                       return jQuery.offset.bodyOffset( elem );
-               }
-
-               jQuery.offset.initialize();
-
-               var offsetParent = elem.offsetParent, prevOffsetParent = elem,
-                       doc = elem.ownerDocument, computedStyle, docElem = doc.documentElement,
-                       body = doc.body, defaultView = doc.defaultView,
-                       prevComputedStyle = defaultView ? defaultView.getComputedStyle( elem, null ) : elem.currentStyle,
-                       top = elem.offsetTop, left = elem.offsetLeft;
-
-               while ( (elem = elem.parentNode) && elem !== body && elem !== docElem ) {
-                       if ( jQuery.offset.supportsFixedPosition && prevComputedStyle.position === "fixed" ) {
-                               break;
-                       }
-
-                       computedStyle = defaultView ? defaultView.getComputedStyle(elem, null) : elem.currentStyle;
-                       top  -= elem.scrollTop;
-                       left -= elem.scrollLeft;
-
-                       if ( elem === offsetParent ) {
-                               top  += elem.offsetTop;
-                               left += elem.offsetLeft;
-
-                               if ( jQuery.offset.doesNotAddBorder && !(jQuery.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(elem.nodeName)) ) {
-                                       top  += parseFloat( computedStyle.borderTopWidth  ) || 0;
-                                       left += parseFloat( computedStyle.borderLeftWidth ) || 0;
-                               }
-
-                               prevOffsetParent = offsetParent, offsetParent = elem.offsetParent;
-                       }
-
-                       if ( jQuery.offset.subtractsBorderForOverflowNotVisible && computedStyle.overflow !== "visible" ) {
-                               top  += parseFloat( computedStyle.borderTopWidth  ) || 0;
-                               left += parseFloat( computedStyle.borderLeftWidth ) || 0;
-                       }
-
-                       prevComputedStyle = computedStyle;
-               }
-
-               if ( prevComputedStyle.position === "relative" || prevComputedStyle.position === "static" ) {
-                       top  += body.offsetTop;
-                       left += body.offsetLeft;
-               }
-
-               if ( jQuery.offset.supportsFixedPosition && prevComputedStyle.position === "fixed" ) {
-                       top  += Math.max( docElem.scrollTop, body.scrollTop );
-                       left += Math.max( docElem.scrollLeft, body.scrollLeft );
-               }
-
-               return { top: top, left: left };
-       };
-}
-
-jQuery.offset = {
-       initialize: function() {
-               var body = document.body, container = document.createElement("div"), innerDiv, checkDiv, table, td, bodyMarginTop = parseFloat( jQuery.curCSS(body, "marginTop", true) ) || 0,
-                       html = "<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
-
-               jQuery.extend( container.style, { position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden" } );
-
-               container.innerHTML = html;
-               body.insertBefore( container, body.firstChild );
-               innerDiv = container.firstChild;
-               checkDiv = innerDiv.firstChild;
-               td = innerDiv.nextSibling.firstChild.firstChild;
-
-               this.doesNotAddBorder = (checkDiv.offsetTop !== 5);
-               this.doesAddBorderForTableAndCells = (td.offsetTop === 5);
-
-               checkDiv.style.position = "fixed", checkDiv.style.top = "20px";
-               // safari subtracts parent border width here which is 5px
-               this.supportsFixedPosition = (checkDiv.offsetTop === 20 || checkDiv.offsetTop === 15);
-               checkDiv.style.position = checkDiv.style.top = "";
-
-               innerDiv.style.overflow = "hidden", innerDiv.style.position = "relative";
-               this.subtractsBorderForOverflowNotVisible = (checkDiv.offsetTop === -5);
-
-               this.doesNotIncludeMarginInBodyOffset = (body.offsetTop !== bodyMarginTop);
-
-               body.removeChild( container );
-               body = container = innerDiv = checkDiv = table = td = null;
-               jQuery.offset.initialize = jQuery.noop;
-       },
-
-       bodyOffset: function( body ) {
-               var top = body.offsetTop, left = body.offsetLeft;
-
-               jQuery.offset.initialize();
-
-               if ( jQuery.offset.doesNotIncludeMarginInBodyOffset ) {
-                       top  += parseFloat( jQuery.curCSS(body, "marginTop",  true) ) || 0;
-                       left += parseFloat( jQuery.curCSS(body, "marginLeft", true) ) || 0;
-               }
-
-               return { top: top, left: left };
-       },
-       
-       setOffset: function( elem, options, i ) {
-               // set position first, in-case top/left are set even on static elem
-               if ( /static/.test( jQuery.curCSS( elem, "position" ) ) ) {
-                       elem.style.position = "relative";
-               }
-               var curElem   = jQuery( elem ),
-                       curOffset = curElem.offset(),
-                       curTop    = parseInt( jQuery.curCSS( elem, "top",  true ), 10 ) || 0,
-                       curLeft   = parseInt( jQuery.curCSS( elem, "left", true ), 10 ) || 0;
-
-               if ( jQuery.isFunction( options ) ) {
-                       options = options.call( elem, i, curOffset );
-               }
-
-               var props = {
-                       top:  (options.top  - curOffset.top)  + curTop,
-                       left: (options.left - curOffset.left) + curLeft
-               };
-               
-               if ( "using" in options ) {
-                       options.using.call( elem, props );
-               } else {
-                       curElem.css( props );
-               }
-       }
-};
-
-
-jQuery.fn.extend({
-       position: function() {
-               if ( !this[0] ) {
-                       return null;
-               }
-
-               var elem = this[0],
-
-               // Get *real* offsetParent
-               offsetParent = this.offsetParent(),
-
-               // Get correct offsets
-               offset       = this.offset(),
-               parentOffset = /^body|html$/i.test(offsetParent[0].nodeName) ? { top: 0, left: 0 } : offsetParent.offset();
-
-               // Subtract element margins
-               // note: when an element has margin: auto the offsetLeft and marginLeft
-               // are the same in Safari causing offset.left to incorrectly be 0
-               offset.top  -= parseFloat( jQuery.curCSS(elem, "marginTop",  true) ) || 0;
-               offset.left -= parseFloat( jQuery.curCSS(elem, "marginLeft", true) ) || 0;
-
-               // Add offsetParent borders
-               parentOffset.top  += parseFloat( jQuery.curCSS(offsetParent[0], "borderTopWidth",  true) ) || 0;
-               parentOffset.left += parseFloat( jQuery.curCSS(offsetParent[0], "borderLeftWidth", true) ) || 0;
-
-               // Subtract the two offsets
-               return {
-                       top:  offset.top  - parentOffset.top,
-                       left: offset.left - parentOffset.left
-               };
-       },
-
-       offsetParent: function() {
-               return this.map(function() {
-                       var offsetParent = this.offsetParent || document.body;
-                       while ( offsetParent && (!/^body|html$/i.test(offsetParent.nodeName) && jQuery.css(offsetParent, "position") === "static") ) {
-                               offsetParent = offsetParent.offsetParent;
-                       }
-                       return offsetParent;
-               });
-       }
-});
-
-
-// Create scrollLeft and scrollTop methods
-jQuery.each( ["Left", "Top"], function( i, name ) {
-       var method = "scroll" + name;
-
-       jQuery.fn[ method ] = function(val) {
-               var elem = this[0], win;
-               
-               if ( !elem ) {
-                       return null;
-               }
-
-               if ( val !== undefined ) {
-                       // Set the scroll offset
-                       return this.each(function() {
-                               win = getWindow( this );
-
-                               if ( win ) {
-                                       win.scrollTo(
-                                               !i ? val : jQuery(win).scrollLeft(),
-                                                i ? val : jQuery(win).scrollTop()
-                                       );
-
-                               } else {
-                                       this[ method ] = val;
-                               }
-                       });
-               } else {
-                       win = getWindow( elem );
-
-                       // Return the scroll offset
-                       return win ? ("pageXOffset" in win) ? win[ i ? "pageYOffset" : "pageXOffset" ] :
-                               jQuery.support.boxModel && win.document.documentElement[ method ] ||
-                                       win.document.body[ method ] :
-                               elem[ method ];
-               }
-       };
-});
-
-function getWindow( elem ) {
-       return ("scrollTo" in elem && elem.document) ?
-               elem :
-               elem.nodeType === 9 ?
-                       elem.defaultView || elem.parentWindow :
-                       false;
-}
-// Create innerHeight, innerWidth, outerHeight and outerWidth methods
-jQuery.each([ "Height", "Width" ], function( i, name ) {
-
-       var type = name.toLowerCase();
-
-       // innerHeight and innerWidth
-       jQuery.fn["inner" + name] = function() {
-               return this[0] ?
-                       jQuery.css( this[0], type, false, "padding" ) :
-                       null;
-       };
-
-       // outerHeight and outerWidth
-       jQuery.fn["outer" + name] = function( margin ) {
-               return this[0] ?
-                       jQuery.css( this[0], type, false, margin ? "margin" : "border" ) :
-                       null;
-       };
-
-       jQuery.fn[ type ] = function( size ) {
-               // Get window width or height
-               var elem = this[0];
-               if ( !elem ) {
-                       return size == null ? null : this;
-               }
-               
-               if ( jQuery.isFunction( size ) ) {
-                       return this.each(function( i ) {
-                               var self = jQuery( this );
-                               self[ type ]( size.call( this, i, self[ type ]() ) );
-                       });
-               }
-
-               return ("scrollTo" in elem && elem.document) ? // does it walk and quack like a window?
-                       // Everyone else use document.documentElement or document.body depending on Quirks vs Standards mode
-                       elem.document.compatMode === "CSS1Compat" && elem.document.documentElement[ "client" + name ] ||
-                       elem.document.body[ "client" + name ] :
-
-                       // Get document width or height
-                       (elem.nodeType === 9) ? // is it a document
-                               // Either scroll[Width/Height] or offset[Width/Height], whichever is greater
-                               Math.max(
-                                       elem.documentElement["client" + name],
-                                       elem.body["scroll" + name], elem.documentElement["scroll" + name],
-                                       elem.body["offset" + name], elem.documentElement["offset" + name]
-                               ) :
-
-                               // Get or set width or height on the element
-                               size === undefined ?
-                                       // Get width or height on the element
-                                       jQuery.css( elem, type ) :
-
-                                       // Set the width or height on the element (default to pixels if value is unitless)
-                                       this.css( type, typeof size === "string" ? size : size + "px" );
-       };
-
-});
-// Expose jQuery to the global object
-window.jQuery = window.$ = jQuery;
-
-})(window);
\ No newline at end of file
diff --git a/plugins/textviewer/syntaxhighlighter/tests/js/qunit.css b/plugins/textviewer/syntaxhighlighter/tests/js/qunit.css
deleted file mode 100644 (file)
index cc54391..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-/**
- * SyntaxHighlighter
- * http://alexgorbatchev.com/SyntaxHighlighter
- *
- * SyntaxHighlighter is donationware. If you are using it, please donate.
- * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
- *
- * @version
- * 3.0.83 (July 02 2010)
- * 
- * @copyright
- * Copyright (C) 2004-2010 Alex Gorbatchev.
- *
- * @license
- * Dual licensed under the MIT and GPL licenses.
- */
-
-ol#qunit-tests {
-       font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
-       margin:0;
-       padding:0;
-       list-style-position:inside;
-
-       font-size: smaller;
-}
-ol#qunit-tests li{
-       padding:0.4em 0.5em 0.4em 2.5em;
-       border-bottom:1px solid #fff;
-       font-size:small;
-       list-style-position:inside;
-}
-ol#qunit-tests li ol{
-       box-shadow: inset 0px 2px 13px #999;
-       -moz-box-shadow: inset 0px 2px 13px #999;
-       -webkit-box-shadow: inset 0px 2px 13px #999;
-       margin-top:0.5em;
-       margin-left:0;
-       padding:0.5em;
-       background-color:#fff;
-       border-radius:15px;
-       -moz-border-radius: 15px;
-       -webkit-border-radius: 15px;
-}
-ol#qunit-tests li li{
-       border-bottom:none;
-       margin:0.5em;
-       background-color:#fff;
-       list-style-position: inside;
-       padding:0.4em 0.5em 0.4em 0.5em;
-}
-
-ol#qunit-tests li li.pass{
-       border-left:26px solid #C6E746;
-       background-color:#fff;
-       color:#5E740B;
-       }
-ol#qunit-tests li li.fail{
-       border-left:26px solid #EE5757;
-       background-color:#fff;
-       color:#710909;
-}
-ol#qunit-tests li.pass{
-       background-color:#D2E0E6;
-       color:#528CE0;
-}
-ol#qunit-tests li.fail{
-       background-color:#EE5757;
-       color:#000;
-}
-ol#qunit-tests li strong {
-       cursor:pointer;
-}
-h1#qunit-header{
-       background-color:#0d3349;
-       margin:0;
-       padding:0.5em 0 0.5em 1em;
-       color:#fff;
-       font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
-       border-top-right-radius:15px;
-       border-top-left-radius:15px;
-       -moz-border-radius-topright:15px;
-       -moz-border-radius-topleft:15px;
-       -webkit-border-top-right-radius:15px;
-       -webkit-border-top-left-radius:15px;
-       text-shadow: rgba(0, 0, 0, 0.5) 4px 4px 1px;
-}
-h2#qunit-banner{
-       font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
-       height:5px;
-       margin:0;
-       padding:0;
-}
-h2#qunit-banner.qunit-pass{
-       background-color:#C6E746;
-}
-h2#qunit-banner.qunit-fail, #qunit-testrunner-toolbar {
-       background-color:#EE5757;
-}
-#qunit-testrunner-toolbar {
-       font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
-       padding:0;
-       /*width:80%;*/
-       padding:0em 0 0.5em 2em;
-       font-size: small;
-}
-h2#qunit-userAgent {
-       font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
-       background-color:#2b81af;
-       margin:0;
-       padding:0;
-       color:#fff;
-       font-size: small;
-       padding:0.5em 0 0.5em 2.5em;
-       text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
-}
-p#qunit-testresult{
-       font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
-       margin:0;
-       font-size: small;
-       color:#2b81af;
-       border-bottom-right-radius:15px;
-       border-bottom-left-radius:15px;
-       -moz-border-radius-bottomright:15px;
-       -moz-border-radius-bottomleft:15px;
-       -webkit-border-bottom-right-radius:15px;
-       -webkit-border-bottom-left-radius:15px;
-       background-color:#D2E0E6;
-       padding:0.5em 0.5em 0.5em 2.5em;
-}
-strong b.fail{
-       color:#710909;
-       }
-strong b.pass{
-       color:#5E740B;
-       }
diff --git a/plugins/textviewer/syntaxhighlighter/tests/js/qunit.js b/plugins/textviewer/syntaxhighlighter/tests/js/qunit.js
deleted file mode 100644 (file)
index 9ef5f8d..0000000
+++ /dev/null
@@ -1,1069 +0,0 @@
-/*
- * QUnit - A JavaScript Unit Testing Framework
- * 
- * http://docs.jquery.com/QUnit
- *
- * Copyright (c) 2009 John Resig, Jörn Zaefferer
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- */
-
-(function(window) {
-
-var QUnit = {
-
-       // Initialize the configuration options
-       init: function() {
-               config = {
-                       stats: { all: 0, bad: 0 },
-                       moduleStats: { all: 0, bad: 0 },
-                       started: +new Date,
-                       updateRate: 1000,
-                       blocking: false,
-                       autorun: false,
-                       assertions: [],
-                       filters: [],
-                       queue: []
-               };
-
-               var tests = id("qunit-tests"),
-                       banner = id("qunit-banner"),
-                       result = id("qunit-testresult");
-
-               if ( tests ) {
-                       tests.innerHTML = "";
-               }
-
-               if ( banner ) {
-                       banner.className = "";
-               }
-
-               if ( result ) {
-                       result.parentNode.removeChild( result );
-               }
-       },
-       
-       // call on start of module test to prepend name to all tests
-       module: function(name, testEnvironment) {
-               config.currentModule = name;
-
-               synchronize(function() {
-                       if ( config.currentModule ) {
-                               QUnit.moduleDone( config.currentModule, config.moduleStats.bad, config.moduleStats.all );
-                       }
-
-                       config.currentModule = name;
-                       config.moduleTestEnvironment = testEnvironment;
-                       config.moduleStats = { all: 0, bad: 0 };
-
-                       QUnit.moduleStart( name, testEnvironment );
-               });
-       },
-
-       asyncTest: function(testName, expected, callback) {
-               if ( arguments.length === 2 ) {
-                       callback = expected;
-                       expected = 0;
-               }
-
-               QUnit.test(testName, expected, callback, true);
-       },
-       
-       test: function(testName, expected, callback, async) {
-               var name = testName, testEnvironment, testEnvironmentArg;
-
-               if ( arguments.length === 2 ) {
-                       callback = expected;
-                       expected = null;
-               }
-               // is 2nd argument a testEnvironment?
-               if ( expected && typeof expected === 'object') {
-                       testEnvironmentArg =  expected;
-                       expected = null;
-               }
-
-               if ( config.currentModule ) {
-                       name = config.currentModule + " module: " + name;
-               }
-
-               if ( !validTest(name) ) {
-                       return;
-               }
-
-               synchronize(function() {
-                       QUnit.testStart( testName );
-
-                       testEnvironment = extend({
-                               setup: function() {},
-                               teardown: function() {}
-                       }, config.moduleTestEnvironment);
-                       if (testEnvironmentArg) {
-                               extend(testEnvironment,testEnvironmentArg);
-                       }
-
-                       // allow utility functions to access the current test environment
-                       QUnit.current_testEnvironment = testEnvironment;
-                       
-                       config.assertions = [];
-                       config.expected = expected;
-
-                       try {
-                               if ( !config.pollution ) {
-                                       saveGlobal();
-                               }
-
-                               testEnvironment.setup.call(testEnvironment);
-                       } catch(e) {
-                               QUnit.ok( false, "Setup failed on " + name + ": " + e.message );
-                       }
-
-                       if ( async ) {
-                               QUnit.stop();
-                       }
-
-                       try {
-                               callback.call(testEnvironment);
-                       } catch(e) {
-                               fail("Test " + name + " died, exception and test follows", e, callback);
-                               QUnit.ok( false, "Died on test #" + (config.assertions.length + 1) + ": " + e.message );
-                               // else next test will carry the responsibility
-                               saveGlobal();
-
-                               // Restart the tests if they're blocking
-                               if ( config.blocking ) {
-                                       start();
-                               }
-                       }
-               });
-
-               synchronize(function() {
-                       try {
-                               checkPollution();
-                               testEnvironment.teardown.call(testEnvironment);
-                       } catch(e) {
-                               QUnit.ok( false, "Teardown failed on " + name + ": " + e.message );
-                       }
-
-                       try {
-                               QUnit.reset();
-                       } catch(e) {
-                               fail("reset() failed, following Test " + name + ", exception and reset fn follows", e, reset);
-                       }
-
-                       if ( config.expected && config.expected != config.assertions.length ) {
-                               QUnit.ok( false, "Expected " + config.expected + " assertions, but " + config.assertions.length + " were run" );
-                       }
-
-                       var good = 0, bad = 0,
-                               tests = id("qunit-tests");
-
-                       config.stats.all += config.assertions.length;
-                       config.moduleStats.all += config.assertions.length;
-
-                       if ( tests ) {
-                               var ol  = document.createElement("ol");
-                               ol.style.display = "none";
-
-                               for ( var i = 0; i < config.assertions.length; i++ ) {
-                                       var assertion = config.assertions[i];
-
-                                       var li = document.createElement("li");
-                                       li.className = assertion.result ? "pass" : "fail";
-                                       li.appendChild(document.createTextNode(assertion.message || "(no message)"));
-                                       ol.appendChild( li );
-
-                                       if ( assertion.result ) {
-                                               good++;
-                                       } else {
-                                               bad++;
-                                               config.stats.bad++;
-                                               config.moduleStats.bad++;
-                                       }
-                               }
-
-                               var b = document.createElement("strong");
-                               b.innerHTML = name + " <b style='color:black;'>(<b class='fail'>" + bad + "</b>, <b class='pass'>" + good + "</b>, " + config.assertions.length + ")</b>";
-                               
-                               addEvent(b, "click", function() {
-                                       var next = b.nextSibling, display = next.style.display;
-                                       next.style.display = display === "none" ? "block" : "none";
-                               });
-                               
-                               addEvent(b, "dblclick", function(e) {
-                                       var target = e && e.target ? e.target : window.event.srcElement;
-                                       if ( target.nodeName.toLowerCase() === "strong" ) {
-                                               var text = "", node = target.firstChild;
-
-                                               while ( node.nodeType === 3 ) {
-                                                       text += node.nodeValue;
-                                                       node = node.nextSibling;
-                                               }
-
-                                               text = text.replace(/(^\s*|\s*$)/g, "");
-
-                                               if ( window.location ) {
-                                                       window.location.href = window.location.href.match(/^(.+?)(\?.*)?$/)[1] + "?" + encodeURIComponent(text);
-                                               }
-                                       }
-                               });
-
-                               var li = document.createElement("li");
-                               li.className = bad ? "fail" : "pass";
-                               li.appendChild( b );
-                               li.appendChild( ol );
-                               tests.appendChild( li );
-
-                               if ( bad ) {
-                                       var toolbar = id("qunit-testrunner-toolbar");
-                                       if ( toolbar ) {
-                                               toolbar.style.display = "block";
-                                               id("qunit-filter-pass").disabled = null;
-                                               id("qunit-filter-missing").disabled = null;
-                                       }
-                               }
-
-                       } else {
-                               for ( var i = 0; i < config.assertions.length; i++ ) {
-                                       if ( !config.assertions[i].result ) {
-                                               bad++;
-                                               config.stats.bad++;
-                                               config.moduleStats.bad++;
-                                       }
-                               }
-                       }
-
-                       QUnit.testDone( testName, bad, config.assertions.length );
-
-                       if ( !window.setTimeout && !config.queue.length ) {
-                               done();
-                       }
-               });
-
-               if ( window.setTimeout && !config.doneTimer ) {
-                       config.doneTimer = window.setTimeout(function(){
-                               if ( !config.queue.length ) {
-                                       done();
-                               } else {
-                                       synchronize( done );
-                               }
-                       }, 13);
-               }
-       },
-       
-       /**
-        * Specify the number of expected assertions to gurantee that failed test (no assertions are run at all) don't slip through.
-        */
-       expect: function(asserts) {
-               config.expected = asserts;
-       },
-
-       /**
-        * Asserts true.
-        * @example ok( "asdfasdf".length > 5, "There must be at least 5 chars" );
-        */
-       ok: function(a, msg) {
-               QUnit.log(a, msg);
-
-               config.assertions.push({
-                       result: !!a,
-                       message: msg
-               });
-       },
-
-       /**
-        * Checks that the first two arguments are equal, with an optional message.
-        * Prints out both actual and expected values.
-        *
-        * Prefered to ok( actual == expected, message )
-        *
-        * @example equal( format("Received {0} bytes.", 2), "Received 2 bytes." );
-        *
-        * @param Object actual
-        * @param Object expected
-        * @param String message (optional)
-        */
-       equal: function(actual, expected, message) {
-               push(expected == actual, actual, expected, message);
-       },
-
-       notEqual: function(actual, expected, message) {
-               push(expected != actual, actual, expected, message);
-       },
-       
-       deepEqual: function(a, b, message) {
-               push(QUnit.equiv(a, b), a, b, message);
-       },
-
-       notDeepEqual: function(a, b, message) {
-               push(!QUnit.equiv(a, b), a, b, message);
-       },
-
-       strictEqual: function(actual, expected, message) {
-               push(expected === actual, actual, expected, message);
-       },
-
-       notStrictEqual: function(actual, expected, message) {
-               push(expected !== actual, actual, expected, message);
-       },
-       
-       start: function() {
-               // A slight delay, to avoid any current callbacks
-               if ( window.setTimeout ) {
-                       window.setTimeout(function() {
-                               if ( config.timeout ) {
-                                       clearTimeout(config.timeout);
-                               }
-
-                               config.blocking = false;
-                               process();
-                       }, 13);
-               } else {
-                       config.blocking = false;
-                       process();
-               }
-       },
-       
-       stop: function(timeout) {
-               config.blocking = true;
-
-               if ( timeout && window.setTimeout ) {
-                       config.timeout = window.setTimeout(function() {
-                               QUnit.ok( false, "Test timed out" );
-                               QUnit.start();
-                       }, timeout);
-               }
-       },
-       
-       /**
-        * Resets the test setup. Useful for tests that modify the DOM.
-        */
-       reset: function() {
-               if ( window.jQuery ) {
-                       jQuery("#main").html( config.fixture );
-                       jQuery.event.global = {};
-                       jQuery.ajaxSettings = extend({}, config.ajaxSettings);
-               }
-       },
-       
-       /**
-        * Trigger an event on an element.
-        *
-        * @example triggerEvent( document.body, "click" );
-        *
-        * @param DOMElement elem
-        * @param String type
-        */
-       triggerEvent: function( elem, type, event ) {
-               if ( document.createEvent ) {
-                       event = document.createEvent("MouseEvents");
-                       event.initMouseEvent(type, true, true, elem.ownerDocument.defaultView,
-                               0, 0, 0, 0, 0, false, false, false, false, 0, null);
-                       elem.dispatchEvent( event );
-
-               } else if ( elem.fireEvent ) {
-                       elem.fireEvent("on"+type);
-               }
-       },
-       
-       // Safe object type checking
-       is: function( type, obj ) {
-               return Object.prototype.toString.call( obj ) === "[object "+ type +"]";
-       },
-       
-       // Logging callbacks
-       done: function(failures, total) {},
-       log: function(result, message) {},
-       testStart: function(name) {},
-       testDone: function(name, failures, total) {},
-       moduleStart: function(name, testEnvironment) {},
-       moduleDone: function(name, failures, total) {}
-};
-
-// Backwards compatibility, deprecated
-QUnit.equals = QUnit.equal;
-QUnit.same = QUnit.deepEqual;
-
-// Maintain internal state
-var config = {
-       // The queue of tests to run
-       queue: [],
-
-       // block until document ready
-       blocking: true
-};
-
-// Load paramaters
-(function() {
-       var location = window.location || { search: "", protocol: "file:" },
-               GETParams = location.search.slice(1).split('&');
-
-       for ( var i = 0; i < GETParams.length; i++ ) {
-               GETParams[i] = decodeURIComponent( GETParams[i] );
-               if ( GETParams[i] === "noglobals" ) {
-                       GETParams.splice( i, 1 );
-                       i--;
-                       config.noglobals = true;
-               } else if ( GETParams[i].search('=') > -1 ) {
-                       GETParams.splice( i, 1 );
-                       i--;
-               }
-       }
-       
-       // restrict modules/tests by get parameters
-       config.filters = GETParams;
-       
-       // Figure out if we're running the tests from a server or not
-       QUnit.isLocal = !!(location.protocol === 'file:');
-})();
-
-// Expose the API as global variables, unless an 'exports'
-// object exists, in that case we assume we're in CommonJS
-if ( typeof exports === "undefined" || typeof require === "undefined" ) {
-       extend(window, QUnit);
-       window.QUnit = QUnit;
-} else {
-       extend(exports, QUnit);
-       exports.QUnit = QUnit;
-}
-
-if ( typeof document === "undefined" || document.readyState === "complete" ) {
-       config.autorun = true;
-}
-
-addEvent(window, "load", function() {
-       // Initialize the config, saving the execution queue
-       var oldconfig = extend({}, config);
-       QUnit.init();
-       extend(config, oldconfig);
-
-       config.blocking = false;
-
-       var userAgent = id("qunit-userAgent");
-       if ( userAgent ) {
-               userAgent.innerHTML = navigator.userAgent;
-       }
-       
-       var toolbar = id("qunit-testrunner-toolbar");
-       if ( toolbar ) {
-               toolbar.style.display = "none";
-               
-               var filter = document.createElement("input");
-               filter.type = "checkbox";
-               filter.id = "qunit-filter-pass";
-               filter.disabled = true;
-               addEvent( filter, "click", function() {
-                       var li = document.getElementsByTagName("li");
-                       for ( var i = 0; i < li.length; i++ ) {
-                               if ( li[i].className.indexOf("pass") > -1 ) {
-                                       li[i].style.display = filter.checked ? "none" : "";
-                               }
-                       }
-               });
-               toolbar.appendChild( filter );
-
-               var label = document.createElement("label");
-               label.setAttribute("for", "qunit-filter-pass");
-               label.innerHTML = "Hide passed tests";
-               toolbar.appendChild( label );
-
-               var missing = document.createElement("input");
-               missing.type = "checkbox";
-               missing.id = "qunit-filter-missing";
-               missing.disabled = true;
-               addEvent( missing, "click", function() {
-                       var li = document.getElementsByTagName("li");
-                       for ( var i = 0; i < li.length; i++ ) {
-                               if ( li[i].className.indexOf("fail") > -1 && li[i].innerHTML.indexOf('missing test - untested code is broken code') > - 1 ) {
-                                       li[i].parentNode.parentNode.style.display = missing.checked ? "none" : "block";
-                               }
-                       }
-               });
-               toolbar.appendChild( missing );
-
-               label = document.createElement("label");
-               label.setAttribute("for", "qunit-filter-missing");
-               label.innerHTML = "Hide missing tests (untested code is broken code)";
-               toolbar.appendChild( label );
-       }
-
-       var main = id('main');
-       if ( main ) {
-               config.fixture = main.innerHTML;
-       }
-
-       if ( window.jQuery ) {
-               config.ajaxSettings = window.jQuery.ajaxSettings;
-       }
-
-       QUnit.start();
-});
-
-function done() {
-       if ( config.doneTimer && window.clearTimeout ) {
-               window.clearTimeout( config.doneTimer );
-               config.doneTimer = null;
-       }
-
-       if ( config.queue.length ) {
-               config.doneTimer = window.setTimeout(function(){
-                       if ( !config.queue.length ) {
-                               done();
-                       } else {
-                               synchronize( done );
-                       }
-               }, 13);
-
-               return;
-       }
-
-       config.autorun = true;
-
-       // Log the last module results
-       if ( config.currentModule ) {
-               QUnit.moduleDone( config.currentModule, config.moduleStats.bad, config.moduleStats.all );
-       }
-
-       var banner = id("qunit-banner"),
-               tests = id("qunit-tests"),
-               html = ['Tests completed in ',
-               +new Date - config.started, ' milliseconds.<br/>',
-               '<span class="passed">', config.stats.all - config.stats.bad, '</span> tests of <span class="total">', config.stats.all, '</span> passed, <span class="failed">', config.stats.bad,'</span> failed.'].join('');
-
-       if ( banner ) {
-               banner.className = (config.stats.bad ? "qunit-fail" : "qunit-pass");
-       }
-
-       if ( tests ) {  
-               var result = id("qunit-testresult");
-
-               if ( !result ) {
-                       result = document.createElement("p");
-                       result.id = "qunit-testresult";
-                       result.className = "result";
-                       tests.parentNode.insertBefore( result, tests.nextSibling );
-               }
-
-               result.innerHTML = html;
-       }
-
-       QUnit.done( config.stats.bad, config.stats.all );
-}
-
-function validTest( name ) {
-       var i = config.filters.length,
-               run = false;
-
-       if ( !i ) {
-               return true;
-       }
-       
-       while ( i-- ) {
-               var filter = config.filters[i],
-                       not = filter.charAt(0) == '!';
-
-               if ( not ) {
-                       filter = filter.slice(1);
-               }
-
-               if ( name.indexOf(filter) !== -1 ) {
-                       return !not;
-               }
-
-               if ( not ) {
-                       run = true;
-               }
-       }
-
-       return run;
-}
-
-function push(result, actual, expected, message) {
-       message = message || (result ? "okay" : "failed");
-       QUnit.ok( result, result ? message + ": " + QUnit.jsDump.parse(expected) : message + ", expected: " + QUnit.jsDump.parse(expected) + " result: " + QUnit.jsDump.parse(actual) );
-}
-
-function synchronize( callback ) {
-       config.queue.push( callback );
-
-       if ( config.autorun && !config.blocking ) {
-               process();
-       }
-}
-
-function process() {
-       var start = (new Date()).getTime();
-
-       while ( config.queue.length && !config.blocking ) {
-               if ( config.updateRate <= 0 || (((new Date()).getTime() - start) < config.updateRate) ) {
-                       config.queue.shift()();
-
-               } else {
-                       setTimeout( process, 13 );
-                       break;
-               }
-       }
-}
-
-function saveGlobal() {
-       config.pollution = [];
-       
-       if ( config.noglobals ) {
-               for ( var key in window ) {
-                       config.pollution.push( key );
-               }
-       }
-}
-
-function checkPollution( name ) {
-       var old = config.pollution;
-       saveGlobal();
-       
-       var newGlobals = diff( old, config.pollution );
-       if ( newGlobals.length > 0 ) {
-               ok( false, "Introduced global variable(s): " + newGlobals.join(", ") );
-               config.expected++;
-       }
-
-       var deletedGlobals = diff( config.pollution, old );
-       if ( deletedGlobals.length > 0 ) {
-               ok( false, "Deleted global variable(s): " + deletedGlobals.join(", ") );
-               config.expected++;
-       }
-}
-
-// returns a new Array with the elements that are in a but not in b
-function diff( a, b ) {
-       var result = a.slice();
-       for ( var i = 0; i < result.length; i++ ) {
-               for ( var j = 0; j < b.length; j++ ) {
-                       if ( result[i] === b[j] ) {
-                               result.splice(i, 1);
-                               i--;
-                               break;
-                       }
-               }
-       }
-       return result;
-}
-
-function fail(message, exception, callback) {
-       if ( typeof console !== "undefined" && console.error && console.warn ) {
-               console.error(message);
-               console.error(exception);
-               console.warn(callback.toString());
-
-       } else if ( window.opera && opera.postError ) {
-               opera.postError(message, exception, callback.toString);
-       }
-}
-
-function extend(a, b) {
-       for ( var prop in b ) {
-               a[prop] = b[prop];
-       }
-
-       return a;
-}
-
-function addEvent(elem, type, fn) {
-       if ( elem.addEventListener ) {
-               elem.addEventListener( type, fn, false );
-       } else if ( elem.attachEvent ) {
-               elem.attachEvent( "on" + type, fn );
-       } else {
-               fn();
-       }
-}
-
-function id(name) {
-       return !!(typeof document !== "undefined" && document && document.getElementById) &&
-               document.getElementById( name );
-}
-
-// Test for equality any JavaScript type.
-// Discussions and reference: http://philrathe.com/articles/equiv
-// Test suites: http://philrathe.com/tests/equiv
-// Author: Philippe Rathé <prathe@gmail.com>
-QUnit.equiv = function () {
-
-    var innerEquiv; // the real equiv function
-    var callers = []; // stack to decide between skip/abort functions
-    var parents = []; // stack to avoiding loops from circular referencing
-
-
-    // Determine what is o.
-    function hoozit(o) {
-        if (QUnit.is("String", o)) {
-            return "string";
-            
-        } else if (QUnit.is("Boolean", o)) {
-            return "boolean";
-
-        } else if (QUnit.is("Number", o)) {
-
-            if (isNaN(o)) {
-                return "nan";
-            } else {
-                return "number";
-            }
-
-        } else if (typeof o === "undefined") {
-            return "undefined";
-
-        // consider: typeof null === object
-        } else if (o === null) {
-            return "null";
-
-        // consider: typeof [] === object
-        } else if (QUnit.is( "Array", o)) {
-            return "array";
-        
-        // consider: typeof new Date() === object
-        } else if (QUnit.is( "Date", o)) {
-            return "date";
-
-        // consider: /./ instanceof Object;
-        //           /./ instanceof RegExp;
-        //          typeof /./ === "function"; // => false in IE and Opera,
-        //                                          true in FF and Safari
-        } else if (QUnit.is( "RegExp", o)) {
-            return "regexp";
-
-        } else if (typeof o === "object") {
-            return "object";
-
-        } else if (QUnit.is( "Function", o)) {
-            return "function";
-        } else {
-            return undefined;
-        }
-    }
-
-    // Call the o related callback with the given arguments.
-    function bindCallbacks(o, callbacks, args) {
-        var prop = hoozit(o);
-        if (prop) {
-            if (hoozit(callbacks[prop]) === "function") {
-                return callbacks[prop].apply(callbacks, args);
-            } else {
-                return callbacks[prop]; // or undefined
-            }
-        }
-    }
-    
-    var callbacks = function () {
-
-        // for string, boolean, number and null
-        function useStrictEquality(b, a) {
-            if (b instanceof a.constructor || a instanceof b.constructor) {
-                // to catch short annotaion VS 'new' annotation of a declaration
-                // e.g. var i = 1;
-                //      var j = new Number(1);
-                return a == b;
-            } else {
-                return a === b;
-            }
-        }
-
-        return {
-            "string": useStrictEquality,
-            "boolean": useStrictEquality,
-            "number": useStrictEquality,
-            "null": useStrictEquality,
-            "undefined": useStrictEquality,
-
-            "nan": function (b) {
-                return isNaN(b);
-            },
-
-            "date": function (b, a) {
-                return hoozit(b) === "date" && a.valueOf() === b.valueOf();
-            },
-
-            "regexp": function (b, a) {
-                return hoozit(b) === "regexp" &&
-                    a.source === b.source && // the regex itself
-                    a.global === b.global && // and its modifers (gmi) ...
-                    a.ignoreCase === b.ignoreCase &&
-                    a.multiline === b.multiline;
-            },
-
-            // - skip when the property is a method of an instance (OOP)
-            // - abort otherwise,
-            //   initial === would have catch identical references anyway
-            "function": function () {
-                var caller = callers[callers.length - 1];
-                return caller !== Object &&
-                        typeof caller !== "undefined";
-            },
-
-            "array": function (b, a) {
-                var i, j, loop;
-                var len;
-
-                // b could be an object literal here
-                if ( ! (hoozit(b) === "array")) {
-                    return false;
-                }   
-                
-                len = a.length;
-                if (len !== b.length) { // safe and faster
-                    return false;
-                }
-                
-                //track reference to avoid circular references
-                parents.push(a);
-                for (i = 0; i < len; i++) {
-                    loop = false;
-                    for(j=0;j<parents.length;j++){
-                        if(parents[j] === a[i]){
-                            loop = true;//dont rewalk array
-                        }
-                    }
-                    if (!loop && ! innerEquiv(a[i], b[i])) {
-                        parents.pop();
-                        return false;
-                    }
-                }
-                parents.pop();
-                return true;
-            },
-
-            "object": function (b, a) {
-                var i, j, loop;
-                var eq = true; // unless we can proove it
-                var aProperties = [], bProperties = []; // collection of strings
-
-                // comparing constructors is more strict than using instanceof
-                if ( a.constructor !== b.constructor) {
-                    return false;
-                }
-
-                // stack constructor before traversing properties
-                callers.push(a.constructor);
-                //track reference to avoid circular references
-                parents.push(a);
-                
-                for (i in a) { // be strict: don't ensures hasOwnProperty and go deep
-                    loop = false;
-                    for(j=0;j<parents.length;j++){
-                        if(parents[j] === a[i])
-                            loop = true; //don't go down the same path twice
-                    }
-                    aProperties.push(i); // collect a's properties
-
-                    if (!loop && ! innerEquiv(a[i], b[i])) {
-                        eq = false;
-                        break;
-                    }
-                }
-
-                callers.pop(); // unstack, we are done
-                parents.pop();
-
-                for (i in b) {
-                    bProperties.push(i); // collect b's properties
-                }
-
-                // Ensures identical properties name
-                return eq && innerEquiv(aProperties.sort(), bProperties.sort());
-            }
-        };
-    }();
-
-    innerEquiv = function () { // can take multiple arguments
-        var args = Array.prototype.slice.apply(arguments);
-        if (args.length < 2) {
-            return true; // end transition
-        }
-
-        return (function (a, b) {
-            if (a === b) {
-                return true; // catch the most you can
-            } else if (a === null || b === null || typeof a === "undefined" || typeof b === "undefined" || hoozit(a) !== hoozit(b)) {
-                return false; // don't lose time with error prone cases
-            } else {
-                return bindCallbacks(a, callbacks, [b, a]);
-            }
-
-        // apply transition with (1..n) arguments
-        })(args[0], args[1]) && arguments.callee.apply(this, args.splice(1, args.length -1));
-    };
-
-    return innerEquiv;
-
-}();
-
-/**
- * jsDump
- * Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
- * Licensed under BSD (http://www.opensource.org/licenses/bsd-license.php)
- * Date: 5/15/2008
- * @projectDescription Advanced and extensible data dumping for Javascript.
- * @version 1.0.0
- * @author Ariel Flesler
- * @link {http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html}
- */
-QUnit.jsDump = (function() {
-       function quote( str ) {
-               return '"' + str.toString().replace(/"/g, '\\"') + '"';
-       };
-       function literal( o ) {
-               return o + '';  
-       };
-       function join( pre, arr, post ) {
-               var s = jsDump.separator(),
-                       base = jsDump.indent(),
-                       inner = jsDump.indent(1);
-               if ( arr.join )
-                       arr = arr.join( ',' + s + inner );
-               if ( !arr )
-                       return pre + post;
-               return [ pre, inner + arr, base + post ].join(s);
-       };
-       function array( arr ) {
-               var i = arr.length,     ret = Array(i);                                 
-               this.up();
-               while ( i-- )
-                       ret[i] = this.parse( arr[i] );                          
-               this.down();
-               return join( '[', ret, ']' );
-       };
-       
-       var reName = /^function (\w+)/;
-       
-       var jsDump = {
-               parse:function( obj, type ) { //type is used mostly internally, you can fix a (custom)type in advance
-                       var     parser = this.parsers[ type || this.typeOf(obj) ];
-                       type = typeof parser;                   
-                       
-                       return type == 'function' ? parser.call( this, obj ) :
-                                  type == 'string' ? parser :
-                                  this.parsers.error;
-               },
-               typeOf:function( obj ) {
-                       var type;
-                       if ( obj === null ) {
-                               type = "null";
-                       } else if (typeof obj === "undefined") {
-                               type = "undefined";
-                       } else if (QUnit.is("RegExp", obj)) {
-                               type = "regexp";
-                       } else if (QUnit.is("Date", obj)) {
-                               type = "date";
-                       } else if (QUnit.is("Function", obj)) {
-                               type = "function";
-                       } else if (obj.setInterval && obj.document && !obj.nodeType) {
-                               type = "window";
-                       } else if (obj.nodeType === 9) {
-                               type = "document";
-                       } else if (obj.nodeType) {
-                               type = "node";
-                       } else if (typeof obj === "object" && typeof obj.length === "number" && obj.length >= 0) {
-                               type = "array";
-                       } else {
-                               type = typeof obj;
-                       }
-                       return type;
-               },
-               separator:function() {
-                       return this.multiline ? this.HTML ? '<br />' : '\n' : this.HTML ? '&nbsp;' : ' ';
-               },
-               indent:function( extra ) {// extra can be a number, shortcut for increasing-calling-decreasing
-                       if ( !this.multiline )
-                               return '';
-                       var chr = this.indentChar;
-                       if ( this.HTML )
-                               chr = chr.replace(/\t/g,'   ').replace(/ /g,'&nbsp;');
-                       return Array( this._depth_ + (extra||0) ).join(chr);
-               },
-               up:function( a ) {
-                       this._depth_ += a || 1;
-               },
-               down:function( a ) {
-                       this._depth_ -= a || 1;
-               },
-               setParser:function( name, parser ) {
-                       this.parsers[name] = parser;
-               },
-               // The next 3 are exposed so you can use them
-               quote:quote, 
-               literal:literal,
-               join:join,
-               //
-               _depth_: 1,
-               // This is the list of parsers, to modify them, use jsDump.setParser
-               parsers:{
-                       window: '[Window]',
-                       document: '[Document]',
-                       error:'[ERROR]', //when no parser is found, shouldn't happen
-                       unknown: '[Unknown]',
-                       'null':'null',
-                       undefined:'undefined',
-                       'function':function( fn ) {
-                               var ret = 'function',
-                                       name = 'name' in fn ? fn.name : (reName.exec(fn)||[])[1];//functions never have name in IE
-                               if ( name )
-                                       ret += ' ' + name;
-                               ret += '(';
-                               
-                               ret = [ ret, this.parse( fn, 'functionArgs' ), '){'].join('');
-                               return join( ret, this.parse(fn,'functionCode'), '}' );
-                       },
-                       array: array,
-                       nodelist: array,
-                       arguments: array,
-                       object:function( map ) {
-                               var ret = [ ];
-                               this.up();
-                               for ( var key in map )
-                                       ret.push( this.parse(key,'key') + ': ' + this.parse(map[key]) );
-                               this.down();
-                               return join( '{', ret, '}' );
-                       },
-                       node:function( node ) {
-                               var open = this.HTML ? '&lt;' : '<',
-                                       close = this.HTML ? '&gt;' : '>';
-                                       
-                               var tag = node.nodeName.toLowerCase(),
-                                       ret = open + tag;
-                                       
-                               for ( var a in this.DOMAttrs ) {
-                                       var val = node[this.DOMAttrs[a]];
-                                       if ( val )
-                                               ret += ' ' + a + '=' + this.parse( val, 'attribute' );
-                               }
-                               return ret + close + open + '/' + tag + close;
-                       },
-                       functionArgs:function( fn ) {//function calls it internally, it's the arguments part of the function
-                               var l = fn.length;
-                               if ( !l ) return '';                            
-                               
-                               var args = Array(l);
-                               while ( l-- )
-                                       args[l] = String.fromCharCode(97+l);//97 is 'a'
-                               return ' ' + args.join(', ') + ' ';
-                       },
-                       key:quote, //object calls it internally, the key part of an item in a map
-                       functionCode:'[code]', //function calls it internally, it's the content of the function
-                       attribute:quote, //node calls it internally, it's an html attribute value
-                       string:quote,
-                       date:quote,
-                       regexp:literal, //regex
-                       number:literal,
-                       'boolean':literal
-               },
-               DOMAttrs:{//attributes to dump from nodes, name=>realName
-                       id:'id',
-                       name:'name',
-                       'class':'className'
-               },
-               HTML:false,//if true, entities are escaped ( <, >, \t, space and \n )
-               indentChar:'   ',//indentation unit
-               multiline:false //if true, items in a collection, are separated by a \n, else just a space.
-       };
-
-       return jsDump;
-})();
-
-})(this);
diff --git a/plugins/textviewer/syntaxhighlighter/tests/syntaxhighlighter_tests.html b/plugins/textviewer/syntaxhighlighter/tests/syntaxhighlighter_tests.html
deleted file mode 100644 (file)
index 303fb39..0000000
+++ /dev/null
@@ -1,242 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-       <title>SyntaxHighlighter Highlight Tests</title>
-
-       <!-- jQuery & QUnit -->
-       <script type="text/javascript" src="js/jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="js/qunit.js"></script>
-       <link type="text/css" rel="stylesheet" href="js/qunit.css"/>
-
-       <!-- SyntaxHighlighter -->
-       <script type="text/javascript" src="/sh/scripts/XRegExp.js"></script> <!-- XRegExp is bundled with the final shCore.js during build -->
-       <script type="text/javascript" src="/sh/scripts/shCore.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shLegacy.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushAppleScript.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushAS3.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushBash.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushColdFusion.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushCpp.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushCSharp.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushCss.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushDelphi.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushDiff.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushErlang.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushGroovy.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushJava.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushJavaFx.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushJScript.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushPerl.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushPhp.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushPlain.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushPowerShell.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushPython.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushRuby.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushSass.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushScala.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushSql.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushVb.js"></script>
-       <script type="text/javascript" src="/sh/scripts/shBrushXml.js"></script>
-
-       <link type="text/css" rel="stylesheet" href="/sh/styles/shCoreDefault.css"/>
-</head>
-
-<body>
-
-<h1 id="qunit-header">SyntaxHighlighter Highlight Lines Test</h1>
-<h2 id="qunit-banner"></h2>
-<div id="qunit-testrunner-toolbar"></div>
-<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests"></ol>
-
-<button id="interaction">Run interaction tests</button>
-
-<div id="output">
-</div>
-
-<style>
-body {
-       background: white;
-}
-
-#interaction {
-       margin-top: 1em;
-       padding: 1em;
-       font-size: 1.5em;
-}
-
-.test-wrap {
-       width: 45%;
-       height: 400px;
-       overflow: auto;
-       float: left;
-       margin: 1em 1em 0 0;
-       border: 5px solid silver;
-       background: gray;
-       font-family: Helvetica;
-}
-
-.test-wrap h3 {
-       margin: 1em 0 0 1em;
-       color: white;
-       font-size: 1em;
-       font-weight: normal;
-}
-</style>
-
-<script type="text/javascript">
-var testQueue = [],
-       renderTests = [
-               '001_basic',
-               '002_brushes',
-               '003_script_tag',
-               '004_url_parsing',
-               '005_no_gutter',
-               '006_pad_line_numbers',
-               '007_collapse',
-               '008_first_line',
-               '009_class_name',
-               '010_highlight',
-               '011_smart_tabs',
-               '012_server_side',
-               '013_html_script',
-               '014_legacy'
-       ],
-       interactionTests = [
-               '007_collapse_interaction'
-       ]
-       ;
-
-function queue(func)
-{
-       testQueue.push(func);
-};
-
-function ok_sh($sh)
-{
-       ok($sh.length > 0, 'Element present');
-       ok($sh.is('div'), 'Element is DIV');
-       ok($sh.find('> div').is('.syntaxhighlighter'), 'Nested DIV is a .syntaxhighlighter');
-};
-
-function ok_toolbar($sh)
-{
-       var $target = $sh.find('> .syntaxhighlighter > .toolbar');
-       ok($target.length > 0, 'Toolbar present');
-       ok($target.is(':visible'), 'Toolbar visible');
-};
-
-function ok_caption($sh, value)
-{
-       var $target = $sh.find('> .syntaxhighlighter > table > caption');
-       ok($target.length > 0, 'Caption present');
-       ok($target.is(':visible'), 'Caption visible');
-       
-       if (value != null)
-               equals($target.text(), value, 'Caption text');
-};
-
-function ok_gutter($sh)
-{
-       var $target = $sh.find('> .syntaxhighlighter > table > tbody > tr > .gutter');
-       ok($target.length > 0, 'Gutter present');
-       ok($target.is(':visible'), 'Gutter visible');
-};
-
-function ok_code($sh)
-{
-       var $target = $sh.find('> .syntaxhighlighter > table > tbody > tr > .code');
-       ok($target.length > 0, 'Code present');
-       ok($target.is(':visible'), 'Code visible');
-};
-
-function ok_collapsed($sh)
-{
-       ok($sh.find('> .syntaxhighlighter.collapsed').length == 1, '.collapsed present');
-};
-
-function loadTests(tests, addHtml)
-{
-       var html = '';
-       
-       $.each(tests, function(index)
-       {
-               var name = this;
-               
-               if (addHtml != false)
-               {
-                       html += '<div class="test-wrap">\n'
-                       html += '<h3>' + name + '</h3>\n';
-               }
-               
-               $.ajax({
-                       url: 'cases/' + name + '.html',
-                       type: 'GET',
-                       dataType: 'text',
-                       async: false,
-                       success: function(data)
-                       {
-                               html += data;
-                       },
-                       error: function()
-                       {
-                               html += '<p>Not found...</p>';
-                       }
-               });
-               
-               if (addHtml != false)
-               {
-                       html += '</div>\n';
-               
-                       if (index % 2 != 0)
-                               html += '<div style="clear:both"></div>\n';
-               }
-       });
-
-       //
-       // Looks like .html() is producing different results when it comes to
-       // content that has <script /> which type is NOT "text/javascript".
-       // $('#output').html(html);
-       //
-       $('#output')[0].innerHTML += html;
-               
-       //
-       // However, if HTML assigned to to .innerHTML container <script/> tags,
-       // they are not executed, so we have to manually walk all of them and
-       // eval() the content.
-       //
-       $('#output script[type="text/javascript"][class!="executed"]').each(function()
-       {
-               eval($(this).text() || $(this).html());
-               $(this).addClass('executed')
-       });
-};
-
-function runTestQueue()
-{
-       
-       $.each(testQueue, function()
-       {
-               this.apply(null);
-       });
-       
-       testQueue = [];
-};
-
-$(document).ready(function()
-{
-       loadTests(renderTests);
-       SyntaxHighlighter.highlight();
-       runTestQueue();
-       
-       $('#interaction').click(function()
-       {
-               loadTests(interactionTests, false /* addHtml */);
-               runTestQueue();
-       });
-});
-</script>
-
-</body>
-</html>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/theme_tests.html b/plugins/textviewer/syntaxhighlighter/tests/theme_tests.html
deleted file mode 100644 (file)
index da07ecf..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-       <title>SyntaxHighlighter Theme Tests</title>
-       <script type="text/javascript" src="/js/jquery-1.4.2.js"></script>
-</head>
-
-<body>
-
-<div id="output"></div>
-
-<style>
-body {
-       background: white;
-       font-family: Helvetica;
-}
-
-.test-wrap {
-       width: 100%;
-       height: 800px;
-       overflow: auto;
-       border: none;
-}
-</style>
-
-<script id="sample" type="text/plain">
-       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-       <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-       <head>
-               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-               <title>SyntaxHighlighter Theme Tests</title>
-       </head>
-       
-       <body>
-               &lt;script>
-               /**
-                * Looks for a child or parent node which has specified classname.
-                * Equivalent to jQuery's $(container).find(".className")
-                * @param {Element} target Target element.
-                * @param {String} search Class name or node name to look for.
-                * @param {Boolean} reverse If set to true, will go up the node tree instead of down.
-                * @return {Element} Returns found child or parent element on null.
-                */
-               function findElement(target, search, reverse /* optional */)
-               {
-                       if (target == null)
-                               return null;
-               
-                       var nodes                       = reverse != true ? target.childNodes : [ target.parentNode ],
-                               propertyToFind  = { '#' : 'id', '.' : 'className' }[search.substr(0, 1)] || 'nodeName',
-                               expectedValue,
-                               found
-                               ;
-                               
-                       // main return of the found node
-                       if ((target[propertyToFind] || '').indexOf(expectedValue) != -1)
-                               return target;
-               
-                       return found;
-               };
-               &lt;/script>
-               
-       </body>
-       </html>
-</script>
-
-<script type="text/javascript">
-var themes = [
-               ['#fff', 'Default'],
-               ['#000', 'Django'],
-               ['#fff', 'Eclipse'],
-               ['#000', 'Emacs'],
-               ['#000', 'FadeToGrey'],
-               ['#000', 'MDUltra'],
-               ['#000', 'Midnight'],
-               ['#000', 'RDark']
-       ];
-       
-$(document).ready(function()
-{
-       var sample = $('#sample').text().replace(/</g, '&lt;');
-       
-       $.each(themes, function(index)
-       {
-               var $iframe = $('<iframe class="test-wrap" src="about:blank" />'),
-                       background = this[0],
-                       themeName = this[1]
-                       ;
-               
-               $('#output')
-                       .append(''
-                               + '<h1>'
-                                       + '<a href="#theme' + (index + 1) + '">next</a> '
-                                       + '<a name="theme' + index + '">'
-                                               + themeName
-                                       + '</a>'
-                               + '</h1>'
-                       )
-                       .append($iframe)
-                       ;
-                       
-               $iframe.ready(function()
-               {
-                       var doc = $iframe[0].contentDocument;
-                       $iframe.css('background', background);
-                       
-                       doc.write(''
-                               + '<scr' + 'ipt type="text/javascript" src="/sh/scripts/XRegExp.js"></scr' + 'ipt>'
-                               + '<scr' + 'ipt type="text/javascript" src="/sh/scripts/shCore.js"></scr' + 'ipt>'
-                               + '<scr' + 'ipt type="text/javascript" src="/sh/scripts/shBrushXml.js"></scr' + 'ipt>'
-                               + '<scr' + 'ipt type="text/javascript" src="/sh/scripts/shBrushJScript.js"></scr' + 'ipt>'
-                               + '<link type="text/css" rel="stylesheet" href="/sh/styles/shCore' + themeName + '.css"/>'
-                               + '<pre type="syntaxhighlighter" class="brush: js; html-script: true; highlight: [5, 20]" title="This is SyntaxHighlighter theme ' + themeName + ' in action!">'
-                                       + sample
-                               + '</pre>'
-                               + '<pre type="syntaxhighlighter" class="brush: js; html-script: true; collapse: true">'
-                                       + sample
-                               + '</pre>'
-                               + '<scr' + 'ipt type="text/javascript">'
-                                       + 'SyntaxHighlighter.highlight();'
-                               + '</scr' + 'ipt>'
-                               );
-                       doc.close();
-               });
-       });
-       
-       $('#output a[name]:first').attr('name', 'top');
-       $('#output a[href]:last').attr('href', '#top').html('top');
-});
-</script>
-
-</body>
-</html>
diff --git a/plugins/textviewer/syntaxhighlighter/tests/webrick.rb b/plugins/textviewer/syntaxhighlighter/tests/webrick.rb
deleted file mode 100644 (file)
index 0b3c93c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-require 'webrick'
-include WEBrick
-
-s = HTTPServer.new(
-  :Port => 2010, 
-  :DocumentRoot => Dir::pwd
-)
-s.mount('/sh/scripts', WEBrick::HTTPServlet::FileHandler, '../scripts')
-s.mount('/sh/styles', WEBrick::HTTPServlet::FileHandler, '../styles')
-trap('INT') { s.stop }
-s.start
diff --git a/plugins/textviewer/syntaxhighlighter/tests/webrick.sh b/plugins/textviewer/syntaxhighlighter/tests/webrick.sh
deleted file mode 100644 (file)
index 7e249f8..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-ruby webrick.rb
diff --git a/plugins/textviewer/textviewer.js b/plugins/textviewer/textviewer.js
deleted file mode 100644 (file)
index f71b63d..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-OC_TextViewer=new Object();
-
-OC_TextViewer.type='';
-OC_TextViewer.types={
-       'ac3':'shBrushAS3.js',
-       'applescript':'shBrushAppleScript.js',
-       'bash':'shBrushBash.js',
-       'sh':'shBrushBash.js',
-       'csharp':'shBrushCSharp.js',
-       'coldfusion':'shBrushColdFusion.js',
-       'cpp':'shBrushCpp.js',
-       'css':'shBrushCss.js',
-       'delphi':'shBrushDelphi.js',
-       'diff':'shBrushDiff.js',
-       'erlang':'shBrushErlang.js',
-       'groovy':'shBrushGroovy.js',
-       'javascript':'shBrushJScript.js',
-       'js':'shBrushJScript.js',
-       'java':'shBrushJava.js',
-       'javafx':'shBrushJavaFX.js',
-       'perl':'shBrushPerl.js',
-       'php':'shBrushPhp.js',
-       'plain':'shBrushPlain.js',
-       'powershell':'shBrushPowerShell.js',
-       'python':'shBrushPython.js',
-       'py':'shBrushPython.js',
-       'ruby':'shBrushRuby.js',
-       'sass':'shBrushSass.js',
-       'scala':'shBrushScala.js',
-       'sql':'shBrushSql.js',
-       'vb':'shBrushVb.js',
-       'xml':'shBrushXml.js',
-}
-
-OC_TextViewer.loader=new OCXMLLoader();
-OC_TextViewer.showText=function(dir,file){
-       var type;
-       var parts=file.split('.');
-       var ext=parts[parts.length-1];
-       if(OC_TextViewer.types[ext]){
-               type=ext;
-       }else{
-               type='plain';
-       }
-       OC_TextViewer.type=type;
-       OC_TextViewer.loadHighlighter();
-       var path=WEBROOT+'/files/open_file.php?dir='+encodeURIComponent(dir)+'&file='+encodeURIComponent(file);
-       var div=document.createElement('div');
-       div.setAttribute('id','textframe');
-       div.setAttribute('class','center');
-       div.addEvent('onclick',OC_TextViewer.hideText)
-       OC_TextViewer.textFrame=document.createElement('div');
-       OC_TextViewer.textFrame.addEvent('onclick',function(e){
-               if(window.event = true){
-                       window.event.cancelBubble = true;
-               }
-               if(e.stopPropagation){
-                       e.stopPropagation();
-               }
-       });
-       OC_TextViewer.textFrame.pre=document.createElement('pre');
-       div.appendChild(OC_TextViewer.textFrame);
-       OC_TextViewer.textFrame.appendChild(OC_TextViewer.textFrame.pre);
-       body=document.getElementsByTagName('body').item(0);
-       body.appendChild(div);
-       OC_TextViewer.loader.setCallBack(OC_TextViewer.showTexCallback);
-       OC_TextViewer.loader.load(path);
-}
-
-OC_TextViewer.showTexCallback=function(req){
-       var text=req.responseText;
-       OC_TextViewer.textFrame.pre.innerHTML=OC_TextViewer.prepareText(text);
-       OC_TextViewer.textFrame.pre.setAttribute('class','brush: '+OC_TextViewer.type+';');
-       SyntaxHighlighter.highlight(null,OC_TextViewer.textFrame.pre);
-}
-
-OC_TextViewer.hideText=function(){
-       var div=document.getElementById('textframe');
-       div.parentNode.removeChild(div);
-} 
-
-OC_TextViewer.prepareText=function(text){
-       text=text.replace(/>/g,"&gt;");
-       text=text.replace(/</g,"&lt;");
-       return text;
-}
-
-OC_TextViewer.loadedTypes=new Array();
-OC_TextViewer.loadHighlighter=function(){
-       OC_TextViewer.type=(OC_TextViewer.types[OC_TextViewer.type])?OC_TextViewer.type:'plain';
-       if(!OC_TextViewer.loadedTypes[OC_TextViewer.type]){
-               loadScript('plugins/textviewer/syntaxhighlighter/scripts/'+OC_TextViewer.types[OC_TextViewer.type])
-               OC_TextViewer.loadedTypes[OC_TextViewer.type]=true;
-               SyntaxHighlighter.vars.discoveredBrushes=null; //force the highlighter to refresh it's cache
-       }
-}
-
-if(!OC_FILES.fileActions.text){
-       OC_FILES.fileActions.text=new Object()
-}
-OC_FILES.fileActions.text.show=function(){
-       OC_TextViewer.showText(this.dir,this.file);
-}
-
-OC_FILES.fileActions.text['default']=OC_FILES.fileActions.text.show;
-