
$(document).ready(function() {
	// init demo screens
	$('.demo-images').innerfade({
		animationtype: 'fade',
		speed: 1000,
		timeout: 2500,
		containerheight: '160px'
	});
	
	// init search field
	/*
	fld_search = document.getElementById('fld-search');
	fld_search.defaultValue = fld_search.value;
	fld_search.onfocus = function() {
		this.className = '';
		if (this.value == this.defaultValue) this.value = '';
	}
	fld_search.onblur = function() {
		if (this.value == '') {
			this.className = 'passive';
			this.value = this.defaultValue;
		}
	}
	*/
	
	// init home item links
	$('.home-item-top').each(function(e) {
		$(this).bind("click", function(e) {	
			document.location.href = $(this).find('a').attr('href');
		}).css({'cursor':'pointer'});
	});
});





