﻿/*Tip of the day scriptBy JavaScript Kit (http://javascriptkit.com)Over 200+ free scripts here!*/var today_obj=new Date()var today_day=today_obj.getDate()var today_mth=today_obj.getMonth()var tips=new Array()//Configure the below variable to contain the "header" of the tip//var tiptitle='<img src="../../tip.gif"> <b>JavaScript Tip of the day</b><br>'//This array holds one tip for each day in a month//First 31 are for odd monthstips[1]='In OS-9 startup, hold down command-option-PR til you hear 3 chimes to reset PRAM'tips[2]='Need to work across timezones? iCal can do it for you! See iCal preferences'tips[3]='Safari slowing down? Maybe you need to clear the ~/Library/Safari/Icons folder'tips[4]='Want to print from Safari? Make a bookmark of this...javascript:window.print()'tips[5]='Need a super-fast super-small backup? Use your iPod!'tips[6]="Put an equation (eg. 5+2) into Safari's search field and hit enter. Instant calculator!"tips[7]='Panther - the Finder window shortcut bar can hold any shortcut - docs, apps or folders.'tips[8]='Be kind to your mother'tips[9]='The built-in OS-X Firewall is delivered turned off. You should turn it on if using the web'tips[10]='How often should you back up your data? How much re-typing do you like doing?'tips[11]='Make your laptop into a great desktop by adding an external monitor, keyboard and mouse!'tips[12]='A control-click will show a menu of some possible actions'tips[13]='A multi-button mouse can work on a Mac'tips[14]='When in doubt read the instructions on the Help menu'tips[15]="If you can't keep your password to yourself, don't expect the person to whom you tell it to do so"tips[16]='Resist the temptation to stack things over the air vents on your monitor'tips[17]='ACTApple and Macintosh. See no Windows, hear no Windows, speak no Windows'tips[18]='Even the best online help system struggles to beat a good book to clear the fog'tips[19]="Don't keep your data backup CD next to your computer - the fire/thief/etc could claim both"tips[20]='Create aliases in the File menu, and use them to save always trekking back to the original 'tips[21]='Keyboard symbols - Shift is an up-arrow, Option is an escalator, Command is a cloverleaf, Control is a roof'tips[22]="Press 'command-D' from any open or save dialog box to jump to the desktop"tips[23]='In the Finder list view, select a folder and use command-right arrow to see the contents'tips[24]='In MS-Word select a single word then control-click to get a list of corrected spelling choices'tips[25]='Never use the Disk Utility to re-format your iPod. It will become an external hard drive'tips[26]='Hold down the Option key while dragging to copy a document or folder'tips[27]='Put spaces in front of document names to sort them to the top in Finder list views'tips[28]='In iTunes, select multiple songs then use get-info to change information on all at the same time'tips[29]="In OS-X, do a 'safe-boot' of Apple supplied extenions by holding down the SHIFT key during startup"tips[30]='Try to keep air under your laptop. It will stay cooler and extend battery hours'tips[31]="in iTunes, option-click the 'music store' arrow to see all library items for that album or artist"//Second 31 are for even monthstips[32]='In OS-9 startup, hold down command-option-PR til you hear 3 chimes to reset PRAM'tips[33]='Need to work across timezones? iCal can do it for you! See iCal preferences'tips[34]='Safari slowing down? Maybe you need to clear the ~/Library/Safari/Icons folder'tips[35]='Need a super-fast super-small backup? Use your iPod!'tips[36]="Put an equation (eg. 5+2) into Safari's search field and hit enter. Instant calculator!"tips[37]='Panther - the Finder window shortcut bar can hold any shortcut - docs, apps or folders.'tips[38]='Be kind to your mother'tips[39]='The built-in OS-X Firewall is delivered turned off. You should turn it on if using the web'tips[40]='How often should you back up your data? How much re-typing do you like doing?'tips[41]='Make your laptop into a great desktop by adding an external monitor, keyboard and mouse!'tips[42]='A control-click will show a menu of some possible actions'tips[43]='A multi-button mouse can work on a Mac'tips[44]='When in doubt read the instructions on the Help menu'tips[45]="If you can't keep your password to yourself, don't expect the person to whom you tell it to do so"tips[46]='Resist the temptation to stack things over the air vents on your monitor'tips[47]='ACTApple and Macintosh. See no Windows, hear no Windows, speak no Windows'tips[48]='Even the best online help system struggles to beat a good book to clear the fog'tips[49]="Don't keep your data backup CD next to your computer - the fire/thief/etc could claim both"tips[50]='Create aliases in the File menu, and use them to save always trekking back to the original 'tips[51]='Keyboard symbols - Shift is an up-arrow, Option is an escalator, Command is a cloverleaf, Control is a roof'tips[52]="Press 'command-D' from any open or save dialog box to jump to the desktop"tips[53]='In the Finder list view, select a folder and use command-right arrow to see the contents'tips[54]='In MS-Word select a single word then control-click to get a list of corrected spelling choices'tips[55]='Never use the Disk Utility to re-format your iPod. It will become an external hard drive'tips[56]='Hold down the Option key while dragging to copy a document or folder'tips[57]='Put spaces in front of document names to sort them to the top in Finder list views'tips[58]='In iTunes, select multiple songs then use get-info to change information on all at the same time'tips[59]="In OS-X, do a 'safe-boot' of Apple supplied extenions by holding the space bar down"tips[60]='Try to keep air under your laptop. It will stay cooler and extend battery hours'tips[61]="in iTunes, option-click the 'music store' arrow to see all library items for that album or artist"tips[62]='Want to print from Safari? Make a bookmark of this...javascript:window.print()'//document.write(tiptitle)// use first 31 for odd months, 2nd 31 for even months - just so we don't have to change as oftentoday_day+=(31*(today_mth % 2));document.write(tips[today_day])