// JavaScript Document
var focus_width=320
    var focus_height=240
    var text_height=0
    var swf_height = focus_height+text_height
    

imgUrl1=document.getElementById("scriptValue1").value;

imgLink13=escape(document.getElementById("scriptValue13").value);

imgUrl2=document.getElementById("scriptValue2").value;

imgLink23=escape(document.getElementById("scriptValue23").value);

imgUrl3=document.getElementById("scriptValue3").value;

imgLink33=escape(document.getElementById("scriptValue33").value);

imgUrl4=document.getElementById("scriptValue4").value;

imgLink43=escape(document.getElementById("scriptValue43").value);

imgUrl5=document.getElementById("scriptValue5").value;

imgLink53=escape(document.getElementById("scriptValue53").value);

 
 var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5
 var links=imgLink13+"|"+imgLink23+"|"+imgLink33+"|"+imgLink43+"|"+imgLink53
    var texts=''
    
    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 +'" align="center">');
    document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#EAEBEE">');
    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="images/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#FFFFFF" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');
 //-->