﻿function ShowPictureNews(NewsID) {
    var width = 275
    var height =183
    var text_height = 18
    var swf_height = height + text_height
    var Idlist = NewsID;
    Id = new Array();
    Id = Idlist.split("∏");
    var pics = Id[1];
    var links = Id[0];
    var texts = Id[2];

    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="' + width + '" height="' + swf_height + '">');
    document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="../lib/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
    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=' + width + '&borderheight=' + height + '&textheight=' + text_height + '">');
    document.write('<embed src="../lib/pixviewer.swf" wmode="opaque" FlashVars="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + width + '&borderheight=' + height + '&textheight=' + text_height + '" menu="false" bgcolor="#F0F0F0" quality="high" width="' + width + '" height="' + height + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');
}
function gothere(args) {
    if (args.options.value != "")
        window.open(args.options.value);
}