var popupSet = new Array(); //-------------------------- function tidyUp() { for (var x in popupSet) { if ((x != 'length') && (popupSet[x] != null)) { if (popupSet[x].closed != true) { popupSet[x].close(); } } } } //---------------- function bigPic(name, title, pic) { v = eval(navigator.appVersion.substring(0,2)); if ((navigator.appName == 'Microsoft Internet Explorer') && (v < 4)) { return true; } popup = window.open('',name,"scrollbars=no,statusbar=no,location=no,titlebar=no,toolbar=no,height=20,width=20"); if (popup != null) { popup.document.write( '' + '' + title + '' + '' + '' + '
' + '' + '
' + '

CBC Photo '+name+'

' + '' + '
' + ''); popup.document.close(); popupSet[name] = popup; } return false; } //---------- // function that displays status bar message function dm(msgStr) { document.returnValue = false; if (document.images) { window.status = msgStr; document.returnValue = true; } } //----------functions that swap images function di(id,name){ if (document.images) { document.images[id].src=eval(name+".src"); } } //----------function to display an image in its own window function x(uniqueid, file, width, height, desc, longdesc) { document.write("" + "" + desc + ""+ ""); document.write("  "); document.write(longdesc); document.write("   "); } function x1(uniqueid, file, desc, longdesc) { document.write("" + "" + desc + ""+ ""); document.write("  "); document.write(longdesc); document.write("   "); } function y(uniqueid, file, width, height, desc) { document.write("" + "" + desc + ""+ ""); document.write("   "); } function y1(uniqueid, file, desc) { document.write("" + "" + desc + ""+ ""); document.write("   "); } function z(uniqueid, file, width, height, desc) { document.write("" + "" + desc + ""+ ""); document.write("

"); } function newline() { document.write("

"); } //----------Function to stop spam function nospam(user, domain, suffix) { document.write(''); document.write(user + '@' + domain + '.' + suffix + ''); } //-- write a heading function write_heading( some_text ) { document.write( '
' ); document.write( '

' + some_text + '

'); } // - exp - replacement for function that had vanished. Sean Newell, 11/04/06 function exp(name, file, width, height, thumb_path, title) { document.write("" + ""+ ""); document.write("   "); }