/**********************************************************
Author:
Adam Barry
Klestrup partners
www.klestrup-partners.dk

Date: April 28 2010

© 2010 Adam Barry, all rights reserved
-----------------------------------------------------------

Name:
Utilities script

-----------------------------------------------------------
Description:
Function that contains various functions used through the
website

-----------------------------------------------------------
Usage:
Simply place a link to the this script in the head-section
of the XHTML page. The script will then automatically
execute on page load.

<script type="text/javascript" src="utilities.js"></script>

-----------------------------------------------------------
Example:
<script type="text/javascript" src="utilities.js"></script>

-----------------------------------------------------------
Dependencies:
None

**********************************************************/

function siteSearch() {
	var queryString = document.getElementById('query').value;

	location = "/search?search="+queryString;
}

function test() {
	$.post("/webshop/funnel/shopping-cart", function(data){alert("Data Loaded: " + data);});
}