//Cufon.replace('.center ul li a'); // Works without a selector engine
//Cufon.replace('.center ul li a', {hover: true, fontSize:'13px', fontWeight:'500'});
/*Cufon.replace('#container .contentBody .pods h2', {fontSize: '18px', hover: true});
Cufon.replace('#container .contentBody .pods .locations h2', {fontSize: '18px', hover: true});
Cufon.replace('#container .contentBody .pods .latestUpdate h2', {fontSize: '18px', hover: true});
Cufon.replace('#container .contentBody .flashArea .content h1', { fontSize: '18px', hover: true});
Cufon.replace('#container .contentBody .contentArea .rightcol h1', { fontSize: '22px', hover: true});*/


/* Max Height*/
jQuery(document).ready(function(){
    var arr = [];

     jQuery(".max").each(function () {
        arr.push(jQuery(this).height());
    });
      /*$(".max").css('height', $(".content").height() - 18);*/
   for (var i = 0; i < arr.length; i++) {
       var max = arr[0];
       if (max < arr[i]) {
           max = arr[i];
       }
   }
   max = max;
    jQuery(".max").css('min-height', max);
});

$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready
  $('#archive').hide();
 // toggles the slickbox on clicking the noted link
  $('#archbutton').click(function() {
 $('#archive').slideToggle(400);
 return false;
  });
});

/* Input Field Clear */
$(document).ready(function() {
			//$('input[type="text"]').addClass("idleField");
       		$('input[type="text"]').focus(function() {
       			//$(this).removeClass("idleField").addClass("focusField");
    		    if (this.value == this.defaultValue){ 
    		    	this.value = '';
				}
				if(this.value != this.defaultValue){
	    			this.select();
	    		}
    		});
    		$('input[type="text"]').blur(function() {
    			//$(this).removeClass("focusField").addClass("idleField");
    		    if ($.trim(this.value) == ''){
			    	this.value = (this.defaultValue ? this.defaultValue : '');
				}
    		});
		});	


