function showImage(url, width, height)
{
		var wnd = window.open("", "sfimage", "width=" + width + ",height=" + height);
		var doc = wnd.document;
		
		doc.open();
				
		doc.write('<html><head><title></title></head><body bgcolor="#000000" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" link="#000000" onBlur="self.close()">'); 
    doc.write('<a href="javascript:self.close()">'); 
    doc.write('<img src="' + url + '" width=' + width + ' height=' + height + ' alt="" border="0">');
    doc.write('</a>');  
    doc.write('</body></html>');
    
		doc.close();
		wnd.focus();
}

function putFlash( swf, ima, w, h, ver )
{
		var flashOk = false;	
		if( navigator.appName == "Microsoft Internet Explorer" ) {
    		flashOk = (navigator.platform.indexOf("Win")>=0 || navigator.platform.indexOf("Mac")>=0 );
		} 
		else if( navigator.appName == "Netscape" ) {
      var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : false;
      flashOk = (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= ver );
		}
		if(flashOk) {
				document.write('<embed src="'+swf+'" width="'+w+'" height="'+h+'" menu="false" swliveconnect="true" mayscript="mayscript" type="application/x-shockwave-flash" align="top" scale="exactfit" loop="true">');
		}
		else {
				document.write('<img src="../%27%2Bima%2B%27" width="'+w+'" height="'+h+'" border="0">');
		}
}