﻿function bigeye(_picWidth,_picHeight,_textHeight,_pics,_links,_texts){
	var focus_width=_picWidth
	var focus_height=_picHeight
	var text_height=_textHeight
	var swf_height = focus_height+text_height
	var pics=_pics
	var links=_links
	var texts=_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 +'">');
	document.write('<param name="allowScriptAccess" value="sameDomain">');
	document.write('<param name="movie" value="/swf/pixviewer.swf">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="#fff">');
	document.write('<param name="menu" value="false">');
	document.write('<param name="wmode" value="opaque">');
    document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+(focus_width+2)+'&borderheight='+(focus_height+2)+'&textheight='+text_height+'">');
	document.write('<embed src="/swf/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="white" 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>');
}
