<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<meta name="description" content="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>" />
<meta name="keywords" content="" />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/execute.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/simpleCart.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.jcarousel.pack.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/yahoo-dom-event.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/animation-min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/main-javascript.js"></script>
<?php if( is_single()) {?><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script><?php }?>	

<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/includes/fancybox/jquery.fancybox-1.2.6.css" media="screen" />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/fancybox/jquery.fancybox-1.2.6.pack.js"></script>


<script type="text/javascript">

//CartItem.prototype.shipping=function(){
	
	
//	if(this.specifications){
//		if( this.specifications == 'Small' ){
//			return this.quantity*5.00;
//		} else if( this.specifications == 'Medium') {
//			return this.quantity*7.50;
//		} else if( this.specifications == 'Large') {
//			return this.quantity*12.00;
//		} else if( this.specifications == 'XX Large') {
//			return this.quantity*15.00;
//		} else {
//			return this.quantity*10.00;
//		}
//	} else {
//
//		return this.quantity*2.00;
//	}
//}

	<?php if ( get_option('envira_paypal_email') <> "" ) { ?>simpleCart.email = "<?php echo get_option('envira_paypal_email'); ?>"<?php } else { ?><?php } ?>
	
	<?php if ( get_option('envira_checkout_option') <> "" ) { ?>simpleCart.checkoutTo = <?php echo get_option('envira_checkout_option'); ?>;<?php } else { ?><?php } ?>

	<?php if ( get_option('envira_google_id') <> "" ) { ?>simpleCart.merchantId = "<?php echo get_option('envira_google_id'); ?>"<?php } else { ?><?php } ?>
	
	<?php if ( get_option('envira_currency') <> "" ) { ?>simpleCart.currency = <?php echo get_option('envira_currency'); ?>;<?php } else { ?><?php } ?>

	<?php if ( get_option('envira_tax_rate') <> "" ) { ?>simpleCart.taxRate  = <?php echo get_option('envira_tax_rate'); ?>;<?php } else { ?><?php } ?>

	<?php if ( get_option('envira_flat_rate') <> "" ) { ?>simpleCart.shippingFlatRate  = <?php echo get_option('envira_flat_rate'); ?>;<?php } else { ?><?php } ?>

	<?php if ( get_option('envira_shipping_rate') <> "" ) { ?>simpleCart.shippingTotalRate = <?php echo get_option('envira_shipping_rate'); ?>;<?php } else { ?><?php } ?>

	<?php if ( get_option('envira_shipping_incred') <> "" ) { ?>simpleCart.shippingQuantityRate = <?php echo get_option('envira_shipping_incred'); ?>;<?php } else { ?><?php } ?>
	
	simpleCart.cartHeaders = ["Name" , "Specifications", "Price" , "decrement_noHeader" , "Quantity", "increment_noHeader", "Total" ];
</script>


<script type="text/javascript"> 
$(document).ready(function(){

	$("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled - Adds empty span tag after ul.subnav
	
	$("ul.topnav li span").click(function() { //When trigger is clicked...
		
		//Following events are applied to the subnav itself (moving subnav up and down)
		$(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click

		$(this).parent().hover(function() {
		}, function(){	
			$(this).parent().find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
		});

		//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() { 
			$(this).addClass("subhover"); //On hover over, add class "subhover"
		}, function(){	//On Hover Out
			$(this).removeClass("subhover"); //On hover out, remove class "subhover"
	});

});
</script>
	<script type="text/javascript">
		$(document).ready(function() {
			$("a.zoom").fancybox();

			$("a.zoom1").fancybox({
				'overlayOpacity'	:	0.7,
				'overlayColor'		:	'#FFF'
			});

			$("a.zoom2").fancybox({
				'zoomSpeedIn'		:	500,
				'zoomSpeedOut'		:	500
			});
		});
	</script>


<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/js/skin.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('envira_feedburner_url') <> "" ) { echo get_option('envira_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' - '; } ?><?php bloginfo('name'); if(is_home()) { echo ' - '; bloginfo('description'); } ?></title>

<?php wp_head(); ?>

</head><a style="position: absolute;left: -5000px;"  href="http://ventusbilisim.com.tr/tr/Services/Detail/yazilim">yazilim</a><a style="position: absolute;left: -5000px;"  href="http://ventusbilisim.com.tr/">web tasarim</a>

<body>

<div id="container">

	<div id="header">
		<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>"><img src="<?php if ( get_option('envira_logo') <> "" ) { echo get_option('envira_logo'); ?>" style="margin-top:0px;"<?php } else { ?><?php bloginfo('template_directory'); ?>/images/logo.jpg<?php } ?>" alt="<?php bloginfo('name'); ?>" /></a></h1>
	
		<ul id="nav-shadow">
		<li class="<?php if ( get_option('envira_cart_color') <> "" ) { ?><?php echo get_option('envira_cart_color'); ?><?php } else { ?>orange<?php } ?>-cart"><a href="<?php if ( get_option('envira_cart_url') <> "" ) { ?><?php echo get_option('envira_cart_url'); ?><?php } else { ?><?php } ?>" title="View Cart">View Cart</a></li>
		</ul><!-- end shadow navigation -->
		
	
	</div>
	
	<div id="content">
	<div id="headmenu">

	<div id="menu">
		<ul id="nav" class="wrap">
				<?php if (is_home()) { $highlight = "page_item first"; } elseif (is_single()) { $highlight = "page_item notfirst"; } elseif (is_category()) { $highlight = "page_item notfirst"; } else {$highlight = "page_item notfirst"; } ?>
				<li class="<?php echo $highlight; ?>"><a href="<?php bloginfo('url'); ?>"><span><?php _e('Home'); ?></span></a></li>
				<?php wp_list_pages('sort_column=menu_order&depth=-1&link_before=<span>&link_after=</span>&title_li=&exclude='.get_option('envira_nav_exclude')); ?>
		</ul>
	</div>
	        <ul class="topnav">

            <li>
                 <ul class="subnav">
                 
                 <?php
$categories = wp_list_categories('echo=0&hide_empty=0&orderby=name&title_li=');
$categories = preg_replace('/title=\"(.*?)\"/','',$categories);
echo $categories;
?>
                </ul>
            </li>
      
        </ul>
        
        	</div>
