function banner_view(){
$('#tok').html("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"100%\" height=\"100%\" id=\"FlashID\" title=\"banner\">"+
 "<param name=\"movie\" value=\"/banner.swf\" />"+
"<param name=\"quality\" value=\"high\" />"+
      "<param name=\"wmode\" value=\"opaque\" />"+
        "<param name=\"swfversion\" value=\"6.0.65.0\" />"+
          "<param name=\"FlashVars\" value=\"skipurl=http://torrentmatrix.com&timerSec=15&siteurl=http://talkoclock.com/?ref=1015\">"+
            "<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->"+
              "<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->"+
                "<!--[if !IE]>-->"+
                  "<object type=\"application/x-shockwave-flash\" data=\"/banner.swf\" width=\"100%\" height=\"100%\">"+
                      "<!--<![endif]-->"+
                          "<param name=\"quality\" value=\"high\" />"+
                              "<param name=\"wmode\" value=\"opaque\" />"+
                                  "<param name=\"swfversion\" value=\"6.0.65.0\" />"+
                                       "<param name=\"FlashVars\" value=\"skipurl=http://torrentmatrix.com&timerSec=15&siteurl=http://talkoclock.com/?ref=1015\">"+
                                            "<!--[if !IE]>-->"+
                                              "</object>"+
                                                "<!--<![endif]-->"+
"</object>");
$('#header').css('display', 'none');
$('#content').css('display', 'none');
$('#footer').css('display', 'none');
$('#rightcolum').css('display', 'none');
$('#tok').css('display', 'block');
}
function createCookie(name,value,days) {
    if (days) {
        var date = new Date();
        date.setTime(date.getTime()+(days*24*60*60*1000));
        var expires = "; expires="+date.toGMTString();
    }
    else var expires = "";
    document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
    var nameEQ = name + "=";
    var ca = document.cookie.split(';');
    for(var i=0;i < ca.length;i++) {
        var c = ca[i];
        while (c.charAt(0)==' ') c = c.substring(1,c.length);
        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
    }
    return null;
}



var tab = '';
var numb = '';
var maintime = '';
var timers = new Object();
function set(ul, block) {
var list = document.getElementById(ul);
list.style.display = (block) ? "block" : "none";
}
function showList(ul) {
set(ul, true);
clearTimeout(timers[ul]);
}
function hideList(ul) {
set(ul, false);
var waiting = "set('" + ul + "', false)";
timers[ul] = setTimeout(waiting, 500);
}
function openInfoTab(ti){
if(tab != ''){	  	
	var list = document.getElementById(tab);
document.getElementById("showbut"+numb).style.display = "inline";
document.getElementById("closebut"+numb).style.display = "none";
list.style.display = "none";
}
numb = ti;
	tab = "t_i"+ti;
set(tab, true);
document.getElementById("showbut"+ti).style.display = "none";
document.getElementById("closebut"+ti).style.display = "inline";
clearTimeout(timers[tab]);
maintime = setTimeout(function() {	closeInfoTab();	}, 6000);
}
function closeInfoTab(){
	set(tab, false);
var waiting = "set('" + tab + "', false)";
document.getElementById("showbut"+numb).style.display = "inline";
document.getElementById("closebut"+numb).style.display = "none";
timers[tab] = setTimeout(waiting, 500);
clearTimeout(maintime);
}

