// <![CDATA[
	function emptySearchString( element )
	{
		element.value = '';
	}
	
	var fBUtil = null;
	document.observe( 'dom:loaded', function () {
		
		// sky popup
		new Sky.Window.PopUp( 'skyPopUpImg', { skyWindowOpts: standardOptions, contentGetTag: 'rel', contentType: Sky.Window.PopUp.CONTENTTYPE_CODE } );
		
		// facebook
		var facebookLikeExist = Element.myIsExisting( "facebookLike" );
		var facebookShareExist = Element.myIsExisting( "facebookShare" );
		var facebookLikeBoxContainerExist = Element.myIsExisting( "facebookLikeBoxContainer" );
		
		if ( facebookLikeExist || facebookShareExist || facebookLikeBoxContainerExist )
		{			
			fBUtil = new Sky.FacebookUtil( fbPageID, {		
				likeButtonWidth: 120,
				likeButtonType: 'button_count',
				likeButtonVerb: Sky.FacebookUtil.LIKE_BUTTON_VERB_RECOMMEND,				
				callbackAfterInit: function() {
					if( facebookLikeExist )
					{
						fBUtil.insertLikeButton( $('facebookLike') );
					}
					if( facebookShareExist )
					{
						fBUtil.insertShareButton( $('facebookShare'), {}, null );
					}
					if( facebookLikeBoxContainerExist )
					{
						fBUtil.insertLikeBox( $('facebookLikeBoxContainer'), fbPageID, {
							likeBoxConnections: 16,
							likeBoxWidth: 950,
							likeBoxHeight: 190,
							likeBoxShowHeader: false,
							likeBoxShowStream: false,
							likeBoxColorScheme: Sky.FacebookUtil.LIKE_BOX_COLORSCHEME_DARK
						} );
					}				
				}
			} );
		}
	} );

	function goCufon()
	{
		Cufon.replace('h1, .subNavTitle, h2.infoboxTitle, .infoboxTitleHome, .secondTitle, .topstoryTitle, .topstoryTitleBig, .topstorySubtitle, .topstoryMore, .infoboxDownload a');	
	}
	
	goCufon();
	
	
// ]]>
