<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
// +----------------------------------------------------------------------+
// | PHP version 4/5                                                      |
// +----------------------------------------------------------------------+
// | This source file is a part of iScripts Multicart                     |
// +----------------------------------------------------------------------+
// | Authors: Programmer<programmer@armia.com>        		              |
// +----------------------------------------------------------------------+
// | Copyrights Armia Systems, Inc and iScripts.com � 2005                |
// | All rights reserved                                                  |
// +----------------------------------------------------------------------+
// | This script may not be distributed, sold, given away for free to     |
// | third party, or used as a part of any internet services such as      |
// | webdesign etc.                                                       |
// +----------------------------------------------------------------------+
?>
<script>
function openuserhelp(){

var url = './help/userhelp/index.html'
window.open(url,"Help","scrollbars=yes");

}
</script>

				<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="toplinkbar">
                      <tr>
                        <td width="10%"></td>
                        <td width="3%" align="right"></td>
                        <td width="74%" align="center" class="linksbg">


								<table width="94%"  border="0" cellpadding="0" cellspacing="0" class="toplinks">
		                          <tr align="center">
		                            <td class="toplinks"><a class=topanchor href="<?php echo SITE_URL."/"?>index.php"><?php echo HOME_LINK;?></a><img src="space.gif" height=0 width=5></td>

				             		<td class="toplinks"><a class="topanchor" href="<?php echo SITE_URL."/"?>categorydetail.php"><?php echo CATALOG_LINK;?></a><img src="space.gif" height=0 width=5></td>
									<td class="toplinks"><a class="topanchor" href="<?php echo SITE_URL."/"?>search.php"><?php echo SEARCH_BUTTON;?></a><img src="space.gif" height=0 width=5></td>
									<td class="toplinks"><a class="topanchor" href="<?php echo SITE_URL."/"?>sellers/index.php"><?php echo SELLER_LINK;?></a><img src="space.gif" height=0 width=5></td>
									<td class="toplinks"><a class="topanchor" href="<?php echo SITE_URL."/"?>affiliates/index.php"><?php echo AFFILIATES_LINK;?></a><img src="space.gif" height=0 width=5></td>
									<td class="toplinks"><a class="topanchor" href="<?php echo SITE_URL."/"?>viewcart.php"><?php echo VIEW_CART_LINK;?></a><img src="space.gif" height=0 width=5></td>
									<?php
									if(isset( $_SESSION["sess_userid"]) and $_SESSION["sess_userid"]!= ""){?>
									<td class="toplinks"><a class="topanchor" href="<?php echo SITE_URL."/"?>postfeedback.php"><?php echo POST_FEEDBACK_BUTTON;?></a><img src="space.gif" height=0 width=5></td>

									<td class="toplinks"><a class="topanchor" href="<?php echo SITE_URL."/"?>myaccount.php"><?php echo MY_ACCOUNT_TEXT;?></a><img src="space.gif" height=0 width=5></td>
									<td class="toplinks"><a class="topanchor" href="<?php echo SITE_URL."/"?>logout.php"><?php echo LOGOUT_TEXT;?></a><img src="space.gif" height=0 width=5></td>
									<?php }else{ ?>
									<td class="toplinks"><a class="topanchor" href="<?php echo SITE_URL."/"?>login.php"><?php echo LOGIN_BUTTON;?></a><img src="space.gif" height=0 width=5></td>
									<td class="toplinks"><a class="topanchor" href="<?php echo SITE_URL."/"?>register.php"><?php echo REGISTER_BUTTON;?></a><img src="space.gif" height=0 width=5></td>
									<?php }

									?>
									<td class="toplinks"><a href="#" class="topanchor"  onClick=" openuserhelp();" title="<?php echo OPEN_HELP_TEXT;?>"><?php echo HELP_TEXT;?></a><img src="space.gif" height=0 width=5></td>

		                          </tr>
		                        </table>

						</td>
                        <td width="3%"></td>
                        <td width="10%"></td>
                      </tr>
                  </table>




