//from excel doc regexp replace (.*?)\:b(/.*?)\:b(/.*?)\:b(.*) with // \1\ncase "\4":\n\thitbox.Set_hbPageView("\4","\2;\3");\n\tbreak;\n

function actionTag(url)
{
	debug("action tag: " + url);
	document['actionTagImage'].src = url;
}

// call this from the flash or from anywhere
// with the name of the section to track it

function track(trackString)
{
	debug("tracking: [" + trackString + "]");

	//regular expression matches for multiple similar tracking codes
	//wallpapers: wp*+****
	/*if (trackString.match(/wp[1-9]\+[0-9]+/i) )
	{
		debug("wallpaper match")
		hitbox.Set_hbPageView(trackString,"/heffalump/generate+awareness/downloads/wallpapers;/generate+awareness/downloads/preschool/heffalump/wallpapers");
		return;
	}*/

	switch (trackString)
	{
	
//   > Watch Trailer
case "trailer":
	hitbox.Set_hbPageView("trailer","/cars/multimedia/trailers");
	break;
	
case "viewing+options":
	hitbox.Set_hbPageView("viewing+options","/cars/multimedia/trailers");
	break;
	
	
	
	
    default:
        debug("unhandled: " + trackString);
        hitbox.Set_hbPageView(trackString, "/muppets+oz/generate+awareness/information/misc;/generate+awareness/information/abc/muppets+oz/misc");
        break;

    }

}
  

