$(document).ready(function()
{
	Cufon.replace(
		'ul.list li a',
		{
			fontFamily: 'Gotham Rounded Book'
//			,hover: true
//			,hoverables: {a: true}
		});
	Cufon.replace(
		':header' +
		',ul.navigation a' +
		',form.signup label, form.find-screening legend' +
		',body#Home blockquote' +
		',div.pnl a.scrlnk' +
		',div.pnl dt' +
		',ul.what.list li a',
		{
			fontFamily: 'Gotham Rounded Medium'
			,hover: true
			,hoverables: {a: true}
//			,letterSpacing: '-1px'
		});
	Cufon.replace(
		'form.basket label' +
		',ul.list li a strong' +
		',div.collector .blog h3 a' +
		',.screenings label, form.find-screening label, form.find-screening button',
		{
			fontFamily: 'Gotham Rounded Bold'
			,hover: true
			,hoverables: {a: true}
		});
	if( $('#Country').val() !== '0' ) {
		$('label[for="Country"]').text($('#Country option:selected').text());
		}
	$('#Location,#Country').change(function(){
//		if (window.console) {
//			console.info( 'select#Country has changed to "' + $(this).find('option:selected').text() + '"' );
//		}
		$(this).prev().text($(this).find('option:selected').text());
		Cufon.refresh();
	});

	$('form.signup label[for]+input[type="text"]')
	.wrap('<div class=\"hover-wrap\" style=\"position:relative\"><\/div>')
	.focus(function(){$(this).prev().hide();})
	.blur(function(){if ( !this.value ) $(this).prev().show()})
	.each(function(){$(this).before( $(this).parent().prev() );
	if ( this.value ) $(this).prev().hide();});

	$('.join').css('cursor','pointer').click(function(e){
		$('#bulhtu-bulhtu').focus();
		e.preventDefault();
	});
});

