page Top php<?php
    $ipAddr = $_SERVER['REMOTE_ADDR'];

	//	Gomez Spider
	if	(  "204.176.100.28" == $ipAddr
		|| "63.241.199.156" == $ipAddr
		|| "198.5.135.27"   == $ipAddr
		|| "65.214.32.61"   == $ipAddr
		|| "65.214.60.137"  == $ipAddr
		)
		{
		header("HTTP/1.1 404 Not Found");
		header("Status: 404 Not Found");
		exit;
		}

	//	Competitors
	if 	(  "216.2.7.178" === $ipAddr            //      Marketo
		|| "12.234.36.130" === $ipAddr          //      Marketo
		|| "24.4.138.41" === $ipAddr            //      Marketo
		|| "207.250.79.99" === $ipAddr          //      ExactTarget
		|| "64.244.66.2" === $ipAddr            //      Genius
		|| "64.119.157.114" === $ipAddr         //      Hubspot
		|| "63.139.127.6" === $ipAddr           //      Hubspot
		|| "74.213.186.41" === $ipAddr          //      Eloqua
		|| "74.213.186.58" === $ipAddr          //      Eloqua
		|| "109.239.86.34" === $ipAddr          //      Eloqua UK
		|| "173.221.210.138" === $ipAddr        //      Pardot (a.k.a. Hannon Hill)
		|| "75.148.48.209" === $ipAddr          //      Testing
		// || "50.43.74.36" === $ipAddr		 	//      Act-On Portland Office
        )
		{
		header("Location: competitor.html");
		exit;
		}
?>

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8">

<meta name="google-site-verification" content="p2njOLZRQ7lel_oSjjYJm6VfbgS9VyGuBND_uc6hWg4" />

<title><?php echo $title ?></title>

<link rel="shortcut icon" href="/image/favicon.png" />

<meta name="description" content="<?php echo $descr ?>" />
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<link rel="stylesheet" type="text/css" href="/includes/global-052013-b.css" />
<link rel="stylesheet" type="text/css" href="/includes/global-052013.css" />
<link rel="stylesheet" type="text/css" href="/include/seo.css" />
<link rel="stylesheet" type="text/css" href="/includes/colorbox.css" />
<link rel="stylesheet" type="text/css" href="/includes/animate.css" />
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed' rel='stylesheet' type='text/css'>

<link rel="apple-touch-icon-precomposed" href="/image/webkit/icn-webkit-57.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/image/webkit/icn-webkit-72.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/image/webkit/icn-webkit-114.png" />

<script src="http://code.jquery.com/jquery-latest.min.js"></script>

<script src="/includes/jquery.colorbox-min.js"></script>
<script src="/includes/twitter.js"></script>
<script src="/includes/jquery.app-folders.js"></script>
<script src="/includes/jquery.nivo.slider.js"></script>

<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "29edf8d3-83e4-41d1-a7de-0a33c6c8e3d0"}); </script>

<!-- Google Site Search -->

<script>
	(function() {
	var cx = '004554981611512082892:ey7hmu6teie';
	var gcse = document.createElement('script');
	gcse.type = 'text/javascript';
	gcse.async = true;
	gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
	    '//www.google.com/cse/cse.js?cx=' + cx;
	var s = document.getElementsByTagName('script')[0];
	s.parentNode.insertBefore(gcse, s);
	})();
</script>

<!-- Google Analytics -->

	<script type="text/javascript">

		var _gaq = _gaq || [];
		_gaq.push(['_setAccount', 'UA-6351564-1']);
		_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 itemscope itemtype="http://schema.org/WebPage">

	<?php
     	$serverName = $_SERVER['SERVER_NAME'];
        $prefix = "www";
        if (strpos($serverName,"demo",0)===0)
                $prefix="demo";
?>

<!-- HEADER BEGIN -->

<header id="header">
	<div id="header-block">
		<div style="height: 32px; background-color: #33302f;">
			<div style="width: 982px;">
				<div>
					<div class="left" style=" text-align: right; width: 829px; height: 32px; border-right: 1px solid #4d4847; margin: 0; padding: 0;">

						<div style="position: relative; top: 3px; margin: 0; padding: 0; color: #fff;">
						<ul class="searchbar">
							<li><a href="/contact" class="white">CONTACT</a></li>
							<li style="margin-right: 8px;"><a href="/contact" class="green"><span style="iPhoneNumber"><strong>+1 877.530.1555</strong></span></a>&nbsp;&nbsp;&nbsp;|</li>
							<li style="margin-right: 8px;"><a href="http://blog.act-on.com" target="_blank" class="white">BLOG</a></li>
							<li style="margin-right: 5px;"><form id="demo-b" action="/search.html"><input type="search" placeholder="search" name="q" style="margin: 0;"></form></li>
						</ul>
						</div>

					</div>
					<div class="right login-container" style="width: 150px;">
						<a href="https://<?php echo $prefix ?>.actonsoftware.com/acton/account/login.jsp" target="_blank" rel="nofollow" class="login-link"><div class="login"><div style="position: relative; top: 6px;">CUSTOMER LOGIN</div></div></a>
					</div>
					<div class="theglue"></div>
				</div>
			</div>
		</div>
		<div class="header-background">
			<div id="header-container-new">
				<div class="logo-new" style="float: left; width: 127px;"><a href="/"><img src="/images/logo-act-on-2013.png" alt="Act-On Software" width="127" height="42" border="0"/></a></div>

				<div style="width: 855px; float: right; position: relative; text-align: right;">
					<ul class="menu">
						<li>
							<a href="/products/">PRODUCTS</a>
							<div class="dropdown-2columns">

								<div class="col-1">
								<a href="/products/" style="margin: 0; padding: 0;"><h2 class="top">Act-On MAP</h2></a>
								<ul>
									<li><a href="/products/">MAP Overview</a></li>
									<li><a href="/products/email-marketing/">Email</a></li>
									<li><a href="/products/website-visitor-tracking/">Website Visitor Tracking</a></li>
									<li><a href="/products/lead-management/">Lead Management</a></li>
									<li><a href="/products/social-media/">Social Media</a></li>
									<li><a href="/products/crm/">CRM</a></li>
									<li><a href="/products/reports-and-analytics/">Reports & Analytics</a></li>
									<li><a href="/products/webinars/">Webinars & Events</a></li>
									<li><a href="/products/administration-and-privileges/">Administration & Privileges</a></li>
								</ul>
								</div>

								<div class="col-1">
								<a href="/products/inbound/index.html" style="margin: 0; padding: 0;"><h2 class="top">Act-On InBound</h2></a>
								<ul>
									<li><a href="/products/inbound/index.html">Inbound Overview</a></li>
									<li><a href="/products/inbound/adwords.html">Google Adwords</a></li>
									<li><a href="/products/inbound/seo.html">SEO</a></li>
									<li><a href="/products/inbound/blog-integration.html">Blog Integration</a></li>
									<li><a href="/products/inbound/history-and-segmentation.html">History & Segmentation</a></li>
								</ul>
								<a href="/products/mobile/index.html"><h2 class="link">Act-On Mobile</h2></a>
								</div>

							</div>
						</li>
						<li>
							<a href="/marketing-automation/">SOLUTIONS</a>
							<div class="dropdown-1column">
								<ul>
									<li><a href="/solutions/enterprise/">Enterprise</a></li>
									<li><a href="/solutions/sales/">Sales</a></li>
									<li><a href="/solutions/agencies/">Agencies</a></li>
									<li><a href="/solutions/education/">Education</a></li>
									<li><a href="/marketing-automation/">Marketing Automation</a></li>
								</ul>
							</div>
						</li>
						<li><a href="/pricing/">PRICING</a></li>
						<li>
							<a href="/customers/">CUSTOMERS</a>
							<div class="dropdown-1column-wide">
								<ul>
									<li><a href="/customers/">Overview</a></li>
									<li><a href="/customers/customer-success">Customer Success</a></li>
									<li><a href="/customers/customer-case-studies/">Customer Case Studies</a></li>
									<li><a href="/customers/testimonials">Testimonials</a></li>
									<li><a href="/customers/appexchange-reviews">AppExchange Reviews</a></li>
								</ul>
							</div>
						</li>
						<li>
							<a href="/resources/">RESOURCES</a>
							<div class="dropdown-2columns-center">

								<div class="col-1">
									<a href="/resources/" style="margin: 0; padding: 0;"><h2 class="top">Resources</h2></a>
									<ul>
										<li><a href="/resources/">Resources Overview</a></li>
										<li><a href="/resources/whitepapers/">Whitepapers</a></li>
										<li><a href="/resources/datasheets/">Datasheets</a></li>
										<li><a href="/customers/customer-case-studies/">Customer Case Studies</a></li>
									</ul>
									<a href="/resources/events/" style="margin: 0; padding: 0;"><h2>Events</h2></a>
									<ul>
										<li><a href="/resources/events/">Tradeshows & Virtual Events</a></li>
										<li><a href="/resources/events/webinars-demo">Webinars & Weekly Demos</a></li>
										<li><a href="/resources/events/recorded-webinars">Recorded Webinars</a></li>
									</ul>
								</div>

								<div class="col-1">
									<a href="/partners/index.html" style="margin: 0; padding: 0;"><h2 class="top">Act-On Partners</h2></a>
									<ul>
										<li><a href="/partners/index.html">Partners Overview</a></li>
										<li><a href="/partners/find-a-partner">Find a Partner</a></li>
										<li><a href="/partners/become-a-partner">Become a Partner</a></li>
										<li><a href="http://mktg.actonsoftware.com/acton/form/248/043a:d-0001/0/index.htm" target="_blank" rel="nofollow">Submit a Lead</a></li>
									</ul>
									<a href="http://blog.act-on.com" target="_blank" rel="nofollow"><h2 class="link">Marketing Action Blog</h2></a>
								</div>

							</div>

						</li>
						<li>
							<a href="/about-us/">ABOUT US</a>
							<div class="dropdown-1column-wide">

									<ul>
										<li><a href="/about-us/">Overview</a></li>
										<li><a href="/about-us/how-act-on-is-different">How is Act-On Different</a></li>
										<li><a href="/about-us/leadership">Leadership</a></li>
										<li><a href="/about-us/investors">Investors</a></li>
										<li><a href="/about-us/careers/">Careers</a></li>
										<li><a href="http://press.act-on.com/">Press & News</a></li>
										<li><a href="/about-us/awards">Awards</a></li>
										<li><a href="/about-us/trust-and-transparency">Trust & Transparency</a></li>
									</ul>

							</div>
						</li>
						<li><a href="/contact">CONTACT</a></li>
					</ul>
				</div>

				<div class="theglue"></div>
			</div>
		</div>
	</div>
	<div class="shadow">&nbsp;</div>
</header>

<!-- HEADER END -->