
/* External JavaScript by WarePig, www.warepig.com
   1.  Chooses a style sheet from an array
   2.  Writes the link to the chosen style sheet
       within the header of an html document linking
       to this .js file and containing the code:
       <script>cssSelect()</script>
       to execute the function.
*/

function cssSelect() {
var sheet=new Array("1", "2","3","4","5")
var choice=sheet[Math.floor(Math.random()*sheet.length)]
document.write ('<link rel=stylesheet type="text/css" href="styles/'+choice+'.css">')
}




