<script type="text/javascript">
var faPrefix = "fa";

var fa = document.getElementById(faPrefix + "_0");
imgUrl1 = fa.childNodes[0].childNodes[0].childNodes[0].getAttribute("src");
imgtext1 = fa.childNodes[1].childNodes[0].nodeValue;
imgLink1 = escape(fa.childNodes[0].childNodes[0].getAttribute("href"));

fa = document.getElementById(faPrefix + "_1");
imgUrl2 = fa.childNodes[0].childNodes[0].childNodes[0].getAttribute("src");
imgtext2 = fa.childNodes[1].childNodes[0].nodeValue;
imgLink2 = escape(fa.childNodes[0].childNodes[0].getAttribute("href"));

fa = document.getElementById(faPrefix + "_2");
imgUrl3 = fa.childNodes[0].childNodes[0].childNodes[0].getAttribute("src");
imgtext3 = fa.childNodes[1].childNodes[0].nodeValue;
imgLink3 = escape(fa.childNodes[0].childNodes[0].getAttribute("href"));

fa = document.getElementById(faPrefix + "_3");
imgUrl4 = fa.childNodes[0].childNodes[0].childNodes[0].getAttribute("src");
imgtext4 = fa.childNodes[1].childNodes[0].nodeValue;
imgLink4 = escape(fa.childNodes[0].childNodes[0].getAttribute("href"));

fa = document.getElementById(faPrefix + "_4");
imgUrl5 = fa.childNodes[0].childNodes[0].childNodes[0].getAttribute("src");
imgtext5 = fa.childNodes[1].childNodes[0].nodeValue;
imgLink5 = escape(fa.childNodes[0].childNodes[0].getAttribute("href"));

 var focus_width=250
 var focus_height=180
 var text_height=20
 var swf_height = focus_height+text_height
 
 var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5
 var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5
 var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5
 
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
 document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
 document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
 document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
 document.write('<embed src="pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  document.write('</object>');
 </script>


