/*
	Script to load stylesheet for use when scripting is available and also loading the actual scripts
*/
// === Old-fashioned, but quicker, way

if (document.getElementById) {
	document.write('<link rel="stylesheet" type="text/css" href="CssJs/jQuery/' +
	'jquery-ui-1.7.2.custom/css/jquery.autocomplete.css" media="screen">');
	document.write('<link rel="stylesheet" type="text/css" href="CssJs/jQuery/' + 'jquery-ui-1.7.2.custom/css/cupertino/jquery-ui-1.7.2.custom.css" media="screen">');
	document.write('<link rel="stylesheet" type="text/css" href="CssJs/styleHashJs.css" media="screen">');

// === Map Providerhttp://openlayers.org/api/
	document.write('<scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/openlayers/' + 'OpenLayers.js"></scri' + 'pt>');
	document.write('<!--[if lt IE 7]><scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/' + 'ms-hates-png.js"></scri' + 'pt>' + 
	'<link rel=ÓstylesheetÓ href=Óhttp://openlayers.org/theme/default/ie6-style.cssÓ type=Ótext/cssÓ>' +
	'<![endif]-->');
	
// === JS Framework and other site specific scripts
	document.write('<scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/jQuery/' + 'jquery-ui-1.7.2.custom/js/' + 'jquery-1.3.2.min.js"></scri' + 'pt>');
	document.write('<scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/jQuery/' + 'jquery-ui-1.7.2.custom/js/' + 'jquery-ui-1.7.2.custom.min.js"></scri' + 'pt>');
	document.write('<scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/jQuery/' + 'jquery-ui-1.7.2.custom/js/' + 'jquery.autocomplete.min.js"></scri' + 'pt>');
	document.write('<scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/jQuery/' + 'jquery-ui-1.7.2.custom/js/' + 'jquery.rsv.js"></scri' + 'pt>');
	// === Ajaxify scripts
	document.write('<scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/jQuery/' + 'jquery-ui-1.7.2.custom/js/' + 'jquery.form.min.js"></scri' + 'pt>');
	document.write('<scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/jQuery/' + 'jquery-ui-1.7.2.custom/js/' + 'jquery.jpoll.js"></scri' + 'pt>');
	document.write('<scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/jQuery/' + 'jquery-ui-1.7.2.custom/js/' + 'jquery.cookies.2.2.0.min.js"></scri' + 'pt>');
/**/	 
	document.write('<scr' + 'ipt type="text/jav' + 'ascript">' + 'var jq = jQuery.noConflict();' + '</scri' + 'pt>');
	document.write('<scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/' + 'indexFunctions.js"></scri' + 'pt>');
	document.write('<scr' + 'ipt type="text/jav' + 'ascript" src="CssJs/' + 'jqreadyFunctions.js"></scri' + 'pt>');
 	document.write('<sty' + 'le type="text/css"' + '>div#contentWrap {visibility:hidden; ' + 'padding-bottom:0em;}</sty' + 'le>');

}

