/* $Id: change-blog-style.js,v 1.0 Light $ Author: Light Tseng http://www.ezeshop.com.tw/ */ s = new Array(); s[0]="note;http://blog.yam.com/theme/note/site.css"; s[1]="lantern;http://blog.yam.com/theme/lantern/site.css"; s[2]="windbell;http://blog.yam.com/theme/windbell/site.css"; s[3]="sunflower;http://blog.yam.com/theme/sunflower/site.css"; s[4]="bcat;http://blog.yam.com/theme/bcat/site.css"; s[5]="colorpen;http://blog.yam.com/theme/colorpen/site.css"; s[6]="notebook;http://blog.yam.com/theme/notebook/site.css"; s[7]="silhouette;http://blog.yam.com/theme/silhouette/site.css"; s[8]="city_build;http://blog.yam.com/theme/city_build/site.css"; s[9]="sports1;http://blog.yam.com/theme/sports1/site.css"; s[10]="lady_white;http://blog.yam.com/theme/lady_white/site.css"; s[11]="chinayear;http://blog.yam.com/theme/chinayear/site.css"; s[12]="chinesejuly;http://blog.yam.com/theme/chinesejuly/site.css"; s[13]="star_orange;http://blog.yam.com/theme/star_orange/site.css"; s[14]="colorful_cup;http://blog.yam.com/theme/colorful_cup/site.css"; s[15]="graceful;http://blog.yam.com/theme/graceful/site.css"; s[16]="circle_red;http://blog.yam.com/theme/circle_red/site.css"; s[17]="wood;http://blog.yam.com/theme/wood/site.css"; s[18]="2005chicken;http://blog.yam.com/theme/2005chicken/site.css"; s[19]="south_island;http://blog.yam.com/theme/south_island/site.css"; function authorName(){ document.write('
powered by  EZeShop
'); } function RandomStyle() { n=s.length; na=s[Math.round(Math.random()*100)%n].split(';'); document.getElementsByTagName("link")[0].href=na[1]; } function ChangeStyle(sfile) { document.getElementsByTagName("link")[0].href=sfile; } function ShowStyleMenu() { if(ShowStyleMenu.arguments.length>0) { selectName=ShowStyleMenu.arguments[0]; } else { selectName='stylemenu'; } document.write(''); authorName(); }