/* generated javascript */
var skin = 'monobook';
var stylepath = '/w/skins';

/* MediaWiki:Common.js */
/* Any JavaScript here will be loaded for all users on every page load. */


/* ProofreadPage extension option to set horizontal view. */
var proofreadpage_default_layout='horizontal';


/** includePage ************
 * force the loading of another JavaScript file
 *
 * Maintainer: [[Commons:User:Dschwen]]
 */
 
function includePage( name )
{
 document.write('<script type="text/javascript" src="' + wgScript + '?title='
  + name 
  + '&action=raw&ctype=text/javascript"><\/script>' 
 );
}
/* End of includePage */


/* Including extra .js pages */ 

// switches for scripts
// TODO: migrate to JSConfig
// var load_extratabs = true;
var load_edittools = true;

// extra drop down menu on editing for adding special characters
includePage( 'MediaWiki:Edittools.js' );



//Editpage scripts
if (wgAction=='edit' || wgAction == 'submit')
  importScript('MediaWiki:Editpage.js')

/* EDF: REMOVED AS NONFUNCTIONAL
if (wgAction=='edit' || wgAction == 'submit')
  document.write( '<script type="text/javascript" src="keyboard.js"></script>' );


function attachKeyBoard(){
  var textbox = document.getElementById( 'wxTextbox1' );
  if ( textbox != null )
    VKI_attach( textbox );
}
*/
//addOnloadHook( attachKeyBoard );

/* MediaWiki:Monobook.js */
/* Any JavaScript here will be loaded for users using the MonoBook skin */