			function clear_shortlist_confirm() {
				var slc=confirm('Are you sure you want to clear your shortlist?');
				if (slc==true) {
					window.href='/index.php';
				}
			}

			$(document).ready(function(){
				$("#login-button").click(function () {
					$(".mover").slideToggle("normal");
				});

			});

			$(function() {
				$('.date-pick').datePicker();
				$('#avail_date_home').dpSetPosition($.dpConst.POS_TOP, $.dpConst.POS_RIGHT);
			});

			function getGroupItems(opts) {
				jQuery.each(imageList, function(i, val) {
					opts.itemArray.push(val);
				});
			}

				function thisMovie(movieName) {
					if (navigator.appName.indexOf("Microsoft") != -1) {
						return window[movieName]
					}
					else {
						return document[movieName]
					}
				}
				var params = {allowScriptAccess: "always"};
				var attributes = { id: "dynamap", name: "dynamap" };
				swfobject.embedSWF("/swf/map1.2.swf", "dynamap", "476", "265", "9.0.0", "/swf/expressInstall.swf",false,params,attributes);

		  var _gaq = _gaq || [];
		  _gaq.push(['_setAccount', 'UA-18083907-1']);
		  _gaq.push(['_trackPageview']);
		  (function() {
			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		  })();

