function swf_start( swf_str , width , height ){
//document.write('<img src="top_chk.jpg">');
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" width="' + width + '" height="' + height + '" id="top_sel" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain">');
	document.write('<param name="movie" value="' + swf_str + '">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="#000000">');
	document.write('<embed src="' + swf_str + '" quality="high" bgcolor="#000000" width="' + width + '" height="' + height + '" name="top_sel" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write('</object>');
}

function getCookie(key,  tmp1, tmp2, xx1, xx2, xx3) {
    tmp1 = " " + document.cookie + ";";
    xx1 = xx2 = 0;
    len = tmp1.length;
    while (xx1 < len) {
        xx2 = tmp1.indexOf(";", xx1);
        tmp2 = tmp1.substring(xx1 + 1, xx2);
        xx3 = tmp2.indexOf("=");
        if (tmp2.substring(0, xx3) == key) {
            return(unescape(tmp2.substring(xx3 + 1, xx2 - xx1 - 1)));
        }
        xx1 = xx2 + 1;
    }
    return("");
}
function setCookie(key, val, exp) {
    var tmp = key + "=" + escape(val) + "; ";
    tmp += "expires=" + exp + "; ";
    document.cookie = tmp;
}
function band_set(band_w){
    var exp=new Date();
    exp.setTime(exp.getTime()+1000*60*60*24*30*6);
    exp=exp.toGMTString();
    setCookie("smt_band",band_w,exp);
}
