User:Inarius/bluecloud.js

// User:Lupin/popups.js

document.write(' ');

simplePopups=false; popupAdminLinks=true; popupStructure='menus'; popupFixRedirs=true; popupFixDabs=true; popupPreviewFirstParOnly=false; popupExtraUserMenu=true; popupUseQueryInterface = false; function siteArticlePath{ return 'wiki'; } function siteBotInterfacePath{ return 'w'; }

// Appends any #nav_toc_append > .nav_toc to #nav_right // Moves any existing #nav_toc to #nav_right function domNavToc {	//var errNode = document.createTextNode( "No Sidebar" ); var navRight = document.getElementById( 'nav_right' );

if( !navRight ) { return 0; }	// Append all .nav_toc classed elements under #nav_toc_append var navTocAppend = document.getElementById( 'nav_toc_append' ); if( navTocAppend ) { while (navTocAppend.hasChildNodes) {			var thisNavToc = navTocAppend.firstChild; //not the right way to do this if(thisNavToc.className == 'nav_toc') {				var thisNavTocClone = thisNavToc.cloneNode(true); navRight.appendChild( thisNavTocClone ); if(thisNavTocClone.style.display) {thisNavTocClone.style.display = 'block';} if(thisNavTocClone.visibility) {thisNavTocClone.visibility = 'visible';} }			thisNavToc.parentNode.removeChild(thisNavToc); }	}

// Append errNode if navToc doesn't exist var navToc  = document.getElementById( 'nav_toc' ); if( !navToc ) { //navRight.appendChild( errNode ); return 0; }

var navToc2 = navToc.cloneNode(true); navToc.parentNode.removeChild(navToc); navRight.appendChild( navToc2 );

navToc2.style.display = 'block'; }