jQuery(function(){
	$(".coffee-centre a, .coffee-geeks a").bigTarget({
		clickZone : 'div:eq(0)'
	});
	
	var testing = window.location.pathname;
	if(testing == '/index-flash.asp'){
		alert("New");
		$('.home #banner').flash(
			 {
				 src: 'homeNew.swf',
				 width: 951,
				 height: 330,
				 wmode: 'transparent',
				 flashvars: { folder: 'nightmare_ice' }
			  },
			  {
				  expressInstall: true,
				  version: '8'
			  }
		 );
	}
	else{
		$('.home #banner').flash(
			 {
				 src: 'homeNew.swf',
				 width: 951,
				 height: 330,
				 wmode: 'transparent',
				 flashvars: { folder: 'nightmare_ice' }
			  },
			  {
				  expressInstall: true,
				  version: '8'
			  }
		 );
	}
	//
	/*
	else{
		$('.home #banner').flash(
			 {
				 src: 'home.swf',
				 width: 951,
				 height: 330,
				 wmode: 'transparent',
				 flashvars: { folder: 'nightmare_ice' }
			  },
			  {
				  expressInstall: true,
				  version: '8'
			  }
		 );
	/*}*/
	/*
	if(){
	}
*/
//username
	$('#username').focus(function() {
		if (this.value == this.defaultValue){
			this.value = '';
		}
		if(this.value != this.defaultValue){
			this.select();
		}
	});
	$('#username').blur(function() {
		if (this.value == ''){
			this.value = 'Username';
		}
	});

//password
	$('#password-password').focus(function() {
		if (this.value == this.defaultValue){
			this.value = '';
		}
	
		if(this.value != this.defaultValue){
			this.select();
		}
	});

	$('#password-password').blur(function() {
		if (this.value == ''){
			this.value = 'password';
		}
	});

});


