﻿function default_GetXml(spic, slinks, stexts, sfocus_width, sfocus_height, stext_height, divid) {
    var shtml = "";
    var focus_width = sfocus_width;
    var focus_height = sfocus_height;
    var text_height = stext_height;
    var pics = spic;
    var links = slinks;
    var texts = stexts;
    var swf_height = parseInt(focus_height) + parseInt(text_height);
    shtml += '<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 + '">';
    shtml += '<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="flash/picflash.swf"><param name="quality" value="high"><param name="bgcolor" value="#EbEbEb">';
    shtml += '<param name="menu" value="false"><param name=wmode value="opaque">';
    shtml += '<param name="FlashVars" value="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '">';
    shtml += '<embed src="flash/picflash.swf" wmode="opaque" FlashVars="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '" menu="false" bgcolor="#EbEbEb" quality="high" width="' + focus_width + '" height="' + swf_height + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
    shtml += '</object>';
    document.getElementById(divid).innerHTML = shtml;
}

function aone(liid) {
    document.getElementById("one").style.display = "block";
    document.getElementById("two").style.display = "none";
}
function atwo(liid) {
    document.getElementById("one").style.display = "block";
    document.getElementById("two").style.display = "none";
}
function athree(liid) {
    document.getElementById("one").style.display = "block";
    document.getElementById("two").style.display = "none";
}
function afour(liid) {
    document.getElementById("one").style.display = "none";
    document.getElementById("two").style.display = "block";
} function afive(liid) {
    document.getElementById("one").style.display = "none";
    document.getElementById("two").style.display = "block";
} function asex(liid) {
    document.getElementById("one").style.display = "none";
    document.getElementById("two").style.display = "block";
}


