

function movie($key) {
	if (!document.getElementById) return false;
	
	if (!$key) $key=0;
	else $key++;
	
	var $quotes = Array();
	$quotes[$quotes.length] = 'Free to Advertise';
	$quotes[$quotes.length] = 'For Sale By Owner';
	$quotes[$quotes.length] = 'No Commission';
	$quotes[$quotes.length] = 'No Hidden Charges';
	$quotes[$quotes.length] = 'No Estate Agent Fees';
	// $quotes[$quotes.length] = 'No Time To Waste';
	// $quotes[$quotes.length] = 'Sell Your Home The Easy way!';
	$quotes[$quotes.length] = 'Sell Your Home With OwnerHome!';
	$quotes[$quotes.length] = 'Register For Free!';
	// $quotes[$quotes.length] = 'Reach Over 3 Million Buyers A Month!';
	// $quotes[$quotes.length] = 'Sell For A One Off Fee Of Only £69';
	$quotes[$quotes.length] = 'NEW! Sell Your Property By Video*';
	$quotes[$quotes.length] = '360 Degree Tours';
	$quotes[$quotes.length] = 'Floor Plans';
	$quotes[$quotes.length] = 'Professional Photography';
	$quotes[$quotes.length] = 'Free Online Valuation, HIPs Packs Available';
	$quotes[$quotes.length] = 'Free Mortgage Quote';
	$quotes[$quotes.length] = 'Conveyancing';
	$quotes[$quotes.length] = 'Full Customer Support (Telephone & Email)';
	$quotes[$quotes.length] = '10 Colour Photos for Maximum Exposure';
	$quotes[$quotes.length] = 'Professional Full Page Advert';
	$quotes[$quotes.length] = 'Google Street Mapping';
	$quotes[$quotes.length] = 'Viewing Hits Counter';
	$quotes[$quotes.length] = 'Advertise Until Sold*';
	// $quotes[$quotes.length] = 'Recommended Website (The Advisory)';
	$quotes[$quotes.length] = 'Complete Peace Of Mind';
	// $quotes[$quotes.length] = '*conditions apply';
	
	if ($quotes.length == $key) $key = 0;
	
	var $div = document.getElementById('movie');
	if (!$div) return false;
	
	$div.innerHTML = $quotes[$key];
	
	fade('movie',0,9);
	$div.timer = setTimeout("fade('movie',9,0,\"movie(\\\""+($key)+"\\\");\");",2500);
}
addLoadEvent(movie);





function fade($element_id,$opacity,$final_opacity,$completion_statement,$speed) {
	// Written by Steve Tucker (http://www.stevetucker.co.uk) 2007
	if (!document.getElementById) return;
	if (!document.getElementById($element_id)) return;
	if (!$speed) $speed = 40;
	
	var $element = document.getElementById($element_id);
	$element.style.opacity = $opacity/10;
	$element.style.filter = 'alpha(opacity:'+($opacity*10)+')';
	
	if ($opacity == $final_opacity) {
		clearTimeout($element.opacity_timer);
		if ($completion_statement) eval($completion_statement);
		return;
	}
	
	if ($opacity > $final_opacity) $opacity -= Math.ceil(($opacity-$final_opacity)/2);
	else $opacity += Math.ceil(($final_opacity-$opacity)/2);
	if (typeof($completion_statement) == 'string') $completion_statement = $completion_statement.replace(/'/g,"\\\'");
	
	$element.opacity_timer = setTimeout("fade('"+$element_id+"',"+$opacity+","+$final_opacity+",'"+$completion_statement+"',"+$speed+")",$speed);
	return;
}