1 function showPlaylist() {
3 document.all['content'].style.display = 'block';
4 document.all['content'].style.zIndex = 5;
7 else if (document.getElementById) {
8 document.getElementById('content').style.display = 'block';
9 document.getElementById('content').style.zIndex = 5;
15 function showControls() {
17 document.all['content'].style.display = 'none';
18 document.all['content'].style.zIndex = -1;
20 else if (document.getElementById) {
21 document.getElementById('content').style.display = 'none';
22 document.getElementById('content').style.zIndex = -1;
28 /* number of "windows" on the directory browser */
31 /* the border around the playing item in the playlist */
32 var PLAYLIST_PLAYING_STYLE = "1px solid #a20000";
34 /* this is the color thing that you add blink in */
35 var DEFAULT_BLINK_COLOR = "#C1DAD6";
37 var BASE_IMG_DIR = "../theme/default/images/";
39 var IMAGE = new Object();
41 IMAGE.BUTTON_PLAY = BASE_IMG_DIR + "play_25.png";
42 IMAGE.BUTTON_STOP = BASE_IMG_DIR + "stop_25.png";
43 IMAGE.BUTTON_PAUSE = BASE_IMG_DIR + "pause_25.png";
44 IMAGE.BUTTON_PREVIOUS = BASE_IMG_DIR + "previous_25.png";
45 IMAGE.BUTTON_NEXT = BASE_IMG_DIR + "next_25.png";
47 IMAGE.BROWSER_PLAYLIST_REMOVE = BASE_IMG_DIR + "disabled_15.png";
49 IMAGE.SERVER_SETTINGS_ENABLED = BASE_IMG_DIR + "enabled_15.png";
50 IMAGE.SERVER_SETTINGS_DISABLED = BASE_IMG_DIR + "disabled_15.png";
51 IMAGE.SERVER_SETTINGS_XFADE_DOWN= BASE_IMG_DIR + "left_15.png";
52 IMAGE.SERVER_SETTINGS_XFADE_UP = BASE_IMG_DIR + "right_15.png";
54 IMAGE.CLOSE = BASE_IMG_DIR + "close_15.png";
55 IMAGE.WORKING = BASE_IMG_DIR + "working.gif";
57 IMAGE.MENU_ITEM_CROP = BASE_IMG_DIR + "crop_30.png";
58 IMAGE.MENU_ITEM_REMOVE = BASE_IMG_DIR + "remove_30.png";
59 IMAGE.MENU_ITEM_DIRECTORY = BASE_IMG_DIR + "folder_30.png";
61 IMAGE.PAGINATION_FOLLOW = BASE_IMG_DIR + "follow-playing-yes.png";
62 IMAGE.PAGINATION_NOFOLLOW = BASE_IMG_DIR + "follow-playing-no.png";
64 IMAGE.JUMP_CURRENT = BASE_IMG_DIR + "jump-to-current.png";
67 /* this should be whatever the backgroun is converted from hex to dec */
68 IMAGE.STREAM_BGCOLOR = "15198183";