// first determine if there's a cid on the query string.

var theString = new Querystring;
var theSrc = theString.get("src");

if ( theSrc != null ) { // an src has been passed. set the cookie
	//alert(theSrc);
	if ( theSrc == "gppc" ) {
		//alert("setting Google");
		eraseCookie("tracking");
		createCookie("tracking","Google",7);
	} else if ( theSrc == "yppc" ) {
		//alert("setting Yahoo");
		eraseCookie("tracking");
		createCookie("tracking","Overture",7);
	}
} 