// // code for hiding/showing text // used for spoilers // function toggle( blockID ) { var block = document.getElementById( blockID ); var displayProperty = block.style.display; var text = document.getElementById( blockID + "Tog" ); if ( displayProperty == 'none' ) { block.style.display = 'block'; if ( text != null ) { text.innerHTML = "Hide"; } } else { block.style.display = 'none'; if ( text != null ) { text.innerHTML = "Show"; } } } function toggle2( blockID ) { var block = document.getElementById( blockID ); var displayProperty = block.style.display; var text = document.getElementById( blockID + "Tog" ); if ( displayProperty == 'none' ) { block.style.display = 'block'; if ( text != null ) { text.innerHTML = "–"; } } else { block.style.display = 'none'; if ( text != null ) { text.innerHTML = "+"; } } } // // amazon.com automatic context link // /** **/ // // default digg settings // digg_skin = 'compact'; function searchmp3() { var qElement = document.getElementById( "mp3SearchTerm" ); var mp3SearchTerm = qElement.value; window.location = "http://www.google.com/search?q={-inurl:(htm|html|php) intitle:\"index of\" +\"last modified\" +\"parent directory\" +description +size +(wma|mp3) " + mp3SearchTerm + "}"; }