function MainFlash(name,x,y)
 {
 document.write('<object style="margin: 0px;" data="'+name+'" type="application/x-shockwave-flash" height="'+y+'" width="'+x+'">');
 document.write('<param name="movie" value="'+name+'">');
 document.write('<param name="quality" value="high">');
 document.write('<param name="wmode" value="transparent">');
 document.write('</object>');
 }

 function opwin(picname,pictext,thishref)
	{
	win= window.open(thishref,'page_id','width=800,height=600,resizable=yes,scrollbars=no,location=no,status=no')
	o = win.document
	o.writeln('<html>')
	o.writeln('<head>')
	o.writeln('<title>::: '+pictext+' :::</title>')

	o.writeln('<script language=\'javascript\' type=\'text/javascript\'>') 
	o.writeln('var arrTemp=self.location.href.split(\'?\');') 
	o.writeln('var picUrl = (arrTemp.length>0)?arrTemp[1]:\'\';') 
	o.writeln('var NS = (navigator.appName==\'Netscape\')?true:false;') 
	o.writeln('function FitPic() {')
	o.writeln('var winleft = (screen.width - document.images[0].width) / 2;')
	o.writeln('var winup = (screen.height - document.images[0].height) / 2;')
	o.writeln('if(winleft<0) winleft=0;')
	o.writeln('if(winup<0) winup=0;')	
	o.writeln('iWidth = document.images[0].width;')
	o.writeln('iHeight = document.images[0].height;')
	//o.writeln('window.moveTo(winleft,winup);')
	o.writeln('self.resizeTo(iWidth + 17, iHeight + 57);')

	o.writeln('};')
	o.writeln('</script>')

	o.writeln('</head>')
	o.writeln('<body onload=\'FitPic();\' style=\'padding:0;margin:0;\'>')

	o.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0" style="height:100%;">')
	o.writeln('<tr>')
	o.writeln('<td align="center" valign="middle">')
	o.writeln('<img src="'+picname+'" alt="'+pictext+'" >')
	o.writeln('</td>')
	o.writeln('</tr>')
	o.writeln('</table>')

	o.writeln('</body>')
	o.writeln('</html>')

	o.close()
	win.focus()
	
	}