1<!-- Begin POP-UP SIZES AND OPTIONS CODE 2 3 4 5// CHANGE ANY OF THESE VARIABLES FOR THE SOUND POPUPS 6 7// use only lowercase on options 8 9 10 11// PLAYER POPUP 12 13var viewer_sound = "popup" // OPTIONS: | new | popup | same | New browser or a popup 14var width_sound = "750" // WIDTH OF THE SAMPLES PAGE POPUP 15var height_sound = "410" // WIDTH OF THE SAMPLES PAGE POPUP 16var scrollbarS_sound = "no" // SHOW SCROLLBARS IN SAMPLES POPUP - yes OR no 17var menu_sound = "no" // SHOW MENU IN SAMPLES POPUP - yes OR no 18var tool_sound = "no" // SHOW TOOLBAR IN SAMPLES POPUP - yes OR no 19 20 21 22// START GALLERY POPUPS 23 24var close_button_p = "yes" // GALLERY CLOSE BUTTON ON/OFF 25var slideshow_button = "yes" // SLIDESHOW BUTTON ON/OFF 26var print_button = "yes" // GALLERY PRINT BUTTON ON/OFF 27var popwidth = "150" // GALLERY POPUP BUTTON WIDTHS 28var right_click_onG = "yes" // GALLERY RIGHT CLICK PROTECTION ON 29var border_color = "000000" // PICTURE OUTLINE COLOR 30var border_width = "1" // PICTURE OUTLINE WIDTH 31var slideshow_width = 700 // SLIDESHOW POPUP WINDOW WIDTH 32var slideshow_height = 510 // SLIDESHOW POPUP WINDOW HEIGHT 33var view_width = 700 // GALLERY POPUP WIDTH 34var view_height = 510 // GALLERY POPUP HEIGHT 35var viewer = "no" // yes/FULL SCREEN OR no/POPUP MODE (GALLERY) 36 37 38 39// OTHER OPTIONS YOU CAN CHANGE 40 41var scrollbarS = "0" // GALLERY POPUP SCROLLBARS "1" FOR ON "0" FOR OFF 42var background_colors = "6E7399" // BACKROUND COLOR OF THE POPUPS 43var right_click_text = "You may not right mouse click this page" // TEXT FOR THE RIGHT CLICK PROTECTION 44var background_image = "picts/background-popups.jpg" // BACKROUND IMAGE IN MUSIC POPUPS 45 46 47 48 49 50// COPYRIGHT 2006 © Allwebco Design Corporation 51// Unauthorized use or sale of this script is strictly prohibited by law 52 53// YOU DO NOT NEED TO EDIT BELOW THIS LINE 54 55// START SOUND POPUP CODE 56 57 58 59 60function popUpSound(data) { 61 if (viewer_sound == "popup") { 62 windowHandle = window.open('sounds/player-home.htm' + '?' + data,'windowName',',scrollbars='+scrollbarS_sound+',resizable=yes,toolbar='+tool_sound+',menubar='+menu_sound+',width='+width_sound+',height='+height_sound+''); 63 64} 65else if (viewer_sound == "new") { 66 windowHandle = window.open('sounds/player-home.htm' + '?' + data,'windowName'); 67} 68else if (viewer_sound == "same") { 69 window.location = ('sounds/player-home.htm' + '?' + data); 70} 71} 72 73 74 75function popUpQuicktime (data) { 76 window.location = ('player-quicktime.htm' + '?' + data); 77} 78 79 80function popUpWinMedia (data) { 81 window.location = ('player-winmedia.htm' + '?' + data); 82} 83 84 85function popUpRealAudio (data) { 86 window.location = ('player-realaudio.htm' + '?' + data); 87} 88 89 90 91// END SOUND POPUP CODE 92 93 94 95 96 97 98// TARGET POPUP LINK SCRIPT FOR LINKS IN THE player-home.htm 99 100 101function openerpage(mainwindow, closeme, closeonly) 102{ 103if (! (window.focus && window.opener))return true; 104window.opener.focus(); 105if (! closeonly)window.opener.location.href=mainwindow.href; 106if (closeme)window.close(); 107return false; 108} 109 110 111 112 113 114 115 116 117 118 119// START SLIDESHOW POPUP CODE 120 121function popUpSlideshow(URL) { 122 123day = new Date(); 124id = day.getTime(); 125 if (viewer == "no") { 126eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=1,width='+slideshow_width+',height='+slideshow_height+'');"); 127} 128else 129if (viewer == "yes") { 130eval("page" + id + " = window.open(URL);"); 131} 132} 133 134 135 136 137 138// START GALLERY POPUP CODE 139 140 141 142function popUp(URL) { 143 if (viewer == "no") { 144var look='toolbar=0,scrollbars='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+',' 145popwin=window.open("","",look) 146} 147else 148if (viewer == "yes") { 149popwin=window.open("","") 150} 151popwin.document.open()
152popwin.document.write('<html><head><title>Image Close Up</title>') 153 if (right_click_onG == "yes") { 154popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">') 155popwin.document.write('<script language="JavaScript">') 156popwin.document.write('function noRightClick() {') 157popwin.document.write('if (event.button==2) {') 158popwin.document.write('alert(\''+right_click_text+'\')') 159popwin.document.write('}') 160popwin.document.write('}') 161popwin.document.write('document.onmousedown=noRightClick') 162popwin.document.write('</script>') 163} 164popwin.document.write('<link rel="StyleSheet" href="corporatestyle.css" type="text/css" media="screen"></head>') 165popwin.document.write('</head>') 166popwin.document.write('<body bgcolor="#'+background_colors+'" background="'+background_image+'" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">') 167popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"><tr><td align="center">') 168popwin.document.write('
168<br>') 169popwin.document.write('<table cellspacing="0" cellpadding="0" border="0"><tr><td align="center">') 170popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="'+border_width+'" bordercolor="#'+border_color+'" style="border-collapse: collapse"><tr><td>') 171popwin.document.write('<img src="'+URL+'">') 172popwin.document.write('</td></tr></table><br>') 173popwin.document.write('</td></tr><tr><td valign="top" align="center" height="50">') 174popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td>') 175 if (close_button_p == "yes") { 176popwin.document.write('<form style="margin: 0px"><input type="button" value="Close" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" onClick=\'self.close()\' style="width:'+popwidth+'"> </form>') 177} 178 if (print_button == "yes") { 179popwin.document.write('</td><td>') 180popwin.document.write('<form style="margin: 0px"><input type="button" onClick=\'window.print()\' value="Print" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" style="width:'+popwidth+'"> </form>') 181} 182 if (slideshow_button == "yes") {
183popwin.document.write('</td><td>') 184popwin.document.write('<form action="slideshow.htm" style="margin: 0px"><input type="submit" value="Slideshow" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" style="width:'+popwidth+'"></form>') 185} 186popwin.document.write('</td></tr></table>') 187popwin.document.write('</td></tr></table>') 188popwin.document.write('</td></tr></table>') 189popwin.document.write('</body></html>') 190popwin.document.close() 191} 192 193 194 195 196 197 198 199 200 201 202 203// Begin SMALL MESSAGES CODE 204 205 206document.write('<div Class="divstyle" id="info" style=\'display:none;\'>') 207document.write('<div id="imagetitle" class="pstyletitle" align="center"></div>') 208document.write('</div>') 209 210 211var IE = document.all?true:false 212 213if (!IE) document.captureEvents(Event.MOUSEMOVE) 214 215document.onmousemove = getMouseXY; 216 217var tempX = 0 218var tempY = 0 219 220 221function getMouseXY(e) { 222 if (IE) { // grab the x-y pos.s if browser is IE 223 tempX = event.clientX + document.body.scrollLeft 224 tempY = event.clientY + document.body.scrollTop 225 } else { // grab the x-y pos.s if browser is NS 226 tempX = e.pageX 227 tempY = e.pageY 228 } 229 // catch possible negative values in NS4 230 if (tempX < 0){tempX = 0} 231 if (tempY < 0){tempY = 0} 232 // show the position values in the form named Show 233 // in the text fields named MouseX and MouseY 234obj_info = document.getElementById("info") 235obj_info.style.top = tempY + 10; 236obj_info.style.left = tempX + 10; 237 return true 238} 239 240function alert_msg(titletext){ 241obj_info = document.getElementById("info") 242obj_info.style.display = ''; 243obj_imagetitle = document.getElementById("imagetitle"); 244obj_imagetitle.innerHTML = titletext; 245 246} 247 248function away() 249{ 250obj_info = document.getElementById("info") 251obj_info.style.display = 'none'; 252} 253 254 255function goToURL() { history.go(-1); } 256 257 258 259// End -->
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.