<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- 
	Designed and Developed by V4 Technical Ltd http://www.v4technical.co.uk for Ignition NBS
-->
<head>
	<title>C3 :: Sitemap</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	<link rel="stylesheet" type="text/css" href="/css/default.css" />	<link rel="stylesheet" type="text/css" href="/css/ignition.css" />	<link rel="stylesheet" type="text/css" href="/css/pantsmenu.css" />	<!--[if IE]>
	<link rel="stylesheet" type="text/css" href="/css/pantsmenu_ie.css" />	<![endif]-->
	<!--[if IE 7]>
	<link rel="stylesheet" type="text/css" href="/css/pantsmenu_ie7.css" />	<![endif]-->
		<script type="text/javascript" src="/js/prototype.js"></script>	<script type="text/javascript" src="/js/scriptaculous.js?load=effects,dragdrop,controls"></script>	<script type="text/javascript" src="/js/inplaceedit_ext.js"></script>	<script type="text/javascript" src="/js/popup.js"></script>		<script type="text/javascript" src="/js/application.js?expire=0"></script>
<!-- this handles messaging/informs differently -->
	<script type="text/javascript">
	var plan_name = "";
		//defaults for google charts
		var gc_config = {
			width : 645,
			height : 200,
			colour : 'B7D662',
			max_range: 0,
			chart_type : 'bvg', //vertical bars  //'ls' line chart
			label_size: 13,
			max_items: 7		//max number of items to display
		};
		//function that draws the chart
	function drawChart(result,output_div,options)
	{
		//gc_config [google charts config] defined in the default layout, available to any view

		var data = '';
		var labels = '';
		var max_range = 0;

		labels	= result.labels;
		data	= result.data;

		data_values = data.split(',');
		total_items = data_values.length;
		for(var i=0; i < total_items; i++){
			if (parseInt(data_values[i]) > parseInt(max_range)){
				max_range = data_values[i];
			}
		}
		max_range = parseInt(max_range) + 10;

		labels_array	= labels.split('|');
		data_array		= data.split(',');
		
		var pages = Math.ceil(total_items/gc_config.max_items);


		//build multiple graphs based on the number of items (max items to display set in the config)

		final_data = new Array(pages);
		final_labels = new Array(pages);

		for (var x = 1; x <= labels_array.length; x++)
		{
			var current_page = Math.ceil(x/gc_config.max_items)-1;
			current_page = (current_page < 0) ? 0 : current_page;
			if (final_labels[current_page] == undefined){
				final_labels[current_page] = labels_array[x-1]+'|';
			} else {
				final_labels[current_page] += labels_array[x-1]+'|';
			}
		}

		for (var y = 1; y <= data_array.length; y++)
		{
			var current_page = Math.ceil(y/gc_config.max_items)-1;
			current_page = (current_page < 0) ? 0 : current_page;
			if (final_data[current_page] == undefined){
				final_data[current_page] = data_array[y-1]+',';
			} else {
				final_data[current_page] += data_array[y-1]+',';
			}
		}

//		if (total_items > gc_config.max_items){

			$(output_div).innerHTML = '';
			for (var j = 0; j < pages; j++)
			{
				//remove the comma at the end for data
				data = final_data[j].substring(0,final_data[j].length-1);

				//remove the pipe at the end for labels
				labels = final_labels[j].substring(0,final_labels[j].length-1);

				var title = '';
				if (options != undefined && options.hasOwnProperty('title')){
					title = options.title;
				} else {
					title = plan_name+"+-+Daily+responses+-+week+"+(j+1);
				}
				//build separate images
				var my_src = "http://chart.apis.google.com/chart?chxl=1:|"
					+labels
					+"&chxt=y,x"
					+"&chbh=a"
					+"&chxr=0,0,"+max_range
					+"&chs="+gc_config.width+"x"+gc_config.height
					+"&cht="+gc_config.chart_type
					+"&chco="+gc_config.colour
					+"&chds=0,"+max_range
					+"&chm=N,000000,0,-1,"+gc_config.label_size+",,:0:5"
					+"&chd=t:"+data
//					+"&chtt="+campaign_name+"+-+"+plan_name+"+-+Daily+responses+-+week+"+(j+1);
					+"&chtt="+title;

				//lazy way
//				$(output_div).innerHTML += '<img src="'+my_src+'" />';
				$(output_div).insert('<img src="'+my_src+'" />');
			}
//			$(output_div).setStyle({width: pages * gc_config.width+'px' });
			$(output_div).show();
		}

//	}

	Event.observe(window, 'load', function(){
		var container = 'inform_box';
		var container_class = 'plain';
		var message = '';

		if (container == 'message_box'){
			$(container).removeAllClasses().addClassName(container_class);
			//create a text div inside the container
			var text = new Element('div', { 'class': 'text' }).update(message);
			$(container).appendChild(text);
			//create the close button
			var close_button = new Element('a', { 'id': 'close_button' }).update("Close");
			$(container).appendChild(close_button);
			Event.observe(close_button, 'click', function(){
				$(container).hide();
			});
			$(container).show();
		} else {
			$(container).update(message);
			if (message != ''){
				setTimeout("$('"+container+"').hide();",5000);
			}
		}
		
		//this handles show/hiding the tracker
		if ($('tracker') != null){
			Event.observe('tracker_toggle', 'click', function(){
				if ($('tracker_toggle').innerHTML == 'Show'){
					$('tracker_toggle').innerHTML = 'Hide';
				} else {
					$('tracker_toggle').innerHTML = 'Show';
				}
				Effect.toggle(('tracker'),'blind',{duration:0.3});
			});
			
		}
	});
	</script>
		<link rel="icon" type="image/png" href="/favicon.png" />
</head>
<body>
	
<div id="helpBar">
	<div id="helpContainer" style="display:none;">
		<div id="helpContent">
			<table width="100%" cellspacing="3">
				<tr>
										<td id="helpText">
						<h1>FAQ</h1>
						For more information on this page or for any help please visit the FAQ or contact your help contact.					</td>
				</tr>
			</table>
		</div>
	</div>
</div>
<div id="help_button_container">
	<a id="helpButton" onClick="Help();">Help!</a>
</div>
<div id="siteContainer">
	<ul class="hozList fr" style="padding-top: 2px">
		<li class="first"></li>
		<li><a href="/settings">Settings</a></li>
		<li><a href="/logout">Sign Out</a></li>
	</ul>
	<br />
	
	<div id="logo"><img src="/media/cache/2eb5/2eb5e13faa902505eb2803f430fe83a1_180x60_100_std.jpg" alt="" /></div>
	<div class="clear">.</div>
	
		
	<center><span id="inform_box"><!-- inform box content -->a</span></center>

	<div style="overflow:hidden;">
		<form action="/search" name="search" onSubmit="return siteSearch();" method="post" class="fr" style="margin-right: 20px;">
		<input type="text" id="searchBox" value="Search" onFocus="siteSearchFocus(this)" onBlur="siteSearchBlur(this)" />&nbsp;
		<h3 id="searchlink"><a href="/search" onclick="return siteSearch();">Search</a></h3>
	</form> 
</div>
	<!-- Menu -->
<div style="border-bottom: 1px dotted #ccc; padding-left: 5px; z-index: 99; margin-bottom: 15px;">
	<div class="pantsmenu">
		<ul style="width: 60px;">
			<li><h2 class="nobg"><a href="/">Home</a></h2></li>
		</ul>
		
		<ul style="width: 80px;">
			<li>
				<h2><a href="/events">Calendar</a></h2>
				<ul>
					<li><a href="/events">View Calendar</a></li>
					<li><a href="/todos">To-do Lists and Tasks</a></li>
					<li><a href="/subscriptions">Subscriptions</a></li>
					<li><a href="/events/reminders">View Reminders</a></li>
				</ul>
			</li>
		</ul>

		
		
		
		
		
				
		
		
		
	</div>
	<div class="clear">.</div>
</div>
	<div class="clear"></div>	
	
	
	<div id="content">
					<div id="sidebar">
				

<script type="text/javascript">
var passed = "param";
var named = [];

function changeOperator(elt)
{
	named['operator'] = elt.value;
	buildURL('/campaign_plans/review/',passed,named);
}
function changeTag(elt)
{
	named['tag'] = elt.value;
	buildURL('/campaign_plans/review/',passed,named);
}

function buildURL(str,pass,name)
{
	var url = str;
	url += pass;
	for (s in name) {
		if ( (s == 'operator') && (name['operator'] != '0') ) {
			url += '/operator:'+name['operator'];
		}
		if ( (s == 'tag') && (name['tag'] != '0') ) {
			url += '/tag:'+name['tag'];
		}
	}
	window.location = url;
}
</script>


			</div>
					<div id="leftContent" class="withsidebar">
			<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
        <loc>http://www.trainsure.com/</loc>
        <changefreq>weekly</changefreq>
        <priority>1.0</priority>
    </url>
        <url>
        <loc>http:/www.trainsure.com/</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/products</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/team</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/training</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/location</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/insurancecover</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/costsavings</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/riskmanagement</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/testimonials</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/quote</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/callback</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/sitemap</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/privacypolicy</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/news</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/news/insurers-changing-attitude-to-claims</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/news/ministry-of-justice-motor-personal-injuries</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/testimonial-1</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/testimonial-2</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/testimonial-3</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/testimonial-4</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/testimonial-5</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/testimonial-6</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/testimonial-7</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/testimonial-8</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/news/industrial-action-by-the-london-fire-brigade</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/news/test-anne</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/news/energy-performance</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/news/winter-hints-and-tips</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/news/test</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/insurancequote-</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/quotecallback-</loc>
    </url>
        <url>
        <loc>http:/www.trainsure.com/news/recent-riots</loc>
    </url>
    </urlset>		</div>
	</div>
	<div class="clear">&nbsp;</div>
	<div id="footer">
		<a href="/terms/accepted">Terms &amp; Conditions</a> &nbsp; &copy; Copyright <a href="http://www.ignitionnbs.co.uk">Ignition NBS Ltd</a> 2012	</div>
</div>
<div id="popUpMask"></div>
<div id="popUpContainer">
  <div id="popUpContent">
	<!-- content -->
 </div>
</div>
<script type="text/javascript">
Event.observe(window, 'load', function() {
	var test = new Date().getTime();
	});
</script>
<!-- G tracking -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10571794-1");
pageTracker._setDomainName(".c3app.com");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
<!-- 
	Designed and Developed by V4 Technical Ltd http://www.v4technical.co.uk for Ignition NBS
-->
</html>
