<!DOCTYPE html>
<html>
<head>

<title>Buy Cudas - Cudas</title>

<meta charset="utf-8" />
<meta name="description" content="Cudas Footwear creates thoughtfully built performance water shoes and sandals that maximize your outdoor vacation moments. Cudas. Since 1991." />
<meta name="robots" content="noydir" />
<meta name="googlebot" content="Index, Follow" />
<meta name="robots" content="all" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/images/icons/apple-touch-icon-152-precomposed.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/images/icons/apple-touch-icon-144-precomposed.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/images/icons/apple-touch-icon-120-precomposed.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/images/icons/apple-touch-icon-114-precomposed.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/images/icons/apple-touch-icon-76-precomposed.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/images/icons/apple-touch-icon-72-precomposed.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="/images/icons/apple-touch-icon-60-precomposed.png" />
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/images/icons/apple-touch-icon-57-precomposed.png" />
<link rel="shortcut icon" href="/images/icons/favicon.ico" />

<link rel="stylesheet" type="text/css" href="/styles/main.css" media="screen" />


<script type="text/javascript" src="//use.typekit.net/obd7jbr.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<style type="text/css">
	.wf-loading { /* hide all typekit while fonts are loading */
		visibility: hidden;
	}
</style>

<!-- enable HTML5 elements in IE7+8 -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="/scripts/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/scripts/links.js"></script>
<script type="text/javascript" src="/scripts/detector.js"></script>
<script type="text/javascript" src="/scripts/jquery_hint.js"></script>
<script type="text/javascript" src="/scripts/hint.js"></script>

<script type="text/javascript" src="/scripts/bootstrap-tab.js"></script>
<script>
$(document).ready(function (){
	// Javascript to enable link to tab
	var hash = document.location.hash;
	var prefix = "tab-";
	if (hash) {
		$('.nav-tabs a[href='+hash.replace(prefix,"")+']').tab('show');
	} 
	
	// Change hash for page-reload
	$('.nav-tabs a').on('shown', function (e) {
		window.location.hash = e.target.hash.replace("#", "#" + prefix);
	});
	
});
</script>

<script type="text/javascript" src="/scripts/jquery.royalslider.min.js"></script>

<!--<script type="text/javascript">
	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-433882-4']);
	_gaq.push(['_trackPageview']);
	(function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	})();
</script>-->

</head>


<body class="curBuy">


<div id="wrapper">

	<div id="headerFrame">

		<div id="headerWrapper">

			<div id="header">


				<a class="logoer" href="/"><img src="/images/logo.png" alt="Cudas" /></a>


				<div id="nav_left">
				
					<ul>
						<li id="navWater"><a href="/water/">Water Shoes</a></li>
						<li id="navSandals"><a href="/sandals/">Sandals</a></li>
						<li id="navBuy"><a href="/buy/">Buy Cudas</a></li>
						<li id="navBlog"><a href="/blog/"><span>Our </span>Blog</a></li>
					</ul>
				</div>
				
				
				<div id="nav_right">
					
					<ul>
						<li id="navAbout"><a href="/about/">About Us</a></li>
						<li id="navDifference"><a href="/difference/">The Cudas Difference</a></li>
						<li id="navNews"><a href="/news/">News</a></li>
						<li id="navContact"><a href="/contact/">Contact</a></li>
					</ul>
				</div>
				
				
				<div id="nav_utility"><a rel="external" href="http://www.facebook.com/cudassandals"><img src="/images/icon_utility_facebook.png" width="22" height="22" alt="" /><span>Follow Us on </span>Facebook</a></div>
			</div>
		</div>
	</div>
	
	
	<div class="contentWrapper">
	
		<div class="content contentTop">
	
			<div id="contentLeft">
				<%
				if request("zip")<>"" or request("state") <> "" then
					if request("zip")<>"" then
						passpostal = request("zip")
					else
						Randomize()
						passpostal = int(rnd() * (9999999 - 1111111 + 1))
					end if
	
					Set Cudas = Server.CreateObject("ADODB.Connection")
					Cudas.Open Session("Conn_cudas")
	
					if request("state") <> "" then
						sql="SELECT states.state_name FROM states where states.state_name_short = '" & replace(request("state"),"'","") & "'"
						Set rd = Cudas.Execute(sql)
						if not rd.eof then
							result_call = "Results for " & rd("state_name")
						end if
						rd.close
						set rd = nothing
	
						sql="select * from distributor where dststate = '" & replace(request("state"),"'","") & "' order by dstcity, dstname"
						Set rd = Cudas.Execute(sql)
					else
						sql="select * from distributor where dstzip like '" & left(passpostal,3) & "%' order by dstzip, dstname"
						result_call = "Results for zip code, &#8220;" & request("zip") & "&#8221;"
	
						Set rd = Cudas.Execute(sql)
						if rd.eof then
							sql="select * from distributor where dstzip like '" & left(passpostal,2) & "%' order by dstzip, dstname"
							Set rd = Cudas.Execute(sql)
							if rd.eof then
								sql="select * from distributor where dstzip like '" & left(passpostal,1) & "%' order by dstzip, dstname"
								Set rd = Cudas.Execute(sql)
							end if
						end if
	
	
					end if
					%>
					<h2>Store Locator</h2>
					<h3><%=result_call%></h3>
					<%
					if rd.eof then
						%>
						<p class="resulter">Thanks for looking! Currently we don&rsquo;t have a Cudas dealer near you. Please click on one of our online partners to grab some Cudas of your own.</p>
						<ul class="retailers">
							<li><a rel="external" href="http://www.wholeearthprovision.com/" title="Whole Earth Provision Co."><img src="/images/retailers/whole_earth.jpg" alt="Whole Earth Provision Co." /></a></li>
							<li><a rel="external" href="http://www.moosejaw.com/moosejaw/shop/SearchResultsDisplay?storeId=10208&catalogId=10000001&langId=-1&searchDisplay=1&cmCat=-10020&searchTerm=cudas" title="Moosejaw"><img src="/images/retailers/moosejaw.gif" alt="Moosejaw" /></a></li>
							<li><a rel="external" href="http://www.swimoutlet.com/Cudas" title="Swim Outlet"><img src="/images/retailers/swim_outlet.gif" alt="Swim Outlet" /></a></li>
							<li><a rel="external" href="http://www.diversdirect.com/scuba/brand/cudas/" title="Divers Direct"><img src="/images/retailers/divers_direct.gif" alt="Divers Direct" /></a></li>
							
							<li><a rel="external" href="http://www.footsmart.com/cudas-s.aspx?searchterm=cudas&tama=USED&cm=sb" title="FootSmart"><img src="/images/retailers/footsmart.gif" alt="FootSmart" /></a></li>
							<li><a rel="external" href="http://www.shoebuy.com/cudas-shoes.htm" title="Shoe Buy"><img src="/images/retailers/shoe_buy.gif" alt="Shoe Buy" /></a></li>
							<li><a rel="external" href="http://www.amazon.com/Cudas/e/2416185011/" title="Amazon"><img src="/images/retailers/amazon.gif" alt="Amazon" /></a></li>
							<li><a rel="external" href="https://www.cudas.com/yvs500a/default.asp?id=7" title="Cudas Online Store"><img src="/images/retailers/cudas.gif" alt="Cudas" /></a></li>
						</ul>
						<%
					else
						do until rd.eof
						%>
						<h4 class="resulter"><%=rd("dstname")%></h4>
						<p class="resulter"><%=rd("dstaddr1")%><br />
							<%=rd("dstcity")%>&nbsp;<%=rd("dststate")%>&nbsp;<%=rd("dstzip")%><br />
							<%=rd("dstphone")%></p>
						<%
						rd.movenext
						loop
					end if
					rd.close
					set rd = nothing
					cudas.close
					set cudas = nothing
				else
					%>
					<img class="imgSecondary" src="/images/img_offroad_adventure.jpg" alt="" />
	
					<h4>Shop Online</h4>
					<p>Click on a logo to order from our online retail partners.</p>
	
					<ul class="retailers">
						<li><a rel="external" href="http://www.wholeearthprovision.com/" title="Whole Earth Provision Co."><img src="/images/retailers/whole_earth.jpg" alt="Whole Earth Provision Co." /></a></li>
						<li><a rel="external" href="http://www.moosejaw.com/moosejaw/shop/SearchResultsDisplay?storeId=10208&catalogId=10000001&langId=-1&searchDisplay=1&cmCat=-10020&searchTerm=cudas" title="Moosejaw"><img src="/images/retailers/moosejaw.gif" alt="Moosejaw" /></a></li>
						<li><a rel="external" href="http://www.swimoutlet.com/Cudas" title="Swim Outlet"><img src="/images/retailers/swim_outlet.gif" alt="Swim Outlet" /></a></li>
						<li><a rel="external" href="http://www.diversdirect.com/scuba/brand/cudas/" title="Divers Direct"><img src="/images/retailers/divers_direct.gif" alt="Divers Direct" /></a></li>
						
						<li><a rel="external" href="http://www.footsmart.com/cudas-s.aspx?searchterm=cudas&tama=USED&cm=sb" title="FootSmart"><img src="/images/retailers/footsmart.gif" alt="FootSmart" /></a></li>
						<li><a rel="external" href="http://www.shoebuy.com/cudas-shoes.htm" title="Shoe Buy"><img src="/images/retailers/shoe_buy.gif" alt="Shoe Buy" /></a></li>
						<li><a rel="external" href="http://www.amazon.com/Cudas/e/2416185011/" title="Amazon"><img src="/images/retailers/amazon.gif" alt="Amazon" /></a></li>
						<li><a rel="external" href="https://www.cudas.com/yvs500a/default.asp?id=7" title="Cudas Online Store"><img src="/images/retailers/cudas.gif" alt="Cudas" /></a></li>
					</ul>
					<%
				end if
				%>
			</div>
	
	
			<div id="contentRight">
	
				<h4>Shop In-Store</h4>
				<p>Enter your ZIP code or click your state to find a store near you.</p>
	
				<form class="zipper" action="index.asp" method="post">
					<input class="zip_input" type="search" name="zip" title="Enter ZIP" />
					<button type="submit" name="action">Search</button>
				</form>
	
				<ul class="states">
					<%
					Set Cudas = Server.CreateObject("ADODB.Connection")
					Cudas.Open Session("Conn_cudas")
	
					'sql="SELECT distributor.dststate, states.state_name FROM states INNER JOIN distributor ON states.state_name_short = distributor.dststate GROUP BY distributor.dststate, states.state_name ORDER BY distributor.dststate"
					sql="SELECT states.state_name, states.state_name_short FROM states ORDER BY states.state_name_short"
	
					Set rd = Cudas.Execute(sql)
					do until rd.eof
					%>
					<li><a href="index.asp?state=<%=rd("state_name_short")%>" title="<%=rd("state_name")%>"><%=rd("state_name_short")%></a></li>
					<%
					rd.movenext
					loop
					rd.close
					set rd = nothing
					cudas.close
					set cudas = nothing
					%>
				</ul>
	
				<div class="clearer"></div>
			</div>
	
			<div class="clearer"></div>
		</div>
	
	</div>



	<div id="footer">

		<p>&copy; 2014 Cudas Footwear. All rights reserved.</p>
	</div>
</div>
</body>
</html>
