// For API documentation please email team@seeclickfix.com
try{
	document.write("<div id=\"seeclickfix_text_widget_outter\"><div id=\"seeclickfix_loader_tempdata\" style=\"text-align:center; \"><img src=\"http://cdn.seeclickfix.com/images/text_widgets/ajax-loader.gif\" alt=\"loading\" style=\"margin-top:5px;\" /><\/div><\/div>");

	var head = document.getElementsByTagName("head");

	// // Version 3 - Beta
	// if(seeclickfix.widget === 'http://seeclickfix.com/text_widgets/show/750') {
	// 	var script = document.createElement("script");
	// 	head[0].appendChild(script);
	// 	script.type = "text/javascript";
	// 	script.src = 'http://cdn.seeclickfix.com/javascripts/text_widgets/'+seeclickfix.widget_version+'/text_widget_3_packaged.js';
	// 
	// 	var style = document.createElement("link");
	// 	head[0].appendChild(style);
	// 	style.type = "text/css";
	// 	style.rel = "stylesheet";
	// 	style.href = 'http://cdn.seeclickfix.com/javascripts/text_widgets/'+seeclickfix.widget_version+'/txt_widget.css';
	// // Version 2
	// }else{
		var script = document.createElement("script");
		head[0].appendChild(script);
		script.type = "text/javascript";
		script.src = 'http://cdn.seeclickfix.com/javascripts/text_widgets/'+seeclickfix.widget_version+'/text_widget_packaged.js';

		var seeclickfix_script = document.createElement("script");
		seeclickfix_script.setAttribute('type', 'text/javascript');
		seeclickfix_script.setAttribute('src', seeclickfix.widget);
		scf_wrapper = document.getElementById('seeclickfix_text_widget_outter');
		scf_wrapper.appendChild(seeclickfix_script);
	// }

}catch(err){
	document.write("SeeClickFix is sleeping right now. We'll be back shortly.");
}
