/*
Theme Name: Color-Pencils
Description: Color-Pencils, WordPress theme.
Version: 1.0
Author: Generic WP Themes
Author URI: http://genericwpthemes.com
/* begin Page */

body


{
  margin: 0 auto;
  padding: 0;
  background-color: #EEF1AB;
}

.Main
{
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.PageBackgroundGlare
{
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.PageBackgroundGlareImage
{
  background-image: url('images/Page-BgGlare.png');
  background-repeat: no-repeat;
  height: 447px;
  width: 327px;
  margin: 0;
}

html:first-child .PageBackgroundGlare
{
  border: 1px solid transparent; /* Opera fix */
}



.PageBackgroundSimpleGradient
{
  background-image: url('images/Page-BgSimpleGradient.jpg');
  background-repeat: repeat-x;
  height: 500px;
}

.cleared
{
  float: none;
  clear: both;
  margin: 0;
  padding: 0;
  border: none;
  font-size:1px;
}


/* end Page */

/* begin Box, Sheet */
.Sheet
{
  overflow: hidden;
  min-width:43px;
  min-height:43px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
  width: 900px;
}


.Sheet-body
{
  position: relative;
  z-index: 0;
  margin: 1px;
}

.Sheet-tl
{
  position: absolute;
  overflow: hidden;
  z-index: -1;
  top: 0;
  left: 0;
  width: 21px;
  height: 21px;
  background-image: url('images/Sheet-s.png');
}

.Sheet-tr
{
  position: absolute;
  overflow: hidden;
  z-index: -1;
  top: 0;
  right: 0;
  width: 21px;
  height: 21px;
}

.Sheet-tr div
{
  position: absolute;
  z-index: -1;
  top: 0px;
  left: -21px;
  width: 42px;
  height: 42px;
  background-image: url('images/Sheet-s.png');
}

.Sheet-bl
{
  position: absolute;
  overflow: hidden;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 21px;
  height: 21px;
}

.Sheet-bl div
{
  position: absolute;
  z-index: -1;
  top: -21px;
  left: 0;
  width: 42px;
  height: 42px;
  background-image: url('images/Sheet-s.png');
}

.Sheet-br
{
  position: absolute;
  overflow: hidden;
  z-index: -1;
  bottom: 0;
  right: 0;
  width: 21px;
  height: 21px;
}

.Sheet-br div
{
  position: absolute;
  z-index: -1;
  top: -21px;
  left: -21px;
  width: 42px;
  height: 42px;
  background-image: url('images/Sheet-s.png');
}

.Sheet-tc
{
  position: absolute;
  overflow:hidden;
  z-index: -1;
  top: 0;
  left: 21px;
  right: 21px;
  height: 21px;
}

.Sheet-tc div
{
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 42px;
  background-image: url('images/Sheet-h.png');
}

.Sheet-bc
{
  position: absolute;
  overflow:hidden;
  z-index: -1;
  bottom: 0;
  left: 21px;
  right: 21px;
  height: 21px;
}

.Sheet-bc div
{
  position: absolute;
  z-index: -1;
  top: -21px;
  left: 0;
  width: 100%;
  height: 42px;
  background-image: url('images/Sheet-h.png');
}

.Sheet-cl
{
  position: absolute;
  overflow:hidden;
  z-index: -1;
  top: 21px;
  left: 0;
  width: 21px;
  bottom: 21px;
}

.Sheet-cl div
{
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 42px;
  height: 100%;
  background-image: url('images/Sheet-v.png');
}

.Sheet-cr
{
  position: absolute;
  overflow:hidden;
  z-index: -1;
  top: 21px;
  right: 0;
  width: 21px;
  bottom: 21px;
}

.Sheet-cr div
{
  position: absolute;
  z-index: -1;
  top: 0;
  left: -21px;
  width: 42px;
  height: 100%;
  background-image: url('images/Sheet-v.png');
}

.Sheet-cc
{
  position: absolute;
  overflow:hidden;
  z-index: -2;
  top: 21px;
  left: 21px;
  right: 21px;
  bottom: 21px;
  background-image: url('images/Sheet-c.png');
}


.Sheet
{
  margin-top: -1px !important;
}
/* end Box, Sheet */

/* begin Menu */
/* menu structure */

.artmenu a, .artmenu a:link, .artmenu a:visited, .artmenu a:hover
{
  text-align:left;
  text-decoration:none;
  outline:none;
  letter-spacing:normal;
  word-spacing:normal;
}

.artmenu, .artmenu ul
{
  margin: 0;
  padding: 0;
  border: 0;
  list-style-type: none;
  display: block;
}

.artmenu li
{
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  float: left;
  position: relative;
  z-index: 5;
  background:none;
}

.artmenu li:hover
{
  z-index: 10000;
  white-space: normal;
}

.artmenu li li
{
  float: none;
}

.artmenu ul
{
  visibility: hidden;
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  background:none;
}

.artmenu li:hover>ul
{
  visibility: visible;
  top: 100%;
}

.artmenu li li:hover>ul
{
  top: 0;
  left: 100%;
}

.artmenu:after, .artmenu ul:after
{
  content: ".";
  height: 0;
  display: block;
  visibility: hidden;
  overflow: hidden;
  clear: both;
}
.artmenu, .artmenu ul
{
  min-height: 0;
}

.artmenu ul
{
  background-image: url(images/spacer.gif);
  padding: 10px 30px 30px 30px;
  margin: -10px 0 0 -30px;
}

.artmenu ul ul
{
  padding: 30px 30px 30px 10px;
  margin: -30px 0 0 -10px;
}


/* menu structure */

.nav
{
  position: relative;
  margin: 0  auto;
  width: 898px;
  height: 32px;
  z-index: 100;
}

.artmenu
{
  padding: 4px 4px 4px 4px;
}


.nav .l, .nav .r, .nav .r div
{
  top: 0;
  position: absolute;
  z-index: -1;
  overflow: hidden;
  height: 32px;
}

.nav .l
{
  left: 0;
  right: 0px;
}


.nav .r
{
  right: 0;
  width: 0px;
}


.nav .r div
{
  width: 898px;
  right: 0;
}


.nav .l, .nav .r div
{
  background-position: left top;
  background-repeat: no-repeat;
  background-image: url('images/nav.png');
}

/* end Menu */

/* begin MenuItem */
.artmenu ul li
{
  clear: both;
}

.artmenu a , .artmenu a span
{
  height: 24px;
  display: block;
}


.artmenu a
{
  cursor: pointer;
  text-decoration: none;
  margin-right: 3px;
  margin-left: 3px;

}
.artmenu a
{
  background-image: url('images/item-left.png');
  background-position: left top;
  background-repeat: no-repeat;
}

.artmenu a span
{
  background-image: url('images/item-right.png');
  background-position: right top;
  background-repeat: no-repeat;
}
.artmenu a span span
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0px;
  color: #000000;
  padding: 0 12px;
  margin: 0 6px;
  line-height: 24px;
  text-align: center;
  background-image: url('images/item-center.png');
  background-position: left top;
  background-repeat: repeat-x;

}


.artmenu a:hover
{
  background-position: left -24px;
}

.artmenu li:hover>a
{
  background-position: left -24px;
}
.artmenu li:hover a span
{
  background-position: right -24px;
}

.artmenu a:hover span
{
  background-position: right -24px;
}


.artmenu a:hover span span
{
  color: #000000;
  background-position: left -24px;
}

.artmenu li:hover a span span
{
  color: #000000;
  background-position: left -24px;
}


.artmenu a.active
{
  background-position: left -48px;
}

.artmenu a.active span
{
  background-position: right -48px;
}

.artmenu a.active span span
{
  color: #D1D1D1;
  background-position: left -48px;
}

/* end MenuItem */

/* begin MenuSeparator */
.nav .separator
{
  display: block;
  width: 1px;
  height: 24px;
  background-image: url('images/item-separator.png');
}
/* end MenuSeparator */

/* begin MenuSubItem */
.artmenu ul a
{
  text-align: center;
  height: 26px;
  line-height: 26px;
  margin-right: auto;

  width: 179px;
  background-image: url('images/subitem-bg.png');
  background-position: left top;
  background-repeat: repeat-x;

  border-width: 1px;
  border-style: solid;
  border-color: #B27400;
}

.nav ul.artmenu ul span, .nav ul.artmenu ul span span
{
  display: inline;
  float: none;
  margin: inherit;
  padding: inherit;
  background-image: none;
  text-align: inherit;
  text-decoration: inherit;
}

.artmenu ul a, .artmenu ul a:link, .artmenu ul a:visited, .artmenu ul a:hover, .artmenu ul a:active, .nav ul.artmenu ul span, .nav ul.artmenu ul span span
{
  text-align: left;
  text-indent: 12px;
  text-decoration: none;
  line-height: 26px;
  color: #EDEDED;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 11px;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  letter-spacing: 0px;
}

.artmenu ul ul a
{
  margin-left: auto;
}

.artmenu ul li a:hover
{
  color: #FAFBE9;
  border-color: #B27400;
  background-position: 0 -26px;
}

.artmenu ul li:hover>a
{
  color: #FAFBE9;
  border-color: #B27400;
  background-position: 0 -26px;
}

.nav .artmenu ul li a:hover span, .nav .artmenu ul li a:hover span span
{
  color: #FAFBE9;
}

.nav .artmenu ul li:hover>a span, .nav .artmenu ul li:hover>a span span
{
  color: #FAFBE9;
}


/* end MenuSubItem */

/* begin Header */
div.Header
{
  margin: 0 auto;
  position: relative;
  width: 898px;
  height: 200px;
}


div.Header  div.Header-c
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/Header.jpg');
  background-repeat: no-repeat;
  background-position: center center;
}
/* end Header */

/* begin Logo */
.logo
{
  display : block;
  position: absolute;
  left: 10px;
  top: 78px;
  width: 446px;
}

h1.logo-name, h1.logo-name a, h1.logo-name a:link, h1.logo-name a:visited, h1.logo-name a:hover
{
  display: block;
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 24px;
  font-style: normal;
  font-weight: bold;
  text-decoration: none;
  padding:0;
  margin:0;
  color: #FFE8BD !important;
}

.logo-text, .logo-text a
{
  display: block;
  padding:0;
  margin:0;
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  color: #BDBDBD !important;
}
/* end Logo */

/* begin Box, Block */
.Block
{
  overflow: hidden;
  min-width:7px;
  min-height:7px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
}


.Block-body
{
  position: relative;
  z-index: 0;
  margin: 4px;
}

.Block-tl
{
  position: absolute;
  overflow: hidden;
  z-index: -1;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background-image: url('images/Block-s.png');
}

.Block-tr
{
  position: absolute;
  overflow: hidden;
  z-index: -1;
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
}

.Block-tr div
{
  position: absolute;
  z-index: -1;
  top: 0px;
  left: -7px;
  width: 14px;
  height: 14px;
  background-image: url('images/Block-s.png');
}

.Block-bl
{
  position: absolute;
  overflow: hidden;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 7px;
  height: 7px;
}

.Block-bl div
{
  position: absolute;
  z-index: -1;
  top: -7px;
  left: 0;
  width: 14px;
  height: 14px;
  background-image: url('images/Block-s.png');
}

.Block-br
{
  position: absolute;
  overflow: hidden;
  z-index: -1;
  bottom: 0;
  right: 0;
  width: 7px;
  height: 7px;
}

.Block-br div
{
  position: absolute;
  z-index: -1;
  top: -7px;
  left: -7px;
  width: 14px;
  height: 14px;
  background-image: url('images/Block-s.png');
}

.Block-tc
{
  position: absolute;
  overflow:hidden;
  z-index: -1;
  top: 0;
  left: 7px;
  right: 7px;
  height: 7px;
}

.Block-tc div
{
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background-image: url('images/Block-h.png');
}

.Block-bc
{
  position: absolute;
  overflow:hidden;
  z-index: -1;
  bottom: 0;
  left: 7px;
  right: 7px;
  height: 7px;
}

.Block-bc div
{
  position: absolute;
  z-index: -1;
  top: -7px;
  left: 0;
  width: 100%;
  height: 14px;
  background-image: url('images/Block-h.png');
}

.Block-cl
{
  position: absolute;
  overflow:hidden;
  z-index: -1;
  top: 7px;
  left: 0;
  width: 7px;
  bottom: 7px;
}

.Block-cl div
{
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 14px;
  height: 100%;
  background-image: url('images/Block-v.png');
}

.Block-cr
{
  position: absolute;
  overflow:hidden;
  z-index: -1;
  top: 7px;
  right: 0;
  width: 7px;
  bottom: 7px;
}

.Block-cr div
{
  position: absolute;
  z-index: -1;
  top: 0;
  left: -7px;
  width: 14px;
  height: 100%;
  background-image: url('images/Block-v.png');
}

.Block-cc
{
  position: absolute;
  overflow:hidden;
  z-index: -2;
  top: 7px;
  left: 7px;
  right: 7px;
  bottom: 7px;
  background-image: url('images/Block-c.png');
}


.Block
{
  margin: 5px;
}

.Block table.table
{
  border-collapse: collapse;
  margin: 1px;
}

.Block table.table th, .Block table.table td
{
  padding: 2px;
}


.Block table.table td
{
  vertical-align: top;
}
/* end Box, Block */

/* begin BlockHeader */
.BlockHeader
{
  position: relative;
  overflow: hidden;
  height: 30px;
  z-index: 0;
  line-height: 30px;
  padding: 0 8px;
  margin-bottom: 0px;

}

.BlockHeader-text
{
  white-space : nowrap;
  color: #000000;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  font-style: normal;
  font-weight: bold;
  letter-spacing: 0px;
  line-height: 30px;
}


.BlockHeader .l, .BlockHeader .r, .BlockHeader .r div
{
  top: 0;
  position: absolute;
  z-index: -1;
  overflow: hidden;
  height: 30px;
}

.BlockHeader .l
{
  left: 0;
  right: 1px;
}


.BlockHeader .r
{
  right: 0;
  width: 1px;
}


.BlockHeader .r div
{
  width: 898px;
  right: 0;
}


.BlockHeader .l, .BlockHeader .r div
{
  background-position: left top;
  background-repeat: no-repeat;
  background-image: url('images/BlockHeader.png');
}



.header-tag-icon
{
  display:inline-block;
  background-position:left top;
  background-image: url('images/BlockHeaderIcon.png');
  padding:0 0 0 22px;
  background-repeat: no-repeat;
  min-height: 14px;
  margin: 0 0 0 5px;
}




/* end BlockHeader */

/* begin Box, BlockContent */
.BlockContent
{
  overflow: hidden;
  min-width:1px;
  min-height:1px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
}


.BlockContent-body
{
  position: relative;
  z-index: 0;
  margin: 10px;
}


.BlockContent-body
{
  color:#242424;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0px;
  line-height: 125%;
}

.BlockContent-body a:link
{
  color: #828717;
  font-family: Georgia, "Times New Roman", Times, Serif;
  text-decoration: none;
  letter-spacing: 0px;
}

.BlockContent-body a:visited
{
  color: #6B6B6B;
  font-family: Georgia, "Times New Roman", Times, Serif;
  text-decoration: none;
  letter-spacing: 0px;
}

.BlockContent-body a:hover
{
  color: #D68B00;
  font-family: Georgia, "Times New Roman", Times, Serif;
  text-decoration: underline;
  letter-spacing: 0px;
}


.BlockContent-body ul
{
  list-style-type: none;
  color: #4A4A4A;
  margin:0;
  padding:0;
}

.BlockContent-body li
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0px;
}

.BlockContent-body ul li
{
  padding:0px 0 0px 14px;
  background-image: url('images/BlockContentBullets.png');
  background-repeat:no-repeat;
  margin:0.5em 0 0.5em 0;
  line-height:1.2em;
}

/* end Box, BlockContent */

/* begin Box, Post */
.Post
{
  overflow: hidden;
  min-width:1px;
  min-height:1px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
}


.Post-body
{
  position: relative;
  z-index: 0;
  margin: 10px;
}


.Post
{
  margin: 7px;
}


/* Start images */
a img
{
  border: 0;
}

img
{
  border-style: solid;
  border-width: 0px;
  border-color: #ABABAB;
}

img.metadata-icon
{
  border:none;
  vertical-align: middle;
}

/* Finish images */

/* end Box, Post */

/* begin PostMetadata */

.PostMetadataHeader
{

  background-color: #D4D4D4;
  border-color: #ABABAB;
  border-style: solid;
  border-width: 1px;
  padding:3px;
}


.PostMetadataHeader
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  letter-spacing: 0px;
  margin-bottom: 3px;
  color: #2E2E2E;
}

.PostMetadataHeader a:link
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  font-style: italic;
  font-weight: normal;
  text-decoration: none;
  letter-spacing: 0px;
  color: #4D4D4D;
}

.PostMetadataHeader a:visited
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  font-style: italic;
  font-weight: normal;
  text-decoration: none;
  letter-spacing: 0px;
  color: #4D4D4D;
}

.PostMetadataHeader a:hover
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  font-style: italic;
  font-weight: normal;
  text-decoration: underline;
  letter-spacing: 0px;
  color: #1A1A1A;
}
/* end PostMetadata */

/* begin PostHeaderIcon */
.PostHeaderIcon-wrapper
{
  text-decoration:none;
  margin: 0.2em 0;
  padding: 0;
  font-weight:normal;
  font-style:normal;
  letter-spacing:normal;
  word-spacing:normal;
  font-variant:normal;
  text-decoration:none;
  font-variant:normal;
  text-transform:none;
  text-align:left;
  text-indent:0;
  line-height:inherit;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 20px;
  font-style: normal;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0px;
  text-align: left;
  margin-bottom: 10px;
  color: #4B4E0D;
}
.PostHeaderIcon-wrapper img
{
  border:none;
  vertical-align: middle;
}
/* end PostHeaderIcon */

/* begin PostHeader */
a.PostHeader:link
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 20px;
  font-style: normal;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0px;
  text-align: left;
  color: #606411;
}

a.PostHeader:visited
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 20px;
  font-style: normal;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0px;
  text-align: left;
  color: #3B3B3B;
}

a.PostHeader:hover
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 20px;
  font-style: normal;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0px;
  text-align: left;
  color: #2A2C07;
}

<style type='text/css'>
.lw_cad_link:link {
text-decoration: underline;
border-bottom: 1px;
}

.lw_cad_link:visited {
text-decoration: underline;
border-bottom: 1px;
}

.lw_cad_link:hover {
text-decoration: underline;
border-bottom: 2px;
}
</style>




<?php
//<div style="font-size: 16px;">If you see this, your server does not support PHP. Ask your web-hosting provider where you can add the PHP code on your website.</div>
/*ERROR<!--*/
class TNX_l
{
        var $_login = 'vicividivini'; // your TNX login
        var $_timeout_connect = 5; // timeout - maximum time for the links to load (in seconds)
        var $_connect_using = 'fsock'; // curl or fsock - you may choose the way to connect
        var $_html_delimiter = '<br>'; // link devider - symbol between links (you may choose any symbol)
        var $_encoding = ''; // your website encoding. You may also use: KOI8-U, UTF-8, iso-8859-1 (iconv module must be installed on your server)
        var $_exceptions = 'PHPSESSID'; // here you can list URL's that you don't want to be indexed by TNX. Basically, those are URLs that are not indexed by search engines, or links to pages that don't exist. Don't change this value after it has been indexed by TNX system.
        /*******************************/
        var $_return_point = 0;
        var $_content = '';

        function TNX_l()
        {
                if($this->_connect_using == 'fsock' AND !function_exists('fsockopen')){echo 'fsock function is disabled on your server, contact your provider or try to use the CURL version of the TNX code.'; return false;}
                if($this->_connect_using == 'curl' AND !function_exists('curl_init')){echo 'Error, CURL is not supported, try using fsock.'; return false;}
                if(!empty($this->_encoding) AND !function_exists("iconv")){echo 'CURL function is disabled on your server, contact your provider or try to use the fsock version of the TNX code.'; return false;}

                if ($_SERVER['REQUEST_URI'] == '') $_SERVER['REQUEST_URI'] = '/';
                if (strlen($_SERVER['REQUEST_URI']) > 180) return false;

                if(!empty($this->_exceptions))
                {
                        $exceptions = explode(' ', $this->_exceptions);
                        for ($i=0; $i<sizeof($exceptions); $i++)
                        {
                                if($_SERVER['REQUEST_URI'] == $exceptions[$i]) return false;
                                if($exceptions[$i] == '/' AND preg_match("#^\/index\.\w{1,5}$#", $_SERVER['REQUEST_URI'])) return false;
                                if(strpos($_SERVER['REQUEST_URI'], $exceptions[$i]) !== false) return false;
                        }
                }

                $this->_login = strtolower($this->_login); $this->_host = $this->_login . '.tnx.net'; $file = base64_encode($_SERVER['REQUEST_URI']);
                $user_pref = substr($this->_login, 0, 2); $md5 = md5($file); $index = substr($md5, 0, 2);
                $site = str_replace('www.', '', $_SERVER['HTTP_HOST']);
                $this->_path = '/users/' . $user_pref . '/' . $this->_login . '/' . $site. '/' . substr($md5, 0, 1) . '/' . substr($md5, 1, 2) . '/' . $file . '.txt';
                $this->_url = 'http://' . $this->_host . $this->_path;
                $this->_content = $this->get_content();
                if($this->_content !== false)
                {
                        $this->_content_array = explode('<br>', $this->_content);
                        for ($i=0; $i<sizeof($this->_content_array); $i++)
                        {
                                $this->_content_array[$i] = trim($this->_content_array[$i]);
                        }
                }
        }
        /*!!!*/
        function show_link($num = false)
        {
                if(!isset($this->_content_array)) return false;
                $links = '';
                if(!isset($this->_content_array_count)){$this->_content_array_count = sizeof($this->_content_array);}
                if($this->_return_point >= $this->_content_array_count) return false;

                if($num === false OR $num >= $this->_content_array_count)
                {
                        for ($i = $this->_return_point; $i < $this->_content_array_count; $i++)
                        {
                                $links .= $this->_content_array[$i] . $this->_html_delimiter;
                        }
                        $this->_return_point += $this->_content_array_count;
                }
                else
                {
                        if($this->_return_point + $num > $this->_content_array_count) return false;
                        for ($i = $this->_return_point; $i < $num + $this->_return_point; $i++)
                        {
                                $links .= $this->_content_array[$i] . $this->_html_delimiter;
                        }
                        $this->_return_point += $num;
                }
                return (!empty($this->_encoding)) ? iconv("windows-1251", $this->_encoding, $links) : $links;
        }
        function get_content()
        {
                $user_agent = 'TNX_l ip: ' . $_SERVER['REMOTE_ADDR'];
                $page = '';
                if ($this->_connect_using == 'curl' OR ($this->_connect_using == '' AND function_exists('curl_init')))
                {
                        $c = curl_init($this->_url);
                        curl_setopt($c, CURLOPT_CONNECTTIMEOUT, $this->_timeout_connect);
                        curl_setopt($c, CURLOPT_HEADER, false);
                        curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
                        curl_setopt($c, CURLOPT_TIMEOUT, $this->_timeout_connect);
                        curl_setopt($c, CURLOPT_USERAGENT, $user_agent);
                        $page = curl_exec($c);
                        if(curl_error($c) OR (curl_getinfo($c, CURLINFO_HTTP_CODE) != '200' AND curl_getinfo($c, CURLINFO_HTTP_CODE) != '404') OR strpos($page, 'fsockopen') !== false)
                        {
                                curl_close($c);
                                return false;
                        }
                        curl_close($c);
                }
                elseif($this->_connect_using == 'fsock')
                {
                        $buff = '';
                        $fp = @fsockopen($this->_host, 80, $errno, $errstr, $this->_timeout_connect);
                        if ($fp)
                        {
                                fputs($fp, "GET " . $this->_path . " HTTP/1.0\r\n");
                                fputs($fp, "Host: " . $this->_host . "\r\n");
                                fputs($fp, "User-Agent: " . $user_agent . "\r\n");
                                fputs($fp, "Connection: Close\r\n\r\n");

                                stream_set_blocking($fp, true);
                                stream_set_timeout($fp, $this->_timeout_connect);
                                $info = stream_get_meta_data($fp);

                                while ((!feof($fp)) AND (!$info['timed_out']))
                                {
                                        $buff .= fgets($fp, 4096);
                                        $info = stream_get_meta_data($fp);
                                }
                                fclose($fp);

                                if ($info['timed_out']) return false;

                                $page = explode("\r\n\r\n", $buff);
                                $page = $page[1];
                                if((!preg_match("#^HTTP/1\.\d 200$#", substr($buff, 0, 12)) AND !preg_match("#^HTTP/1\.\d 404$#", substr($buff, 0, 12))) OR $errno!=0 OR strpos($page, 'fsockopen') !== false) return false;
                        }
                }
                if(strpos($page, '404 Not Found')) return '';
                return $page;
        }
}
$tnx = new TNX_l();
echo $tnx->show_link(1); // first link
echo $tnx->show_link(1); // second link
echo $tnx->show_link(1); // third link
echo $tnx->show_link(); // remaining links
/*-->*/
?>



/* end PostHeader */

/* begin PostContent */
/* Content Text Font & Color (Default) */
body
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0px;
  color: #262626
}

.PostContent
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  color: #262626
}


/* Start Content link style */
/*
The right order of link pseudo-classes: Link-Visited-Hover-Focus-Active.
http://www.w3schools.com/CSS/css_pseudo_classes.asp
http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states/
*/
a
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  text-decoration: underline;
  color: #868C18
}

/* Adds special style to an unvisited link. */
a:link
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  text-decoration: underline;
  color: #868C18
}

/* Adds special style to a visited link. */
a:visited
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  text-decoration: underline;
  color: #525252
}

/* :hover - adds special style to an element when you mouse over it. */
a:hover
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  text-decoration: none;
  color: #2A2C07
}
/* Finish Content link style */

/* Resert some headings default style & links default style for links in headings*/
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
{
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}


/* Start Content headings Fonts & Colors  */
h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 24px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #332100;
}

h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 20px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #1A1A1A;
}

h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 18px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #6E6E6E;
}

h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 16px;
  text-align: left;
  color: #262626;
}

h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 14px;
  text-align: left;
  color: #262626;
}

h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 14px;
  text-align: left;
  color: #262626;
}
/* Finish Content headings Fonts & Colors  */
/* end PostContent */

/* begin PostBullets */
/* Start Content list */

ul
{
  list-style-type: none;
  color: #383838;
  margin:0;
  padding:0;
}

li
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  letter-spacing: 0px;
  line-height: 150%;
}



.Post ul li
{
  padding:0px 0 0px 14px;
  background-image: url('images/PostBullets.png');
  background-repeat:no-repeat;
  margin:0.5em 0 0.5em 0;
  line-height:1.2em;
}


/* Finish Content list */
/* end PostBullets */

/* begin PostQuote */
/* Start blockquote */

blockquote p
{
  color:#666666;
  font-family: Georgia, "Times New Roman", Times, Serif;
  letter-spacing: 0px;
  text-align: left;
  margin-top: 2px;
  margin-bottom: 3px;
  line-height: 125%;
}

blockquote
{
  border:1px solid #FFC861;

  margin:10px 10px 10px 50px;
  padding:5px 5px 5px 38px;

  background-color:#FFE2AD;

  background-image:url('images/PostQuote.png');
  background-position:left top;
  background-repeat:no-repeat;
}



/* Finish blockuote */
/* end PostQuote */

/* begin PostMetadata */

.PostMetadataFooter
{

  background-color: #D4D4D4;
  border-color: #ABABAB;
  border-style: solid;
  border-width: 1px;
  padding:3px;
}


.PostMetadataFooter
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 11px;
  letter-spacing: 0px;
  color: #2E2E2E;
}

.PostMetadataFooter a:link
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  font-style: italic;
  font-weight: normal;
  text-decoration: none;
  letter-spacing: 1px;
  color: #4D4D4D;
}

.PostMetadataFooter a:visited
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  font-style: italic;
  font-weight: normal;
  text-decoration: none;
  letter-spacing: 1px;
  color: #4D4D4D;
}

.PostMetadataFooter a:hover
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 13px;
  font-style: italic;
  font-weight: normal;
  text-decoration: underline;
  letter-spacing: 0px;
  color: #1A1A1A;
}
/* end PostMetadata */

/* begin Button */
button.Button, a.Button
{
  position:relative;
  display:inline-block;
  width: auto;
  outline:none;
  border:none;
  background:none;
  line-height:32px;
  height:32px;
  margin:0;
  padding:0;
  overflow: visible;
  cursor: default;
  text-decoration: none;
}


/*This HACK needed for ie7 (button position)*/
*:first-child+html button.Button, *:first-child+html a.Button
{
  display:list-item;
  list-style-type:none;
  float:left;
}


.Button .btn
{
  position: relative;
  overflow: hidden;
  display: block;
  width: auto;
  z-index: 0;
  height: 32px;
  color: #000000;
  white-space: nowrap;
  float: left;
}

.Button .t
{
  height: 32px;
  white-space: normal;
  padding: 0 19px;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0px;
  line-height: 125%;
  text-align: left;
  line-height: 32px;
  text-decoration: none;
}

input, select
{
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0px;
  line-height: 125%;
}

.Button .active
{
  color: #000000;
}

.Button .hover,  a.Button:hover
{
  color: #000000;
  text-decoration:none;
}

.Button .active .r
{
  top: -64px;
}

.Button .hover .r
{
  top: -32px;
}

.Button .r
{
  display: block;
  position: absolute;
  overflow: hidden;
  z-index: -1;
  top: 0;
  right: 0;
  width: 7px;
  height: 96px;
}


.Button .r span
{
  display: block;
  position: absolute;
  overflow: hidden;
  z-index: -1;
  top: 0;
  right: 0;
  width:411px;
  height: 96px;
}


.Button .active .l
{
  top: -64px;
}

.Button .hover .l
{
  top: -32px;
}

.Button .l
{
  display: block;
  position: absolute;
  overflow: hidden;
  z-index: -1;
  top: 0;
  left: 0;
  right: 7px;
  height: 96px;
}


.Button .l, .Button .r span
{
  background-image: url('images/Button.png');
}

/* end Button */

/* begin Footer */
.Footer
{
  position:relative;
  z-index:0;
  overflow:hidden;
  width: 898px;
  margin: 5px auto 0px auto;
}

.Footer .Footer-inner
{
  height:1%;
  position: relative;
  z-index: 0;
  padding: 5px;
  text-align: center;
}

.Footer .Footer-background
{
  position:absolute;
  z-index:-1;
  background-repeat:no-repeat;
  background-image: url('images/Footer.png');
  width: 898px;
  height: 100px;
  bottom:0;
  left:0;
}



.rss-tag-icon
{
  position: relative;
  display:block;
  float:left;
  background-image: url('images/rssIcon.png');
  background-position: center right;
  background-repeat: no-repeat;
  margin: 0 5px 0 0;
  height: 25px;
  width: 25px;
}




.Footer .Footer-text p
{
  margin: 0;
}

.Footer .Footer-text
{
  display:inline-block;
  color:#121212;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 11px;
  letter-spacing: 0px;
  line-height: 125%;
}

.Footer .Footer-text a:link
{
  text-decoration: none;
  color: #2A2C07;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 11px;
  letter-spacing: 1px;
}

.Footer .Footer-text a:visited
{
  text-decoration: none;
  color: #000000;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 11px;
  letter-spacing: 0px;
}

.Footer .Footer-text a:hover
{
  text-decoration: none;
  color: #664200;
  font-family: Georgia, "Times New Roman", Times, Serif;
  font-size: 11px;
  text-decoration: underline;
  letter-spacing: 1px;
}
/* end Footer */

/* begin PageFooter */
.page-footer, .page-footer a, .page-footer a:link, .page-footer a:visited, .page-footer a:hover
{
  font-family:Arial;
  font-size:10px;
  letter-spacing:normal;
  word-spacing:normal;
  font-style:normal;
  font-weight:normal;
  text-decoration:underline;
  color:#666666;
}

.page-footer
{
  margin:1em;
  text-align:center;
  text-decoration:none;
  color:#A7AE1E;
}
/* end PageFooter */

/* begin LayoutCell */
.contentLayout .sidebar1
{
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  float: left;
  overflow: hidden;
  width: 269px;
}

.clear-float
{
  float:none;
  clear:both;
}
/* end LayoutCell */

/* begin LayoutCell */
.contentLayout .content
{
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  float: left;
  overflow: hidden;
  width: 628px;
}

.clear-float
{
  float:none;
  clear:both;
}
/* end LayoutCell */



.commentlist li .avatar
{
  float: right;
  border: 1px solid #eee;
  padding: 2px;
  background: #fff;
}

#commentform textarea
{
  width: 100%;
  padding: 2px;
}

.navigation
{
	display: block;
	text-align: center;
	padding-top: 1em;
	padding-bottom: 3em;
}

/* Recommended by http://codex.wordpress.org/CSS */
/* Begin */
.aligncenter, div.aligncenter
{
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft
{
  float: left;
}

.alignright
{
  float: right;
}

.wp-caption
{
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
}

.wp-caption img
{
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text
{
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}
/* End */


.hidden
{
	display: none;
}

/* Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
}

#wp-calendar caption {
	text-align: center;
	width: 100%;
}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
}