/*************http://github.com/sorccu/cufon*************/
Cufon.replace('.test', {
		fontSize: '14px'
	})('.test-b', {
		fontSize: '80px'
	})('.test-c', {
		fontSize: '14px'
	});

Cufon.replace('h2', {fontSize:'30px'});
Cufon.replace('h2')('h1')('.title-note')('.field-left span')('.field-right span')('.post-new-inspiration')('.common')('.rel-courses-title')('.altcommentview-more')('.what-say-title')('.altcommentview-more')('.creator-profile-title')('.talkto')('.chat-content-header-inner')('#type');
Cufon.replace('.footer a')('.about')('#username')('.profile-info')('.about-you-title')('.post-new-reply')('.chat-row-quote')('#dummy-outer')('.nocomments');
Cufon.set('fontFamily', 'Loved by the King').replace('.whatabout');
Cufon.now();

/*$("#persona").mouseover(function(){
      $('.creaturesofchange').css('background', 'url(images/homepage/mast_kai.png)');
});

$("#personb").mouseover(function(){
      $('.creaturesofchange').css('background', 'url(images/homepage/mast_clang.png)');
});

$("#personc").mouseover(function(){
      $('.creaturesofchange').css('background', 'url(images/homepage/mast_wowzer.png)');
});

$("#persond").mouseover(function(){
      $('.creaturesofchange').css('background', 'url(images/homepage/mast_bangles.png)');
});

$("#persone").mouseover(function(){
      $('.creaturesofchange').css('background', 'url(images/homepage/mast_flud.png)');
});*/

if (document.getElementById("country")) {
	
	jQuery(document).ready(function() {
			jQuery("#country").select_skin();
			jQuery("#interest").select_skin();
			jQuery("#hearabout").select_skin();
	});
}

function limitText(limitField, limitNum) {
	if (limitField.value.length > limitNum) {
		limitField.value = limitField.value.substring(0, limitNum);
	} else {
		//limitCount.value = limitNum - limitField.value.length;
	}
}