function doBodyOnLoad() {
        var re = /http[s]?:\/\/[^\/]+\/([^\/]+\/)([^\/]+\/)([^\/]+\/)([^\/]+\/)?/
        var matchArray = re.exec(location.href)
		  var isDebugMode = (location.href.indexOf("JERDEBUG") >= 0);
        if (matchArray) {
					var funnel = '';
               var one  = matchArray[1]
               var two  = matchArray[2]
               var three  = matchArray[3]
               var four  = matchArray[4]
					if( isDebugMode ){
						alert("one:" + one + " two:" + two + " three:" + three + " four:" + four);
					}
					if( one == "cart/" || one == "cart2/" ){
						if( isDebugMode ){
							alert("its in the cart");
						}
						if( three && three != "cart/" && three != "order/" ){
							funnel = "/funnel/dedicated/step1.html";
						} else if( three && three == "cart/" ){
							funnel = "/funnel/dedicated/step2.html";
						} else if( three && three == "order/" && !four ){
							funnel = "/funnel/dedicated/step3.html";
						} 
 					} 					
					if( funnel ){
						urchinTracker(funnel);
						if( isDebugMode ){
							alert("funnel is " + funnel);
						}
					} else {
						if( isDebugMode ){
							alert("no funnel");
						}
					}
					/*
                var q_field = matchArray[2]
                var q_value = matchArray[3]
                if ( q_field == "RID" || q_field == "Rid" || q_field == "rid" ) {
                        q_field = "RID"
                        //alert("Domain is: " + domain + " field is: " + q_field + " and value is: " + q_value)
                        var cookieItem = q_field + "=" + q_value
                        var daysTillExpiration = 365
                        createACookie( cookieItem, daysTillExpiration, domain)
                }
                else {
                        //alert("Invalid field: " + q_field + " Expecting: RID")
                }
					*/
        	} else {
				//alert("no match");
			}

	if( document.utmform ){
		__utmSetTrans();
	} else {
		if( isDebugMode ){
			alert("there wasn't a utmform?");
		}
	}
}
