function loadRecentWork()
{
	if (document.getElementById('total_recent_work_holder'))
	{
		var http = false;
		if(navigator.appName == "Microsoft Internet Explorer") {
		  http = new ActiveXObject("Microsoft.XMLHTTP");
		} else {
		  http = new XMLHttpRequest();
		}
		var dt = new Date();
		http.open("GET", "http://www.webgenerator.nl/portfolio/?vc=RECENT_WORK&dt=" + dt.toUTCString() , true);
		http.onreadystatechange=function() {
			if(http.readyState == 4) {
				document.getElementById('total_recent_work_holder').innerHTML = http.responseText;
			}
		}
		http.send(null);
	}
}


var urlParams = {};
(function () {
    var e,
        a = /\+/g,  // Regex for replacing addition symbol with a space
        r = /([^&=]+)=?([^&]*)/g,
        d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
        q = window.location.search.substring(1);

    while (e = r.exec(q))
    	urlParams[d(e[1])] = d(e[2]);
})();
